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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  /* background-color: #f9f9f9; */
  /* color: #333; */
   background: linear-gradient(120deg, #f0fdfa 0%, #e0e7ff 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Container tweaks */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==== Header (Bootstrap Navbar Customization) ==== */

.ac-navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.ac-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ac-navbar-brand img {
  max-height: 60px;
  width: auto;
  height: auto;
}

.ac-navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

.ac-navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.ac-navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ac-navbar-nav .nav-link {
  color: #333333;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 4px;
  position: relative;
  text-decoration: none;
}

.ac-navbar-nav .nav-link::after {
  content: "";
  display: block;
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0.3em;
  height: 2px;
  background: #0d6efd;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}

.ac-navbar-nav .nav-link:hover,
.ac-navbar-nav .nav-link.active {
  color: #0d6efd;
  /* background-color: rgba(13, 110, 253, 0.08); */
}

.ac-navbar-nav .nav-link:hover::after,
.ac-navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Button styles */
.btn-login {
  background: #2196f3;
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
  transition: background 0.25s, transform 0.18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-login:hover, .btn-login:focus {
  background: #1565c0;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(21,101,192,0.12);
}

.btn-enquiry {
  background: transparent;
  color: #2196f3;
  border: 2px solid #2196f3;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(33,150,243,0.06);
  transition: background 0.25s, color 0.25s, transform 0.18s, border-color 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-enquiry:hover, .btn-enquiry:focus {
  background: #1565c0;
  color: #fff;
  border-color: #1565c0;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(21,101,192,0.10);
}

.ac-navbar-btns .btn-sm {
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
}

/* Responsive styles */
@media (max-width: 767.98px) {
  .ac-navbar-collapse {
    background-color: #ffffff;
    padding: 1rem;
  }
  .ac-navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .ac-navbar-nav .nav-link {
    text-align: left;
    width: 100%;
  }
  .ac-navbar-btns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    align-items: center;
  }
  .ac-navbar-btns .btn-login,
  .ac-navbar-btns .btn-enquiry,
  .ac-navbar-btns .btn-sm {
    width: 50%;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
  }
}


/* === Banner section start === */

.carousel-container {
  width: 100%;         /* Use 80% of the screen width */
  margin: 0 auto;     /* Center the slider horizontally */
  padding: 0;
}

/* Carousel image styling */
#my_slider .carousel-item img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;           /* This centers the image horizontally */
  object-fit: cover;
  border-radius: 10px;
}


/* Carousel controls styling */
#my_slider .carousel-control-prev,
#my_slider .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  color: #fff;
  font-size: 28px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, opacity 0.3s;
}

/* Hover effect */
#my_slider .carousel-control-prev:hover,
#my_slider .carousel-control-next:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
  color: #fcce2d;
}

/* Controls positioning inside the 80% container */
#my_slider .carousel-control-prev {
  left: 10px;
}

#my_slider .carousel-control-next {
  right: 10px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .carousel-container {
    width: 95%; /* Use more width on small devices */
  }

  #my_slider .carousel-control-prev,
  #my_slider .carousel-control-next {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  #my_slider .carousel-control-prev {
    left: 5px;
  }

  #my_slider .carousel-control-next {
    right: 5px;
  }
}

/* === Banner section end === */



/* Cards grid */
/* Why Choose Adarsh Classes */
/* ==== Modern About Us Section ==== */

.about-us {
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
  border: 1.5px solid rgba(56,189,248,0.11);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 3.5rem 2rem 3rem 2rem;
  position: relative;
  z-index: 1;
}

.about-us h2 {
  color: #1e293b;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

.about-us p.lead {
  color: #34495e;
  font-size: 1.19rem;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 0;
  background: transparent;
}

.about-us strong {
  color: #2563eb;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .about-us {
    padding: 2rem 0.7rem 2rem 0.7rem;
    border-radius: 1rem;
  }
  .about-us h2 {
    font-size: 1.3rem;
  }
  .about-us p.lead {
    font-size: 1rem;
  }
}


/* Grid layout */
.adarsh-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Card base style */
.adarsh-card {
  padding: 2rem 1.5rem;
  border-radius: 14px;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
}

.adarsh-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Icon style */
.adarsh-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Headings unified color */
.adarsh-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff; /* consistent heading */
  margin-bottom: 0.5rem;
}

/* Paragraph readable on all backgrounds */
.adarsh-card p {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.5;
}

/* Backgrounds with good contrast */
.adarsh-bg-1 {
  background: linear-gradient(135deg, #003973, #005f99);
  color: #fff;
}
.adarsh-bg-2 {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}
.adarsh-bg-3 {
  background: linear-gradient(135deg, #ff512f, #dd2476);
}
.adarsh-bg-4 {
  background: linear-gradient(135deg, #42275a, #734b6d);
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .adarsh-why-section {
    padding: 1.5rem 1rem;
  }
  .adarsh-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .adarsh-card {
    height: auto; /* allow cards to grow */
    padding: 1.8rem 1.2rem;
  }
  .adarsh-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }
  .adarsh-heading {
    font-size: 1.15rem;
  }
  .adarsh-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .adarsh-card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .adarsh-title {
    font-size: 1.75rem;
  }
  .adarsh-card {
    padding: 1.5rem 1rem;
    height: auto;
  }
  .adarsh-icon {
    font-size: 2.2rem;
  }
  .adarsh-heading {
    font-size: 1.1rem;
  }
  .adarsh-card p {
    font-size: 0.9rem;
  }
}

/* ==== Courses Offered Modern Glassmorphism Section ==== */

.courses-offered {
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
  border: 1.5px solid rgba(56,189,248,0.11);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 3.5rem 2rem 3rem 2rem;
  position: relative;
  z-index: 1;
}

.courses-offered h2 {
  color: #1e293b;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  text-align: center;
}

.courses-offered p {
  color: #34495e;
  font-size: 1.19rem;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 2.2rem;
  text-align: center;
}

.courses-offered__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Glassmorphism card style */
.courses-offered__card {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border-radius: 1.2rem;
  border: 1.5px solid rgba(56,189,248,0.13);
  box-shadow: 0 2px 16px rgba(37,99,235,0.08);
  padding: 2.2rem 1.3rem 1.5rem 1.3rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 
    transform 0.28s cubic-bezier(.4,0,.2,1),
    box-shadow 0.28s cubic-bezier(.4,0,.2,1),
    border 0.22s cubic-bezier(.4,0,.2,1);
  position: relative;
  z-index: 1;
  cursor: pointer;
  overflow: hidden;
}

.courses-offered__card:hover {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 16px 48px 0 rgba(13, 110, 253, 0.18), 0 3px 12px rgba(0,0,0,0.07);
  border: 1.5px solid #38bdf8;
}

.courses-offered__card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 1.1rem;
}

/* Custom gradient bullets */
.courses-offered__card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.3rem;
}

.courses-offered__card li {
  color: #334155;
  font-size: 1.05rem;
  margin-bottom: 0.5em;
  line-height: 1.6;
  position: relative;
  padding-left: 1.6em;
}

.courses-offered__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #22c55e 100%);
  box-shadow: 0 2px 6px #38bdf822;
  display: inline-block;
}

/* Modern glassy button style */
.courses-offered__card .btn {
  display: inline-block;
  background: rgba(56,189,248,0.90);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 2em;
  padding: 0.55em 1.5em;
  font-size: 1rem;
  margin-top: 1rem;
  transition: background 0.22s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(56,189,248,0.13);
  text-decoration: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.courses-offered__card .btn:hover,
.courses-offered__card .btn:focus {
  background: rgba(37,99,235,0.95);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(56,189,248,0.18);
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .courses-offered {
    padding: 2rem 1rem 2rem 1rem;
  }
  .courses-offered h2 {
    font-size: 1.4rem;
  }
  .courses-offered__card {
    padding: 1.5rem 0.8rem 1.2rem 0.8rem;
  }
}

@media (max-width: 576px) {
  .courses-offered__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .courses-offered {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 1rem;
  }
  .courses-offered__card {
    padding: 1.1rem 0.7rem 0.9rem 0.7rem;
  }
  .courses-offered__card h3 {
    font-size: 1.08rem;
  }
}


/* Faculty Section Container */
#faculty-section.faculty-section.container {
  max-width: 1100px;
  margin: auto;
  padding: 2.5rem 1.2rem;
  font-family: 'Poppins', sans-serif;
  color: #222;
  box-sizing: border-box;
  background: linear-gradient(120deg, #f0fdfa 0%, #e0e7ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(56,189,248,0.08), 0 2px 8px rgba(0,0,0,0.04);
}

/* Section Title */
.faculty-section__title {
  font-weight: 700;
  font-size: 2.2rem;
  color: #1e293b;
  letter-spacing: 0.03em;
  margin-bottom: 2.5rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

/* Responsive Grid */
.faculty-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* Flip Card Base with Glassmorphism and Gradient Border Accent */
.faculty-section__card.flip-card {
  background: rgba(255,255,255,0.22);
  border-radius: 20px;
  perspective: 1200px;
  box-shadow: 0 6px 24px rgba(56,189,248,0.10), 0 2px 8px rgba(0,0,0,0.04);
  min-height: 340px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, #38bdf8 0%, #a78bfa 100%);
  border-image-slice: 1;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
}

.faculty-section__card.flip-card:hover {
  transform: scale(1.045);
  box-shadow: 0 20px 40px rgba(56,189,248,0.18), 0 6px 20px rgba(0,0,0,0.10);
  z-index: 10;
}

/* Flip Animation */
.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.faculty-section__card.flip-card:hover .flip-card__inner {
  transform: rotateY(180deg);
}

/* Card Faces */
.flip-card__front,
.flip-card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  padding: 1.7rem 1.2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

/* Front Face - Glassy */
.flip-card__front {
  background: rgba(255,255,255,0.85);
  color: #1e293b;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(56,189,248,0.06);
}

/* Profile Image with Gradient Ring */
.flip-card__img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
  background-clip: padding-box, border-box;
  box-shadow: 0 2px 14px rgba(56,189,248,0.13);
  margin-bottom: 1rem;
  transition: transform 0.3s;
  padding: 3px;
}

.faculty-section__card.flip-card:hover .flip-card__img {
  transform: scale(1.08);
}

/* Name */
.flip-card__name {
  font-weight: 600;
  font-size: 1.23rem;
  color: #1b1b1b;
  margin-bottom: 0.3rem;
  text-align: center;
}

/* Subtitle */
.flip-card__subtitle {
  font-weight: 400;
  font-size: 0.89rem;
  color: #2563eb;
  text-align: center;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* Back Face - Gradient Glass */
.flip-card__back {
  background: linear-gradient(120deg, #38bdf8 0%, #a78bfa 100%);
  color: #fff;
  transform: rotateY(180deg);
  padding: 1.7rem 1.2rem;
  box-shadow: 0 5px 15px rgba(56,189,248,0.12);
  text-align: center;
  justify-content: center;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

/* Back text description */
.flip-card__description {
  font-style: italic;
  font-size: 0.97rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  padding: 0 0.3rem;
  opacity: 0.96;
}

.flip-card__quote {
  font-weight: 600;
  font-size: 0.89rem;
  letter-spacing: 0.04em;
  font-style: normal;
  opacity: 0.89;
  padding: 0 0.3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .faculty-section__grid {
    gap: 1.3rem;
  }
  .faculty-section__title {
    font-size: 1.4rem;
  }
  #faculty-section.faculty-section.container {
    padding: 1.8rem 0.7rem;
  }
  .flip-card__img {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 480px) {
  .faculty-section__title {
    font-size: 1.1rem;
  }
  .flip-card__img {
    width: 70px;
    height: 70px;
  }
  .flip-card__name {
    font-size: 1rem;
  }
  .flip-card__subtitle {
    font-size: 0.75rem;
  }
  .flip-card__description {
    font-size: 0.83rem;
  }
  .flip-card__quote {
    font-size: 0.75rem;
  }
  #faculty-section.faculty-section.container {
    padding: 1.2rem 0.3rem;
  }
}



/* ==== Testimonials Section: Modern Glassmorphism & Gradient Accents ==== */

.testimonials-section {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0e7ff 100%);
  padding: 60px 20px;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
}

.testimonials-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.testimonial-heading {
  font-size: 2.2rem;
  color: #1e293b;
  margin-bottom: 40px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

.testimonial-slider-wrapper {
  position: relative;
}

.testimonial-slider {
  position: relative;
  height: 100%;
  min-height: 320px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
  padding: 40px 30px;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 1.2rem;
  border: 1.5px solid rgba(56,189,248,0.13);
  box-shadow: 0 2px 16px rgba(37,99,235,0.08);
  max-width: 800px;
  margin: auto;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  z-index: 2;
}

.quote-icon {
  font-size: 36px;
  background: linear-gradient(90deg, #38bdf8 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 1.15rem;
  color: #374151;
  margin-bottom: 20px;
  font-style: italic;
  opacity: 0.98;
}

.testimonial-card h4 {
  font-size: 1rem;
  color: #2563eb;
  font-weight: 700;
  margin-top: auto;
  letter-spacing: 0.03em;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 0.7em;
}

.testimonial-dots span {
  height: 14px;
  width: 14px;
  margin: 0 5px;
  background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  opacity: 0.4;
  box-shadow: 0 2px 8px #38bdf855;
  border: none;
}

.testimonial-dots span.active {
  opacity: 1;
  transform: scale(1.18);
  box-shadow: 0 2px 18px #38bdf888;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px 16px;
    min-height: 200px;
  }
  .testimonial-heading {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 1rem;
  }
  .testimonial-heading {
    font-size: 1.1rem;
  }
  .quote-icon {
    font-size: 24px;
  }
  .testimonial-card p {
    font-size: 0.97rem;
  }
  .testimonial-card {
    padding: 1rem 0.6rem;
  }
}


/* ==== Final Call To Action: Modern Gradient Glassmorphism ==== */

.final-cta {
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%);
  padding: 3rem 0;
  text-align: center;
  color: #fff;
  margin-top: 3rem;
  border-radius: 1.2rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.10), 0 1.5px 4px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(30,41,59,0.10);
}

.final-cta .btn-primary {
  background: linear-gradient(90deg, #22c55e 0%, #38bdf8 100%);
  color: #fff;
  padding: 0.75rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 2em;
  border: none;
  box-shadow: 0 2px 12px rgba(56,189,248,0.13);
  transition: background 0.22s, transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  display: inline-block;
}

.final-cta .btn-primary:hover,
.final-cta .btn-primary:focus {
  background: linear-gradient(90deg, #2563eb 0%, #22c55e 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(56,189,248,0.18);
  color: #fff;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .final-cta {
    padding: 1.5rem 0.5rem;
    border-radius: 0.8rem;
  }
  .final-cta h2 {
    font-size: 1.3rem;
  }
  .final-cta .btn-primary {
    font-size: 1rem;
    padding: 0.65rem 1.6rem;
  }
}



/* Footer */
/* Reset box-sizing for consistency */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Footer base styles */
.footer {
  background-color: #222;
  color: #ddd;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

/* Container flex wrapper */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Left section: Contact + Quick Links side by side */
.footer-left {
  display: flex;
  flex: 1 1 600px;
  gap: 40px;
  min-width: 280px;
}

/* Contact Us and Quick Links columns */
.footer-left > div {
  flex: 1 1 250px;
  min-width: 200px;
}

/* Headings */
.footer-left h3 {
  color: #007bff;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

/* Contact links styling */
.footer-left a {
  color: #ddd;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.3s ease;
}

.footer-left a:hover,
.footer-left a:focus {
  color: #0099ff;
  outline: none;
  text-decoration: underline;
}

/* Quick Links list */
.footer-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-left ul li {
  margin-bottom: 10px;
}

/* Right side: Logo and Social icons */
.footer-right {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 200px;
  text-align: center;
}

/* Logo styling */
.footer-logo img {
  max-width: 160px;
  height: auto;
  display: block;
}

/* Social media icons container */
.social-icons {
  display: flex;
  gap: 20px;
  font-size: 20px;
  justify-content: center;
}

/* Social media icons */
.social-icons a {
  color: #bbb;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover,
.social-icons a:focus {
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.15);
  outline: none;
}

/* Footer bottom copyright */
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #444;
  padding-top: 15px;
}

.footer-bottom a {
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  text-decoration: underline;
  outline: none;
}

/* Responsive: tablets and smaller (below 992px) */
@media (max-width: 991.98px) {
  .footer-content {
    justify-content: center;
    gap: 30px;
  }

  .footer-left {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer-left > div {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .footer-right {
    flex: 1 1 100%;
    margin-top: 30px;
  }
}

/* Responsive: mobile devices (below 576px) */
@media (max-width: 575.98px) {
  .footer {
    padding: 30px 15px 15px;
  }

  .footer-right {
    margin-top: 20px;
  }

  .footer-logo img {
    max-width: 140px;
  }

  .social-icons {
    gap: 15px;
    font-size: 18px;
  }

  .footer-left h3 {
    font-size: 1.1rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
    padding-top: 12px;
  }
}

/* 5th to 9th Page sections */
:root {
      --ac-primary: #007bff;
      --ac-gradient: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
      --ac-bg-light: #f9fbfd;
      --ac-text-dark: #2c3e50;
      --ac-radius: 1rem;
      --ac-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      --ac-transition: 0.3s ease;
    }

    .ac-hero {
      background: var(--ac-gradient);
      color: white;
      padding: 6rem 1rem 5rem;
      text-align: center;
      border-radius: var(--ac-radius);
      margin-bottom: 3rem;
      box-shadow: var(--ac-shadow);
    }

    .ac-hero h1 {
      font-weight: 700;
      font-size: 3rem;
      margin-bottom: 0.6rem;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    }

    .ac-hero p {
      font-size: 1.4rem;
      opacity: 0.9;
      font-weight: 500;
    }

    .ac-section-title {
      font-size: 2.25rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 2.5rem;
      color: var(--ac-text-dark);
      position: relative;
    }

    .ac-section-title::after {
      content: "";
      width: 80px;
      height: 4px;
      background: var(--ac-primary);
      display: block;
      margin: 0.5rem auto 0;
      border-radius: 2px;
    }

    /* Bootstrap cards overridden */
    .ac-card {
      border: none;
      border-radius: var(--ac-radius);
      box-shadow: var(--ac-shadow);
      transition: transform var(--ac-transition), box-shadow var(--ac-transition);
      background-color: white;
      padding: 1.8rem 1.5rem;
      min-height: 210px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }
    .ac-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 30px rgba(0,0,0,0.12);
    }

    .ac-card-title {
      color: var(--ac-primary);
      font-weight: 700;
      font-size: 1.4rem;
      margin-bottom: 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .ac-card-title i {
      color: var(--ac-primary);
      font-size: 1.4rem;
    }

    .ac-card-text {
      color: #555;
      font-size: 1rem;
      flex-grow: 1;
    }

    /* CTA Section */
    .ac-cta {
      background: var(--ac-gradient);
      border-radius: var(--ac-radius);
      padding: 3rem 2rem;
      text-align: center;
      margin-top: 4rem;
      color: white;
      box-shadow: var(--ac-shadow);
    }

    .ac-cta h2 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      text-shadow: 1px 1px 6px rgba(0,0,0,0.3);
    }

    .ac-cta p {
      font-size: 1.25rem;
      margin-bottom: 1.5rem;
      opacity: 0.9;
      font-weight: 500;
    }

    .ac-btn-primary {
      font-weight: 600;
      padding: 0.8rem 2rem;
      border-radius: 50px;
      background-color: white;
      color: var(--ac-primary);
      border: none;
      transition: background-color var(--ac-transition), color var(--ac-transition);
      box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
      text-decoration: none;
      display: inline-block;
    }
    .ac-btn-primary:hover, .ac-btn-primary:focus {
      background-color: var(--ac-primary);
      color: white;
      box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
      outline: none;
      text-decoration: none;
    }

    /* FAQ Section */
    .ac-faqs {
      max-width: 700px;
      margin: 3rem auto 5rem;
    }

    .ac-faq-header {
      font-weight: 700;
      font-size: 2rem;
      margin-bottom: 1.5rem;
      text-align: center;
      color: var(--ac-text-dark);
      position: relative;
    }
    .ac-faq-header::after {
      content: "";
      width: 60px;
      height: 3px;
      background: var(--ac-primary);
      display: block;
      margin: 0.5rem auto 0;
      border-radius: 2px;
    }

    /* Accordion custom */
    .accordion-button:not(.collapsed) {
      color: var(--ac-primary);
      background-color: #e7f1ff;
      box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
    }

    .accordion-button::after {
      font-family: "Font Awesome 6 Free";
      content: "\f107"; /* fa-chevron-down */
      font-weight: 900;
      font-size: 1.2rem;
      color: var(--ac-primary);
      transition: transform 0.3s ease;
    }

    .accordion-button.collapsed::after {
      transform: rotate(-90deg);
    }

    /* Responsive tweaks */
    @media (max-width: 576px) {
      .ac-hero h1 {
        font-size: 2rem;
      }
      .ac-section-title {
        font-size: 1.75rem;
      }
      .ac-cta h2 {
        font-size: 1.8rem;
      }
    }

/* About Page Start */

/* Global Styles */
/* body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
} */

#ac-about-hero {
  background: linear-gradient(120deg, #f3f7fa 70%, #e0e7ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(33,150,243,0.10), 0 1.5px 4px rgba(21,101,192,0.04);
  padding: 5rem 1.5rem 4rem 1.5rem;
  margin: 2.5rem auto 0 auto;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

#ac-about-hero .container {
  position: relative;
  z-index: 2;
}

#ac-about-hero h1 {
  color: #1565c0;
  font-weight: 900;
  font-size: 2.7rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 16px rgba(33,150,243,0.08);
  background: linear-gradient(90deg, #2196f3 10%, #1565c0 90%);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  background-clip: text;
}

#ac-about-hero .lead {
  color: #334155;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(33,150,243,0.05);
}

@media (max-width: 900px) {
  #ac-about-hero {
    padding: 3rem 0.7rem 2.5rem 0.7rem;
    border-radius: 1rem;
    max-width: 98vw;
  }
  #ac-about-hero h1 {
    font-size: 2rem;
  }
  #ac-about-hero .lead {
    font-size: 1.08rem;
  }
}

@media (max-width: 600px) {
  #ac-about-hero {
    padding: 1.5rem 0.5rem 1.2rem 0.5rem;
    border-radius: 0.8rem;
    max-width: 99vw;
  }
  #ac-about-hero h1 {
    font-size: 1.25rem;
  }
  #ac-about-hero .lead {
    font-size: 0.97rem;
  }
}



/* Hero Section */
#ac-about-hero {
  background-color: #f8f9fa;
}

#ac-about-hero h1 {
  color: #1e293b;
}

#ac-about-hero p {
  color: #34495E;
  font-size: 1.1rem;
}

/* About Section */
/* ==== Our Journey Modern Section ==== */

#our-journey {
  background: linear-gradient(120deg, #f0fdfa 0%, #e0e7ff 100%);
  position: relative;
  overflow: hidden;
  
}

#our-journey .container {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}

#our-journey h2 {
  font-weight: 800;
  color: #1e293b;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.1rem;
}

#our-journey p {
  color: #475569;
  font-size: 1.13rem;
  line-height: 1.7;
  margin-bottom: 0;
}

#our-journey strong {
  color: #2563eb;
  font-weight: 700;
}

#our-journey img {
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(37,99,235,0.13), 0 1.5px 4px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.28);
  border: 2px solid rgba(56,189,248,0.09);
  transition: box-shadow 0.28s, transform 0.22s;
  max-height: 340px;
  object-fit: cover;
}

#our-journey img:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.18), 0 3px 12px rgba(0,0,0,0.10);
}

/* Add a glassmorphism effect to the text block */
#our-journey .col-md-6:first-child {
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-radius: 1.2rem;
  border: 1.5px solid rgba(56,189,248,0.11);
  box-shadow: 0 2px 16px rgba(37,99,235,0.07);
  padding: 2rem 2rem 1.5rem 2rem;
  margin-bottom: 1.2rem;
  transition: box-shadow 0.24s, border 0.18s;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #our-journey .container {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }
  #our-journey h2 {
    font-size: 1.4rem;
  }
  #our-journey img {
    max-height: 220px;
  }
  #our-journey .col-md-6:first-child {
    padding: 1.2rem 1rem 1rem 1rem;
  }
}

@media (max-width: 767.98px) {
  #our-journey .row {
    flex-direction: column-reverse;
    text-align: center;
  }
  #our-journey img {
    margin-bottom: 1.1rem;
    max-width: 90vw;
  }
  #our-journey .col-md-6:first-child {
    margin-bottom: 1rem;
    padding: 1.1rem 0.7rem 0.9rem 0.7rem;
  }
}


/* ==== Founder Message Section (Modern, Elegant, Glassmorphism-Inspired) ==== */

#founder-message {
  background: linear-gradient(120deg, #f8fafc 0%, #e0e7ff 100%);
  border-top: 1.5px solid #e0e7ff;
  border-bottom: 1.5px solid #e0e7ff;
  position: relative;
  overflow: hidden;
}

#founder-message .container {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}

#founder-message h2 {
  font-weight: 800;
  color: #1e293b;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.1rem;
}

#founder-message blockquote {
  background: rgba(255,255,255,0.34);
  border-left: 5px solid #2563eb;
  border-radius: 0.7rem;
  padding: 1.1rem 1.2rem 1.1rem 1.3rem;
  font-size: 1.19rem;
  color: #334155;
  font-style: italic;
  box-shadow: 0 2px 12px rgba(96,165,250,0.06);
  margin-bottom: 1.5rem;
  margin-top: 0.2rem;
  transition: box-shadow 0.2s;
}

#founder-message blockquote::before {
  content: "“";
  font-size: 2.2rem;
  color: #2563eb;
  vertical-align: top;
  margin-right: 0.15em;
  opacity: 0.7;
}

#founder-message blockquote::after {
  content: "”";
  font-size: 2.2rem;
  color: #2563eb;
  vertical-align: bottom;
  margin-left: 0.15em;
  opacity: 0.7;
}

#founder-message p {
  color: #475569;
  font-size: 1.07rem;
  line-height: 1.7;
  margin-bottom: 0;
}

#founder-message strong {
  color: #2563eb;
  font-weight: 700;
}

#founder-message img {
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(37,99,235,0.13), 0 1.5px 4px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.28);
  border: 2px solid rgba(56,189,248,0.09);
  transition: box-shadow 0.28s, transform 0.22s;
  max-height: 340px;
  object-fit: cover;
}

#founder-message img:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.18), 0 3px 12px rgba(0,0,0,0.10);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #founder-message .container {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }
  #founder-message h2 {
    font-size: 1.4rem;
  }
  #founder-message img {
    max-height: 220px;
  }
}

@media (max-width: 767.98px) {
  #founder-message .row {
    flex-direction: column-reverse;
    text-align: center;
  }
  #founder-message img {
    margin-bottom: 1.1rem;
    max-width: 90vw;
  }
  #founder-message blockquote {
    font-size: 1rem;
    padding: 0.8rem 0.7rem 0.8rem 1rem;
  }
}


/* ==== Modern Glassmorphism Philosophy Section ==== */

#modern-philosophy-section.philosophy-section {
  min-height: 80vh;
  padding: 64px 0 56px 0;
  background: linear-gradient(120deg, #e0e7ff 0%, #f8fafc 60%, #f0fdfa 100%);
  position: relative;
  overflow: hidden;
}

.philosophy-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.philosophy-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

.philosophy-header p {
  color: #334155;
  font-size: 1.12rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.philosophy-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.philosophy-card {
  background: rgba(255,255,255,0.22);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1.5px solid rgba(255,255,255,0.46);
  border-top: 1.5px solid rgba(13,110,253,0.13);
  border-left: 1.5px solid rgba(13,110,253,0.09);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
  flex: 1 1 260px;
  max-width: 340px;
  min-width: 240px;
  transition: 
    transform 0.28s cubic-bezier(.4,0,.2,1),
    box-shadow 0.28s cubic-bezier(.4,0,.2,1),
    border 0.22s cubic-bezier(.4,0,.2,1);
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  cursor: pointer;
  overflow: hidden;
}

.philosophy-card:hover, .philosophy-card:focus-within {
  transform: translateY(-12px) scale(1.045);
  box-shadow: 0 16px 48px 0 rgba(13, 110, 253, 0.18), 0 3px 12px rgba(0,0,0,0.07);
  border: 1.5px solid rgba(13,110,253,0.22);
}

.icon-circle {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: #fff;
  box-shadow: 0 2px 14px rgba(13,71,161,0.18);
  border: 2.5px solid rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.13);
  transition: 
    box-shadow 0.25s, 
    transform 0.25s,
    border 0.22s;
}

.bg-blue {
  background: linear-gradient(135deg, #60a5fa 60%, #2563eb 100%);
  box-shadow: 0 4px 20px #60a5fa44;
}
.bg-green {
  background: linear-gradient(135deg, #34d399 60%, #38bdf8 100%);
  box-shadow: 0 4px 20px #34d39944;
}
.bg-red {
  background: linear-gradient(135deg, #fb7185 60%, #fbbf24 100%);
  box-shadow: 0 4px 20px #fb718544;
}

.philosophy-card:hover .icon-circle,
.philosophy-card:focus-within .icon-circle {
  box-shadow: 0 8px 32px #0ea5e944, 0 2px 12px rgba(13,110,253,0.11);
  border: 2.5px solid rgba(13,110,253,0.16);
  transform: scale(1.13) rotate(-6deg);
}

.philosophy-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(37,99,235,0.07);
}

.philosophy-card p {
  color: #334155;
  font-size: 1.04rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.92;
}

@media (max-width: 991.98px) {
  .philosophy-grid {
    gap: 1.2rem;
  }
  .philosophy-card {
    max-width: 100%;
    min-width: 200px;
    padding: 2rem 1.2rem 1.7rem 1.2rem;
  }
}

@media (max-width: 767.98px) {
  #modern-philosophy-section.philosophy-section {
    padding: 40px 0 30px 0;
  }
  .philosophy-header h2 {
    font-size: 2rem;
  }
  .philosophy-grid {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .philosophy-card {
    margin-bottom: 0.5rem;
    padding: 1.5rem 1rem 1.2rem 1rem;
  }
}


/* Timeline Section */
.timeline-section {
  background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Timeline wrapper: horizontal scroll on desktop */
.timeline-wrapper {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
}

/* Timeline cards */
.timeline-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.1);
  flex: 0 0 320px;
  padding: 1.8rem 1.5rem 2rem 1.5rem;
  scroll-snap-align: start;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.timeline-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 36px rgb(0 0 0 / 0.15);
}

/* Colored card variants */
.card-blue {
  border-top: 6px solid #2563eb;
}
.card-green {
  border-top: 6px solid #22c55e;
}
.card-yellow {
  border-top: 6px solid #facc15;
}

/* Icon circle */
.timeline-icon {
  width: 52px;
  height: 52px;
  background: #e0e7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #2563eb;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgb(37 99 235 / 0.2);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card-green .timeline-icon {
  background: #dcfce7;
  color: #22c55e;
  box-shadow: 0 4px 12px rgb(34 197 94 / 0.2);
}

.card-yellow .timeline-icon {
  background: #fef3c7;
  color: #facc15;
  box-shadow: 0 4px 12px rgb(250 204 21 / 0.2);
}

/* Date styling */
.timeline-date {
  font-weight: 700;
  font-size: 1.15rem;
  color: #1e40af;
  margin-bottom: 0.6rem;
}

/* Headings and paragraphs */
.timeline-card h5 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: #1e293b;
}

.timeline-card p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.5;
}

/* Scrollbar styling for timeline wrapper */
.timeline-wrapper::-webkit-scrollbar {
  height: 8px;
}
.timeline-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-wrapper::-webkit-scrollbar-thumb {
  background-color: #2563eb;
  border-radius: 4px;
}

/* Responsive: vertical stacking on mobile */
@media (max-width: 767.98px) {
  .timeline-wrapper {
    flex-direction: column;
    overflow-x: visible;
  }
  .timeline-card {
    flex: none;
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
  }
}


/* ==== Achievements Glassmorphism Cards ==== */

#achievement-section {
  background: linear-gradient(120deg, #f0fdfa 0%, #e0e7ff 100%);
  position: relative;
  overflow: hidden;
}

.achievement-card.glass-effect {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1.5px solid rgba(255,255,255,0.46);
  border-top: 2.5px solid rgba(13,110,253,0.14);
  border-left: 1.5px solid rgba(13,110,253,0.09);
  padding: 2.7rem 1.2rem 2.2rem 1.2rem;
  text-align: center;
  transition: 
    transform 0.26s cubic-bezier(.4,0,.2,1),
    box-shadow 0.26s cubic-bezier(.4,0,.2,1),
    border 0.18s cubic-bezier(.4,0,.2,1);
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  cursor: pointer;
  overflow: hidden;
}

.achievement-card.glass-effect:hover,
.achievement-card.glass-effect:focus-within {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 16px 48px 0 rgba(13, 110, 253, 0.18), 0 3px 12px rgba(0,0,0,0.07);
  border: 1.5px solid rgba(13,110,253,0.22);
}

.achievement-number {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: 2px;
  text-shadow: 0 1px 8px rgba(13,110,253,0.10);
  background: linear-gradient(90deg, #38bdf8 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.achievement-card.glass-effect .text-primary {
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.achievement-card.glass-effect .text-success {
  background: linear-gradient(90deg, #22c55e 0%, #a3e635 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.achievement-card.glass-effect .text-danger {
  background: linear-gradient(90deg, #fb7185 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.achievement-text {
  font-size: 1.12rem;
  color: #334155;
  font-weight: 500;
  margin-bottom: 0;
  opacity: 0.92;
  letter-spacing: 0.2px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .achievement-card.glass-effect {
    padding: 2rem 1rem 1.7rem 1rem;
  }
  .achievement-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .achievement-card.glass-effect {
    margin-bottom: 1rem;
    padding: 1.5rem 0.7rem 1.2rem 0.7rem;
  }
  .achievement-number {
    font-size: 2rem;
  }
}


/* ==== Modern Ratings Section ==== */

#ratings {
  background: linear-gradient(120deg, #f8fafc 0%, #e0e7ff 100%);
  position: relative;
  overflow: hidden;
}

#ratings h2 {
  font-weight: 700;
  color: #1e293b;
  font-size: 2.1rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.7rem;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

#ratings .d-flex[role="img"] {
  font-size: 2.2rem;
  gap: 0.2em;
  margin-bottom: 0.7rem;
  justify-content: center;
  align-items: center;
}

.star, .star-half {
  color: #fbbf24;
  text-shadow: 0 2px 8px #fbbf2440;
  position: relative;
  display: inline-block;
  transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}

.star:hover, .star-half:hover {
  transform: scale(1.18) rotate(-6deg);
  filter: drop-shadow(0 0 8px #fde68a88);
}

.star-half {
  color: #fbbf24;
  /* Half-filled star effect */
  background: linear-gradient(90deg, #fbbf24 50%, #e5e7eb 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-number {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.6);
  border-radius: 1.2rem;
  padding: 0.22em 1.1em;
  margin-left: 0.5em;
  box-shadow: 0 2px 8px rgba(96,165,250,0.09);
}

#ratings .lead {
  color: #334155;
  font-size: 1.13rem;
  margin-top: 0.7rem;
  opacity: 0.93;
}

#ratings strong {
  color: #22c55e;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  #ratings h2 {
    font-size: 1.4rem;
  }
  #ratings .d-flex[role="img"] {
    font-size: 1.5rem;
  }
  .rating-number {
    font-size: 1rem;
    padding: 0.15em 0.8em;
  }
  #ratings .lead {
    font-size: 1rem;
  }
}

/* About Page End */

/* Achievement Page Start */
/* ==== Awards & Recognitions Modern Glassmorphism Section ==== */

.clean-section {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem 1.5rem 2.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.section-title {
  color: #1e293b;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

.clean-image {
  max-width: 350px;
  width: 100%;
  border-radius: 1.1rem;
  box-shadow: 0 8px 32px rgba(37,99,235,0.13), 0 1.5px 4px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.28);
  border: 2px solid rgba(56,189,248,0.09);
  transition: box-shadow 0.28s, transform 0.22s;
  margin: 0 auto;
  display: block;
}

.clean-image:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.18), 0 3px 12px rgba(0,0,0,0.10);
}

.image-heading {
  color: #2563eb;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.03em;
}

.image-description {
  color: #334155;
  font-size: 1.08rem;
  margin-bottom: 0;
  opacity: 0.93;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .clean-section {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 1rem;
  }
  .section-title {
    font-size: 1.15rem;
  }
  .clean-image {
    max-width: 95vw;
  }
  .image-heading {
    font-size: 1rem;
    margin-top: 1.2rem;
  }
  .image-description {
    font-size: 0.97rem;
  }
}


/* Images with hover scale */
.clean-image {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  cursor: pointer;
  object-fit: cover;
  display: block;
}

.clean-image:hover {
  transform: scale(1.08);
}

/* Heading under image */
.image-heading {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 2rem;
  color: #34495e;
  line-height: 1.2;
}

/* Description text */
.image-description {
  font-size: 1.05rem;
  color: #6c7a89;
  margin-top: 0.75rem;
  line-height: 1.7;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

/* ==== Student Success Wall – Glassmorphism Card Section ==== */

#student-achievers {
  background: linear-gradient(120deg, #f0fdfa 0%, #e0e7ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
  margin: 3rem auto 0 auto;
  padding: 3.5rem 1.5rem 3rem 1.5rem;
  max-width: 1150px;
  position: relative;
  z-index: 1;
}

#student-achievers .text-center h2 {
  color: #1e293b;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.7rem;
}

#student-achievers .text-center p {
  color: #475569;
  font-size: 1.13rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Responsive Card Grid */
.student-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 1.5rem;
}

/* ==== Student Success Wall – Responsive Glassmorphism Card Section ==== */

#student-achievers {
  background: linear-gradient(120deg, #f0fdfa 0%, #e0e7ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
  margin: 3rem auto 0 auto;
  padding: 3.5rem 1.5rem 3rem 1.5rem;
  max-width: 1150px;
  position: relative;
  z-index: 1;
}

#student-achievers .text-center h2 {
  color: #1e293b;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.7rem;
}

#student-achievers .text-center p {
  color: #475569;
  font-size: 1.13rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Responsive Card Grid */
.student-card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  margin-top: 1.5rem;
}

/* Glassmorphism Student Card */
.student-card.card {
  background: rgba(255,255,255,0.34);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 1.2rem;
  border: 1.5px solid rgba(56,189,248,0.13);
  box-shadow: 0 4px 24px rgba(37,99,235,0.10);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  max-width: 340px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 
    transform 0.22s cubic-bezier(.4,0,.2,1),
    box-shadow 0.24s cubic-bezier(.4,0,.2,1),
    border 0.18s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  overflow: hidden;
  min-height: 420px; /* Ensures equal card height for visual consistency[5] */
}

.student-card.card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 16px 48px rgba(37,99,235,0.15), 0 3px 12px rgba(0,0,0,0.09);
  border: 1.5px solid #38bdf8;
}

/* Student Image - Large, Square, Responsive */
.card-img-top-wrapper {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.2rem auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(56,189,248,0.15);
  background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.student-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.7rem;
  border: 2px solid #fff;
  transition: transform 0.22s;
  display: block;
  max-width: 100%;
}

.student-card.card:hover .student-img {
  transform: scale(1.07);
}

/* Card Body */
.card-body h5 {
  font-weight: 700;
  color: #2563eb;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.card-body small {
  color: #64748b;
  font-size: 0.97rem;
  margin-bottom: 0.5rem;
}

.card-body .card-text {
  color: #334155;
  font-size: 1rem;
  font-style: italic;
  margin-top: 0.5rem;
  opacity: 0.94;
}

/* Tablet: 2 columns, larger image, all cards visible */
@media (max-width: 991.98px) {
  .student-card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .card-img-top-wrapper {
    max-width: 220px;
    border-radius: 0.8rem;
  }
  .student-img {
    border-radius: 0.6rem;
  }
  .student-card.card {
    min-height: 380px;
    padding: 1.3rem 0.7rem 1rem 0.7rem;
    max-width: 95vw;
  }
  .card-body h5 {
    font-size: 1rem;
  }
  .card-body small {
    font-size: 0.85rem;
  }
  .card-body .card-text {
    font-size: 0.93rem;
  }
}

/* Mobile: 1 column, very large image, max width */
@media (max-width: 600px) {
  .student-card-container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  #student-achievers .text-center h2 {
    font-size: 1.1rem;
  }
  #student-achievers .text-center p {
    font-size: 0.97rem;
  }
  .card-img-top-wrapper {
    max-width: 98vw;
    border-radius: 0.7rem;
  }
  .student-img {
    border-radius: 0.7rem;
  }
  .student-card.card {
    min-height: 340px;
    padding: 1.1rem 0.5rem 0.9rem 0.5rem;
  }
}

/* 10 class Batch Passing Rates */
.batch-pass-section {
  background: #f3f7fa;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(30,41,59,0.04);
  margin: 3rem auto 0 auto;
  padding: 3rem 1.5rem 2.5rem 1.5rem;
  max-width: 1100px;
}

.section-title {
  color: #1e293b;
  font-weight: 800;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.section-desc {
  color: #64748b;
  font-size: 1.08rem;
  text-align: center;
  margin-bottom: 2.2rem;
}

.batch-pass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: end;
}

.batch-pass-card {
  background: rgba(255,255,255,0.95);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(56,189,248,0.09);
  border: 1.5px solid rgba(56,189,248,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.3rem 1rem 1.2rem 1rem;
  transition: transform 0.18s, box-shadow 0.18s;
  min-width: 190px;
  max-width: 240px;
}

.batch-pass-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 32px rgba(56,189,248,0.16);
  border: 1.5px solid #2196f3;
}

.batch-year {
  font-weight: 700;
  color: #1565c0;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.batch-pass-img img,
.batch-modal-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 1em;
  margin-bottom: 1rem;
  border: 3px solid #2196f3;
  background: #e0e7ff;
  cursor: pointer;
  transition: opacity 0.2s;
}
.batch-modal-img:hover { opacity: 0.8; }

.batch-pass-rate {
  color: #2196f3;
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 0.3rem;
}

/* Modal Styles */
.batch-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  overflow: auto;
  background: rgba(30,41,59,0.93);
  animation: fadeIn 0.3s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.batch-modal-content {
  display: block;
  margin: 4vh auto 0 auto;
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(56,189,248,0.13);
  animation: zoomIn 0.4s;
  background: #fff;
}
@keyframes zoomIn { from { transform: scale(0.85); } to { transform: scale(1); } }

.batch-modal-caption {
  color: #e0e7ff;
  text-align: center;
  margin: 1.2rem auto 2rem auto;
  font-size: 1.1rem;
  max-width: 90vw;
  letter-spacing: 0.01em;
}

.batch-modal-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 2.7rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10001;
}
.batch-modal-close:hover { color: #2196f3; }

@media (max-width: 600px) {
  .batch-pass-section {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 1rem;
  }
  .batch-pass-grid {
    gap: 1rem;
  }
  .batch-pass-img img {
    width: 80px;
    height: 80px;
  }
  .batch-year {
    font-size: 1.07rem;
  }
  .batch-pass-rate {
    font-size: 1rem;
  }
  .batch-modal-content { max-width: 98vw; max-height: 60vh; }
  .batch-modal-close { top: 8px; right: 18px; font-size: 2.1rem; }
  .batch-modal-caption { font-size: 0.97rem; }
}



/* ==== Media & Press Responsive Card Grid ==== */

#media-coverage {
  background: linear-gradient(120deg, #f0fdfa 0%, #e0e7ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
  margin: 3rem auto 0 auto;
  padding: 3.5rem 1.5rem 3rem 1.5rem;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

#media-coverage h2 {
  color: #1e293b;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

/* Responsive Card Grid */
.media-press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.media-press-grid > div {
  display: flex;
}

/* Card styles */
#media-coverage .card {
  background: rgba(255,255,255,0.34);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 1.1rem;
  border: 1.5px solid rgba(56,189,248,0.13);
  box-shadow: 0 4px 24px rgba(37,99,235,0.10);
  overflow: hidden;
  transition: 
    transform 0.22s cubic-bezier(.4,0,.2,1),
    box-shadow 0.24s cubic-bezier(.4,0,.2,1),
    border 0.18s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
}

#media-coverage .card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 16px 48px rgba(37,99,235,0.15), 0 3px 12px rgba(0,0,0,0.09);
  border: 1.5px solid #38bdf8;
}

#media-coverage .card-img-top {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-top-left-radius: 1.1rem;
  border-top-right-radius: 1.1rem;
  background: #e0e7ff;
  min-height: 120px;
  max-height: 180px;
}

#media-coverage .card-title {
  font-weight: 700;
  color: #2563eb;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

#media-coverage .card-text {
  color: #64748b;
  font-size: 0.97rem;
}

#media-coverage .btn-primary {
  display: inline-block;
  background: rgba(56,189,248,0.90);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 2em;
  padding: 0.55em 1.5em;
  font-size: 1rem;
  margin-top: 1rem;
  transition: background 0.22s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(56,189,248,0.13);
  text-decoration: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  outline: none;
}

#media-coverage .btn-primary:hover,
#media-coverage .btn-primary:focus {
  background: rgba(37,99,235,0.95);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(56,189,248,0.18);
  color: #fff;
  text-decoration: none;
}

/* Tablet: 2 columns */
@media (max-width: 991.98px) {
  .media-press-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  #media-coverage .card-img-top {
    min-height: 90px;
    max-height: 120px;
  }
  #media-coverage .btn-primary {
    font-size: 0.98rem;
    padding: 0.5em 1.1em;
  }
}

/* Mobile: 1 column, full width */
@media (max-width: 600px) {
  #media-coverage {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 1rem;
  }
  #media-coverage h2 {
    font-size: 1.1rem;
  }
  .media-press-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  #media-coverage .card {
    min-width: 0;
    max-width: 100vw;
    margin: 0 auto 1.2rem auto;
  }
  #media-coverage .card-img-top {
    min-height: 70px;
    max-height: 100px;
    border-radius: 0.9rem 0.9rem 0 0;
  }
  #media-coverage .btn-primary {
    font-size: 0.97rem;
    padding: 0.45em 1em;
  }
}


/* ==== Impact Stats – Modern Glassmorphism Section ==== */

#impact-stats {
  background: linear-gradient(120deg, #f0fdfa 0%, #e0e7ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
  margin: 3rem auto 0 auto;
  padding: 3.5rem 1.5rem 3rem 1.5rem;
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

#impact-stats h2 {
  color: #1e293b;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

.stat-card {
  background: rgba(255,255,255,0.34);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 1.2rem;
  border: 1.5px solid rgba(56,189,248,0.13);
  box-shadow: 0 4px 24px rgba(37,99,235,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  transition: 
    transform 0.22s cubic-bezier(.4,0,.2,1),
    box-shadow 0.24s cubic-bezier(.4,0,.2,1),
    border 0.18s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
}

.stat-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 48px rgba(37,99,235,0.14), 0 3px 12px rgba(0,0,0,0.09);
  border: 1.5px solid #38bdf8;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 8px rgba(56,189,248,0.10);
}

.stat-label {
  color: #64748b;
  font-size: 1.08rem;
  font-weight: 500;
  opacity: 0.93;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #impact-stats {
    padding: 2rem 0.7rem 2rem 0.7rem;
    border-radius: 1rem;
  }
  #impact-stats h2 {
    font-size: 1.4rem;
  }
  .stat-card {
    min-height: 140px;
    padding: 1.3rem 0.7rem 1rem 0.7rem;
  }
  .stat-value {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.97rem;
  }
}

@media (max-width: 600px) {
  #impact-stats {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 1rem;
  }
  #impact-stats h2 {
    font-size: 1.1rem;
  }
  .stat-card {
    min-height: 110px;
    padding: 1rem 0.5rem 0.9rem 0.5rem;
  }
  .stat-value {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.89rem;
  }
}


/* ==== Modern Professional Timeline with Animation ==== */

#timeline {
  background: linear-gradient(120deg, #f0fdfa 0%, #e0e7ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.10), 0 1.5px 4px rgba(0,0,0,0.05);
  margin: 3rem auto 0 auto;
  padding: 3.5rem 1.5rem 3rem 1.5rem;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

#timeline h2 {
  color: #1e293b;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
}

/* Timeline vertical line */
.timeline {
  position: relative;
  margin: 0;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
  border-radius: 2px;
  z-index: 0;
  opacity: 0.8;
}

/* Timeline item */
.timeline-item {
  position: relative;
  margin-bottom: 2.7rem;
  padding-left: 70px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: timelineFadeIn 0.8s cubic-bezier(.4,0,.2,1) forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }
.timeline-item:nth-child(5) { animation-delay: 0.9s; }

@keyframes timelineFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Timeline dot/icon */
.timeline-dot {
  position: absolute;
  left: 16px;
  top: 0.2rem;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #38bdf822;
  font-size: 1.25rem;
  color: #fff;
  z-index: 2;
  border: 3px solid #fff;
  transition: box-shadow 0.22s, transform 0.18s;
}

.timeline-item:hover .timeline-dot {
  box-shadow: 0 6px 18px #38bdf888, 0 0 0 4px #a78bfa33;
  transform: scale(1.10);
}

/* Timeline text card */
.timeline-text {
  margin-left: 0.2rem;
  padding: 1.1rem 1.3rem;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(56,189,248,0.10);
  min-width: 200px;
  max-width: 100%;
  border: 1.5px solid rgba(56,189,248,0.10);
}

.timeline-year {
  display: inline-block;
  font-weight: 700;
  color: #2563eb;
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
  margin-right: 1rem;
  letter-spacing: 0.04em;
}

.timeline-text p {
  color: #334155;
  font-size: 1.04rem;
  margin-bottom: 0;
  margin-top: 0.2rem;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #timeline {
    padding: 2rem 0.7rem 2rem 0.7rem;
    border-radius: 1rem;
    max-width: 98vw;
  }
  #timeline h2 {
    font-size: 1.4rem;
  }
  .timeline-text {
    padding: 0.9rem 1rem;
    font-size: 0.97rem;
  }
  .timeline-dot {
    width: 24px;
    height: 24px;
    font-size: 1rem;
    left: 8px;
  }
  .timeline-item {
    padding-left: 52px;
  }
}

@media (max-width: 600px) {
  #timeline {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 1rem;
  }
  #timeline h2 {
    font-size: 1.1rem;
  }
  .timeline::before {
    left: 16px;
    width: 2.5px;
  }
  .timeline-dot {
    width: 18px;
    height: 18px;
    font-size: 0.8rem;
    left: 2px;
  }
  .timeline-item {
    padding-left: 32px;
    margin-bottom: 1.5rem;
  }
  .timeline-text {
    padding: 0.7rem 0.7rem;
    font-size: 0.93rem;
    border-radius: 0.8rem;
  }
  .timeline-year {
    font-size: 0.98rem;
    margin-right: 0.6rem;
  }
}


/* Download button */

/* Base Download Button */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  box-shadow: none;
  text-decoration: none !important;
}

/* Primary Gradient Button */
.download-btn.primary {
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  color: #fff;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.7);
}

.download-btn.primary:hover {
  background: linear-gradient(90deg, #6610f2, #0d6efd);
  box-shadow: 0 8px 24px rgba(102, 16, 242, 0.85);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}

/* Outline Secondary Button */
.download-btn.outline {
  background-color: transparent;
  border: 2px solid #6c757d;
  color: #6c757d;
}

.download-btn.outline:hover {
  background: #f1f3f5;
  border-color: #343a40;
  color: #343a40;
  transform: translateY(-2px) scale(1.03);
}

/* Icon sizing */
.download-btn i {
  font-size: 1.2rem;
}

/* Achievement page footer spacing */
#footer {
  margin-top: 4rem;
  padding: 2rem 1rem;
  background: #faf8f8;
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

/* Responsive general padding for main container */
@media (max-width: 576px) {
  .clean-section {
    padding: 3rem 1rem;
  }
}

/* Additional utility classes */
.text-primary {
  color: #0d6efd !important;
}

.text-muted {
  color: #6c757d !important;
}

/* Achievement Page End */

/* ==== Next-Level Modern Event Gallery Grid ==== */

.event-section {
  background: #f3f7fa;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(56,189,248,0.08), 0 1.5px 4px rgba(30,41,59,0.04);
  margin: 3rem auto 0 auto;
  padding: 3.5rem 1.5rem 3rem 1.5rem;
  max-width: 1400px;
  position: relative;
  z-index: 1;
}

.event-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  color: #1e293b;
  font-weight: 800;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.7rem;
  text-shadow: 0 2px 8px rgba(30,41,59,0.06);
  letter-spacing: 0.5px;
}

.section-desc {
  color: #64748b;
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 2.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Complex Asymmetric Grid --- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 180px);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.event-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(56,189,248,0.09);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  background: #e0e7ff;
  border: 2px solid rgba(56,189,248,0.10);
  display: block;
}

/* --- Custom Placement for the First 12 Images --- */
.event-grid img:nth-child(1)  { grid-column: 1 / span 3; grid-row: 1 / span 2; } /* Big vertical */
.event-grid img:nth-child(2)  { grid-column: 4 / span 2; grid-row: 1 / span 1; }
.event-grid img:nth-child(3)  { grid-column: 6 / span 1; grid-row: 1 / span 1; }
.event-grid img:nth-child(4)  { grid-column: 7 / span 2; grid-row: 1 / span 2; } /* Big vertical */
.event-grid img:nth-child(5)  { grid-column: 4 / span 2; grid-row: 2 / span 1; }
.event-grid img:nth-child(6)  { grid-column: 6 / span 1; grid-row: 2 / span 1; }
.event-grid img:nth-child(7)  { grid-column: 1 / span 4; grid-row: 3 / span 2; } /* Big horizontal */
.event-grid img:nth-child(8)  { grid-column: 5 / span 1; grid-row: 3 / span 1; }
.event-grid img:nth-child(9)  { grid-column: 6 / span 3; grid-row: 3 / span 2; } /* Big vertical */
.event-grid img:nth-child(10) { grid-column: 5 / span 1; grid-row: 4 / span 1; }
.event-grid img:nth-child(11) { grid-column: 1 / span 2; grid-row: 5 / span 1; }
.event-grid img:nth-child(12) { grid-column: 3 / span 6; grid-row: 5 / span 1; }

/* --- Responsive: Tablet --- */
@media (max-width: 1100px) {
  .event-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(8, 120px);
  }
  .event-grid img:nth-child(1)  { grid-column: 1 / span 4; grid-row: 1 / span 2; }
  .event-grid img:nth-child(2)  { grid-column: 1 / span 2; grid-row: 3 / span 1; }
  .event-grid img:nth-child(3)  { grid-column: 3 / span 2; grid-row: 3 / span 1; }
  .event-grid img:nth-child(4)  { grid-column: 1 / span 2; grid-row: 4 / span 2; }
  .event-grid img:nth-child(5)  { grid-column: 3 / span 2; grid-row: 4 / span 1; }
  .event-grid img:nth-child(6)  { grid-column: 3 / span 2; grid-row: 5 / span 1; }
  .event-grid img:nth-child(7)  { grid-column: 1 / span 4; grid-row: 6 / span 2; }
  .event-grid img:nth-child(8)  { grid-column: 1 / span 2; grid-row: 8 / span 1; }
  .event-grid img:nth-child(9)  { grid-column: 3 / span 2; grid-row: 8 / span 1; }
  .event-grid img:nth-child(10) { grid-column: 1 / span 2; grid-row: 9 / span 1; }
  .event-grid img:nth-child(11) { grid-column: 3 / span 2; grid-row: 9 / span 1; }
  .event-grid img:nth-child(12) { grid-column: 1 / span 4; grid-row: 10 / span 1; }
}

/* --- Responsive: Mobile --- */
@media (max-width: 700px) {
  .event-section { padding: 1.2rem 0.5rem 1.2rem 0.5rem; border-radius: 1rem; }
  .event-container { max-width: 99vw; }
  .section-title { font-size: 1.15rem; }
  .section-desc { font-size: 0.97rem; }
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    gap: 0.7rem;
  }
  .event-grid img {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* --- Hover Effects --- */
.event-grid img:hover,
.event-grid img:focus {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 8px 32px rgba(56,189,248,0.16);
  z-index: 2;
}

/* --- Video Section --- */
.video-label {
  color: #2563eb;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 2.5rem 0 1.2rem 0;
  text-align: center;
  letter-spacing: 0.02em;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(56,189,248,0.09);
  border: 2px solid rgba(56,189,248,0.10);
  background: #e0e7ff;
}

/* --- Modal Styles --- */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 40px;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  overflow: auto;
  background: rgba(30,41,59,0.85);
  transition: background 0.2s;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(56,189,248,0.13);
  animation: fadeInScale 0.35s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92);}
  to { opacity: 1; transform: scale(1);}
}

.modal.show { display: block; }


/* ==== Contact Section ==== */

.contact_section {
  background: linear-gradient(135deg, #f3f7fa 70%, #e0e7ff 100%);
  border-radius: 2rem;
  box-shadow: 0 8px 40px rgba(33,150,243,0.13), 0 2px 8px rgba(21,101,192,0.06);
  margin: 3rem auto 0 auto;
  padding: 4rem 2rem 3.5rem 2rem;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Floating geometric accent */
.contact_section::before {
  content: "";
  position: absolute;
  top: -60px; left: -60px;
  width: 200px; height: 200px;
  /* background: radial-gradient(circle at 70% 30%, #2196f3 0%, #1565c0 80%, transparent 100%); */
  opacity: 0.14;
  border-radius: 50%;
  z-index: 0;
  animation: floatAccent 7s ease-in-out infinite alternate;
}
@keyframes floatAccent {
  0% { transform: translateY(0) scale(1);}
  100% { transform: translateY(40px) scale(1.08);}
}

.wrapper_container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section_title {
  color: #1e293b;
  font-weight: 900;
  font-size: 2.3rem;
  letter-spacing: 0.7px;
  margin-bottom: 2.5rem;
  text-shadow: 0 4px 20px rgba(56,189,248,0.10);
  background: linear-gradient(90deg, #2196f3 10%, #1565c0 90%);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  background-clip: text;
}

.contact_info {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2.2rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}

@media (max-width: 991.98px) {
  .contact_info {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 700px) {
  .contact_info {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

/* Modern Glassmorphism Card */
.contact_card {
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-radius: 1.3rem;
  box-shadow: 0 4px 28px rgba(33,150,243,0.10);
  border: 1.5px solid rgba(33,150,243,0.13);
  transition: transform 0.18s, box-shadow 0.18s, border 0.18s;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.contact_card:hover,
.contact_card:focus-within {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 48px rgba(33,150,243,0.16);
  border: 1.5px solid #2196f3;
}

/* Icon with geometric accent */
.contact_card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.2rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #2196f3 60%, #1565c0 100%);
  box-shadow: 0 2px 10px rgba(33,150,243,0.16);
  color: #fff !important;
  font-size: 2rem;
  animation: floatIcon 3s ease-in-out infinite alternate;
}
@keyframes floatIcon {
  0% { transform: translateY(0);}
  100% { transform: translateY(-8px);}
}

.contact_card h5 {
  font-weight: 800;
  color: #1565c0;
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

.contact_card p,
.contact_card a:not(.btn) {
  color: #334155;
  font-size: 1.07rem;
  margin-bottom: 0.2rem;
  word-break: break-all;
  font-weight: 500;
  transition: color 0.18s;
}

.contact_card a:not(.btn):hover,
.contact_card a:not(.btn):focus {
  color: #2196f3;
  text-decoration: underline;
}

.contact_card a.btn-outline-primary {
  margin-top: 0.6rem;
  border-radius: 2em;
  padding: 0.55em 1.5em;
  font-size: 1.03rem;
  font-weight: 700;
  background: none;
  color: #1565c0;
  border: 2px solid #2196f3;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
  letter-spacing: 0.02em;
}

.contact_card a.btn-outline-primary:hover,
.contact_card a.btn-outline-primary:focus {
  background: #1565c0;
  color: #fff;
  box-shadow: 0 6px 18px rgba(21,101,192,0.12);
  text-decoration: none;
}

/* Map Section */
.contact_map_section {
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.map_section_title {
  color: #1e293b;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(30,41,59,0.04);
}

.map_container {
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(56,189,248,0.09);
  overflow: hidden;
  margin: 0 auto;
  max-width: 900px;
}

.map_container iframe {
  width: 100%;
  height: 450px;
  min-height: 260px;
  border: none;
  display: block;
  filter: grayscale(0.1) brightness(0.98);
  transition: filter 0.2s;
}
.map_container iframe:hover {
  filter: grayscale(0) brightness(1);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .contact_section {
    padding: 2rem 0.7rem 2rem 0.7rem;
    border-radius: 1rem;
    max-width: 98vw;
  }
  .wrapper_container {
    max-width: 98vw;
  }
  .section_title {
    font-size: 1.4rem;
  }
  .contact_card {
    min-height: 180px;
    padding: 1.5rem 0.7rem;
  }
  .map_container iframe {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .contact_section {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 0.8rem;
    max-width: 99vw;
  }
  .section_title {
    font-size: 1.07rem;
  }
  .contact_card {
    min-height: 140px;
    padding: 1rem 0.3rem;
  }
  .map_section_title {
    font-size: 1.07rem;
  }
  .map_container {
    border-radius: 0.8rem;
    max-width: 99vw;
  }
  .map_container iframe {
    height: 180px;
    min-height: 120px;
  }
}
