*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark-teal: #0f2222;
  --teal: #237675;
  --accent: #35b6b5;
  --lime: #a9c825;
  --white: #ffffff;
  --black: #1a1a1a;
  --gradient: linear-gradient(to right, #0f2222, #237675);
  --font: 'Rubik', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); line-height: 1.6; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Buttons */
.btn { display: inline-block; padding: 10px 24px; border-radius: 60px; font-family: var(--font); font-size: clamp(16px, 1.3vw, 20px); cursor: pointer; transition: all 0.3s; text-align: center; white-space: nowrap; border: none; }
.btn-outline-dark { border: 1.5px solid var(--black); color: var(--black); background: transparent; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-outline-light { border: 1.5px solid var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--dark-teal); }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px 40px; transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
  /* positioning context for hamburger */
}
.nav-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.nav-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; position: relative;
}
.nav-group-right { display: flex; gap: 28px; align-items: center; justify-self: start; }
.nav-group-left { display: flex; gap: 28px; align-items: center; justify-self: end; }
.nav-link { font-size: 18px; color: var(--black); transition: color 0.2s; }
.nav-link:hover { color: var(--accent); }
.nav-cta {
  font-size: 16px; border: 1.5px solid var(--black); border-radius: 60px;
  padding: 8px 18px; transition: all 0.3s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
/* Logo takes no space until hero logo scrolls off */
.nav-logo { width: 0; overflow: hidden; pointer-events: none; transition: width 0.3s, opacity 0.3s; opacity: 0; }
.nav-logo img { height: 44px; width: auto; min-width: 100px; object-fit: contain; }
.nav-show-logo .nav-logo { width: 100px; opacity: 1; pointer-events: auto; }

/* Hamburger - hidden on desktop, positioned in .nav */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 30px; height: 22px;
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 101;
}
.hamburger span {
  display: block; width: 100%; height: 3px; background: var(--black);
  border-radius: 2px; position: absolute; left: 0; transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(10px);
  z-index: 99; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-link { font-size: 24px; font-weight: 500; color: var(--black); }
.mobile-link:hover { color: var(--accent); }
.mobile-cta {
  border: 1.5px solid var(--accent); border-radius: 60px;
  padding: 10px 28px; color: var(--accent); font-weight: 700;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden; padding: 20px 20px 50px;
  background: #fff;
}

/* Polygons with soft white fade so they dissolve before reaching text */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 65%; z-index: 1;
  background: linear-gradient(to top, #fff 0%, #fff 25%, transparent 100%);
}
.hero-bg-layer { position: absolute; }
.hero-bg-3 { top: -14vw; left: -3%;  width: 41vw; }
.hero-bg-1 { top: -14vw; left: -3%;  width: 80vw; }
.hero-bg-2 { top: -12vw; right: -3%; width: 67vw; }
.hero-bg-4 { top: -8vw;  right: -2%; width: 58vw; }

.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 1015px; width: 100%; padding-top: 10px;
}

.hero-logo-area {
  display: flex; justify-content: center;
  margin-bottom: -220px;
  position: relative; z-index: 1;
}
.hero-logo-circle {
  width: 700px; height: 700px;
  border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-bottom: 110px;
  flex-shrink: 0;
}
.hero-logo { width: 420px; }

.hero-title {
  font-size: clamp(36px, 5vw, 72px); font-weight: 800; line-height: 1.2;
  margin-bottom: 12px; position: relative; z-index: 2;
}
.hero-title .accent, .accent-color { color: var(--accent); }
.hero-subtitle {
  font-size: clamp(18px, 2vw, 28px); font-weight: 400; line-height: 1.5;
  margin-bottom: 30px; max-width: 893px; margin-left: auto; margin-right: auto;
  position: relative; z-index: 2;
}
.hero-content .btn { position: relative; z-index: 2; }

/* ===== About / Pillars ===== */
.about { padding: 30px 40px 80px; text-align: center; max-width: 1200px; margin: 0 auto; }
.about-tagline { font-size: clamp(28px, 3.5vw, 50px); font-weight: 700; color: var(--accent); margin-bottom: 24px; scroll-margin-top: 80px; }
.about-vision { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; max-width: 855px; margin: 0 auto 60px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar { text-align: center; }
.pillar-icon { width: 120px; height: 120px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.pillar-icon img { width: 100%; height: 100%; object-fit: contain; }
.pillar h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.pillar p { font-size: 18px; line-height: 1.5; }

/* ===== Who Section (dark) ===== */
.who-section { background: var(--gradient); padding: 80px 40px; }
.who-inner { max-width: 900px; margin: 0 auto; text-align: center; color: var(--white); }
.who-inner h2 { font-size: clamp(32px, 3.5vw, 50px); font-weight: 700; margin-bottom: 30px; }
.who-intro { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; margin-bottom: 30px; }
.criteria-list { list-style: none; font-size: 18px; line-height: 2; margin-bottom: 40px; }
.criteria-list li + li::before { content: "\25CF"; display: block; font-size: 22px; line-height: 1.6; color: var(--white); }
.who-note { font-size: 14px; margin-top: 30px; opacity: 0.85; }
.who-inner .btn { margin-top: 10px; }

/* ===== Program ===== */
.program { padding: 80px 40px 40px; }
.program-inner { max-width: 1300px; margin: 0 auto; }
.section-title { font-size: clamp(32px, 3.5vw, 50px); font-weight: 700; text-align: center; margin-bottom: 30px; }
.program-layout { display: flex; gap: 40px; align-items: flex-start; }
.program-content { flex: 1; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; text-align: right; }
.program-content p + p { margin-top: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; flex: 1.62; max-width: 702px; }
.feature-card {
  background: var(--white); border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 24px 28px; display: flex; align-items: center;
  gap: 16px; text-align: right;
}
.feature-icon { width: 50px; height: 50px; flex-shrink: 0; }
.feature-card p { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.4; }

/* ===== Steps ===== */
.steps { padding: 80px 40px; background: #fff; }
.steps-row { display: flex; align-items: flex-start; justify-content: center; max-width: 1100px; margin: 0 auto; }
.step { text-align: center; flex: 0 0 260px; }
.step-circle-area { position: relative; width: 207px; height: 207px; margin: 0 auto 20px; }
.step-circle {
  width: 207px; height: 207px; border-radius: 50%;
  background: var(--white); box-shadow: 0 6px 30px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
}
.step-circle img { width: 50%; height: 50%; object-fit: contain; }
.step-badge {
  position: absolute; top: -8px; right: -8px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 4px 15px rgba(53,182,181,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; color: var(--white);
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 1.5; }
.step-arrow { flex-shrink: 0; width: 140px; display: flex; align-items: center; justify-content: center; padding-top: 90px; }
.step-arrow svg { width: 100%; height: auto; }

/* ===== Mentors (dark) ===== */
.mentors-section { background: var(--gradient); padding: 80px 40px; }
.mentors-inner { max-width: 1400px; margin: 0 auto; text-align: center; color: var(--white); }
.mentors-inner h2 { font-size: clamp(32px, 3.5vw, 50px); font-weight: 700; margin-bottom: 16px; }
.mentors-subtitle { font-size: clamp(18px, 1.5vw, 22px); margin-bottom: 50px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.mentors-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-bottom: 40px; }
.mentor-card {
  background: rgba(255,255,255,0.12); border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  padding: 0 16px 16px; text-align: center;
  padding-top: 65px; margin-top: 56px;
}
.mentor-avatar {
  width: 113px; height: 113px; border-radius: 50%; overflow: hidden;
  margin: -82px auto 10px;
  border: 3px solid rgba(255,255,255,0.3); background: var(--white);
}
.mentor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mentor-name { font-size: clamp(16px, 1.2vw, 20px); font-weight: 700; color: var(--lime); margin-bottom: 4px; }
.mentor-title { font-size: clamp(14px, 1vw, 18px); font-weight: 700; color: var(--white); margin-bottom: 4px; min-height: 22px; }
.mentor-company { font-size: clamp(14px, 1vw, 18px); color: var(--white); margin-bottom: 10px; min-height: 22px; }
.mentor-linkedin { display: inline-block; }
.mentor-linkedin img { width: 29px; height: 29px; margin: 0 auto; opacity: 0.8; transition: opacity 0.2s; }
.mentor-linkedin:hover img { opacity: 1; }
.mentors-join { font-size: 22px; margin-bottom: 16px; }

/* ===== Atmosphere Photos ===== */
.atmosphere { padding: 40px 0; background: #fff; }
.atmosphere-wrapper { position: relative; padding: 0 60px; }
.atmosphere-track {
  display: flex; gap: 20px; direction: ltr;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  cursor: grab; padding: 10px 0;
}
.atmosphere-track::-webkit-scrollbar { display: none; }
.atmosphere-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.atmosphere-track img {
  flex: 0 0 auto; width: 31%; min-width: 360px; height: 350px;
  object-fit: cover; border-radius: 12px;
}
.atmo-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--white); border: 1.5px solid #ddd; border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.atmo-arrow:hover { border-color: var(--accent); }
.atmo-arrow-right { right: 8px; }
.atmo-arrow-left { left: 8px; }

/* ===== Testimonials ===== */
.testimonials {
  padding: 80px 40px;
  background: linear-gradient(to right, rgba(15,34,34,0.88), rgba(35,118,117,0.88)),
    url('../assets-photos/atmosphere photos/WhatsApp Image 2025-12-03 at 22.48.32.jpeg') center/cover no-repeat;
  color: var(--white);
}
.testimonials-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonials-inner h2 { font-size: clamp(32px, 3.5vw, 50px); font-weight: 700; margin-bottom: 40px; }
.carousel-wrapper { display: flex; align-items: center; gap: 20px; }
.carousel-arrow {
  background: none; border: 2px solid rgba(255,255,255,0.4); border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: all 0.2s;
}
.carousel-arrow:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.testimonial-carousel { flex: 1; overflow: hidden; }
.testimonial-slide { display: none; flex-direction: column; align-items: center; animation: fadeIn 0.4s; }
.testimonial-slide.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.testimonial-slide blockquote { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; margin-bottom: 30px; font-style: normal; }
.testimonial-author { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.testimonial-author img { width: 85px; height: 85px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.3); background: var(--white); }
.testimonial-author span { font-size: 18px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.dot { width: 12px; height: 9px; border-radius: 5px; background: rgba(255,255,255,0.4); transition: all 0.3s; }
.dot.active { background: var(--white); width: 24px; }

/* ===== Team ===== */
.team-section { padding: 80px 40px; }
.team-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.team-description { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 940px; margin: 0 auto 40px; }
.team-description p + p { margin-top: 16px; }
.amit-logo { margin-bottom: 50px; }
.amit-logo img { height: 72px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 90px; margin-bottom: 20px; }
.team-member { text-align: center; }
.team-member > img {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 12px; border: 2px solid #ccc; background: #f0f0f0;
}
.team-member h4 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.team-role { font-size: 15px; color: #888; margin-bottom: 8px; }
.team-linkedin { width: 32px; height: 32px; opacity: 0.9; transition: opacity 0.2s; margin: 0 auto; }
.team-member a:hover .team-linkedin { opacity: 1; }

/* ===== Contact (dark) ===== */
.contact-section { background: #194C4C; padding: 80px 40px; color: var(--white); }
.contact-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.contact-inner h2 { font-size: clamp(32px, 3.5vw, 50px); font-weight: 700; margin-bottom: 16px; }
.contact-subtitle { font-size: clamp(18px, 1.5vw, 22px); margin-bottom: 50px; line-height: 1.5; }
.contact-form-embed {
  max-width: 800px; width: 100%; height: 500px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh; border-radius: 12px;
  object-fit: contain; transition: transform 0.3s;
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: #fff; font-size: 40px;
  cursor: pointer; line-height: 1; opacity: 0.7; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
.lightbox-prev { right: 24px; }
.lightbox-next { left: 24px; }

.atmosphere-track img {
  cursor: pointer; transition: transform 0.2s, filter 0.2s;
}
.atmosphere-track img:hover {
  transform: scale(1.03); filter: brightness(1.08);
}

/* ===== Footer ===== */
.footer {
  background: #0a1a1a; padding: 30px 40px; color: rgba(255,255,255,0.5);
  text-align: center; font-size: 14px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-logo img { height: 64px; width: auto; border-radius: 50%; }
.footer-text { text-align: center; }
.footer-text p + p { margin-top: 4px; }
.footer a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer a:hover { color: var(--white); }
.footer-credit { font-size: 20px; opacity: 0.9; white-space: nowrap; }

/* ===== Responsive ===== */

@media (max-width: 1200px) {
  .mentors-grid { grid-template-columns: repeat(4, 1fr); }
  .program-layout { flex-direction: column; align-items: center; }
  .program-content { text-align: center; max-width: 700px; }
  .features-grid { min-width: 0; width: 100%; max-width: 700px; }
  .feature-card p { white-space: normal; }
  .team-grid { gap: 60px; }
}

@media (max-width: 1024px) {
  .nav { padding: 12px 24px; }
  .nav-group-right, .nav-group-left { gap: 16px; }
  .nav-link { font-size: 15px; }

  .hero-logo-circle { width: 560px; height: 560px; padding-bottom: 88px; }
  .hero-logo { width: 340px; }
  .hero-logo-area { margin-bottom: -175px; }

  .steps-row { gap: 0; }
  .step { flex: 0 0 220px; }
  .step-arrow { width: 100px; }
  .mentors-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Hamburger breakpoint */
@media (max-width: 860px) {
  .nav-desktop { display: none !important; }
  .hamburger { display: block; }
  /* on mobile, logo still controlled by scroll, not forced visible */
  .nav { padding: 12px 20px; }
  .nav-inner { display: flex; justify-content: center; }
}

@media (max-width: 768px) {
  .hero { padding: 20px 20px 40px; }
  .hero-logo-circle { width: 400px; height: 400px; padding-bottom: 64px; }
  .hero-logo { width: 250px; }
  .hero-logo-area { margin-bottom: -125px; }

  .about { padding: 20px 20px 60px; }
  .pillars { grid-template-columns: 1fr; gap: 30px; }

  .who-section, .mentors-section, .testimonials, .contact-section,
  .program, .steps, .team-section { padding-left: 20px; padding-right: 20px; }

  .steps-row { flex-direction: column; align-items: center; gap: 40px; }
  .step { flex: 0 0 auto; }
  .step-arrow { display: none; }

  .mentors-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: repeat(2, auto); gap: 30px 50px; }
  .carousel-wrapper { gap: 10px; }
  .carousel-arrow { width: 40px; height: 40px; }

  .atmosphere-track img { min-width: 300px; height: 280px; }
  .atmosphere-wrapper { padding: 0 50px; }

  .footer-inner { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  /* Small phone: no overlap, natural flow */
  .hero-logo-circle { width: 260px; height: 260px; padding-bottom: 40px; }
  .hero-logo { width: 170px; }
  .hero-logo-area { margin-bottom: 20px; }

  .mentors-grid { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; }
  .mentor-avatar { width: 90px; height: 90px; margin-top: -65px; }
  .mentor-card { padding-top: 55px; margin-top: 45px; }

  .step-circle-area, .step-circle { width: 160px; height: 160px; }
  .step-badge { width: 48px; height: 48px; font-size: 26px; }

  .atmosphere-track img { min-width: 260px; height: 220px; }
  .atmosphere-wrapper { padding: 0 40px; }

  .team-member > img { width: 100px; height: 100px; }
  .team-grid { grid-template-columns: repeat(2, auto); gap: 24px 40px; }
}
