/* 
   Innoventure Premium Design System
   Vanilla CSS with CSS Variables, Flexbox, CSS Grid, and custom animations.
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  --primary: #672d8f;      /* Royal Purple */
  --primary-light: #8e44ad;
  --primary-dark: #3c1b54;
  --primary-bg: #481c90;
  --primary-bg-dark: #271b59;
  --accent: #f9af38;       /* Vibrant Gold */
  --accent-hover: #d88e1e;
  --dark-bg: #120d24;      /* Deep night purple background */
  --light-bg: #fdfbfe;
  --gray-light: #f7f5fa;
  --gray-border: #e6e0f0;
  --text-dark: #1a1625;
  --text-muted: #5e5768;
  --text-light: #ffffff;
  --text-light-muted: #d0c7de;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 35px rgba(103, 45, 143, 0.12);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1200px;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 35px 0;
}

.grid {
  display: grid;
  gap: 30px;
}

.flex {
  display: flex;
  align-items: center;
}

.text-center {
  text-align: center;
}

.text-light {
  color: var(--text-light);
}

.section-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #15102b;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 50px auto;
  font-weight: 400;
}

/* Buttons and Badges */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(103, 45, 143, 0.3);
}

.btn-accent {
  background-color: var(--accent);
  color: #271b59;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 175, 56, 0.3);
}

.btn-dark {
  background-color: rgba(26, 22, 37, 0.85);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
  background-color: rgba(26, 22, 37, 1);
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.35) 0%, rgba(236, 72, 153, 0.25) 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.05);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.05); }
  50% { box-shadow: 0 0 30px rgba(147, 51, 234, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.08); }
}

/* Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

header .nav-links a {
  color: var(--text-dark);
}

header .burger span {
  background: var(--text-dark);
}

header.sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  backdrop-filter: blur(10px);
}

header.sticky .nav-links a {
  color: var(--text-dark);
}

header.sticky .burger span {
  background: var(--text-dark);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0 5%;
  margin: 0;
}

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

/* Mobile nav logo - hidden on desktop, shown in mobile slide-out menu */
.mobile-nav-logo {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light);
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Dashboard Login nav button */
.nav-dashboard-btn {
  background: var(--accent) !important;
  color: var(--text-dark) !important;
  padding: 8px 18px !important;
  border-radius: var(--border-radius-sm) !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform 0.15s !important;
}

.nav-dashboard-btn::after {
  display: none !important;
}

.nav-dashboard-btn:hover {
  background: var(--accent-hover) !important;
  color: var(--text-dark) !important;
  transform: translateY(-1px);
}

.account-menu {
  position: relative;
}

.account-menu > a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-pic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--text-light);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius-sm);
  list-style: none;
  padding: 10px 0;
  width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--gray-border);
}

.account-menu:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  color: var(--text-dark) !important;
  display: block;
  padding: 8px 20px;
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  background-color: var(--gray-light);
  color: var(--primary) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: 50% 60%;
  padding-top: 80px;
  padding-bottom: 60px;
  color: var(--text-light);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 13, 36, 0.55) 0%, rgba(88, 28, 135, 0.35) 50%, rgba(18, 13, 36, 0.50) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: var(--container-width);
  margin: 0;
  margin-left: 5%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

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

.hero-brand-logo {
  max-width: 320px;
  margin-bottom: 25px;
  animation: float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--primary-light);
  text-shadow: 0 0 20px rgba(142, 68, 173, 0.35);
}

.collab-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-light-muted);
  margin-bottom: 12px;
}

.collab-logos {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.collab-logos img {
  max-height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: var(--transition);
}

.collab-logos img.color-logo {
  filter: none;
  opacity: 1;
  max-height: 60px;
}

.collab-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta-row .btn i {
  margin-right: 8px;
}

/* Our Vision Section */
.vision {
  background-color: var(--light-bg);
}

.vision-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.vision-left img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.vision-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision-video-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--gray-border);
  background-color: #000;
}

.vision-video-wrapper video {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Aligned Goals Section & Continuous Logo Ticker */
.aligned-goals {
  background: linear-gradient(135deg, #271b59 0%, #3d1f7a 55%, #5e2da0 100%);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}

.aligned-goals h2 {
  color: var(--text-light);
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker 25s linear infinite;
  gap: 70px;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  background: #ffffff;
  padding: 32px 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.ticker-item:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: var(--shadow-lg);
}

.ticker-item img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Testimonials / Trusted Voices */
.testimonials {
  background-color: #ffffff;
}

.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

.testimonial-photo {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  display: block;
  box-shadow: var(--shadow-sm);
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 22px;
}

.testimonial-name {
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 18px;
}

.testimonial-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 8px;
}

/* Innovation Advantage (Video Embeds Grid) */
.advantage {
  background-color: var(--light-bg);
}

.video-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.video-card {
  background: var(--text-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.video-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(103, 45, 143, 0.2);
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-content {
  padding: 16px;
}

.video-card-quote {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
  font-style: italic;
}

.video-card-author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
}

.video-card-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Student Benefits Split Layout */
.benefits {
  background: linear-gradient(135deg, #271b59 0%, #3d1f7a 55%, #5e2da0 100%);
  color: var(--text-light);
}

.benefits-grid {
  grid-template-columns: 0.9fr 2.1fr;
  gap: 60px;
  align-items: center;
}

.benefits-sticky {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.benefits-sticky h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.benefits-sticky p {
  color: var(--text-light-muted);
  margin-bottom: 35px;
  font-size: 1.1rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-item {
  background: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.benefit-icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 16px;
  background: none;
  width: auto;
  height: auto;
}

.benefit-icon.icon-gold   { color: #f5b301; }
.benefit-icon.icon-green  { color: #2bb673; }
.benefit-icon.icon-pink   { color: #e6398f; }
.benefit-icon.icon-red    { color: #e0382b; }
.benefit-icon.icon-blue   { color: #3b82f6; }
.benefit-icon.icon-purple { color: #8b5cf6; }

.benefit-text h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1333;
}

.benefit-text p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Student Gallery */
.gallery {
  background-color: var(--light-bg);
}

/* Success Journeys — split intro + image slider */
.gallery-split {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gallery-intro .section-title {
  font-size: 2.8rem;
  line-height: 1.2;
}

.gallery-intro .section-subtitle {
  margin: 0;
  max-width: none;
  text-align: left;
}

.gallery-carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.gallery-carousel .carousel-slide {
  flex: 0 0 100%; /* one story per view */
}

.gallery-slide {
  background: var(--primary);
  border-radius: 22px;
  padding: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.gallery-slide img {
  width: 100%;
  display: block;
  border-radius: 15px;
}

/* Legacy gallery grid (kept for fallback) */
.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Best Schools & Call to Action Banner */
.best-schools {
  background: linear-gradient(180deg, var(--primary-bg), var(--primary-bg-dark));
  color: var(--text-light);
  text-align: center;
}

.best-schools h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.best-schools p {
  color: var(--text-light-muted);
  max-width: 800px;
  margin: 0 auto 35px auto;
  font-size: 1.1rem;
}

.school-banner-img {
  max-width: 100%;
  margin: 30px auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.best-schools-footer {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 30px 0;
  color: var(--accent);
}

/* Student and Parent Experiences (Grid of 3 Video embeds) */
.parent-experiences {
  background-color: var(--gray-light);
}

.experiences-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.experience-card {
  background: var(--text-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

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

.experience-info {
  padding: 20px;
  text-align: center;
}

.experience-info h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.experience-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Timeline/Round Details */
.timeline {
  background-color: var(--light-bg);
  text-align: center;
  overflow: hidden;
}

.timeline h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 30px;
}

.timeline-img-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.timeline-img {
  max-width: 1000px;
  width: 100%;
  margin: 20px auto 40px auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
  display: block;
}

/* Timeline mobile responsive */
@media (max-width: 768px) {
  .timeline-img-wrapper {
    margin: 0 -5%;
    padding: 0 5%;
    width: calc(100% + 10%);
  }
  
  .timeline-img {
    min-width: 700px;
    max-width: none;
    border-radius: var(--border-radius-sm);
  }
  
  .timeline h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  
  .timeline .container {
    padding: 20px 10px;
  }
}

@media (max-width: 480px) {
  .timeline-img {
    min-width: 600px;
    border-radius: 8px;
  }
  
  .timeline h2 {
    font-size: 1.4rem;
  }
}

/* As Featured On Ticker */
.featured-on {
  background-color: var(--gray-light);
  padding: 25px 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.featured-on h3 {
  text-align: center;
  font-size: 1.3rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.featured-ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.featured-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.featured-track:hover {
  animation-play-state: paused;
}

.featured-track img {
  height: 90px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 100px;
}

/* Get Recognized (Certification Layout) */
.certification {
  background: linear-gradient(135deg, #271b59 0%, #3d1f7a 55%, #5e2da0 100%);
  color: var(--text-light);
}

.cert-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.cert-left {
  max-width: 520px;
}

.cert-left h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 25px;
}

.cert-left p {
  color: var(--text-light-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cert-right img {
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.cert-right img:hover {
  transform: scale(1.02);
}

/* National Winners & PDF Links */
.winners {
  background-color: #ffffff;
}

.winners-grid {
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.winner-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.winner-card img {
  width: 100%;
  border-radius: var(--border-radius-md);
  margin-bottom: 22px;
  box-shadow: var(--shadow-md);
}

.winner-card h4 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 22px;
}

/* Impact / Charts Section */
.impact {
  background: linear-gradient(135deg, #271b59 0%, #3d1f7a 55%, #5e2da0 100%);
  text-align: center;
}

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

.impact-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.impact-card {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  padding: 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.impact-card img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* Contact Us Section */
.contact-us {
  background: linear-gradient(135deg, var(--gray-light) 0%, #f0ebf8 100%);
  padding: 80px 0;
}

.contact-us .section-title {
  color: var(--primary-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.4rem;
  color: white;
}

.contact-details h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-details a {
  color: var(--primary);
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-social {
  padding: 25px;
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-social h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

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

.social-links a {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  transform: translateY(-3px) scale(1.05);
}

.contact-form-wrapper {
  background: white;
  padding: 35px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* Form Header */
.form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--gray-border);
}

.form-header i {
  font-size: 1.8rem;
  color: var(--primary);
}

.form-header h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0;
}

/* Form Section Title */
.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 15px 0 5px 0;
  padding: 10px 15px;
  background: linear-gradient(135deg, rgba(103, 45, 143, 0.08) 0%, rgba(142, 68, 173, 0.05) 100%);
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--primary);
}

.form-section-title i {
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--primary);
  font-size: 0.85rem;
}

.form-group label .required {
  color: #ef4444;
  margin-left: 4px;
  font-weight: 700;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Phone Input Group */
.phone-input-group {
  display: flex;
  gap: 10px;
}

.country-code-select {
  width: 120px;
  flex-shrink: 0;
  padding: 14px 12px !important;
  font-size: 0.95rem;
  background-position: right 8px center !important;
  padding-right: 28px !important;
}

.phone-input-group input {
  flex: 1;
}

/* Boards Checkbox Group */
.boards-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.board-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--gray-light);
  border: 2px solid var(--gray-border);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.board-checkbox:hover {
  border-color: var(--primary-light);
  background: #f5f0fa;
}

.board-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.board-checkbox:has(input:checked) {
  background: linear-gradient(135deg, rgba(103, 45, 143, 0.1) 0%, rgba(142, 68, 173, 0.08) 100%);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--gray-light);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(103, 45, 143, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235e5768' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  align-self: flex-start;
  padding: 14px 35px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-submit i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.contact-submit:hover i {
  transform: translateX(5px);
}

/* Contact Form Success/Error States */
.contact-form.success .contact-submit {
  background: #10b981;
  pointer-events: none;
}

.contact-form.error .contact-submit {
  background: #ef4444;
}

/* Form Message */
.form-message {
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

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

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    order: 2;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .contact-info-card,
  .contact-social {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
  }
  
  .contact-form-wrapper {
    order: 1;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 20px;
  }
  
  .form-header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .form-header h3 {
    font-size: 1.3rem;
  }
  
  .form-section-title {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
  
  .boards-checkbox-group {
    gap: 8px;
  }
  
  .board-checkbox {
    padding: 8px 12px;
    font-size: 0.85rem;
    flex: 1 1 calc(50% - 4px);
    min-width: 100px;
    justify-content: center;
  }
  
  .phone-input-group {
    flex-direction: column;
  }
  
  .country-code-select {
    width: 100%;
  }
  
  .contact-submit {
    width: 100%;
    justify-content: center;
  }
}

/* Partners & Footer */
.partners-footer-sec {
  background-color: #ffffff;
  color: var(--text-muted);
  text-align: center;
  padding: 35px 0 20px 0;
}

.partners-footer-sec h2 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.partners-footer-sec p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 20px auto;
}

.partners-banner-img {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 30px auto;
}

footer {
  border-top: 1px solid var(--gray-border);
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Keyframes Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem !important; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-brand-logo { margin: 0 auto 25px auto; }
  .collab-logos { justify-content: center; }
  .hero-cta-row { justify-content: center; }
  .vision-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; gap: 40px; }
  .benefits-sticky { position: static; text-align: center; }
  .benefits-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-split { grid-template-columns: 1fr; gap: 35px; }
  .gallery-intro { text-align: center; }
  .gallery-intro .section-subtitle { text-align: center; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .experiences-grid { grid-template-columns: repeat(2, 1fr); }
  .winners-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; text-align: center; }
  .cert-left { margin: 0 auto; }
}

@media (max-width: 768px) {
  .container { padding: 30px 0; }
  .benefits-list { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-bg-dark);
    flex-direction: column;
    padding: 80px 40px;
    align-items: flex-start;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    color: var(--text-light) !important;
    font-size: 1.1rem;
  }
  /* Show logo in mobile slide-out menu */
  .mobile-nav-logo {
    display: block;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    width: 100%;
  }
  .mobile-nav-logo img {
    height: 40px;
    width: auto;
  }
  .burger {
    display: flex;
  }
  .burger.toggle .line-1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .burger.toggle .line-2 {
    opacity: 0;
  }
  .burger.toggle .line-3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  .testimonials-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .experiences-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem !important; }
  .section-title { font-size: 1.8rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .collab-logos { gap: 15px; }
  .collab-logos img { max-height: 30px; }
  .hero-cta-row .btn { width: 100%; }
}

/* ==========================================
   NEW PREMIUM FUNCTIONAL AND VISUAL STYLES
   ========================================== */

/* 1. Custom Video Placeholder Cards */
.video-placeholder {
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #0d0a1a;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 1;
}

.video-placeholder .video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-placeholder:hover .video-thumb {
  transform: scale(1.08);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 13, 36, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.video-placeholder:hover .play-overlay {
  background: rgba(18, 13, 36, 0.25);
}

.play-btn-pulse {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #271b59;
  font-size: 1.4rem;
  box-shadow: 0 0 0 0 rgba(249, 175, 56, 0.6);
  animation: pulse-ring 2.2s infinite;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-btn-pulse i {
  margin-left: 4px; /* Offset to center the play icon triangle visually */
}

.video-placeholder:hover .play-btn-pulse {
  transform: scale(1.15);
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 175, 56, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(249, 175, 56, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 175, 56, 0);
  }
}

/* 2. Testimonials Carousel Slider */
.testimonials-carousel {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 25px auto 0;
  background: #f3eef9;
  border-radius: 20px;
  padding: 10px 30px 25px;
}

/* Video / School Leaders carousel — same engine, 3 cards per view, no panel bg */
.video-carousel {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 25px auto 0;
}

.video-carousel .carousel-slide {
  flex: 0 0 calc(33.333% - 20px); /* 3 cards visible on desktop */
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 15px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  gap: 30px;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 20px); /* 3 cards visible on desktop */
  box-sizing: border-box;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid var(--gray-border);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.carousel-btn.btn-left {
  left: -24px;
}

.carousel-btn.btn-right {
  right: -24px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 35px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gray-border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background-color: var(--primary);
  width: 28px;
  border-radius: 50px;
}

/* 3. Lightbox Gallery Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(12, 9, 24, 0.96);
  backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-modal.show {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 45px;
  font-weight: 300;
  transition: var(--transition);
  cursor: pointer;
  z-index: 2100;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.lightbox-close:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 80%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content-wrapper img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.show img {
  transform: scale(1);
}

.lightbox-caption {
  margin-top: 15px;
  color: var(--text-light-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2050;
  font-size: 1.2rem;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--accent);
  color: #271b59;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(249, 175, 56, 0.4);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

/* 4. Floating Scroll to Top & Circular Progress */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(103, 45, 143, 0.4);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

#scrollToTopBtn i {
  position: absolute;
  font-size: 1.1rem;
  z-index: 2;
  transition: transform 0.3s ease;
}

#scrollToTopBtn:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(103, 45, 143, 0.6);
}

#scrollToTopBtn:hover i {
  transform: translateY(-3px);
}

#scrollToTopBtn.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  pointer-events: none;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.1s linear;
  stroke-dasharray: 150.796; /* 2 * PI * r (r=24) */
  stroke-dashoffset: 150.796;
}

/* 5. Scroll Reveal System */
.reveal-element {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-fade {
  transform: translateY(0);
}

.reveal-zoom {
  transform: scale(0.95);
}

.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 6. Background ambient glowing effects */
.glow-bg-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 45, 143, 0.12) 0%, rgba(103, 45, 143, 0) 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.glow-bg-blob.accent-glow {
  background: radial-gradient(circle, rgba(249, 175, 56, 0.06) 0%, rgba(249, 175, 56, 0) 70%);
}

.vision {
  position: relative;
  overflow: hidden;
}

/* 3D Tilt Card Container */
.cert-right {
  perspective: 1000px;
}

.cert-right img {
  transition: transform 0.1s ease-out, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

/* Responsive updates for carousel */
@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 15px); /* 2 cards on tablet */
  }
}

@media (max-width: 768px) {
  .carousel-slide,
  .video-carousel .carousel-slide {
    flex: 0 0 100%; /* 1 card on mobile */
  }
  .carousel-btn.btn-left {
    left: 10px;
  }
  .carousel-btn.btn-right {
    right: 10px;
  }
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
  }
}

