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

:root {
  --navy:   #0b0534;
  --indigo: #160a6c;
  --blue:   #3768a4;
  --teal:   #3fa3c8;
  --cyan:   #4be8ff;
  --white:  #fdfdfd;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== GLOBAL TRIANGLE TEXTURE ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='60'%3E%3Cpolygon points='35,3 67,57 3,57' fill='none' stroke='rgba(75,232,255,0.07)' stroke-width='1'/%3E%3Cpolygon points='0,30 32,30 16,0' fill='none' stroke='rgba(75,232,255,0.04)' stroke-width='0.7'/%3E%3Cpolygon points='38,30 70,30 54,60' fill='none' stroke='rgba(75,232,255,0.04)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 70px 60px;
}

/* Radial glow blobs */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(55,104,164,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(75,232,255,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 55% 10%, rgba(63,163,200,0.12) 0%, transparent 60%);
}


/* Make sure hero content sits above textures */
#hero > *,
.page-hero > * { position: relative; z-index: 1; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

a { color: inherit; text-decoration: none; }

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

section { padding: 96px 0; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 56px; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-sub {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(253,253,253,0.7);
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(75,232,255,0.3);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(75,232,255,0.45); }

.btn-outline {
  border: 2px solid var(--cyan);
  color: var(--cyan);
  background: transparent;
}
.btn-outline:hover { background: rgba(75,232,255,0.08); }

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(11,5,52,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(75,232,255,0.12);
  transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}
#navbar.scrolled {
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}
#navbar .nav-logo img {
  height: 64px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(253,253,253,0.85);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--navy) !important;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
}

.nav-close { display: none; }

.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: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@keyframes pulse-bg {
  0%   { filter: brightness(1); }
  100% { filter: brightness(1.12); }
}

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

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(253,253,253,0.75);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 120px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.4);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(75,232,255,0.6), transparent);
  animation: scroll-drop 1.6s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== STATS ===== */
#stats {
  padding: 48px 0;
  background: rgba(22,10,108,0.7);
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.hero-team-photo {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  line-height: 0;
}
.hero-team-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.stats-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 2;
}
.stats-wave svg {
  display: block;
  width: 100%;
}

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

.stat-item { padding: 16px; }

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.6);
}

/* ===== ABOUT ===== */
#about {
  background:
    radial-gradient(ellipse at 15% 40%, rgba(55,104,164,0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 70%, rgba(75,232,255,0.12) 0%, transparent 55%),
    var(--navy);
}

.fun-facts-row { display: flex; gap: 16px; margin: 40px auto 0; max-width: 700px; justify-content: center; }
.fun-fact-card { background: rgba(22,10,108,0.4); border: 1px solid rgba(75,232,255,0.4); border-radius: 16px; padding: 28px 18px 24px; flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fun-fact-icon-wrap { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(75,232,255,0.1); color: var(--cyan); flex-shrink: 0; }
.fun-fact-text { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: rgba(253,253,253,0.75); line-height: 1.45; }

.our-story-layout {
  display: flex;
  align-items: center;
  gap: 56px;
}
.our-story-block {
  flex: 1;
  border-left: 3px solid rgba(75,232,255,0.3);
  padding-left: 28px;
}
.our-story-block p {
  color: rgba(253,253,253,0.75);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.our-story-block p:last-child { margin-bottom: 0; }
.our-story-photo {
  flex-shrink: 0;
  width: 320px;
}
.our-story-photo img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(75,232,255,0.2);
  display: block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.value-flip {
  perspective: 1000px;
  height: 200px;
  cursor: pointer;
}
.value-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.value-flip:hover .value-flip-inner {
  transform: rotateY(180deg);
}
.value-card {
  position: absolute;
  inset: 0;
  background: rgba(22,10,108,0.4);
  border: 1px solid rgba(75,232,255,0.4);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.value-back {
  transform: rotateY(180deg);
  background: rgba(55,104,164,0.25);
}
.value-icon { font-size: 2rem; margin-bottom: 16px; }
.value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--cyan);
}
.value-card p { color: rgba(253,253,253,0.85); font-size: 1rem; line-height: 1.7; margin: 0; }

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

.team-card {
  background: rgba(22,10,108,0.3);
  border: 1px solid rgba(75,232,255,0.1);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.team-card:hover {
  border-color: rgba(75,232,255,0.35);
  transform: translateY(-4px);
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 16px;
  color: var(--white);
}
.team-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-card p { font-size: 0.85rem; color: rgba(253,253,253,0.55); }

/* ===== EXPERTISE ===== */
#expertise {
  background: linear-gradient(180deg, var(--navy) 0%, var(--indigo) 100%);
}

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

.expertise-card {
  background: rgba(55,104,164,0.18);
  border: 1px solid rgba(75,232,255,0.14);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.expertise-label {
  display: block;
  transition: opacity 0.25s, transform 0.25s;
}
.expertise-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.expertise-count {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.expertise-count-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.55);
  margin-top: 6px;
}
.expertise-card:hover .expertise-label {
  opacity: 0;
  transform: translateY(-8px);
}
.expertise-card:hover .expertise-reveal {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.expertise-card:hover {
  background: rgba(63,163,200,0.22);
  border-color: var(--cyan);
  transform: translateY(-3px);
}

/* ===== SERVICES ===== */
#services {
  background: rgba(22,10,108,0.7);
}

/* ===== LOGO CAROUSEL ===== */
.logo-carousel-section {
  padding: 48px 0;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(22,10,108,0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(55,104,164,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(63,163,200,0.2) 0%, transparent 50%),
    rgba(11,5,52,0.7);
}
.logo-carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: carousel-scroll 60s linear infinite;
}
.logo-carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 72px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(75,232,255,0.35);
  border-radius: 8px;
  flex-shrink: 0;
}
.logo-carousel-slide img {
  width: 140px;
  height: 52px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo-carousel-slide span {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}
@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.services-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.services-header-graphic {
  width: 280px;
  height: auto;
  flex-shrink: 0;
}
.services-with-graphic {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.services-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.services-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.services-graphic img {
  width: 220px;
  height: auto;
}

.service-card {
  background: rgba(11,5,52,0.6);
  border: 1px solid rgba(75,232,255,0.12);
  border-radius: 20px;
  padding: 40px 36px;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover {
  border-color: rgba(75,232,255,0.12);
}
.service-icon { font-size: 2rem; margin-bottom: 20px; }
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.service-card p { color: rgba(253,253,253,0.7); margin-bottom: 20px; font-size: 0.97rem; }
.service-fee {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(75,232,255,0.1);
  border: 1px solid rgba(75,232,255,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  letter-spacing: 0.04em;
}

/* ===== MONTHLY PLACEMENTS ===== */
#placements {
  background: transparent;
  padding-bottom: 80px;
}

.offers-carousel-wrapper {
  position: relative;
}
.placements-scroll-wrapper {
  overflow-x: auto;
  padding: 0 24px 24px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.placements-scroll-wrapper::-webkit-scrollbar { display: none; }

.placements-track {
  display: flex;
  gap: 20px;
  padding: 8px 48px 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  background: rgba(22,10,108,0.7);
  border: 1px solid rgba(75,232,255,0.35);
  color: var(--cyan);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, border-color 0.2s;
}
.carousel-btn:hover { background: rgba(75,232,255,0.15); border-color: var(--cyan); }
.carousel-btn.prev { left: 4px; }
.carousel-btn.next { right: 4px; }

.offer-flip {
  perspective: 1000px;
  width: 240px;
  height: 220px;
  flex-shrink: 0;
  cursor: pointer;
}
.offer-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.offer-flip:hover .offer-flip-inner {
  transform: rotateY(180deg);
}
.offer-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.offer-front {
  background: rgba(22,10,108,0.75);
  border: 1px solid rgba(75,232,255,0.25);
}
.offer-back {
  background: rgba(55,104,164,0.65);
  border: 1px solid rgba(75,232,255,0.4);
  transform: rotateY(180deg);
}
.offer-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.offer-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.offer-hint {
  font-size: 0.75rem;
  color: rgba(253,253,253,0.35);
  margin-top: 14px;
  font-style: italic;
}
.offer-details {
  font-size: 0.88rem;
  color: rgba(253,253,253,0.85);
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: linear-gradient(180deg, var(--indigo) 0%, var(--navy) 100%);
}

.testimonial-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}
.testimonial-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  gap: 24px;
}
.testimonial-card {
  background: rgba(11,5,52,0.5);
  border: 1px solid rgba(75,232,255,0.1);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  display: none;
  animation: fade-in-quote 0.4s ease;
  min-height: 340px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card.active {
  display: flex;
  flex: 1;
}
@keyframes fade-in-quote {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.testimonial-quote {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--cyan);
  opacity: 0.3;
  line-height: 0.6;
  margin-bottom: 16px;
  user-select: none;
}
.testimonial-card p { color: rgba(253,253,253,0.8); font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; flex: 1; }
.testimonial-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.testimonial-prev, .testimonial-next {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(75,232,255,0.1);
  border: 1.5px solid rgba(75,232,255,0.35);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.testimonial-prev:hover, .testimonial-next:hover {
  background: rgba(75,232,255,0.2);
  border-color: var(--cyan);
  transform: scale(1.08);
}

/* ===== BLOG ===== */
#blog { background: transparent; }

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

.blog-card {
  background: rgba(22,10,108,0.35);
  border: 1px solid rgba(75,232,255,0.1);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s;
}
.blog-card:hover {
  border-color: rgba(75,232,255,0.35);
  transform: translateY(-4px);
}
.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-radius: 50px;
  padding: 4px 14px;
  width: fit-content;
}
.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}
.blog-card p { font-size: 0.9rem; color: rgba(253,253,253,0.6); flex: 1; }
.blog-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.blog-link:hover { color: var(--white); }

/* ===== ABOUT CTA ===== */
.about-cta { text-align: center; margin-top: 48px; }

/* ===== VALUE ICON (SVG version) ===== */
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(75,232,255,0.1);
  margin: 0 auto 16px;
  color: var(--cyan);
}

/* ===== SERVICE ICON (SVG version) ===== */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(75,232,255,0.1);
  color: var(--cyan);
  margin-bottom: 20px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  padding: 160px 24px 96px;
  text-align: center;
  overflow: hidden;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
}

/* ===== TEAM PAGE ===== */
#team { background: transparent; }

.team-full-grid {
  display: grid;
  gap: 32px;
}
.founders-grid   { grid-template-columns: repeat(2, 1fr); }
.consultants-grid { grid-template-columns: repeat(2, 1fr); }

.team-full-card {
  background: rgba(22,10,108,0.4);
  border: 1px solid rgba(75,232,255,0.12);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}
.team-full-card:hover {
  border-color: rgba(75,232,255,0.35);
  transform: translateY(-4px);
}
a.team-card-link {
  display: flex;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
a.team-card-link:hover {
  border-color: rgba(75,232,255,0.35);
  transform: translateY(-4px);
}
.team-avatar-lg {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
}
.team-full-info h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.team-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.team-bio { font-size: 0.95rem; color: rgba(253,253,253,0.72); line-height: 1.7; }

/* ===== PAGE CTA SECTION ===== */
.page-cta-section {
  background: var(--indigo);
  padding: 80px 0;
}
.page-cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.page-cta-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.page-cta-inner p { color: rgba(253,253,253,0.7); margin-bottom: 32px; }

/* ===== CONTACT PAGE ===== */
#contact {
  background: linear-gradient(180deg, var(--navy) 0%, var(--indigo) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.contact-info > p { color: rgba(253,253,253,0.7); margin-bottom: 32px; }

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
}
.contact-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(75,232,255,0.1);
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.4);
  margin-bottom: 2px;
}
.contact-details a { color: rgba(253,253,253,0.85); transition: color 0.2s; }
.contact-details a:hover { color: var(--cyan); }

.contact-hours {
  border-top: 1px solid rgba(75,232,255,0.1);
  padding-top: 24px;
}
.contact-hours h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.contact-hours p { font-size: 0.9rem; color: rgba(253,253,253,0.6); }

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-note {
  font-size: 0.88rem;
  margin-top: -8px;
}

/* ===== RESUME UPLOAD ===== */
.resume-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 8px;
}
.resume-divider::before,
.resume-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(75,232,255,0.15);
}
.resume-divider span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.3);
}

.label-optional {
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(253,253,253,0.3);
}

.resume-upload {
  border: 2px dashed rgba(75,232,255,0.25);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: rgba(253,253,253,0.5);
}
.resume-upload:hover,
.resume-upload.drag-over {
  border-color: var(--cyan);
  background: rgba(75,232,255,0.05);
}
.resume-upload svg { margin: 0 auto 10px; display: block; color: var(--cyan); opacity: 0.7; }
.resume-upload-label { font-size: 0.95rem; font-weight: 600; color: rgba(253,253,253,0.65); margin-bottom: 4px; }
.resume-upload-sub { font-size: 0.8rem; color: rgba(253,253,253,0.3); margin-bottom: 14px; }

.resume-browse-btn {
  display: inline-block;
  background: rgba(75,232,255,0.1);
  border: 1px solid rgba(75,232,255,0.3);
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.resume-browse-btn:hover { background: rgba(75,232,255,0.18); border-color: var(--cyan); }

.resume-selected {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(75,232,255,0.07);
  border: 1px solid rgba(75,232,255,0.2);
  border-radius: 10px;
  color: rgba(253,253,253,0.8);
  font-size: 0.9rem;
  font-weight: 600;
}
.resume-selected svg { flex-shrink: 0; color: var(--cyan); }
.resume-selected span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resume-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(253,253,253,0.4);
  display: flex;
  align-items: center;
  padding: 2px;
  transition: color 0.2s;
}
.resume-remove:hover { color: var(--cyan); }

.resume-note {
  font-size: 0.78rem;
  color: rgba(253,253,253,0.3);
  margin-top: 8px;
  font-style: italic;
}

.contact-form {
  background: rgba(11,5,52,0.6);
  border: 1px solid rgba(75,232,255,0.12);
  border-radius: 24px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.9);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(22,10,108,0.4);
  border: 1px solid rgba(75,232,255,0.18);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(253,253,253,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--cyan); }
.form-group select { cursor: pointer; appearance: none; }
.form-group select option { background: var(--indigo); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== NEWSLETTER PAGE ===== */
#subscribe { background: transparent; }
#past-issues { background: linear-gradient(180deg, var(--navy) 0%, var(--indigo) 100%); }

.newsletter-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.newsletter-subscribe .section-header { margin-bottom: 40px; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.newsletter-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(253,253,253,0.4);
  margin-top: 16px;
}
.newsletter-trust svg { color: var(--teal); flex-shrink: 0; }

.newsletter-preview {
  background: rgba(22,10,108,0.4);
  border: 1px solid rgba(75,232,255,0.12);
  border-radius: 20px;
  padding: 40px 36px;
  margin-top: 80px;
}
.newsletter-preview h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.newsletter-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.newsletter-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.nl-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(75,232,255,0.1);
  color: var(--cyan);
  flex-shrink: 0;
}
.newsletter-features li strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.newsletter-features li span {
  font-size: 0.88rem;
  color: rgba(253,253,253,0.6);
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.issue-card {
  background: rgba(22,10,108,0.4);
  border: 1px solid rgba(75,232,255,0.12);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s, transform 0.3s;
}
.issue-card:hover {
  border-color: rgba(75,232,255,0.35);
  transform: translateY(-4px);
}
.issue-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.issue-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.issue-card p { font-size: 0.88rem; color: rgba(253,253,253,0.6); flex: 1; }
.issue-coming {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(253,253,253,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.issues-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== PAST ISSUES PAGE ===== */
#all-issues { background: transparent; }

.all-issues-header {
  margin-bottom: 48px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan);
  transition: color 0.2s;
}
.back-link:hover { color: var(--white); }

.issues-year-group { margin-bottom: 64px; }

.issues-year-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.3);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(75,232,255,0.1);
}

.all-issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .all-issues-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .all-issues-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
#footer {
  background: var(--indigo);
  border-top: 1px solid rgba(75,232,255,0.1);
  padding: 48px 0 24px;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}
#footer .nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#footer .nav-logo img {
  height: 64px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(253,253,253,0.45);
  margin-top: 10px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}
.footer-nav a:last-child {
  text-align: right;
}
.footer-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(253,253,253,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--cyan); }

.footer-linkedin {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.footer-linkedin a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(253,253,253,0.55);
  transition: color 0.2s;
}
.footer-linkedin a:hover { color: var(--cyan); }
.footer-linkedin svg { flex-shrink: 0; }
.footer-phone { margin-top: 8px; font-size: 0.9rem; color: rgba(253,253,253,0.6); }
.footer-phone a { color: rgba(253,253,253,0.6); text-decoration: none; }
.footer-phone a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(75,232,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(253,253,253,0.3);
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .founders-grid { grid-template-columns: 1fr; }
  .consultants-grid { grid-template-columns: 1fr; }
  .newsletter-layout { grid-template-columns: 1fr; gap: 40px; }
  .newsletter-preview { margin-top: 0; }
  .issues-grid { grid-template-columns: 1fr; }
}

/* ===== TREBLA OFF THE CLOCK ===== */
#off-the-clock { background: transparent; }

.otc-blurb {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.otc-blurb p {
  color: rgba(253,253,253,0.72);
  font-size: 1.05rem;
  line-height: 1.85;
}

.otc-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px 300px;
  gap: 12px;
}

.otc-photo-placeholder {
  aspect-ratio: 4/3;
  background: rgba(22,10,108,0.4);
  border: 1.5px dashed rgba(75,232,255,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.otc-photo-placeholder span {
  font-size: 0.78rem;
  color: rgba(253,253,253,0.25);
  font-style: italic;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}
.otc-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

@media (max-width: 640px) {
  .otc-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11,5,52,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; }
  .nav-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(253,253,253,0.85);
    padding: 8px;
    z-index: 1000;
    transition: color 0.2s;
  }
  .nav-close:hover { color: var(--cyan); }

  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 28px 20px; }
  .footer-inner { flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
  #footer .nav-logo { position: static; transform: none; margin-bottom: 8px; }
  .footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
  .team-full-card { flex-direction: column; gap: 20px; }
  .page-hero { padding: 140px 24px 72px; }
  .our-story-layout { flex-direction: column; }
  .our-story-photo { width: 100%; }
}


/* ===== SWIPE HINT (mobile only) ===== */
.swipe-hint {
  display: block;
  text-align: center;
  color: rgba(75,232,255,0.55);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-top: 16px;
}
