/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
  font-weight: 400;
  color: #2d3436;
  line-height: 1.7;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== COLOR SCHEME ===== */
:root {
  --primary: #0a8f6c;
  --primary-dark: #06725a;
  --primary-light: #e8f5f0;
  --accent-gold: #d4a018;
  --accent-red: #c0392b;
  --accent-blue: #2980b9;
  --text-dark: #2d3436;
  --text-light: #636e72;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left a,
.top-bar-left span {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left a:hover {
  color: #fff;
}

.top-bar-right .social-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  transition: color 0.3s;
}

.top-bar-right .social-link:hover {
  color: var(--accent-gold);
}

/* ===== HEADER / NAV ===== */
.header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

.logo-text small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 22px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s, background 0.3s;
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown */
.nav-list .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 260px;
  box-shadow: var(--shadow-hover);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.3s;
  z-index: 100;
}

.nav-list > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s, padding-left 0.3s;
}

.dropdown li a:hover {
  background: var(--primary-light);
  padding-left: 24px;
  color: var(--primary);
}

.dropdown li:last-child a {
  border-bottom: none;
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  overflow: hidden;
  height: 420px;
}

.hero-slides {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;
}

.hero-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 143, 108, 0.85), rgba(6, 114, 90, 0.7));
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-slide-content h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-slide-content p {
  font-size: 1.15rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.hero-btn {
  display: inline-block;
  background: var(--accent-gold);
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s, transform 0.3s;
}

.hero-btn:hover {
  background: #b8890f;
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.hero-dot.active {
  background: #fff;
}

/* ===== STATS ===== */
.stats {
  padding: 60px 0;
  background: var(--bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--primary);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stat-card .stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-card .stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .stat-icon-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid var(--primary-light);
}

/* ===== FEATURE CARDS ===== */
.features {
  padding: 70px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  border-radius: var(--radius);
  padding: 40px 30px;
  color: #fff;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-card.gold {
  background: linear-gradient(135deg, #d4a018, #e8b92a);
}

.feature-card.teal {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.feature-card.red {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.feature-card .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card .feature-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.95rem;
  opacity: 0.92;
  line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 70px 0;
  background: var(--bg-light);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  position: relative;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin-top: 12px;
  border-radius: 2px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 1rem;
}

.about-text .about-btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}

.about-text .about-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--primary-light), #d5ebe4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
}

.about-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

/* ===== NEWS SECTION ===== */
.news-section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 40px;
  font-weight: 700;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.news-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), #c8e6dd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 22px;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card-body h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.news-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.news-card-body .read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.news-card-body .read-more:hover {
  color: var(--primary-dark);
}

/* ===== PARTNERS ===== */
.partners {
  padding: 50px 0;
  background: var(--bg-light);
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.partner-logo {
  width: 140px;
  height: 60px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 10px;
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  font-weight: 600;
  transition: transform 0.3s;
}

.partner-logo:hover {
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
  background: #1a2a2e;
  color: rgba(255, 255, 255, 0.85);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer p,
.footer a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer a:hover {
  color: var(--accent-gold);
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact li .icon {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-contact li .icon svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  vertical-align: middle;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 50px 0;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.85;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: #fff;
}

/* ===== PAGE CONTENT ===== */
.page-content {
  padding: 60px 0;
}

.page-content h2 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  margin-top: 30px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.page-content ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-content ul li {
  color: var(--text-light);
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ===== DEPARTMENTS GRID ===== */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dept-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 4px solid var(--primary);
}

.dept-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.dept-card .dept-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.dept-card .dept-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-bottom: 12px;
}

.dept-card h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.dept-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== SERVICES TABLE ===== */
.services-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.services-table thead {
  background: var(--primary);
  color: #fff;
}

.services-table th,
.services-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.95rem;
}

.services-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s;
}

.services-table tbody tr:hover {
  background: var(--primary-light);
}

.services-table tbody tr:last-child {
  border-bottom: none;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-info-card .ci-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
}

.contact-info-card .ci-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.contact-info-card h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .news-grid,
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-list .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: var(--bg-light);
  }

  .nav-list > li.dropdown-open .dropdown {
    display: block;
  }

  .hero {
    height: 320px;
  }

  .hero-slide-content h2 {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-grid,
  .news-grid,
  .departments-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .top-bar-left {
    gap: 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .stat-card .stat-number {
    font-size: 2rem;
  }

  .hero {
    height: 280px;
  }

  .hero-slide-content h2 {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
