* {
      margin: 0; padding: 0; box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background: #0f0f0f;
      color: white;
      scroll-behavior: smooth;
    }

    header {
      height: 100vh;
      background: url('https://lh3.googleusercontent.com/gps-cs-s/AC9h4noJrIEPE75zemLe1BfAdYG13qyQAz-xKUXp2W5ZkKSnn4rUyG2mZdoRiSPQurHNfBYABeTobZdbLxCiaiiMNlaQ-YE09uC0E18KoZUzX8tBKRsKikrUVkK3OhwndzqnP3hz6AGP=s680-w680-h510-rw') no-repeat center center/cover;
      
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
  header .logo {
  width: 100px;        /* default size on larger screens */
  height: auto;        /* keeps the aspect ratio */
  max-width: 100%;     /* prevents overflow */
  display: block;
  margin: 0 auto 20px; /* centers the logo with spacing */
}
.logo {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
  max-width: 100%;
}



    header::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      height: 100%;
      width: 100%;
      background: rgba(0,0,0,0.6);
    }

    .hero-text {
      position: relative;
      text-align: center;
      z-index: 1;
    }

    .hero-text h1 {
      font-size: 3.5rem;
      animation: fadeIn 2s ease;
    }

    .hero-text p {
      font-size: 1.3rem;
      color: #ddd;
      margin-top: 1rem;
      animation: fadeIn 3s ease;
    }

    section {
      padding: 4rem 2rem;
      max-width: 1200px;
      margin: auto;
      opacity: 0;
      transform: translateY(30px);
      transition: all 1s ease;
    }

    section.active {
      opacity: 1;
      transform: translateY(0);
    }

    h2 {
      text-align: center;
      margin-bottom: 2rem;
      font-size: 2rem;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }

    .gallery img {
      width: 100%;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
      transition: transform 0.4s ease, filter 0.3s ease;
    }

    .gallery img:hover {
      transform: scale(1.05);
      filter: brightness(1.2);
    }

    /* ===== Timeline ===== */
    .timeline {
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
    }

    .timeline-event {
      display: flex;
      gap: 2rem;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      border-radius: 12px;
      padding: 1.5rem;
      box-shadow: 0 5px 20px rgba(0,0,0,0.3);
      transition: transform 0.3s ease;
    }

    .timeline-event:hover {
      transform: scale(1.02);
    }

    .timeline-event img {
      width: 200px;
      height: 130px;
      object-fit: cover;
      border-radius: 10px;
      flex-shrink: 0;
    }

    .timeline-content h3 {
      color: #00bcd4;
      margin-bottom: 0.5rem;
    }

    .timeline-content p {
      color: #ccc;
      line-height: 1.5;
    }

    .timeline-event:nth-child(even) {
      flex-direction: row-reverse;
    }

    @media screen and (max-width: 768px) {
      .timeline-event {
        flex-direction: column;
        text-align: center;
      }

      .timeline-event:nth-child(even) {
        flex-direction: column;
      }

      .timeline-event img {
        width: 100%;
        height: auto;
      }
   header .logo {
    margin-top: 40px; /* Push it down from the top */
    width: 70px;       /* Optional: smaller logo on mobile */
  }
    }
   /* Mobile fix */
@media (max-width: 600px) {
header .logo{
    margin-top: 40px; /* Push it down from the top */
    width: 70px;       /* Optional: smaller logo on mobile */
  }

}



    /* ===== Teachers Section ===== */
    .teachers {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 2rem;
      text-align: center;
    }

    .teacher-card {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      padding: 1rem;
      border-radius: 12px;
      transition: transform 0.3s ease;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .teacher-card:hover {
      transform: translateY(-8px);
    }

    .teacher-card img {
      width: 100%;
      max-width: 140px;
      height: 140px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 1rem;
      border: 3px solid #00bcd4;
    }

    .teacher-card h4 {
      color: #00bcd4;
      margin-bottom: 0.3rem;
    }

    footer {
      background: rgba(0, 0, 0, 0.5);
      padding: 2rem;
      text-align: center;
      font-size: 0.9rem;
      color: #aaa;
      margin-top: 3rem;
    }
    footer a {
      color: #796bff;
      text-decoration: none;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }










    /* Slider Styles 2 */.wrapper {
  max-width: 1100px;
  width: 100%;
  position: relative;
}
.wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.85);
  -webkit-transform: translateY(-50%) scale(0.85);
  -moz-transform: translateY(-50%) scale(0.85);
  -ms-transform: translateY(-50%) scale(0.85);
  -o-transform: translateY(-50%) scale(0.85);
}
.wrapper i:first-child{
  left: -22px;
}
.wrapper i:last-child{
  right: -22px;
}
.wrapper .carousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel.no-transition {
  scroll-behavior: auto;
}
.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}
.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel .card {
  scroll-snap-align: start;
  height: 342px;
  list-style: none;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  padding-bottom: 15px;
  flex-direction: column;
  border-radius: 8px;
}
.carousel .card .img {
  background: #00bcd4;
  height: 148px;
  width: 148px;
  border-radius: 50%;
}
.card .img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}
.carousel .card h2 {
  font-weight: 500;
  font-size: 1.56rem;
  margin: 30px 0 5px;
}
.carousel .card span {
  color: #6A6D78;
  font-size: 1.31rem;
}
@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}
@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}





 /* Slider */

 /* Slider Section Styles */
        .slider-section {
            width: 100%;
            max-width: 900px; /* Adjust max-width as needed */
            padding: 2rem;
            box-sizing: border-box;
        }

        .slider-section h2 {
            text-align: center;
            font-size: 2.5rem;
            color: #ffffff;
            margin-bottom: 2rem;
        }

        /* Slider Container */
        .slider-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9; /* Responsive aspect ratio */
            margin: auto;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(255, 255, 255, 0.1);
        }

        /* Slides Wrapper */
        .slider-wrapper {
            display: flex;
            height: 100%;
            /* Smooth transition for sliding effect */
            transition: transform 0.5s ease-in-out;
        }

        /* Individual Slide */
        .slide {
            min-width: 100%;
            height: 100%;
            box-sizing: border-box;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures images cover the slide area without distortion */
            display: block;
        }

        /* Navigation Buttons (Prev/Next) */
        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 0.8rem;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease;
        }

        .slider-btn:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        .slider-btn#prev-btn {
            left: 15px;
        }

        .slider-btn#next-btn {
            right: 15px;
        }

        /* Pagination Dots */
        .pagination-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .dot.active {
            background-color: #ffffff;
            transform: scale(1.2);
        }



/* New Slider Section Styles */
        .fade-slider-section {
            width: 100%;
            max-width: 900px;
            padding: 2rem;
            box-sizing: border-box;
        }

        .fade-slider-section h2 {
            text-align: center;
            font-size: 2.5rem;
            color: #333;
            margin-bottom: 2rem;
        }

        /* New Slider Container */
        .fade-slider-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            margin: auto;
            border-radius: 12px;
            overflow: hidden; /* This is important for the rounded corners on slides */
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        /* New Individual Slide Styles */
        .fade-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0; /* Initially all slides are hidden */
            transition: opacity 0.8s ease-in-out; /* Fade animation */
            list-style: none;
        }

        .fade-slide.active-slide {
            opacity: 1; /* Show the active slide */
            z-index: 2;
        }

        .fade-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* New Navigation Button Styles */
        .fade-slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(255, 255, 255, 0.7);
            color: #333;
            border: none;
            padding: 0.6rem;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease, transform 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .fade-slider-btn:hover {
            background-color: white;
            transform: translateY(-50%) scale(1.1);
        }

        .fade-slider-btn#fade-prev-btn {
            left: 20px;
        }

        .fade-slider-btn#fade-next-btn {
            right: 20px;
        }
        
        /* Thumbnail Navigation Styles */
        .thumbnail-nav {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 1.5rem;
        }

        .thumbnail-item {
            width: 80px;
            height: 50px;
            border-radius: 8px;
            cursor: pointer;
            overflow: hidden;
            border: 3px solid transparent;
            transition: border-color 0.3s ease, opacity 0.3s ease;
            opacity: 0.6;
}
        
        .thumbnail-item:hover {
            opacity: 1;
        }

        .thumbnail-item.active-thumb {
            border-color: #007bff; /* Highlight color for active thumbnail */
            opacity: 1;
        }

        .thumbnail-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        /* Responsive Adjustments for Phones */
@media (max-width: 768px) {
    .thumbnail-nav {
        /* Allow thumbnails to wrap to the next line if needed */
        flex-wrap: wrap; 
        /* Reduce the gap between thumbnails for smaller screens */
        gap: 10px; 
        /* Add some padding for better spacing from screen edges */
        padding: 0 10px; 
    }

    .thumbnail-item {
        /* Slightly reduce thumbnail size for smaller screens */
        width: 70px; 
        height: 45px;
        /* Ensure border is still visible but not too thick */
        border-width: 2px; 
    }
}

@media (max-width: 480px) {
    .thumbnail-nav {
        /* Further reduce gap for very small screens */
        gap: 8px; 
        /* Center content even if it wraps */
        justify-content: center; 
    }

    .thumbnail-item {
        /* Potentially smaller thumbnails for very narrow screens */
        width: 60px; 
        height: 40px;
    }
}        

/* Prevent text selection */
    body {
      -webkit-user-select: none; /* Safari */
      -moz-user-select: none;    /* Firefox */
      -ms-user-select: none;     /* IE10+/Edge */
      user-select: none;         /* Standard */
    }

    /* Prevent dragging images */
    img {
      pointer-events: none;
      -webkit-user-drag: none;
    }


   /* Card Stack Slider Section Styles */
        .card-stack-section {
            width: 100%;
            max-width: 700px;
            margin: auto;
        }

        .card-stack-section h2 {
            text-align: center;
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 2.5rem;
        }

        /* Card Stack Container */
        .card-stack-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 10;
            perspective: 1500px; /* For 3D effect */
        }
body, html { overflow-x: hidden; }

        /* Individual Card */
        .stack-card {
            position: absolute;
            width: 100%;
            height: 100%;
            list-style: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(44, 62, 80, 0.2);
            background-color: #fff;
            transition: transform 0.6s ease, opacity 0.6s ease;
            cursor: pointer;
            -webkit-transition: transform 0.6s ease, opacity 0.6s ease;
            -moz-transition: transform 0.6s ease, opacity 0.6s ease;
            -ms-transition: transform 0.6s ease, opacity 0.6s ease;
            -o-transition: transform 0.6s ease, opacity 0.6s ease;
            -webkit-border-radius: 20px;
            -moz-border-radius: 20px;
            -ms-border-radius: 20px;
            -o-border-radius: 20px;
}

        .stack-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Card exit animations */
        .stack-card.exit-left {
            transform: translateX(-120%) rotate(-15deg) !important;
            opacity: 0;
            -webkit-transform: translateX(-120%) rotate(-15deg) !important;
            -moz-transform: translateX(-120%) rotate(-15deg) !important;
            -ms-transform: translateX(-120%) rotate(-15deg) !important;
            -o-transform: translateX(-120%) rotate(-15deg) !important;
}

        .stack-card.exit-right {
            transform: translateX(120%) rotate(15deg) !important;
            opacity: 0;
            -webkit-transform: translateX(120%) rotate(15deg) !important;
            -moz-transform: translateX(120%) rotate(15deg) !important;
            -ms-transform: translateX(120%) rotate(15deg) !important;
            -o-transform: translateX(120%) rotate(15deg) !important;
}

        /* Navigation Buttons */
        .card-stack-nav {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 2rem;
        }

        .card-nav-btn {
            background-color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2c3e50;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
            -moz-transition: transform 0.2s ease, box-shadow 0.2s ease;
            -ms-transition: transform 0.2s ease, box-shadow 0.2s ease;
            -o-transition: transform 0.2s ease, box-shadow 0.2s ease;
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            -ms-border-radius: 50%;
            -o-border-radius: 50%;
}

        .card-nav-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            -webkit-transform: scale(1.1);
            -moz-transform: scale(1.1);
            -ms-transform: scale(1.1);
            -o-transform: scale(1.1);
}
        
        .card-nav-btn:active {
            transform: scale(1.05);
        }  




        /* A New Story Slider  */

    .story-section {
    width: 100%; /* Take full width */
    max-width: 380px; /* Give it a max-width slightly larger than the story-container for spacing */
    padding: 20px; /* Add some padding around the story container */
    box-sizing: border-box; /* Include padding in the width calculation */
    display: flex; /* Make it a flex container */
    justify-content: center; /* Center story-container horizontally inside section */
    align-items: center; /* Center story-container vertically inside section (if section is taller) */
    /* If you want the section itself to have a background/border: */
    /* background-color: #fff; */
    /* border-radius: 20px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}
        /* Story Container */
        .story-container {
            position: relative;
            width: 360px; /* Typical phone width */
            height: 640px; /* Typical phone height */
            background-color: #000;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        /* Story Item (Individual Slide) */
        .story-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #333; /* Fallback/loading color */
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 2em;
            text-align: center;
        }

        .story-item.active {
            opacity: 1;
            z-index: 1;
        }

        .story-item img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures image covers the area */
            display: block;
        }

        .story-item video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .story-item-content {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background-color: rgba(0, 0, 0, 0.5);
            padding: 10px 15px;
            border-radius: 8px;
            font-size: 0.9em;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
        }

        /* Progress Bar Container */
        .story-progress-bar-container {
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            display: flex;
            gap: 5px;
            z-index: 10;
        }

        .progress-segment {
            flex: 1;
            height: 3px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 2px;
            overflow: hidden;
        }

        .progress-segment-fill {
            height: 100%;
            width: 0%;
            background-color: #fff;
            transform-origin: left;
            transition: width 0.1s linear; /* For smooth fill updates */
        }

        /* Navigation Arrows */
        .story-nav-area {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 5; /* Below progress bar, above content */
            display: flex;
        }

        .nav-left, .nav-right {
            flex: 1;
            cursor: pointer;
            height: 100%;
            display: flex; /* For centering feedback icon */
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 2em;
            opacity: 0; /* Hidden by default */
            transition: opacity 0.2s ease;
        }

        .nav-left:hover, .nav-right:hover {
            opacity: 0.2; /* Subtle hover feedback */
        }