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

:root {
  --primary: #1B4F72;
  --primary-dark: #154360;
  --primary-light: #2E86C1;
  --accent: #2E86C1;
  --text: #2C3E50;
  --text-light: #5D6D7E;
  --bg: #ffffff;
  --bg-alt: #F4F6F7;
  --bg-dark: #1B2631;
  --border: #D5D8DC;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.85rem;
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-small:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
  width: 100%;
  margin-top: 24px;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: var(--shadow);
  transition: background 0.3s;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-logo:hover {
  color: var(--white);
}

.nav-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links li a {
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links li a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: #1a6fa0 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-logo {
  width: 200px;
  margin-bottom: 32px;
  filter: brightness(0) invert(1);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ SECTIONS ============ */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-title-light {
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.section-title + .section-subtitle {
  margin-top: 4px;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 40px;
  border-radius: 2px;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-main h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.about-main h3:not(:first-child) {
  margin-top: 28px;
}

.about-main p {
  color: var(--text-light);
  margin-bottom: 12px;
}

.about-main ul {
  list-style: none;
  padding: 0;
}

.about-main ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-light);
}

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

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.highlight-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.highlight-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
}

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

.about-similar {
  margin-top: 48px;
  text-align: center;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
}

.similar-label {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.similar-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.similar-links a {
  font-weight: 500;
}

/* ============ PROJECTS ============ */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.project-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 40px;
  color: var(--white);
}

.project-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.project-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.project-details {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.project-detail-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.project-detail-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.project-cta {
  padding: 0 40px 40px;
  text-align: center;
}

/* ============ STATISTICS ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-icon {
  margin-bottom: 16px;
}

.stat-icon svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.7;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ TEAM ============ */
.team-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.team-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  transition: background 0.2s;
}

.team-group-toggle:hover {
  background: var(--bg-alt);
}

.toggle-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.team-group-toggle.active .toggle-arrow {
  transform: rotate(180deg);
}

.team-group-content {
  display: none;
  padding: 0 24px 20px;
}

.team-group-content.active {
  display: block;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.team-member {
  padding: 14px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: transform 0.2s;
}

.team-member:hover {
  transform: translateX(4px);
}

.member-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.member-affiliation {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2px;
}

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

.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.role-icon {
  margin-bottom: 16px;
}

.role-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.role-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.role-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.role-card ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.4;
}

.role-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.role-card .btn-small {
  align-self: flex-start;
}

/* ============ OUTCOMES ============ */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.outcome-item {
  text-align: center;
  padding: 20px;
}

.outcome-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.outcome-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.contact-item a {
  font-size: 0.9rem;
}

.address-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.address-card .contact-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.address-card .contact-icon svg {
  width: 32px;
  height: 32px;
}

.address-card h4 {
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ============ FOOTER ============ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 30px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--accent);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .project-details {
    grid-template-columns: 1fr;
  }

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

  .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 12px 24px 24px;
    gap: 0;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 0;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center !important;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-logo {
    width: 140px;
  }

  .section {
    padding: 56px 0;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

  .project-header {
    padding: 28px;
  }

  .project-details {
    padding: 28px;
  }

  .project-header h3 {
    font-size: 1.3rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .team-members {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
  }

  .container {
    padding: 0 16px;
  }
}
