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

:root {
  --blue: #0EA5E9;
  --blue-dark: #0284C7;
  --blue-deeper: #0369A1;
  --blue-light: #38BDF8;
  --blue-pale: #BAE6FD;
  --bg: #F0F9FF;
  --bg2: #E0F2FE;
  --white: #ffffff;
  --dark: #0C1A2E;
  --dark2: #0F2744;
  --mid: #1E3A5F;
  --text: #1E3A5F;
  --text-muted: #4B7DAE;
  --text-light: #6BA3C8;
  --card-bg: rgba(255,255,255,0.9);
  --border: rgba(14,165,233,0.15);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(14,165,233,0.10);
  --shadow-lg: 0 20px 60px rgba(14,165,233,0.15);
  --transition: 0.32s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-light), #06B6D4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-dark);
  background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.25);
  padding: 0.35rem 1rem; border-radius: 50px; margin-bottom: 0.85rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--dark2); line-height: 1.2; margin-bottom: 1rem;
}
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white); padding: 0.85rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: 0.92rem; border: none; cursor: pointer;
  transition: var(--transition); box-shadow: 0 4px 20px rgba(14,165,233,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(14,165,233,0.45); }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--white); padding: 0.85rem 2rem;
  border-radius: 50px; font-weight: 600; font-size: 0.92rem;
  border: 1.5px solid rgba(255,255,255,0.45); transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: white; transform: translateY(-2px); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.12); color: var(--white); padding: 0.85rem 2rem;
  border-radius: 50px; font-weight: 600; font-size: 0.92rem;
  border: 1.5px solid rgba(255,255,255,0.3); transition: var(--transition);
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: var(--transition); padding: 1rem 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(20px);
  padding: 0.6rem 0; box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; object-fit: contain; transition: var(--transition); filter: brightness(0) invert(1); }
#navbar.scrolled .logo-img { filter: none; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: color var(--transition); position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--blue-light);
  transition: width var(--transition); border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--text-muted); }
#navbar.scrolled .nav-links a:hover, #navbar.scrolled .nav-links a.active { color: var(--blue-dark); }
#navbar.scrolled .nav-links a::after { background: var(--blue-dark); }

.nav-cta {
  background: white !important; color: var(--blue-dark) !important;
  padding: 0.55rem 1.4rem !important; border-radius: 50px !important;
  font-weight: 700 !important; box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
#navbar.scrolled .nav-cta { background: linear-gradient(135deg,var(--blue-dark),var(--blue)) !important; color: white !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-1px) !important; opacity: 0.93; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }
#navbar.scrolled .hamburger span { background: var(--dark2); }

.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  padding: 1.25rem 1.5rem 1.75rem; gap: 0.1rem;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mob-link {
  display: block; padding: 0.8rem 0;
  border-bottom: 1px solid rgba(14,165,233,0.08);
  color: var(--text); font-weight: 500; font-size: 0.97rem;
  transition: color var(--transition);
}
.mob-link:hover, .mob-link.active { color: var(--blue-dark); }
.mob-cta {
  margin-top: 0.75rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white) !important; text-align: center; border-radius: 50px;
  padding: 0.85rem 1rem !important; border: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  overflow: hidden; padding: 8rem 1.5rem 4rem;
  background: linear-gradient(160deg, var(--dark2) 0%, var(--mid) 55%, #1B6FA8 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 40%, rgba(14,165,233,0.22) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 15% 70%, rgba(6,182,212,0.12) 0%, transparent 60%);
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1576765608622-067973a79f53?w=1600&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center; opacity: 0.06;
}
.hero-circle { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; animation: float 10s ease-in-out infinite; }
.c1 { width: 450px; height: 450px; background: var(--blue); top: -80px; right: -80px; animation-delay: 0s; }
.c2 { width: 280px; height: 280px; background: #06B6D4; bottom: 60px; left: 8%; animation-delay: 3s; }
.c3 { width: 180px; height: 180px; background: var(--blue-light); top: 45%; left: 48%; animation-delay: 6s; }

@keyframes float { 0%,100%{ transform: translateY(0) scale(1); } 50%{ transform: translateY(-24px) scale(1.04); } }

.hero-content { position: relative; max-width: 680px; margin: 0 auto; text-align: center; z-index: 2; }
.hero-badge {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--blue-pale); background: rgba(14,165,233,0.15); border: 1px solid rgba(14,165,233,0.3);
  padding: 0.38rem 1.1rem; border-radius: 50px; margin-bottom: 1.4rem;
  animation: heroFadeIn 0.7s ease forwards; animation-delay: 0.1s; opacity: 0;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 1.25rem;
  animation: heroFadeIn 0.7s ease forwards; animation-delay: 0.25s; opacity: 0;
}
.hero-sub {
  font-size: 1.05rem; color: rgba(186,230,253,0.85);
  max-width: 500px; margin: 0 auto 2.25rem;
  animation: heroFadeIn 0.7s ease forwards; animation-delay: 0.4s; opacity: 0;
}
.hero-actions {
  display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem;
  animation: heroFadeIn 0.7s ease forwards; animation-delay: 0.55s; opacity: 0;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap;
  animation: heroFadeIn 0.7s ease forwards; animation-delay: 0.7s; opacity: 0;
}
.stat { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--white); font-family: 'Playfair Display', serif; }
.stat-text { font-size: 2.2rem; font-weight: 800; color: var(--white); font-family: 'Playfair Display', serif; }
.stat-plus { font-size: 1.8rem; font-weight: 800; color: var(--blue-light); }
.stat p { font-size: 0.75rem; color: rgba(186,230,253,0.65); margin-top: 0.15rem; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.12); }
.hero-scroll-hint {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(186,230,253,0.55); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(186,230,253,0.55), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{ opacity:0.55; } 50%{ opacity:1; } }
@keyframes heroFadeIn { to { opacity:1; transform: translateY(0); } from { opacity:0; transform: translateY(20px); } }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 8rem 1.5rem 4rem; position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, var(--dark2) 0%, var(--mid) 55%, #1B6FA8 100%);
}
.page-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(14,165,233,0.2) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .section-label { color: var(--blue-pale); background: rgba(14,165,233,0.15); border-color: rgba(14,165,233,0.3); }
.page-hero-title {
  font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 1rem;
}
.page-hero-content p { font-size: 1rem; color: rgba(186,230,253,0.8); max-width: 500px; margin: 0 auto; }

/* ===== VALUES STRIP ===== */
.values-strip { padding: 4.5rem 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.value-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.4rem; text-align: center; transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow); background: var(--white); }
.value-icon { font-size: 2rem; margin-bottom: 0.85rem; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark2); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== ABOUT PREVIEW ===== */
.about-preview { padding: 6rem 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.about-visual { position: relative; }
.about-main-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-card-float {
  position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem; display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 600; color: var(--dark2); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.about-card-float span { font-size: 1.2rem; }
.fc1 { bottom: 24px; right: -16px; animation-delay: 0s; }
.fc2 { top: 20px; right: -20px; animation-delay: 3s; }
.about-text p { color: var(--text-muted); margin-bottom: 0.9rem; font-size: 0.95rem; line-height: 1.8; }
.about-text p strong { color: var(--dark2); }

/* ===== SERVICES PREVIEW ===== */
.services-preview { padding: 6rem 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.75rem; }
.service-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; position: relative;
}
.service-card:hover { transform: translateY(-7px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.service-card.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.service-badge {
  position: absolute; top: 0.9rem; right: 0.9rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.28rem 0.75rem; border-radius: 50px;
}
.service-img { width: 100%; height: 190px; object-fit: cover; }
.service-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.service-body .service-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.service-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--dark2); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; flex: 1; }
.service-link { font-size: 0.85rem; font-weight: 700; color: var(--blue-dark); display: inline-flex; gap: 0.3rem; align-items: center; transition: gap var(--transition), color var(--transition); margin-top: auto; }
.service-link:hover { color: var(--blue); gap: 0.55rem; }
.services-cta { text-align: center; margin-top: 3rem; }

/* ===== GALLERY ===== */
.gallery-strip { padding: 3.5rem 0; background: var(--bg2); }
.gallery-scroll {
  display: flex; gap: 1rem; overflow-x: auto; padding: 0.5rem 1.5rem 1rem;
  scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-img {
  width: 260px; height: 190px; object-fit: cover; border-radius: var(--radius);
  flex-shrink: 0; scroll-snap-align: start; box-shadow: var(--shadow); transition: transform var(--transition);
}
.gallery-img:hover { transform: scale(1.03); }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 6rem 0; background: var(--white); overflow: hidden; }
.testimonials-track-wrap { overflow: hidden; }
.testimonials-track { display: flex; gap: 1.5rem; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.tcard {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.25rem; min-width: calc(100% / 3 - 1rem); flex-shrink: 0; transition: var(--transition);
}
.tcard:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); }
.tcard-stars { color: #F59E0B; font-size: 1rem; margin-bottom: 0.9rem; }
.tcard-text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; font-style: italic; margin-bottom: 1.4rem; }
.tcard-author { display: flex; align-items: center; gap: 0.9rem; }
.tcard-avatar {
  width: 42px; height: 42px; background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: white; font-size: 0.95rem; flex-shrink: 0;
}
.tcard-author strong { display: block; font-size: 0.9rem; color: var(--dark2); }
.tcard-author span { font-size: 0.76rem; color: var(--text-muted); }
.tcard-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.25rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--blue); width: 22px; border-radius: 4px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, var(--dark2) 0%, var(--mid) 60%, #1B6FA8 100%);
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; color: white; margin-bottom: 0.9rem; }
.cta-inner p { font-size: 1rem; color: rgba(186,230,253,0.8); margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ===== MISSION SECTION ===== */
.mission-section { padding: 6rem 0; background: var(--bg); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.mission-text p { color: var(--text-muted); margin-bottom: 0.9rem; font-size: 0.95rem; line-height: 1.8; }
.mission-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ===== VALUES FULL ===== */
.values-full { padding: 6rem 0; background: var(--white); }
.values-grid-full { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.75rem; }
.value-card-full {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.25rem 1.75rem; transition: var(--transition);
}
.value-card-full:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow); background: var(--white); }
.value-icon-lg { font-size: 2.5rem; margin-bottom: 1.1rem; }
.value-card-full h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark2); margin-bottom: 0.65rem; }
.value-card-full p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ===== TEAM INTRO CARDS ===== */
.team-intro { padding: 5rem 0 3rem; background: var(--bg); }
.team-intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; max-width: 1100px; margin: 0 auto; }
.team-intro-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: var(--transition); position: relative;
}
.team-intro-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.tic-photo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--blue-pale); flex-shrink: 0; }
.tic-photo-fallback {
  width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1.35rem;
  border: 2.5px solid var(--blue-pale);
}
.tic-info { flex: 1; min-width: 0; }
.tic-info h3 { font-size: 1rem; font-weight: 700; color: var(--dark2); margin-bottom: 0.1rem; }
.tic-role { font-size: 0.8rem; color: var(--blue-dark); font-weight: 600; margin-bottom: 0.5rem; }
.tic-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tic-tags span {
  font-size: 0.7rem; background: var(--bg2); border: 1px solid var(--border);
  padding: 0.15rem 0.6rem; border-radius: 50px; color: var(--text-muted);
}
.tic-arrow { font-size: 1.1rem; color: var(--blue); flex-shrink: 0; transition: transform var(--transition); }
.team-intro-card:hover .tic-arrow { transform: translateX(4px); }

/* ===== TEAM PROFILE ===== */
.team-profile-section { padding: 5rem 0 6rem; background: var(--bg); scroll-margin-top: 80px; }
.team-profile-section.alt-bg { background: var(--white); }
.team-photo-fallback {
  width: 100%; max-width: 280px; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  align-items: center; justify-content: center; color: white;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 4.5rem;
  border: 3px solid var(--blue-pale); box-shadow: var(--shadow-lg);
}
.team-profile-card {
  display: grid; grid-template-columns: 320px 1fr; gap: 4rem; align-items: start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 3rem; box-shadow: var(--shadow-lg);
}
.team-photo-wrap { margin-bottom: 1.5rem; }
.team-photo-large {
  width: 100%; max-width: 280px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 3px solid var(--blue-pale);
  /* Fixed ratio so portrait and landscape source photos crop to the
     same shape, and so the mobile circle stays a circle. */
  aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
}
.team-quick-info { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.5rem; }
.tqi-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); }
.tqi-icon { font-size: 1.1rem; flex-shrink: 0; }
.team-quals-list { display: flex; flex-direction: column; gap: 0.45rem; }
.team-quals-list h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.team-quals-list span {
  font-size: 0.8rem; background: var(--bg2); border: 1px solid var(--border);
  padding: 0.3rem 0.8rem; border-radius: 50px; color: var(--text-muted); display: inline-block; width: fit-content;
}
.team-name-block { margin-bottom: 1.5rem; }
.team-profile-name { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--dark2); }
.team-pronouns { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.team-profile-role { font-size: 0.88rem; color: var(--blue-dark); font-weight: 600; margin-top: 0.35rem; }
.team-bio-block { margin-bottom: 1.75rem; }
.team-bio-block p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.8; }
.team-section-block { margin-bottom: 1.75rem; }
.team-section-block p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0.75rem; }
.team-section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue-dark); background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25); padding: 0.28rem 0.85rem; border-radius: 50px; margin-bottom: 0.85rem;
}

/* ===== SERVICE DETAIL ===== */
.service-detail { padding: 5.5rem 0; background: var(--bg); }
.service-detail.alt-bg { background: var(--white); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-img img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.service-detail-text p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.8; }
.service-features { display: flex; flex-direction: column; gap: 0.6rem; }
.sf-item { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.88rem; color: var(--text-muted); }
.sf-check { color: var(--blue-dark); font-weight: 700; flex-shrink: 0; margin-top: 0.1rem; }

/* ===== CONTACT ===== */
.contact-section { padding: 5.5rem 0 6rem; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4.5rem; align-items: start; }
.contact-info h2 { margin-bottom: 0.85rem; }
.contact-info > p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.75rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 0.9rem; border-radius: var(--radius-sm); transition: var(--transition);
  color: var(--text);
}
.contact-item:hover { background: var(--bg2); }
.contact-icon {
  width: 42px; height: 42px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }
.contact-item span, .contact-item a { font-size: 0.93rem; color: var(--dark2); font-weight: 500; }
.contact-item a:hover { color: var(--blue-dark); }
.social-links { display: flex; gap: 0.65rem; margin-bottom: 2rem; }
.social-btn {
  padding: 0.5rem 1.2rem; border: 1.5px solid var(--border); border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted); transition: var(--transition);
}
.social-btn:hover { border-color: var(--blue); color: var(--blue-dark); background: var(--bg2); }
.contact-team-preview {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.contact-team-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue-pale); flex-shrink: 0; }
.contact-team-preview strong { display: block; font-size: 0.9rem; color: var(--dark2); }
.contact-team-preview span { font-size: 0.78rem; color: var(--text-muted); }

.contact-form-wrap {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem; color: var(--dark2); font-size: 0.9rem; font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition); outline: none; width: 100%; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,165,233,0.1); background: var(--white);
}
.form-success {
  display: none; text-align: center; font-size: 0.92rem; font-weight: 600; color: #059669;
  padding: 1rem; background: rgba(5,150,105,0.07); border: 1px solid rgba(5,150,105,0.18); border-radius: var(--radius-sm);
}
.form-error {
  display: none; text-align: center; font-size: 0.9rem; font-weight: 600; color: #B91C1C;
  padding: 0.9rem; background: rgba(185,28,28,0.06); border: 1px solid rgba(185,28,28,0.2); border-radius: var(--radius-sm);
}
/* Honeypot: off-screen rather than display:none, since some bots skip hidden fields. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== FOOTER ===== */
.footer { background: var(--dark2); border-top: 1px solid rgba(14,165,233,0.12); padding: 4rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .footer-logo { height: 48px; width: auto; margin-bottom: 0.9rem; object-fit: contain; }
.footer-brand p { font-size: 0.85rem; color: rgba(186,230,253,0.55); line-height: 1.7; max-width: 270px; }
.footer-links h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 0.9rem; }
.footer-links a { display: block; font-size: 0.85rem; color: rgba(186,230,253,0.5); margin-bottom: 0.55rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--blue-light); }
.footer-acknowledgement { border-top: 1px solid rgba(14,165,233,0.12); border-bottom: 1px solid rgba(14,165,233,0.12); padding: 1.5rem 0; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.ack-flags { display: flex; gap: 0.6rem; align-items: center; flex-shrink: 0; }
.ack-flag { height: 36px; width: auto; border-radius: 4px; }
.ack-flag-combined { height: 44px; width: auto; border-radius: 6px; }
.footer-acknowledgement p { font-size: 0.8rem; color: rgba(186,230,253,0.42); line-height: 1.7; font-style: italic; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(186,230,253,0.35); }

/* ===== PROCESS / HOW IT WORKS ===== */
.process-section { padding: 6rem 0; background: var(--bg2); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; position: relative; }
.process-step {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.25rem 1.75rem; text-align: center; transition: var(--transition); position: relative;
}
.process-step:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.process-num {
  width: 54px; height: 54px; margin: 0 auto 1.1rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}
.process-step h3 { font-size: 1.08rem; font-weight: 700; color: var(--dark2); margin-bottom: 0.65rem; }
.process-step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-section { padding: 6rem 0; background: var(--bg); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--blue); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--dark2);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--blue-dark); }
.faq-icon { font-size: 1.3rem; color: var(--blue); flex-shrink: 0; transition: transform var(--transition); line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 1.4rem; }
.faq-item.open .faq-a { max-height: 600px; padding: 0 1.4rem 1.25rem; }
.faq-a p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .mission-grid { grid-template-columns: 1fr; gap: 3rem; }
  .fc1, .fc2 { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .tcard { min-width: calc(50% - 0.75rem); }
  .team-profile-card { grid-template-columns: 260px 1fr; gap: 2.5rem; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-grid.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 6.5rem 1.25rem 3.5rem; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { gap: 1.25rem; }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; max-width: 280px; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-profile-card { grid-template-columns: 1fr; padding: 1.75rem; }
  .team-photo-large { max-width: 200px; border-radius: 50%; }
  .team-photo-fallback { max-width: 200px; border-radius: 50%; margin: 0 auto; font-size: 3.5rem; }
  .team-photo-wrap { text-align: center; }
  .team-quick-info { flex-direction: row; flex-wrap: wrap; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
  .tcard { min-width: 85vw; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-primary, .cta-actions .btn-outline-dark { width: 100%; max-width: 280px; justify-content: center; }
  .page-hero { padding: 6.5rem 1.25rem 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-acknowledgement { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .service-detail { padding: 3.5rem 0; }
  .service-detail-img img { height: 260px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.1rem; }
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .section-title { font-size: 1.7rem; }
  .values-grid { grid-template-columns: 1fr; }
  .tcard { min-width: calc(100vw - 3rem); }
  .team-profile-card { padding: 1.25rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .about-main-img, .mission-img { height: 280px; }
  .services-cta .btn-primary { width: 100%; justify-content: center; }
}

/* Mobile touch improvements */
@media (hover: none) {
  .value-card:hover, .service-card:hover, .tcard:hover { transform: none; }
  .btn-primary:hover, .btn-outline:hover { transform: none; }
  .gallery-img:hover { transform: none; }
}
