/* =========================================
   NAVBAR STYLES
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.navbar {
  background: var(--color-primary);
  height: 80px;
}

.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-16) 100px;
  position: relative;
}

.navbar-logo a {
  display: flex;
  align-items: center;
}

.navbar-logo img,
.site-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  color: var(--color-white);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.4px;
}

.nav-list-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-32);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-32);
}

.nav-item { }

.nav-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: -0.32px;
  line-height: 1.2;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-accent);
  opacity: 1;
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

/* =========================================
   HERO SECTION
   ========================================= */
.home-main {
  padding-top: 80px; /* Account for fixed navbar */
}

.hero-section {
  position: relative;
  height: 705px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #003a3c 0%, #006466 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-48) 100px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  max-width: 755px;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.28px;
  color: var(--color-white);
  margin-bottom: var(--space-24);
}

.hero-subtitle {
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-white);
  margin-bottom: var(--space-48);
  max-width: 628px;
}

.hero-btns {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.hero-indicators {
  position: absolute;
  bottom: 100px;
  left: 100px;
  display: flex;
  gap: var(--space-16);
  z-index: 1;
}

.hero-indicator {
  height: 4px;
  border-radius: 2px;
}

.hero-indicator.active {
  width: 48px;
  background: var(--color-white);
}

.hero-indicator.accent {
  flex: 1;
  min-width: 24px;
  background: var(--color-accent);
}

/* =========================================
   ABOUT / STATS SECTION
   ========================================= */
.about-section {
  background: var(--color-neutral-50);
}

.about-title-wrap {
  margin-bottom: var(--space-32);
}

.about-title-wrap h2 {
  color: var(--color-neutral-1000);
}

.about-body {
  display: grid;
  grid-template-columns: 584px 1fr;
  gap: 48px;
  margin-bottom: var(--space-64);
  max-width: var(--container-inner);
}

.about-para {
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: 26px;
  letter-spacing: -0.3125px;
  margin-bottom: var(--space-16);
  max-width: 582px;
}

.about-segments {
  margin-top: var(--space-16);
}

.about-segments-title {
  font-size: var(--text-xl);
  font-weight: 500;
  color: #14a098;
  line-height: 28px;
  letter-spacing: -0.4492px;
  margin-bottom: 12px;
}

.about-segments-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.about-segment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: 24px;
  letter-spacing: -0.3125px;
}

.about-segment-dot {
  width: 8px;
  height: 8px;
  background: #1e5f8c;
  flex-shrink: 0;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 384px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image-placeholder {
  width: 100%;
  height: 384px;
  background: #e2e8f0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: var(--text-sm);
}

.stats-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-24);
  width: 100%;
}

/* =========================================
   BUSINESS SEGMENTS SECTION
   ========================================= */
.segments-section {
  position: relative;
  background: var(--color-primary);
  overflow: hidden;
}

.segments-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
}

.segments-title-wrap {
  margin-bottom: var(--space-32);
}

.text-white { color: var(--color-white) !important; }
.text-center { text-align: center; }

.segments-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}

.segment-card {
  background: var(--color-neutral-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: var(--space-48);
  padding: var(--space-48);
}

.segment-card--reverse {
  flex-direction: row-reverse;
}

.segment-card-image {
  flex-shrink: 0;
  width: 593px;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.segment-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment-image-placeholder {
  width: 100%;
  height: 100%;
  background: #d1d5dc;
}

.segment-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
  justify-content: center;
}

.segment-card-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.segment-card-text h3 {
  color: var(--color-neutral-1000);
}

.segment-body {
  font-size: var(--text-base);
  color: #364153;
  line-height: 1.5;
  letter-spacing: -0.32px;
  max-width: 430px;
}

/* =========================================
   FEATURES / WHY US SECTION
   ========================================= */
.features-section {
  background: var(--color-neutral-50);
}

.section-header {
  margin-bottom: var(--space-64);
}

.section-header h2 {
  color: var(--color-neutral-1000);
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 29.25px;
  letter-spacing: -0.4395px;
  max-width: 768px;
  margin: 0 auto;
}

.features-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-24);
  max-width: 1272px;
  margin: 0 auto var(--space-24);
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.feature-card-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

/* =========================================
   SERVICES / CARDS SECTION
   ========================================= */
.services-section {
  position: relative;
  background: var(--color-primary-dark);
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
  justify-content: center;
  padding: var(--space-24) 0;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--color-white);
  border: 2px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  width: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-icon-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-text-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  text-align: center;
}

/* =========================================
   CTA / CONTACT SECTION
   ========================================= */
.cta-section {
  background: var(--color-neutral-100);
}

.cta-header {
  margin-bottom: var(--space-48);
}

.cta-header h2 {
  color: var(--color-neutral-1000);
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
  max-width: 1056px;
  margin-left: auto;
  margin-right: auto;
}

.form-message {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: 14px var(--space-16);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  width: 100%;
  max-width: 768px;
}

.form-message--success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.required {
  color: #ef4444;
  margin-left: 2px;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================
   AFFILIATIONS SECTION
   ========================================= */
.affiliations-section {
  background: var(--color-section-bg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
  min-height: 455px;
  justify-content: center;
}

.affiliations-section h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.72px;
  color: var(--color-neutral-1000);
  text-align: center;
}

.affiliations-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-32);
  width: 100%;
  max-width: var(--container-inner);
  mix-blend-mode: multiply;
  padding: 0 30px;
}

.affiliations-logos img {
  max-height: 148px;
  width: auto;
  object-fit: contain;
}

.affiliations-placeholder {
  color: #94a3b8;
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-48);
}

/* =========================================
   RESPONSIVE: SECTIONS
   ========================================= */
@media (max-width: 1200px) {
  .navbar-inner { padding: var(--space-16) var(--space-48); }
  .hero-content  { padding: var(--space-48); }
  .hero-indicators { left: var(--space-48); }

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

  .segment-card { flex-direction: column; }
  .segment-card--reverse { flex-direction: column; }
  .segment-card-image { width: 100%; height: 300px; }
}

@media (max-width: 1024px) {
  .about-body { grid-template-columns: 1fr; }

  .features-row {
    justify-content: center;
  }

  .feature-card { width: calc(50% - 12px); }
  .service-card { width: calc(50% - 12px); }
}

@media (max-width: 768px) {
  .hero-section { height: auto; min-height: 500px; }
  .hero-content { padding: var(--space-32) var(--space-24); }
  .hero-title   { font-size: 36px; }
  .hero-subtitle { font-size: var(--text-lg); }
  .hero-btns    { flex-direction: column; gap: var(--space-12); }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-indicators { display: none; }

  .stats-row { justify-content: center; }
  .stat-block { width: calc(50% - 12px); }

  .segment-card { padding: var(--space-24); }

  .feature-card { width: 100%; }
  .service-card { width: 100%; }
}

@media (max-width: 480px) {
  .stat-block { width: 100%; }
  .contact-form-row { grid-template-columns: 1fr; }
}
