/* =====================================================
   GLOBAL STYLES
===================================================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #d6cfd5;
  color: #333
  ;
}
.index-bg {
  background: linear-gradient(
    180deg,
    rgb(252, 138, 208) 0%,    /* pink */
    rgba(255, 192, 203, 1) 75%,   /* keep pink for most of the page */
    rgba(221, 82, 209, 0.7) 90%,   /* orange near bottom */
    rgba(180, 140, 255, 0.7) 100% /* purple at very bottom */
  );
  min-height: 100vh;
}

.page-blur {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  min-height: 100vh;
}


.container h2,
section h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000000;
}

h2 {
  margin-bottom: 20px;
}



/* =====================================================
   HEADER + NAVIGATION
===================================================== */
.header {
  background: #1f2937;
  color: #fff;
  padding: 1px 0;
  position: relative;
  z-index: 20;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: auto;
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* CTA Button */
.btn {
  background: #f97316;
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 10px auto;
  text-align: center;
  box-sizing: border-box;
}



/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  background: linear-gradient(180deg, #1f2937 0%, #ba3fc0 60%, #ff9acb 100%);
  padding: 40px 0;
  color: #ffffff;
}

/* Desktop hero layout */
.hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding:25px;
}

.hero-text {
  flex: 1;
  text-align: center;
}

.hero-text h1 {
  font-size:4rem;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
}

/* =====================================================
   Glass box for Hero 
===================================================== */

.glass-box {
  background: linear-gradient(135deg, rgba(220, 10, 227, 0.2), rgba(255, 182, 193, 0.25));
  border: 1px solid rgba(211, 22, 185, 0.4);
  border-radius: 12px;
  padding: 20px 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(255, 182, 193, 0.2);
  color: #fff;
  text-align: center;
  max-width: 700px;
  margin: 60px auto;
}

.glass-box + .glass-box {
  margin-top: 20px;
}
.hero-content {
  padding-top: 20px;
}

@media screen and (max-width: 600px) {
  .glass-box {
    margin: 40px auto;
    padding-left: 1px;
    padding-right: 1px;
  }

  .hero-description {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.glass-box h1 {
  font-size: 1.4rem;
}
.hero-text.glass-box h1 {
  font-size: 1.8rem !important;
}

@media screen and (max-width: 600px) {
  .hero-description {
    margin-bottom: -50px !important;
  }
}

@media screen and (max-width: 600px) {
  .hero-content {
    padding-top: 1px;
  }

  .glass-box + .glass-box {
    margin-top: 1px;
  }
}



/* =====================================================
   CARD GRID (Why, Services, Contact)
===================================================== */
.card-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex: 1;
}



/* =====================================================
   FAQ SECTION
===================================================== */
.faq details {
  margin: 10px 20px; /* top/bottom = 10px, left/right = 20px */
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}



/* =====================================================
   GALLERY / SLIDESHOW SECTION
===================================================== */
.slideshow-container {
  position: relative;
  max-width: 600px;
  margin: auto;
  border-radius: 25px;
  overflow: hidden;
  padding: 10px;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}

/* Fade animation */
.fade {
  animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Dots */
.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  opacity: 0.5;
}

.dot.active {
  opacity: 1;
}



/* =====================================================
   SLIDE WRAPPER (Image + Story Side-by-Side)
===================================================== */
.slide-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.slide-image img {
  width: 100%;
  max-width: 800px;
  border-radius: 25px;
}

.slide-story {
  flex: 1;
  max-width: 800px;
  height: 500px;
  background: rgba(221, 0, 255, 0.1);
  color: #000000;
  padding: 20px;
  border-radius: 25px;
  backdrop-filter: blur(6px);
}

.slide-story h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.slide-story p {
  font-size: 1rem;
  line-height: 1.5;
}



/* =====================================================
   MOBILE LAYOUT (Hero stacks, slides stack, nav collapses)
===================================================== */
@media (max-width: 768px) {

  /* Mobile hamburger */
  .hamburger {
    display: block;
    color: #fff;
  }

  /* Mobile nav dropdown */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1f2937;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    display: none;
    z-index: 10;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 10px;
  }

  /* Mobile hero stacks vertically */
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }

  /* Cards stack */
  .card-grid {
    flex-direction: column;
  }

  /* Slide wrapper stacks */
  .slide-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .slide-story {
    max-width: 100%;
    margin-top: 20px;
  }

  /* Gallery grid fallback */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}



/* =====================================================
   LOGO GROUP (Optional)
===================================================== */
.logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-group img {
  height: auto;
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
}



/* =====================================================
   GLOBAL ANIMATIONS
===================================================== */
html {
  scroll-behavior: smooth;
}



/* =====================================================
   SPLASH SCREEN (Optional)
===================================================== */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1f2937;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 1s ease-in-out forwards;
  animation-delay: 1s;
}

#splash-screen img {
  max-width: 60%;
  height: auto;
}



/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: #1f2937;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}


/* **********************Stories Page starts here************************************ */

/* =====================================================
   🔷 STORIES PAGE (Gallery Grid + Modal)
===================================================== */

.stories-gallery {
  padding: 40px 20px;
}

/* 🔷 Google-style heading for Student Stories */
/* =====================================================
   🔷 STORIES PAGE BACKGROUND
===================================================== */
.stories-bg {
  background: linear-gradient(
    135deg,
    rgba(255, 140, 0, 0.45) 0%,     /* brighter orange */
    rgba(180, 140, 255, 0.45) 100%  /* richer purple */
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-height: 100vh;
}



.google-style-heading {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: -1px;
}

.google-text {
  background: linear-gradient(to right,
    #4285F4 0%,
    #EA4335 25%,
    #FBBC05 50%,
    #34A853 75%,
    #4285F4 100%);
  -webkit-background-clip: text;
   background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gray-text {
  color: #5f6368;
  margin-left: 8px;
}
/* 🔷 End for google style */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.photo-item img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.photo-item img:hover {
  transform: scale(1.05);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  text-align: center;
  padding-top: 60px;
}

.modal img {
  max-width: 90%;
  max-height: 70vh;
  border-radius: 20px;
}

.modal p {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 20px;
  padding: 0 20px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}




/* =====================================================
   SOCIAL MEDIA SECTION
===================================================== */
.social {
  text-align: center;
  padding: 40px 20px;
}

.social h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #000;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-icons img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}


/* =====================================================
   🔷 iOS-style Glass Box with Orange Tint for stories page
===================================================== */
.glass-box {
  background: rgba(255, 140, 0, 0.08); /* orange tint with smoky transparency */
  border-radius: 20px;
  padding: 0px;
  margin: 20px auto;
  max-width: 700px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0.3); /* warm orange glow */
  border: 1px solid rgba(255, 140, 0, 0.2);
}


/* =====================================================
   📱 Mobile Grid Tweak for Stories Page
===================================================== */
@media (max-width: 600px) {
  .photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 12px;
    padding: 10px;
  }

  .photo-item {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .photo-item img {
    border-radius: 12px;
  }
}





/* =====================================================
   🧊 Student Stories Grid — Uniform Image Sizing
===================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.photo-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.photo-item img:hover {
  transform: scale(1.05);
}
