/* Ensure all global overflow settings are applied */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit; /* optional: keeps text same color as surrounding text */
}

.navbar {
  position: relative;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 768px) {
  body,
  p,
  a,
  span,
  li,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 90%;
  }

  h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 26px !important;
  }

  h3 {
    font-size: 22px !important;
  }

  h4 {
    font-size: 18px !important;
  }

  p,
  a,
  span,
  li {
    font-size: 15px !important;
  }
}


/* Mobile styles */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    padding: 1rem 0;
    z-index: 1000;
  }

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

  .hamburger {
    display: block;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }
}


/* Hide scrollbar for all browsers */
body::-webkit-scrollbar {
  display: none;
}
body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.gradient{
    background: linear-gradient(to right,#D32F2F, #F57C00, #FBC02D, #388E3C,#039BE5, #5E35B1, #9C27B0);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
    to{
        background-position: 200%;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Carme", sans-serif;
}

:root {
    --purple:#7B337E;
    --purple-dark:#420D4B;
    --blue:#6667AB;
    --blue-dark:#210635;
    --light:#F5D5E0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container1 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Free Trial Banner Styles */
.free-trial-banner {
    background-color: var(--purple);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: relative;
}

.trial-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.trial-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.trial-link:hover {
    color: #f0f0f0;
}

.close-trial {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
    padding: 0 5px;
}

.close-trial:hover {
    transform: scale(1.2);
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--blue-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
}

.top-bar .container1 {
    display: flex;
    justify-content: flex-end;
    margin-left: 120px;
}




.top-links {
    display: flex;
    align-items: center;
    gap: 50px;
}

.location, .whatsapp {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    left: -90%;
}

.location::after, .whatsapp::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--purple);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.location:hover::after, .whatsapp:hover::after {
    width: 100%;
}

.location i, .whatsapp i {
    color: var(--light);
    transition: transform 0.3s ease;
}

.location:hover i, .whatsapp:hover i {
    transform: scale(1.2);
}

.social-icons {
    display: flex;
    gap: 12px;
    padding-right: 10px;
    
}

.social-icons a {
    color: var(--light);
    background-color: #444;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background-color: var(--purple);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-icons a:hover::before {
    width: 100%;
    height: 100%;
}

.social-icons a i {
    position: relative;
    z-index: 1;
}

.social-icons a:hover {
    color: #fff;
}

/* Navigation Bar Styles */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

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

.nav-links .btn{
    padding-left: 4px;
    padding-right: 4px;
    margin-right: 30px;
}

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

.nav-links li a {
    color: var(--blue-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    right: 0%;
    padding: 5px;
}

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







/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    list-style: none;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: var(--light);
    color: var(--purple-dark);
    padding-left: 25px;
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 80vh;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 1s ease;
    transform: scale(1);
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
}

.slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.slide-content {
    position: relative;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: var(--light);
    color: var(--blue-dark);
    padding: 12px 30px;
    border: 1.5px solid black;
    border-radius: 999px; /* Rounded pill shape */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    font-size: 15px;
}

.btn::before {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    z-index: 1;
}

.btn:hover {
    color: var(--light);
    background-color: var(--purple-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
 /* Allows iframe clicks to pass through */
}
.kbtn{
  position: absolute;
  display: flex;
  z-index: 10;
  
}

.slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  z-index: 10; /* allow interaction to pass through except for buttons */
}

.slidr-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
 /* Allows iframe clicks to pass through */
}

.slidr-controls {
  position: relative;
  margin-top: 100px;
  left: 0;
  right: 0;
  height: 0;
  z-index: 10; /* allow interaction to pass through except for buttons */
}

.slidr-controls {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.slidr-dots {
  display: flex;
  gap: 10px;
  margin-top: 0px;
  
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(123, 51, 126, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
  background-color: var(--purple);
  transform: scale(1.2);
}

.styy{
  font-family: "Luxurious Script", cursive;
  font-weight: 400;
  font-style: normal;
  
}

.headingsty{
    font-family: "Luxurious Script", cursive;
  font-weight: 200;
  font-size: 60px;
  font-style: normal;

}



.prev-slide,
.next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  color: #fff;
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0.4);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.prev-slide {
  left: 50px;
}

.next-slide {
  right: 50px;
}

.prev-slide:hover,
.next-slide:hover {
  background-color: rgba(0, 0, 0, 0.6);
}


.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: all 0.5s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .hamburger {
        display: block;
        margin-right: 30px;
    }

    .top-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .slide-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .free-trial-banner {
        padding: 8px 0;
    }
    
    .trial-content {
        flex-direction: column;
        gap: 5px;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }

    .btn {
        padding: 10px 20px;
    }
    
    .logo img {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .top-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .social-icons {
        margin-top: 5px;
    }
}

/* Yoga School Section Styles */
.yoga-school {
    padding: 100px;

}

.school-header {
    text-align: center;
    margin-bottom: 50px;
}

.school-header h2 {
    color: var(--blue-dark);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.school-header h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: transparent;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.rating span:first-child {
    font-size: 24px;
    font-weight: 700;
    color: var(--purple-dark);
}

.stars {
    color: var(--purple);
}

.rating span:last-child {
    font-size: 18px;
    color: var(--blue-dark);
    font-weight: 500;
}

.school-intro {
    text-align: center;
    margin-bottom: 40px;
}

.school-intro h3 {
    color: var(--purple-dark);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    background-color: var(--light);
    color: var(--purple-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
}

.highlight {
    color: var(--purple);
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
}

.school-details {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.school-text {
    flex: 1;
}

.school-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.school-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(123, 51, 126, 0.2);
}

.feature-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.feature-item h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(66, 13, 75, 0.8), transparent);
    color: white;
    padding: 15px;
    margin: 0;
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .school-details {
        flex-direction: column;
    }
    
    .school-features {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .school-header h2 {
        font-size: 28px;
    }
    
    .school-intro h3 {
        font-size: 24px;
    }
    
    .feature-item img {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .school-features {
        grid-template-columns: 1fr;
    }
    
    .badges {
        flex-direction: column;
        align-items: center;
    }
    
    .school-header h2 {
        font-size: 24px;
    }
}

/* TTC Objectives Section Styles */
.ttc-objectives {
    padding: 100px;
    background-color: var(--light);
    background-image: url("images/circle.svg"); /* or .png, .webp, etc. */
    background-size: cover;       /* Ensures the image covers the entire section */
    background-position: center;  /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
}

.contain {
  padding: clamp(40px, 8vw, 100px); /* scales padding between 40px and 100px */
  background-color: var(--light);
  background-image: url("images/circle.svg");
  background-size: 100% 100%;       /* Stretch to container size */
  background-position: center;
  background-repeat: no-repeat;
}






.center-ornament {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;              /* adjust size as needed */
  height: 600px;
  transform: translate(-50%, -50%);
  z-index: 0;                /* behind content */
  pointer-events: none;      /* so it doesn't block clicks */
  opacity: 0.1;              /* subtle background effect */
  animation: spin 40s linear infinite;
}

.side-ornament {

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 800px; /* Adjust to suit design */
  height: 800px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 2;
}



.side-left {
  left: 0;
}

.side-right {
  right: 0;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}



.custom-section {
  position: relative;
  overflow: hidden;
  background-color: var(--light);
}

.corner {
  position: absolute;
  opacity: 40%;
  width: 250px;
  height: 250px;
  z-index: 2;
  pointer-events: none;
}

.top-left { top: 0; left: 0; }
.top-right { top: 0; right: 0; }
.bottom-left { bottom: 0; left: 0; }
.bottom-right { bottom: 0; right: 0; }

/* Section Content on top of corners */
.section-content {
  position: relative;
  z-index: 2;
}


.ttc-objectives .section-header h2 {
    color: var(--blue-dark);
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.ttc-objectives .section-header h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--light);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.objective-content {
    display: flex;
    gap: 40px;
}

.objective-text {
    flex: 1;
}

.objective-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.mantra-box {
    background-color: var(--light);
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--purple);
}

.mantra-box p {
    color: var(--purple-dark);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}


.ttc-cards {
  z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ttc-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ttc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(123, 51, 126, 0.2);
}

.ttc-image {
    position: relative;
}

.ttc-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.location-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--blue-dark);
}

.location-tag i {
    color: var(--purple);
}

.ttc-details {
    z-index: 1001;
    padding: 25px;
}

.ttc-details h3 {
    color: var(--purple-dark);
    font-size: 22px;
    margin-bottom: 15px;
}

.ttc-details p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .objective-content {
        flex-direction: column;
    }
    
    .ttc-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .ttc-card {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .ttc-objectives .section-header h2 {
        font-size: 28px;
    }
    
    .ttc-card {
        flex: 1 1 100%;
    }
    
    .ttc-image img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .ttc-objectives .section-header h2 {
        font-size: 24px;
    }
    
    .mantra-box {
        padding: 15px;
    }
}

/* Modern Facilities Section */
.modern-facilities {
    padding: 100px;
    background-color: #fff;
}

.modern-facilities .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.modern-facilities .section-header h2 {
    color: var(--blue-dark);
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.modern-facilities .section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: transparent;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.modern-facilities .section-header p {
    color: var(--purple);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.facility-item {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.facility-item.reversed {
  flex-direction: row-reverse;
}

.facility-image-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.facility-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(66, 13, 75, 0.1);
  min-height: 270px;
}

.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
  border-radius: 10px;
}

.facility-item:hover .facility-image img {
  transform: scale(1.03);
}

.check-course-btn {
  margin-top: 20px;
  padding: 12px 28px;
  background-color: var(--purple);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  display: inline-block;
}

.check-course-btn:hover {
  background-color: #762a7d;
  transform: scale(1.05);
}

.facility-text {
  flex: 1;
}

.facility-text h3 {
  color: var(--purple-dark);
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.facility-text h3::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--light);
  bottom: 0;
  left: 0;
}

.facility-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 16px;
}

.facility-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facility-features li {
  color: var(--blue-dark);
  margin-bottom: 12px;
  font-size: 16px;
  position: relative;
  padding-left: 30px;
}

.facility-features i {
  color: var(--purple);
  position: absolute;
  left: 0;
  top: 3px;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .facility-item,
    .facility-item.reversed {
        flex-direction: column;
        gap: 30px;
    }
    
    .facility-image {
        min-height: 300px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .modern-facilities .section-header h2 {
        font-size: 28px;
    }
    
    .facility-text h3 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .modern-facilities {
        padding: 70px 0;
    }
    
    .modern-facilities .section-header h2 {
        font-size: 24px;
    }
    
    .facility-text h3 {
        font-size: 22px;
    }
    
    .facility-image {
        min-height: 250px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px;
    position: relative;
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials .section-header h2 {
    color: var(--blue-dark);
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
}

.testimonials .section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--light);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding-bottom: 25px;
}

.divider-line {
    width: 80px;
    height: 2px;
    background-color: var(--purple);
}

.divider i {
    color: var(--purple);
    font-size: 20px;
}

.testimonial-slider {
    position: relative;
    min-height: 300px;
    margin-bottom: 0px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    top: 0;
    left: 0;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-content {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    display: flex;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(123, 51, 126, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.student-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--purple);
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    flex: 1;
}

.student-info {
    margin-bottom: 20px;
}

.student-info h3 {
    color: var(--purple-dark);
    font-size: 22px;
    margin-bottom: 5px;
}

.stars {
    color: var(--purple);
    font-size: 14px;
    margin-bottom: 0px;
}

.review-text {
    color: #555;
    line-height: 1.9;
    font-size: 19px;
    font-style: italic;
    margin-bottom: 15px;
}

.read-more {
    color: var(--purple);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

.slider-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 13%;
}


.google-reviews-wrapper {
  display: flex;
  justify-content: center;  /* Center horizontally */
  align-items: center;
  width: 100%;              /* Ensure full width */
  margin: 30px 0;           /* Add spacing if needed */
}

.google-reviews-btn {
  background-color: var(--purple);
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.google-reviews-btn:hover {
  background-color: #5e2a84;
  transform: translateY(-2px);
}


.google-reviews-btn:hover {
    background-color: var(--purple-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 51, 126, 0.3);
}

@media (max-width: 768px) {
    .testimonial-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px;
    }

    .student-info {
        align-items: center;
    }

    .testimonials .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .testimonials {
        padding: 70px 0;
    }

    .testimonials .section-header h2 {
        font-size: 24px;
    }

    .testimonial-content {
        padding: 25px;
    }

    .student-image {
        width: 100px;
        height: 100px;
    }
}

.yoga-teachers {
  z-index: 2;
  padding: 100px;
  text-align: center;
}

.yoga-teachers .side-ornament{
  display: none;
}

.yoga-teachers .section-title {
  color: var(--purple-dark);
  margin-bottom: 20px;
  position: relative;
}

.teachers-description {
  color: #555;
  max-width: 800px;
  margin: 0 auto 10px;
  line-height: 1.7;
  font-size: 16px;
}

.teachers-note {
  font-size: 16px;
  color: var(--blue-dark);
  margin-bottom: 40px;
}

.teachers-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.teacher-card {
  z-index: 1;
  width: 240px;
  background: #fff;
  border-radius: 100%;
  border: 0px solid var(--light);
  padding: 35px;
  box-shadow: 0 0 20px rgba(123, 51, 126, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(123, 51, 126, 0.2);
}

.teacher-card img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid var(--purple);
  object-fit: cover;
  margin-bottom: 15px;
}

.teacher-card h4 {
  font-size: 16px;
  color: var(--purple-dark);
  margin-bottom: 5px;
}

.teacher-card .name {
  font-weight: bold;
  color: var(--blue-dark);
}

.teacher-card .exp {
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .teachers-grid {
    gap: 20px;
  }

  .teacher-card {
    width: 80%;
    margin: 0 auto;
  }

  .yoga-teachers .section-title {
    font-size: 24px;
  }
}


.faq-section {
  padding: 100px 0;
  background-color: #fff;
  text-align: center;
  scale: 1;
}

.faq-section .section-title {
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  color: var(--purple-dark);
}

.faq-question i:first-child {
  margin-right: 10px;
  color: var(--purple);
}

.faq-answer {
  display: none;
  margin-top: 10px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item .toggle-icon {
  color: var(--purple);
  transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
}

.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.divider-line {
  width: 80px;
  height: 2px;
  background-color: var(--purple);
}


.visit-us-section {
  padding: 100px;
  background-color: #fff;
}

.visit-us-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
}

.visit-text {
  flex: 1;
  color: var(--blue-dark);
}

.visit-text h2 {
  color: var(--purple-dark);
  margin-bottom: 20px;
  position: relative;
}

.visit-text h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: transparent;
  bottom: -10px;
  left: 0;
}

.visit-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: var(--purple);
  min-width: 20px;
}

.visit-map {
  flex: 1;
  min-height: 350px;
  border-radius: 20px;
  overflow: hidden;
  border: solid 2px black;
  box-shadow: 0 10px 30px rgba(123, 51, 126, 0.5);
}

@media (max-width: 768px) {
  .visit-us-content {
    flex-direction: column;
    align-items: center; /* centers child items horizontally */
    text-align: center;   /* centers inline text inside children */
  }

  .visit-text {
    text-align: center;
    margin-bottom: 20px;
  }

  .visit-text h2 {
    font-size: 28px;
  }

  .visit-map {
    align-self: center;
    min-height: 200px;
    width: 100%;
    max-width: 500px;
  }
}



.site-footer {
  background-color: #1b1b1b;
  color: #fff;
  font-family: "Tinos", serif;
}

.footer-top {
  padding: 80px 0 40px;
  background-image: url('images/footer-bg.png'); /* Optional: subtle pattern */
  background-repeat: repeat;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-about {
  flex: 1 1 250px;
}

.footer-logo {
  width: 100px;
  margin-bottom: 15px;
}

.footer-about p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  flex: 1 1 180px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--light);
  position: relative;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 8px;
}

.footer-contact {
  flex: 1 1 220px;
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

.footer-bottom {
  background-color: #111;
  padding: 40px 0;
  text-align: center;
}

.footer-bottom h4 {
  color: var(--light);
  margin-bottom: 20px;
  font-size: 16px;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.keyword-tags span {
  background-color: #3a3a3a;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 13px;
  white-space: nowrap;
}

.footer-credit {
  font-size: 13px;
  color: #999;
}

.footer-credit .designer {
  color: #f97ca4;
  font-weight: bold;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    margin-top: 30px;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}


/*100hr styles*/
.hero-100hr {
  background: url("images/100hrbg.jpg") no-repeat center center;
  background-size: cover;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.24); /* dark overlay for contrast */
  padding: 40px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay h1 {
  font-size: 36px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.hero-benefits {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 30px;
  flex-wrap: wrap;
}

.hero-benefits .benefit {
  flex: 0.5;
  background-color: var(--purple);
  color: white;

  padding: 10px;
  text-align: center;
  border-radius: 5px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 10px;
}

.hero-benefits .benefit i {
  font-size: 20px;
}

.yttc-main {
  padding: 100px;
}

.section-heading {
  text-align: center;
  color: var(--purple-dark);
  font-size: 32px;
  margin-bottom: 40px;
}

.yttc-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.yttc-image {
  flex: 1;
  min-width: 300px;
}

.yttc-image img {
  width: 100%;
  border: 2px solid var(--purple);
  border-radius: 10px;
}

.yttc-text {
  flex: 1;
  min-width: 300px;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}

.yttc-followup {
  padding: 100px;
}

.yttc-followup h3 {
  color: var(--purple-dark);
  font-size: 24px;
  margin-bottom: 20px;
}

.yttc-followup p {
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 24px;
  }

  .hero-benefits {
    flex-direction: column;
    align-items: center;
  }

  .yttc-content {
    flex-direction: column;
  }

  .section-heading {
    font-size: 24px;
  }

  .yttc-followup h3 {
    font-size: 20px;
  }
}

.yttc-details {
  padding: 100px;
}

.yttc-details h2.section-title {
  font-size: 28px;
  color: var(--purple-dark);
  text-align: center;
  margin-bottom: 20px;
}

.yttc-details h3 {
  font-size: 22px;
  color: var(--purple);
  margin-top: 40px;
}

.yttc-details p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-top: 10px;
}

/* 🔄 YouTube Video Slider */
.video-slider {
  max-width: 720px;
  margin: 40px auto;
  position: relative;
}

.video-frame {
  display: none;
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.video-frame.active {
  display: block;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* 🧾 Certification Section */
.certification-section {
  margin-top: 50px;
}

.certification-section h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--purple-dark);
}

.certification-section p {
  font-size: 15px;
  color: #666;
  max-width: 700px;
  margin-left: 0;

  margin-bottom: 20px;
}

.cert-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cert-logos img {
  height: 60px;
  object-fit: contain;
}


.section {
  padding: 60px 20px;
  background-color: #fdf6f5;
}

.section-title {
  text-align: center;
  font-size: 28px;
  color: #4b1e60;
  margin-bottom: 30px;
}

.list-container {
  background: #fff7f9;
  border: 1px solid #f1c6da;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 4px 12px rgba(225, 160, 190, 0.15);
  margin-top: 15px;
  margin-bottom: 30px;
  position: relative; /* required for z-index to take effect */
  z-index: 1000 !important;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.two-col li {
  font-size: 16px;
  color: #4b1e60;
  font-weight: 500;
}

.rules-refund{
    padding: 100px;
    position: relative;
    z-index: 1;
}

.rules-refund .side-ornament{
  display: none;
}

.rules-list, .two-col {
  list-style: none;
  padding-left: 0;
}

.rules-list li,
.two-col li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #444;
}

.certification-block {
  padding: 100px;
  text-align: center;
  margin-top: 30px;
}

.certification-block img {
  max-width: 600px;
  width: 100%;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.practical-session{
    padding: 100px;
}

.session-box {
  margin-bottom: 40px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.why-vinyasa{
    padding: 100px;
}

.why-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;

}

.why-text {
  flex: 1;
  min-width: 300px;
}

.why-image {
  flex: 1;
  min-width: 300px;
  z-index: 1;
}

.why-image img {
  width: 100%;
  border: 2px solid #d18aaa;
  border-radius: 10px;
}

.timeline-section {
  padding: 100px;
  background-color: transparent;
  position: relative; /* Required for z-index to work */
  z-index: 1;
}

.timeline-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.course-benefits{
    padding: 100px;
}
.timeline-box {
  background-color: #fbeaec;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  flex: 1 1 300px;
  max-width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.timeline-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.benefit-box {
  margin-top: 40px;
}


.contact-us {
  padding: 100px 20px;
  position: relative;
  text-align: center;
}

.contact-us h2 {
  margin-bottom: 10px;
  color: var(--blue-dark);
}

.contact-us p {
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}

.flex-row input {
  flex: 1;
  min-width: 250px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: inherit;
  background-color: #fff;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.contact-form textarea {
  resize: vertical;
}

.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.thank-you-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.thank-you-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: popUp 0.3s ease-out;
  max-width: 90%;
}

.thank-you-content img {
  max-width: 150px;
  margin-bottom: 20px;
}

.thank-you-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

#close-thank-you {
  background: #444;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

@keyframes popUp {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.ig-embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;

  blockquote.instagram-media {
    max-width: 100%;
    margin: auto;
  }
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.posts-grid .post-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.posts-grid .post-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.posts-grid .post-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.posts-grid .post-card .overlay i {
  font-size: 2rem;
  color: white;
}

.posts-grid .post-card:hover {
  transform: scale(1.03);
}

.posts-grid .post-card:hover img {
  filter: blur(1px);
}

.posts-grid .post-card:hover .overlay {
  opacity: 1;
}


.community-showcase {
  padding: 80px 0;
  background: #f9f9f9;
  text-align: center;
}

.community-showcase h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.community-showcase .subtitle {
  font-size: 1rem;
  color: #777;
  margin-bottom: 40px;
}

.member-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}

.member-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.member-slider::-webkit-scrollbar {
  display: none;
}

.member-card {
  min-width: 180px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.member-card:hover {
  transform: translateY(-8px);
}

.member-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.member-card h4 {
  font-size: 1rem;
  color: #444;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #77c9d4, #57bc90);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: linear-gradient(135deg, #57bc90, #77c9d4);
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

@media (max-width: 768px) {
  .member-card {
    min-width: 140px;
    padding: 15px;
  }

  .member-card img {
    height: 140px;
  }

  .scroll-btn {
    font-size: 20px;
    padding: 8px 10px;
  }
}

/* Timeline Section Styles */
.timeline-section {
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 100px;
  margin-top: 50px;
  border: 1px solid #000;
  padding: 20px;
  overflow-x: hidden; /* Ensure no overflow */
}

.timeline-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  overflow-x: hidden; /* Prevent overflow from children */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.timeline-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
  width: 100%; /* Ensure title takes full width */
}

.timeline-box {
  width: 48%; /* Slightly less than 50% to account for borders and padding */
  border: 1px solid #000;
  padding: 5px;
  position: relative;
  box-sizing: border-box; /* Include padding and border in width calculation */
  overflow-x: hidden; /* Prevent overflow within box */
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #000;
  transform: translateX(-50%);
}

.timeline-entry {
  padding: 20px;
  position: relative;
  margin-bottom: 30px;
  overflow-x: hidden; /* Prevent overflow from content */
}

.timeline-dot {
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
  position: absolute;
  left: 48.5%;
  top: 100px;
  transform: translateX(-50%);
}

.timeline-dot1 {
  position: absolute;
  left: 48.5%;
  top: 130px; /* Adjusted based on content spacing */
  transform: translateX(-50%);
}

.timeline-dot2 {
  position: absolute;
  left: 48.5%;
  top: 124px; /* Adjusted based on content spacing */
  transform: translateX(-50%);
}

.timeline-dot3 {
  position: absolute;
  left: 48.5%;
  top: 115px; /* Adjusted based on content spacing */
  transform: translateX(-50%);
}

.timeline-content {
  margin-left: 10px;
  font-size: 12px;
  color: #000;
  padding: 5px 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-left: 2px solid #000;
  display: inline-block;
  box-sizing: border-box;
  max-width: 90%; /* Prevent text from overflowing */
}

.timeline-entry.right .timeline-content {
  border-left: none;
  border-right: 2px solid #000;
  margin-left: 0;
  margin-right: 10px;
  text-align: right;
  max-width: 90%; /* Prevent text from overflowing */
}

.timeline-image {
  width: 48%; /* Slightly less than 50% to account for borders and padding */
  padding: 10px;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent image overflow */
}

.timeline-image img {
  width: 100%;
  height: auto; /* Removed fixed height to prevent overflow */
  border-radius: 9%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  display: block;
}

.timeline-image:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .timeline-container {
    flex-direction: column;
    align-items: center;
  }
  .timeline-box, .timeline-image {
    width: 100%;
  }
  .timeline-line {
    left: 220px; /* Move line to left edge on mobile */
    transform: translateX(0);
    height: 520px;
  }
  .timeline-dot, .timeline-dot1, .timeline-dot2, .timeline-dot3 {
    left: 209px; /* Align dots with line */
    transform: translateX(0);
    display: none;
  }
  .timeline-entry.right .timeline-content {
    text-align: left;
    border-left: 2px solid #000;
    border-right: none;
    margin-left: 20px;
    margin-right: 0;
  }
}

/* === HORIZONTAL SCROLL FIXES === */
body, html {
  overflow-x: hidden;
}

.timeline-box,
.timeline-image,
.timeline-entry,
.timeline-content {
  max-width: 100%;
  overflow-x: hidden;
}

.timeline-image {
  position: relative !important;
  margin-left: auto;
  margin-right: auto;
}

.timeline-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 992px) {
  .timeline-image {
    max-width: 45%;
  }
}

.footer-icon {

  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

.list-icon {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Why Prghalba Section */
.why-prghalba{
  padding: 100px;
}
.why-prghalba .unique-offerings {
  margin-top: 40px;
  text-align: center;
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.offering-item {
  padding: 25px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.offering-item:hover {
  transform: translateY(-5px);
}

.offering-item img {
  width: 40px;
  margin-bottom: 15px;
}

/* Founder Section Styling */
.founder-section {
  padding: 100px;
}

.founder-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.founder-image {
  width: 100%;
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.founder-image img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-text {
  flex: 1;
}

.journey-highlights {
  margin: 25px 0;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.philosophy-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-5px);
}

.philosophy-item img {
  width: 40px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .founder-content {
    flex-direction: column;
  }
}

.teacher-card {
    position: relative;
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.specialization {
    font-size: 0.9rem;
    color: var(--purple);
    margin-top: 8px;
    font-style: italic;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }
}

