/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #861212;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;

  }
  html{
    overflow-x: hidden;
    scroll-behavior: smooth;  
  }
  h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #8176a1;
  }
  
  p {
    font-size: 16px;
    color: #555;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }
  
  section {
    background-image: linear-gradient(to right, #d9f1f1, #b5cbf2);
    border-radius: 64px;
    margin: 4rem auto;
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
  }
  @media (max-width: 576px) {
    section {
      padding: 40px 15px;
    }
  }
  
  /* Animation Keyframes */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Top Bar */
.top-bar {
  background-color: #8176a1;
  color: #f8f9fa;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  position: relative;
  height: 40px; /* adjust as needed */
}

.top-bar-slider {
  overflow: hidden;
  height: 100%;
  position: relative;
}

.top-bar-slide-track {
  display: flex;
  width: calc(200%); /* scroll 2x content width */
  animation: scroll-left 15s linear infinite;
}

.top-bar-slide {
  display: inline-block;
  padding: 0 50px;
  white-space: nowrap;
}

/* Keyframes for seamless scroll */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


    /* Top Bar end */




  .card {
    width: 88%;
    left: 1%; /* Remove if unnecessary */
    margin: 0 auto;
  } 
  
  /* Navbar */
  
  .navbar {
    padding: 20px 0;
    background: #fff;
  }
      /* .navbar-brand img {
    height: 70px;
    margin-top: -6%;
    margin-right: 20px;
  } */
.logo-img {
  height: 70px;
  transition: all 0.3s ease-in-out;
}

/* Desktop */
@media (min-width: 992px) {
  .logo-wrapper {
    position: absolute;
    top: 30px;
    left: 40px;
    margin-bottom: 0;
  }
}
.form-logo-img {
  height: 70px;
  max-width: 100%;
  object-fit: contain;
}


/* Mobile */
@media (max-width: 991.98px) {
  .logo-wrapper {
    text-align: center;
    margin-bottom: 20px;
  }
}

  
 /* Hero Section */
  .hero-section {
    background: linear-gradient(135deg, #ffe3ec, #f9f9f9);
    min-height: 600px;
    display: flex;
    align-items: center;
    animation: fadeInUp 1s ease forwards;
  }
  
  .hero-section h1 {
    font-size: 42px;
    margin-bottom: 20px;
  }
  
  .hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .hero-section .btn-primary {
    background-color: #8176a1;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 30px;
    transition: background 0.3s ease;
  }
  
  .hero-section .btn-primary:hover {
    background-color: #450d28;
  }
  @media (max-width: 768px) {
    .hero-section {
      background-position: center top;
      background-size: cover;
      height: auto;
      padding: 100px 20px 60px;
      text-align: center;
    }
  
    .hero-section h1 {
      font-size: 28px;
    }
  
    .hero-section p {
      font-size: 16px;
    }
  
    .hero-section .btn-primary {
      width: 100%;
      padding: 14px;
    }
  }

.form-section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.logo-wrapper {
  background-color: #e6d9f5; /* Light lilac or gray for contrast */
  padding: 10px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

/* Desktop View */
.form-logo-img {
  max-width: 100%;
  height: auto;
  margin-top: -70px;
}

/* Mobile View: Absolute overlay on top */
@media (max-width: 768px) {
  .form-logo-img {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 200px;
    z-index: 999;
  }

  .card {
    position: relative; /* Ensures absolute positioning is relative to this */
    padding-top: 80px; /* Add space for logo on top */
  }
}


  .left-overlay {
    position: absolute;
    top: 0;
    left: -130%; /* Initially hidden off-screen to the left */
    height: 100%;
    width: 98%;
    background: rgba(0, 0, 0, 0.5); /* dark semi-transparent */
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    z-index: 2;
    padding: 1rem;
    transition: left 0.3s ease; /* Slide in transition */
  }
  
  .col-lg-6:hover .left-overlay {
    left: 0; /* Slide to the left when hovered */
  }
  
  .left-overlay .overlay-content {
    animation: fadeInUp 1s ease;
  }
  
  @keyframes fadeInUp {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  
  .about-choose-us {
    background: #f9f6f8;
    border-radius: 100px;
    margin-top: 35px;
    margin-left: 1%;
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQwyrx9J38psizLbuq7RHYubf1h4T7uWq2ACg&s');
  }
  
  .about-choose-us h2 {
    color: #2d1e2f;
  }
  
  .about-choose-us ul li {
    font-size: 16px;
    color: #4c4c4c;
  }
  
  .about-choose-us .btn-primary {
    background-color: #8176a1;
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
  }
  
  .about-choose-us .btn-primary:hover {
    background-color: #645b7e;
  }
  
  /* about us section end */

  /* Contact Form Section */
  .contact-form-section {
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
  }
  
  .contact-form-section .card {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    animation: fadeInUp 1.2s ease forwards;
  }
  
  .contact-form-section input,
  .contact-form-section textarea {
    border-radius: 8px;
    height: 45px;
    transition: all 0.3s;
  }
  
  .contact-form-section input:focus,
  .contact-form-section textarea:focus {
    box-shadow: 0 0 8px rgba(99, 15, 55, 0.4);
  }
  
  .contact-form-section button {
    background-color: #8176a1;
    border: none;
    border-radius: 30px;
  }
  @media (max-width: 576px) {
    .contact-form-section input,
    .contact-form-section textarea {
      width: 100%;
      font-size: 14px;
    }
  }
  


  
  
  /* Achievements Section */
  .achievements-section {
    background-image: linear-gradient(to right, #b5cbf2 , #d9f1f1);
    border-radius: 64px;
    margin: 4rem auto;
    padding: 60px 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  
  .achievements-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #000000;
  }
  
  .achievements-section p {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 40px;
  }
  
  /*  Grid layout */
  .achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
  }
  
  /* Flip card styles */
  .flip-card {
    background: transparent;
    perspective: 1000px;
    width: 100%;
    max-width: 300px;
    height: 250px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  
  /* Front */
  .flip-card-front {
    background-color: #8176a1;
    color: #8176a1;
    border: 2px solid #b5cbf2 ;
  }
  
  /* Back */
  .flip-card-back {
    background-color: #6b4171;
    color: #ffffff;
    transform: rotateY(180deg);
  }
  
  .flip-card i {
    margin-bottom: 15px;
    color: #b830a1;
  }
  
  .flip-card h5 {
    font-size: 1.2rem;
    margin: 0;
    color: #ffffff;
  }
  
  .flip-card p {
    font-size: 1rem;
    line-height: 1.4;
    color: #ffffff ;
  }
  /* Icon hover bounce */
.flip-card i {
  margin-bottom: 15px;
  color: #ffffff;
  transition: transform 0.4s ease;
}

.flip-card:hover i {
  transform: translateY(-5px) scale(1.1);
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
  padding: 0 15px;
}

/* Force 2-column layout on screens below 768px */
@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Single column for very small screens */
@media (max-width: 480px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }
}

/*logo placement section start */


.placements-section {
  background: linear-gradient(to right, #b5cbf2, #d9f1f1);
  border-radius: 30px;
  padding: 40px 20px;
}
.tag {
  background: #8176a1;
  color: white;
  font-size: 30px;  
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 12px;
}
.content-left h2 {
  font-size: 28px;
  font-weight: bold;
}
 /* .logo-box { */
  /* background: white; */
  /* border-radius: 30px;
  box-shadow: 5px 10px 18px rgba(0, 0, 0, 0.08);
  padding: 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}  */
/* .logo-box img {
  max-height: 150px;
  max-width: 100px; */
  /* object-fit: contain; */
  /* height: 300px;
  width: 800%; 
  /* border-radius: 30px; */
/* } */ 

/* .logo-box1 { */
  /* background: white; */
  /* border-radius: 30px;
  box-shadow: 5px 10px 18px rgba(0, 0, 0, 0.08);
  padding: 20px; */
  /* height: 120px; */
  /* display: flex; */
  /* align-items: center;
  justify-content: center; */
/* } */
.logo-box1 img {
  max-height: 140px;
  max-width: 100%;
  object-fit: contain; 
  height: 200px;
  width: 500px;
  /* border-radius: 60px; */
  
 
}

    /* logo placement section end */

    /*  placement section start */
    .brand-hiring-section {
  background: linear-gradient(to right, #d9f1f1 , #b5cbf2);
  border-radius: 30px;
  padding: 40px 20px;
}

.brand-tag {
  background: #8176a1;
  color: white;
  font-size: 26px;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 12px;
}

.brand-content-left h2 {
  font-size: 28px;
  font-weight: bold;
}


.brand-logo-box img {

  border-radius: 20px;

  height: 200px;
  padding: 10px;
  width: auto;
  object-fit: contain;
  display: block;
}
/* Optional: Custom Swiper nav button styles */
.swiper-button-next,
.swiper-button-prev {
  color: #8176a1;
} 

      /*  placement section end */
  
  /* Why Choose Us Section */
  .why-choose-us-section .card {
    background: rgba(255, 245, 250, 0.8);
    border-radius: 20px;
    border: none;
    padding: 30px;
    transition: all 0.4s ease;
    animation: fadeInUp 2s ease forwards;
  }
  
  .why-choose-us-section .card:hover {
    background-color: #8176a1;
    color: #fff;
    transform: translateY(-8px);
  }
  

  
  /* FAQ Section */
  /* .faq-section .accordion-button {
    background-color: #fff;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
  }
  
  .faq-section .accordion-button:not(.collapsed) {
    background-color: #8176a1;
    color: #fff;
  }
  
  .faq-section .accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 12px;
  } */

  .faq-section {
    background: linear-gradient(to right, #b5cbf2 , #d9f1f1);
  margin-top: 2.5rem;
  }

  
  .faq-section h2 {
    font-size: 1.8rem;
    color: #000;
  }
  
  .faq-section p {
    font-size: 0.95rem;
    color: #ffffff;
  }
  
  .faq-accordion .accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  
  .faq-accordion .accordion-button {
    background: #fff;
    border: none;
    font-weight: 600;
    color: #000;
    padding: 1rem 1.25rem;
    transition: background-color 0.3s ease;
  }
  
  .faq-accordion .accordion-button:not(.collapsed) {
    background-color: #8176a1;
    color: #fff ;
    box-shadow: none;
  }
  
  .faq-accordion .accordion-body {
    background: #fff;
    padding: 1rem 1.25rem;
    color: #444;
    font-size: 0.95rem;
    border-top: 1px solid #ddd;
  }
  
  .faq-accordion .accordion-button:focus {
    box-shadow: none;
  }


   /* youtube testimonial */
   .container-xxxl {
    width: 100%;
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
    background: linear-gradient(135deg, #d9f1f1, #b5cbf2);
    margin-top: 2.5rem;
    border-radius: 40px;
  }
  
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 12px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

  /* footer */
 :root {
  --light-pink: #f8dce5;
  --soft-pink: #f6c1d2;
  --white: #ffffff;
  --text-color: #444;
}

.medical-footer {
  background: linear-gradient(135deg, #b5cbf2, #d9f1f1 );
  color: var(--text-color);
  border-top-left-radius: 72px;
  border-top-right-radius: 72px;
  animation: fadeInUp 1.2s ease;
  margin-top: 2.5rem;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
}

.footer-subtext {
  font-size: 1rem;
  opacity: 0.85;
  color: #000;
}

.social-icons .icon {
  display: inline-block;
  background: white;
  color: #8176a1;
  border-radius: 50%;
  padding: 12px;
  margin: 0 8px 8px 0;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icons .icon:hover {
  background: #8176a1;
  color: white;
  transform: translateY(-5px);
}

.footer-form-wrapper {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.footer-form-wrapper h5 {
  color: #8176a1;
  font-weight: 600;
}

.footer-form-wrapper .form-control {
  border-radius: 0.5rem;
  border: 1px solid #ddd;
  box-shadow: none;
}

.btn-pink {
  background-color: var(--soft-pink);
  color: white;
  border: none;
  border-radius: 0.5rem;
}

.btn-pink:hover {
  background-color: #e99fb9;
}
.footer-form-wrapper {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.footer-form-wrapper .form-control {
  border-radius: 0.5rem;
  border: 1px solid #ddd;
  box-shadow: none;
  padding: 10px 14px;
}

.footer-form-wrapper h5 {
  color: #8176a1;
  font-weight: 600;
}

.footer-map iframe {
  width: 100%;
  height: 220px;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-pink {
  background-color: var(--soft-pink);
  color: white;
  border: none;
  border-radius: 0.5rem;
}

.btn-pink:hover {
  background-color: #e99fb9;
}

  /* footer end */
  
  /* Animations */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .hero-section {
      text-align: center;
      min-height: 400px;
      padding: 80px 20px;
    }
    
    .contact-form-section .card,
    .programs-section .card,
    .achievements-section .card,
    .why-choose-us-section .card,
    .testimonials-section .card {
      margin-bottom: 30px;
    }
  }
   /* header image and form start */
  /* Hero Section */
.hero-section {
  position: relative;
  background: url('./assests/about-us/Banner.jpg') center center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* fallback if header overlaps */
    background-repeat: no-repeat;
  /* background-size: auto; */
  background-size: cover;
}

@media only screen and (max-width: 768px) {
  .hero-section {
    background-image: url('./assests/about-us/Banner-mobile.jpg');
  }
}


.hero-section .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-section {
    height: auto; /* Let it expand based on content */
    padding-top: 100px;
    padding-bottom: 50px;
    background-position: top center;
  }
}


.hero-section .container {
  position: relative;
  z-index: 2;
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section h3 {
    font-size: 1.2rem;
  }
  .counter {
    font-size: 2rem;
  }
}

/* Responsive Form */ 
@media (max-width: 576px) {
  .hero-section {
    height: auto;
    padding-bottom: 2rem;
  }
  .card {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .form-section {
    display: none !important;
  }

  .mobile-counter-wrapper {
    display: block !important;
    text-align: left;
    color: white;
    margin-top: 2rem;
  }
}

/* By default, hide mobile-counter-wrapper */
.mobile-counter-wrapper {
  display: none;
}

.counter-section {
  text-align: left;
  max-width: 600px; /* Optional: limit width */
  margin: 0 auto;   /* Optional: center the block itself */
  padding: 20px 0;
}

.counter-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.counter {
  color: #ffffff; /* Optional: highlight number */
  font-weight: bold;
}


    
   /* why chose section */
   .why-choose-modern .modern-grid {
    display: grid;
        grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .modern-card {
    background: #8176a1;
    color: #fff;
    border-radius: 30px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .modern-card:hover {
    transform: translateY(-8px);
  }
  
  .modern-number {
    position: absolute;
    top: -20px;
    left: -20px;
    background: #fff;
    color: #8176a1;
    font-size: 1.5rem;
    font-weight: bold;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }
  
  .modern-content h5 {
    margin-top: 1rem;
    font-size: 1.7rem;
  }
  
  .modern-content p {
    font-size: 1.1rem;
    color: #f8f9fa;
  }
  @media (max-width: 768px) {
    .why-choose-modern .modern-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .modern-card {
      padding: 1.5rem;
    }
  
    .modern-content h5 {
      font-size: 1rem;
    }
  
    .modern-content p {
      font-size: 0.9rem;
    }
  
    .modern-number {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
      top: -15px;
      left: -15px;
    }
  }
  

  /* testimonial start */


.testimonial-section {
  background: linear-gradient(to right, #d9f1f1 , #b5cbf2);
  background-size: cover;
  background-repeat: repeat;
  color: white;
  border-radius: 40px;
}

.section-title {
  color: #000;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}




 /* testimonial end */

  /* top us button start */
 #topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 30px;
  z-index: 1000;
  background-color: #8176a1; /* Bootstrap blue */
  color: white;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#topBtn:hover {
  background-color: #574f6d;
  transform: translateY(-3px);
}

 /* top us button end */

 /* floating icons */
.floating-icons {
  position: fixed;
  bottom: 20px;
  right: 20px; 
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000; /* Ensure it's on top of other elements */
}

.floating-icons a {
  width: 50px;
  height: 50px;
  background-color: #25d366; /* WhatsApp green */
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}


.floating-icons a:hover {
  transform: scale(1.1);
}

.floating-icons i {
  font-size: 24px;
}

/* courses section */
  .our-courses {
  background: linear-gradient(to right, #d9f1f1 , #b5cbf2 );
  padding: 50px 20px;
  text-align: center;
  color: white;
  border-radius: 2rem;
  margin-bottom: 30px;
}

.our-courses h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: bold;
      color: #000000;
}

.our-courses .highlight {
  color: #5a4b85;
}

.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.course-box {
  background-color: #5a4b85;
  border: 2px solid #d9f1f1;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

.course-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #504252;
}

.course-box img {
  width: 100%;
  height: 244px;
  object-fit: cover;
}

.course-box .content {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.course-box h3 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 800;
}

.course-box ul {
  text-align: left;
  margin-bottom: 15px;
  padding-left: 20px;
}

.course-box .read-more {
  display: inline-block;
  font-size: 17px;
  color: #8176a1;
  font-weight: bold;
      background-color: #fff;
    border-radius: 12px;
}

.mandala {
  position: absolute;
  width: 80px;
  height: 80px;
  background: url('mandala.png') no-repeat center center;
  background-size: contain;
  opacity: 0.1;
  bottom: 10px;
  right: 10px;
  animation: rotateMandala 20s linear infinite;
  z-index: 1;
}

@keyframes rotateMandala {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.read-more {
  display: inline-block;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: transparent;
  border: 1px solid #800080;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more:hover {
  background-color: #8176a1;
  color: #ffffff;
}
.btn-custom{
  color: #fff;
  background-color: #8176a1;
}

.btn-custom {
  color: #fff;
  /* background-color: #8a568f; */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-custom:hover {
  background-color: #8176a1; /* lighter shade for hover */
  transform: scale(1.05);    /* subtle zoom-in effect */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* shadow on hover */
}

/* gallery section start */

.gallery-section {
  background: linear-gradient(to right, #b5cbf2 , #d9f1f1);
  padding: 50px 20px;
  text-align: center;
  color: white;
  border-radius: 2rem;
  margin-bottom: 30px;
}

.gallery-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.gallery-slider-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: auto;
}

.gallery-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 16px;
}

.gallery-slide {
  flex: 0 0 33.33%; /* Default to 3 per row */
  max-width: 33.33%;
  cursor: pointer;
}

.gallery-slide img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s ease;
}

.gallery-slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive: 1 image per row on screens smaller than 768px */
@media screen and (max-width: 768px) {
  .gallery-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 28px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-btn:hover {
  background-color: #432d46; /* lighter shade for hover */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* shadow on hover */
}

/* Modal Styles */
.img-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease;
}

.img-modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  animation: zoomIn 0.5s ease;
}

.img-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes zoomIn {
  from {transform: scale(0.6);}
  to {transform: scale(1);}
}

/* Responsive Styles */
@media (max-width: 768px) {
  .gallery-slide {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .gallery-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .slider-btn {
    font-size: 24px;
    padding: 8px;
  }

  .img-modal-close {
    font-size: 30px;
    right: 20px;
  }
}


/* popup  section start */
    /* Popup background */
    .popup-form {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    /* Form container */
    .form-container {
      background: #fff;
      padding: 25px;
      border-radius: 10px;
      width: 320px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .form-container h2 {
      text-align: center;
      margin-bottom: 20px;
    }

    .form-container input,
    .form-container textarea {
      width: 100%;
      padding: 10px;
      margin: 8px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
      box-sizing: border-box;
    }

    .form-container button[type="submit"] {
      background-color: #8176a1;
      color: white;
      padding: 10px;
      width: 100%;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }

    .form-container button[type="submit"]:hover {
      background-color: #8176a1;
    }

  /* footer address section start */
         .contact-container {
    background: linear-gradient(135deg, #ffffff, #f3f3f3);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    max-width: 420px;
    transition: all 0.3s ease;
    color: #000;
    font-family: 'Segoe UI', sans-serif;
    text-decoration: none;
    margin: 40px 10px;
    text-align: left; /* Align text to the left */
  }

  .contact-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 16px;
    justify-content: flex-start;
  }

  .contact-item i {
    margin-right: 10px;
    font-size: 18px;
    color: #333;
    min-width: 20px;
    text-align: center;
  }

.branches-line {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  color: #444;
  margin-top: 10px;
}

.branches-line i {
  margin-right: 10px;
  font-size: 16px;
  color: #333;
  min-width: 20px;
  padding-top: 2px;
}

.branches-content {
  display: flex;
  flex-direction: column;
}

.branches-content strong {
  font-weight: 600;
  margin-bottom: 6px;
  color: #000;
}

.branches-list {
  line-height: 1.6;
  font-weight: 400;
  color: #555;
  max-width: 350px;
}


  a.no-underline {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  @media (max-width: 480px) {
    .contact-container {
      padding: 20px;
      max-width: 90%;
    }

    .contact-item, .branches-line {
      font-size: 14px;
    }
  }


    /* footer address section end */