/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 1.5rem;
}

.slider-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 2rem 4rem;
    color: white;
    max-width: 100%;
}
 /* Custom Scrollbar Styles for the Right Panel (optional but recommended for polish) */

/* Target the scrollbar in the specific right-hand container */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px; /* Width of the entire scrollbar */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #d1d5db; /* Light gray color for the handle */
    border-radius: 10px; /* Rounded corners */
    border: 2px solid transparent; /* Gives a slight padding effect */
}

.custom-scrollbar::-webkit-scrollbar-track {
    background-color: transparent; /* Makes the track invisible */
}

/* For Firefox (not as customizable, but sets color) */
.custom-scrollbar {
    scrollbar-color: #d1d5db transparent; /* thumb and track color */
    scrollbar-width: thin; /* auto or thin */
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* Navigation Dots */
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Active Dot Animation */
.active-dot {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slider-container {
        height: 450px;
    }
    
    .slide-content {
        padding: 1.5rem 3rem;
        max-width: 85%;
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 400px;
        margin: 0 1rem;
    }
    
    .slide-content {
        padding: 1rem 2rem;
        max-width: 90%;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 350px;
        margin: 0 0.5rem;
    }
    
    .slide-content {
        padding: 1rem;
        max-width: 95%;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* Smooth Transitions */
.slide-content * {
    animation: slideInFromLeft 0.8s ease-out forwards;
    opacity: 0;
}

.slide.active .slide-content * {
    opacity: 1;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger animation for content elements */
.slide.active .slide-content > *:nth-child(1) { animation-delay: 0.1s; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: 0.2s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: 0.3s; }

     @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-fadeInUp {
            animation: fadeInUp 0.6s ease-out forwards;
        }

        /* Mobile menu toggle */
        @media (max-width: 768px) {
            .mobile-menu {
                display: none;
            }
            .mobile-menu.active {
                display: block;
            }
        }

        /* Responsive typography */
        @media (max-width: 640px) {
            /* h1 {
                font-size: 18px !important;
                line-height: 1.2;
            } */
        }

/* About Program Section Styles */
.about-program-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
    font-family: 'Manrope', sans-serif;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.about-program-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

/* Text Content Styles */
.about-text-content {
    padding-right: 2rem;
    z-index: 2;
    position: relative;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #065f46;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 2px;
}

.section-description {
    space-y: 1.5rem;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    font-weight: 400;
}

.description-text:last-child {
    margin-bottom: 0;
}

.description-text strong {
    color: #065f46;
    font-weight: 600;
}

/* Image Content Styles */
.about-image-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 60px rgba(34, 197, 94, 0.2);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content-wrapper {
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .description-text {
        font-size: 1.05rem;
    }
    
    .image-wrapper {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .about-program-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
    }
    
    .about-text-content {
        padding-right: 0;
        order: 1;
    }
    
    .about-image-content {
        order: 2;
    }
    
    .section-title {
        font-size: 1.9rem;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .description-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .image-wrapper {
        height: 350px;
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .about-program-section {
        padding: 1.5rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .about-content-wrapper {
        gap: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }
    
    .description-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .image-wrapper {
        height: 300px;
    }
}

/* Animation for content loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-text-content {
    animation: fadeInUp 0.8s ease-out;
}

.about-image-content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Focus states for accessibility */
.image-wrapper:focus-within {
    outline: 2px solid #22c55e;
    outline-offset: 4px;
}

/* Print styles */
@media print {
    .about-program-section {
        background: white;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .image-wrapper {
        box-shadow: none;
        height: 300px;
    }
}


/* 3D Cards Container */
.cards-3d-wrapper {
  position: relative;
  width: 100vw; /* Full viewport width */
  max-width: none; /* Remove max-width constraint */
  height: 90vh;
  perspective: 1500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Expert 3D Card */
.expert-3d-card {
  position: absolute;
  width: 70vw;
  max-width: 700px;
  height: 400px;
  min-height: 400px;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  z-index: 1;
  border-radius: 20px;
}

/* Glass Card Content */
.glass-card-content {
  width: 100%;
  height: 100%;
  background: rgba(74, 155, 155, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 155, 155, 0.2);
  border-radius: 2rem;
  padding: 1.5rem; /* Reduced padding */
  box-shadow:
    0 25px 45px rgba(74, 155, 155, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.8s ease;
  transform-style: preserve-3d;
  padding: 10px !important;
}

/* Active Card (Center) */
.expert-3d-card.active {
   transform: translate(-50%, -50%) translateZ(0) scale(1);
    z-index: 10;
}

.expert-3d-card.active .glass-card-content {
    background: rgb(57 182 182 / 67%);
    border: 1px solid rgba(74, 155, 155, 0.3);
    box-shadow: 
        0 35px 65px rgba(74, 155, 155, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Left Card */
.expert-3d-card.left {
  transform: translate(-160%, -50%) translateZ(-250px) rotateY(35deg) scale(0.8);
  z-index: 5;
   opacity: 0.20;
  width: 60vw; /* Slightly smaller width for side cards */
}

/* Right Card */
.expert-3d-card.right {
  transform: translate(60%, -50%) translateZ(-250px) rotateY(-35deg) scale(0.8);
  z-index: 5;
  opacity: 0.20;
  width: 60vw; /* Slightly smaller width for side cards */
}

/* Far Left Card */
.expert-3d-card.far-left {
  transform: translate(-220%, -50%) translateZ(-500px) rotateY(50deg) scale(0.6);
  z-index: 2;
  opacity: 0.05;
  width: 55vw; /* Even smaller for far cards */
}

.expert-3d-card.far-far-left {
  transform: translate(30%, -50%) translateZ(-100px) rotateY(25deg) scale(0.3);
  z-index: 2;
  opacity: 0.05;
  width: 55vw; /* Even smaller for far cards */
}

/* Far Right Card */
.expert-3d-card.far-right {
  transform: translate(120%, -50%) translateZ(-500px) rotateY(-50deg) scale(0.6);
  z-index: 2;
  opacity: 0.05;
  width: 55vw; /* Even smaller for far cards */
}

/* Hidden Cards */
.expert-3d-card.hidden {
  transform: translate(-50%, -50%) translateZ(-800px) scale(0.3);
  opacity: 0.7;
 
  z-index: 0;
}

/* Navigation Arrows */
.nav-arrow-3d {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 155, 155, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(74, 155, 155, 0.3);
}

.nav-arrow-3d:hover {
    background: rgba(74, 155, 155, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(74, 155, 155, 0.4);
}

.prev-arrow-3d {
    left: 2rem;
}

.next-arrow-3d {
    right: 2rem;
}

/* Carousel 3D Dots */
.carousel-3d-dot {
    /* width: 16px;
    height: 16px; */
    /* border-radius: 50%;
    background: rgba(74, 155, 155, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 6px; */
}

.carousel-3d-dot.active {
    /* background: #4A9B9B; */
    transform: scale(1.4);
    border: 1px solid #4A9B9B;
    border-radius: 50%;
    /* box-shadow: 0 0 25px rgba(74, 155, 155, 0.6); */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
}

.carousel-3d-dot:hover:not(.active) {
    /* background: rgba(74, 155, 155, 0.6); */
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-3d-wrapper {
        height: 60vh;
        perspective: 800px;
    }
    
    .expert-3d-card {
        width: 90vw;
        height: 50vh;
        min-height: 400px;
    }
    
    .glass-card-content {
        padding: 1.5rem;
    }
    
    .nav-arrow-3d {
        width: 60px;
        height: 60px;
    }
    
    .prev-arrow-3d {
        left: 1rem;
    }
    
    .next-arrow-3d {
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .cards-3d-wrapper {
        height: 60vh;
        perspective: 600px;
    }
    
    .expert-3d-card {
        width: 95vw;
        height: 45vh;
        min-height: 350px;
    }
    
    .glass-card-content {
        padding: 1rem;
    }
    
    /* Simplified mobile positions */
    .expert-3d-card.left {
        transform: translate(-90%, -50%) translateZ(-100px) rotateY(15deg) scale(0.9);
        opacity: 0.6;
    }
    
    .expert-3d-card.right {
        transform: translate(-10%, -50%) translateZ(-100px) rotateY(-15deg) scale(0.9);
        opacity: 0.6;
    }
    
    .expert-3d-card.far-left,
    .expert-3d-card.far-right {
        opacity: 0;
        transform: translate(-50%, -50%) translateZ(-300px) scale(0.5);
    }
    
    .nav-arrow-3d {
        width: 50px;
        height: 50px;
    }
}

/* Glass Effect Enhancement */
@supports (backdrop-filter: blur(20px)) {
    .glass-card-content {
        backdrop-filter: blur(20px) saturate(150%);
    }
}

@supports not (backdrop-filter: blur(20px)) {
    .glass-card-content {
        background: rgba(74, 155, 155, 0.25);
    }
}

/* Hover Effects */
.expert-3d-card:hover .glass-card-content {
    transform: translateY(-8px);
    box-shadow: 
        0 40px 70px rgba(74, 155, 155, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.expert-3d-card.active:hover .glass-card-content {
    background: rgb(57 182 182 / 80%);
    border: 1px solid rgba(74, 155, 155, 0.4);
}
/* Remove all unnecessary margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.structured-learning-section {
  padding: 4rem 2rem;
  background-color: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0d1421;
  margin-bottom: 1.5rem;
}

/* Progress Bar */
.progress-bar-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.progress-segment {
  background-color: #E5E7EB;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0d1421;
}

/* Cards Container */
.cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.phase-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s;
}

.phase-card:hover {
  transform: translateY(-5px);
}

.phase-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4A9B9B;
  margin-bottom: 0.5rem;
}

.phase-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.phase-description {
  font-size: 1rem;
  color: #4A4B5C;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Feature Icons */
.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4A9B9B;
  border-radius: 50%;
  color: white;
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0d1421;
}

/* Responsive: Desktop 4-column layout */
@media screen and (min-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* --- Keyframe Animations --- */
@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spinIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* --- Core Variables (Green Palette) --- */
.learning-path {
    /* Primary Green Theme */
    --primary-green: #1B7F78; 
    --secondary-light-green: #E1F2E0; 

    /* Typography & Background */
    --text-dark: #2C3E50; 
    --text-light: #6c757d;
    --section-bg: #F7FDF7; 
    --card-bg: #FFFFFF;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius-lg: 12px;

    padding: 60px 20px;
    /* background-color: var(--section-bg); */
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
     font-family: 'Manrope', sans-serif;
}

/* --- Section and Header Styling --- */
.learning-path .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.learning-path .section-header h2 {
    font-size: 2.5em;
    font-weight: bolder;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-bottom: 15px; 
}

.learning-path .section-header .underline {
    height: 4px;
    width: 80px;
    background-color: var(--primary-green); 
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Cards Grid Layout --- */
.learning-path .cards {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Media Query for Desktop View (4-Columns) --- */
@media (min-width: 992px) { 
    .learning-path .cards {
        grid-template-columns: repeat(4, 1fr); 
    }
}

/* --- Individual Card Styling with Animation Hooks --- */
.learning-path .card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: 30px;
    /* Smooth Transition for hover effects */
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s; 
    display: flex;
    flex-direction: column;
    position: relative; 
    border-top: 5px solid var(--primary-green);

    /* Initial state for the animation */
    opacity: 0; 
    transform: translateY(30px);
}

/* Apply the slide-up/fade-in animation */
/* NOTE: In a real project, a JS class (e.g., '.animated') would be added
   to trigger this animation upon intersecting the viewport. */
.learning-path .card[data-animate] {
    animation: slideUpFadeIn 0.8s ease-out forwards;
}
/* Delay the animation for a staggered effect */
.learning-path .cards .card:nth-child(1) { animation-delay: 0.1s; }
.learning-path .cards .card:nth-child(2) { animation-delay: 0.3s; }
.learning-path .cards .card:nth-child(3) { animation-delay: 0.5s; }
.learning-path .cards .card:nth-child(4) { animation-delay: 0.7s; }


.learning-path .card::before {
    position: absolute;
    top: -15px; 
    left: 20px;
    background-color: var(--primary-green); 
    color: white;
    font-size: 0.9em; /* slightly smaller so text fits */
    font-weight: bold;
    padding: 5px 15px; /* pill shape */
    border-radius: 20px; /* instead of 50% for circle */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--section-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: spinIn 0.6s ease-out 0.8s forwards;
    opacity: 0;
    white-space: nowrap; /* keeps Phase 1 in one line */
}

.learning-path .cards .card:nth-child(1)::before { content: 'Phase 1'; }
.learning-path .cards .card:nth-child(2)::before { content: 'Phase 2'; }
.learning-path .cards .card:nth-child(3)::before { content: 'Phase 3'; }
.learning-path .cards .card:nth-child(4)::before { content: 'Phase 4'; }



/* --- Card Content Styling (No major change) --- */
.learning-path .card h3 {
    color: var(--text-dark);
    font-size: 1.5em;
    margin-top: 15px; 
    margin-bottom: 10px;
    font-weight: 700;
}

.learning-path .card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* --- Highlight Tag Styling (Key Feature Badge) --- */
.learning-path .card .highlight {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--secondary-light-green); 
    color: var(--primary-green); 
    font-weight: 600;
    font-size: 0.9em;
    border-radius: 20px;
    margin-top: auto; 
    align-self: flex-start;
    /* Slight scale on hover */
    transition: transform 0.2s ease;
}
.learning-path .card .highlight:hover {
    transform: scale(1.05);
}
.participants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.participant {
    aspect-ratio: 1;
    background: #E5E7EB;
    border-radius: 0.5rem;
}

.participant.active {
    background: rgba(74, 155, 155, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Location Marker */
.location-marker {
    width: 4rem;
    height: 4rem;
    background: #4A9B9B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.ratio-badge {
    background: rgba(74, 155, 155, 0.2);
    color: #4A9B9B;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .phase-panel {
        padding: 0 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .phase-number {
        margin: 0 auto 1rem;
    }
    
    .phase-title {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 32px !important;
    }
    
    .feature-card {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .phase-title {
        font-size: 1.5rem;
    }
    
    .phase-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}
/* Segmented Progress Bar Styles */
.progress-bar-wrapper {
    width: 80%;
    max-width: 600px;
    margin: 1.5rem auto 0;
    display: flex;
    justify-content: center;
}

.progress-segments {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
}

.progress-segment {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.segment-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4A9B9B, #6BB0B0);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 8px rgba(74, 155, 155, 0.6);
    position: relative;
}

.segment-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    border-radius: 0 2px 2px 0;
}

.progress-segment.active .segment-fill {
    background: linear-gradient(90deg, rgba(74, 155, 155, 0.9), #6BB0B0);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.progress-segment.completed .segment-fill {
    width: 100% !important;
    background: linear-gradient(90deg, rgba(74, 155, 155, 0.9), #6BB0B0);
    box-shadow: 0 0 8px rgba(74, 155, 155, 0.6);
}

/* Responsive Progress Bar */
@media (max-width: 768px) {
    .progress-segments {
        gap: 0.25rem;
        max-width: 300px;
    }
    
    .progress-segment {
        height: 3px;
    }
    
    .progress-bar-wrapper {
        width: 90%;
        margin: 1rem auto 0;
    }
}









/* Main Section */
.curriculum-timeline-section {
    font-family: 'Manrope', sans-serif;
    /* background: linear-gradient(135deg, #22C55E 0%, #16A34A 50%, #15803D 100%); */
    height: 80vh;
    padding: 2rem 0;
    color: white;
    overflow: hidden;
    padding-bottom: 52px !important;
}

.timeline-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.timeline-header {
    text-align: left;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.sparkle-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-title {
    font-size: 2.25rem;
    font-weight: bold;
    
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.timeline-subtitle {
    font-size: 1rem;
    
    font-weight: 500;
    margin-bottom: 0;
}

/* Main Content */
.timeline-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    flex: 1;
    min-height: 0;
    max-height: 80%;
    padding-bottom: 0px;
}

/* Left Content Panel */
.left-content-panel {
    background: rgba(255, 255, 255, 0.95);
    color: #1F2937;
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.phase-tag {
    background: rgba(34, 197, 94, 0.1);
    color: rgb(74, 155, 155);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.phase-tag-4 {
    background: rgba(251, 191, 36, 0.1);
    color: #D97706;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.module-content h4 {
  
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.module-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-content li {
    color: #374151;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.module-content li::before {
    content: "•";
    color: #16A34A;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Timeline Sidebar */
.timeline-sidebar {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.timeline-line {
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.modules-container {
    height: 100%;
    overflow-y: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    position: relative;
    z-index: 2;
    padding-top: 0px !important;
    padding-right: 20px !important;
}

/* Custom Scrollbar */
.modules-container::-webkit-scrollbar {
    width: 4px;
}

.modules-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.modules-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.modules-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Timeline Sidebar - Testimonial Style */
.timeline-sidebar {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 0.5rem;
    padding-bottom: 0px !important;
}

.modules-container {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 1rem 0.5rem;
    scroll-behavior: smooth;
    padding-right:20px !important
    
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.modules-container::-webkit-scrollbar {
   /* display: none;  Chrome, Safari and Opera */
}

/* Timeline Cards - Testimonial Style */
.timeline-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.25rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    /* min-height: 120px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(74, 155, 155), rgb(55, 211, 211));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.timeline-card:hover::before,
.timeline-card.active::before {
    transform: scaleX(1);
}

/* Card Number */
.card-number {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    background: rgb(74 155 155 / var(--tw-bg-opacity, 1));
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    z-index: 2;
}

.card-number.special {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Card Content */
.timeline-card h4 {
    color: #1F2937;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    padding-right: 1rem;
}

.timeline-card p {
    color: #6B7280;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

/* Active State */
.timeline-card.active {
    background: #4A9B9B;
    color: white;
    transform: translateX(0.5rem) scale(1.02);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    /* border-color: rgba(34, 197, 94, 0.5); */
      /* border-color: white; */
}
/* rgb(17 24 39 / var(--tw-bg-opacity, 1)) */


.timeline-card.active > h1{
color:white !important
}
.timeline-card.active h4,
.timeline-card.active p {
    color: white;
}

.timeline-card.active .card-number {
    background: white;
    color: rgb(74 155 155 / var(--tw-bg-opacity, 1));
}

/* Hover Effects */
.timeline-card:hover {
    transform: translateX(0.25rem) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    /* background: rgba(255, 255, 255, 1); */
}

.timeline-card.active:hover {
    transform: translateX(0.5rem) scale(1.02) translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

/* Training Card Special Styling */
.training-card {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(245, 158, 11, 0.95));
    color: white;
    border-color: rgba(251, 191, 36, 0.5);
}

.training-card h4,
.training-card p {
    color: white;
}

.training-card:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 1), rgba(245, 158, 11, 1));
    transform: translateX(0.25rem) translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.training-badge {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Active Indicator */
.active-indicator {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    width: 0.5rem;
    height: 0.5rem;
    background: white !important;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Scroll Snap */
.modules-container {
    scroll-snap-type: y proximity;
}

.timeline-card {
    scroll-snap-align: start;
}

/* Fade Effects for Top/Bottom */
.timeline-sidebar::before,
.timeline-sidebar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2rem;
    pointer-events: none;
    z-index: 10;
}

.timeline-sidebar::before {
    top: 0;
    /* background: linear-gradient(to bottom, #4A9B9B, transparent); */
}

.timeline-sidebar::after {
    bottom: 0;
    /* background: linear-gradient(to bottom, #4A9B9B, transparent); */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .timeline-card {
        min-height: 100px;
        padding: 1rem;
    }
    
    .timeline-card h4 {
        font-size: 0.875rem;
    }
    
    .timeline-card p {
        font-size: 0.75rem;
    }
    
    .card-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .timeline-sidebar {
        height: 250px;
        margin-bottom: 1rem;
    }
    
    .modules-container {
        padding: 0.5rem;
    }
    
    .timeline-card {
        min-height: 80px;
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .timeline-card h4 {
        font-size: 0.8rem;
    }
    
    .timeline-card p {
        font-size: 0.7rem;
    }
}

/* Smooth scrolling animation */
.modules-container {
    -webkit-overflow-scrolling: touch;
}

/* Custom styling for better visual hierarchy */
.timeline-card:nth-child(even) {
    /* margin-left: 0.25rem; */
}

.timeline-card:nth-child(odd) {
    /* margin-right: 0.25rem; */
}

/* Performance optimizations */
.timeline-card {
    will-change: transform;
    backface-visibility: hidden;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .timeline-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-sidebar {
        max-height: 300px;
    }
    
    .timeline-line {
        left: 1.5rem;
    }
    
    .module-dot {
        left: 1.5rem;
    }
    
    .module-box {
        margin-left: 2.5rem;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .curriculum-timeline-section {
        height: auto;
        min-height: 100vh;
    }
    
    .timeline-title {
        font-size: 1.75rem;
    }
    
    .timeline-wrapper {
        padding: 0 1rem;
    }
    
    .left-content-panel {
        padding: 1.8rem;
    }
    
    .module-box {
        max-width: 160px;
        padding: 0.625rem 0.875rem;
    }
    
    .module-box h4 {
        font-size: 0.8rem;
    }
}


/* Optional: Visual feedback during scrolling without auto-clicking */
.timeline-card.scroll-highlight {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.2);
    transform: translateX(0.1rem);
}

/* Ensure smooth scrolling without interference */
.modules-container {
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}

/* Prevent click events during momentum scrolling on mobile */
.timeline-card {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Glassmorphism enhancement */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-lg {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Enhanced hover transitions */
.group .space-y-4 > div {
    transition: all 0.2s ease;
}




/* FAQ Animation Styles */
.faq-answer {
    transition: all 0.3s ease;
}

.faq-icon svg {
    transition: transform 0.3s ease;
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Hover effects for FAQ items */
.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Category icons animation */
.bg-primary\/10:hover {
    background-color: rgba(74, 155, 155, 0.2);
    transition: background-color 0.2s ease;
}














/* Custom animations for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Newsletter input focus effects */
input:focus {
    box-shadow: 0 0 0 3px rgba(74, 155, 155, 0.1);
}

/* Social media icons hover effects */
footer a:hover svg {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Back to top button animations */
#backToTop:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 155, 155, 0.3);
}

/* Link hover effects */
footer a {
    position: relative;
}

footer a:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    animation: underlineExpand 0.3s ease;
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 100%; }
}

/* Newsletter subscription success animation */
.subscription-success {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}






/* Fix scrolling container */
.modules-container {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    max-height: 70vh;
    scroll-behavior: auto; /* Changed from smooth to auto for user control */
    scrollbar-width: thin;
    scrollbar-color: #4A9B9B #f1f5f9;
}

/* Remove any scroll snap that might cause sticking */
.modules-container {
    scroll-snap-type: none !important;
}

.timeline-card {
    scroll-snap-align: none !important;
}

/* Ensure smooth scrolling only for programmatic scrolls */
.modules-container.programmatic-scroll {
    scroll-behavior: smooth;
}

/* Better touch scrolling on mobile devices */
.modules-container {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Fix momentum scrolling issues on iOS */
@supports (-webkit-touch-callout: none) {
    .modules-container {
        -webkit-overflow-scrolling: auto;
    }
}




/* Hide scrollbar background/track while keeping thumb visible */
.always-show-scrollbar {
    /* Force scrollbar to always be visible */
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 155, 155, 0.4) transparent; /* thumb color, transparent track */
    overflow-y: scroll !important;
}

/* WebKit browsers (Chrome, Safari, Edge) - Hide Background */
.always-show-scrollbar::-webkit-scrollbar {
    width: 6px;
    display: block !important;
    background: transparent; /* Hide scrollbar background */
}

.always-show-scrollbar::-webkit-scrollbar-track {
    background: transparent !important; /* Completely transparent track */
    border: none;
    border-radius: 0;
}

.always-show-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(74, 155, 155, 0.4);
    border-radius: 3px;
    min-height: 20px;
    border: none;
}

.always-show-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(74, 155, 155, 0.6);
}

.always-show-scrollbar::-webkit-scrollbar-corner {
    background: transparent !important;
}

/* Remove any scrollbar button backgrounds */
.always-show-scrollbar::-webkit-scrollbar-button {
    display: none;
}

/* Firefox - Hide track background */
@supports (scrollbar-width: thin) {
    .always-show-scrollbar {
        scrollbar-width: thin;
        scrollbar-color: rgba(74, 155, 155, 0.4) transparent;
    }
}

/* Remove any conflicting borders */
.expert-3d-card .glass-card-content {
    border: none !important;
    outline: none !important;
}

.expert-3d-card .flex-shrink-0 {
    border-top: none !important;
    border-bottom: none !important;
}

/* Ensure consistent card heights in slider */
.expert-3d-card {
    height: 400px;
    min-height: 400px;
    max-height: 400px;
    border: none !important;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
    max-width: 350px;
}

.expert-3d-card .glass-card-content {
    height: 100%;
    padding: 1.5rem;
    border: none !important;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .expert-3d-card {
        height: auto;
        min-height: 500px;
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .expert-3d-card {
        height: auto;
        min-height: 450px;
        max-height: 550px;
    }
    
    .always-show-scrollbar::-webkit-scrollbar {
        width: 4px;
        background: transparent !important;
    }
}


/* Doctor Image Navigation Styles */
.doctor-nav-thumb {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 3px solid transparent;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.doctor-nav-thumb:hover {
  transform: scale(1.1);
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); */
}

/* Active state for doctor thumbnail */
.doctor-nav-thumb.active {
  /* border-color: #1e40af;
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(30, 64, 175, 0.5); */
  z-index: 10;
}

/* Overlay for non-active thumbs */
.thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.doctor-nav-thumb.active .thumb-overlay {
  opacity: 0;
}

.doctor-nav-thumb:hover .thumb-overlay {
  opacity: 0.1;
}

/* Active indicator ring animation */
.doctor-nav-thumb.active::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid #1e40af;
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive design for thumbnails */
@media (max-width: 768px) {
  .doctor-nav-thumb {
    width: 60px;
    height: 60px;
  }
  
  #doctorImageNav {
    space-x: 2;
  }
}

@media (max-width: 640px) {
  .doctor-nav-thumb {
    width: 50px;
    height: 50px;
  }
}

.slider-nav svg {
  display: block;
}


/* Tab styling with proper primary color highlighting */
.tab-button {
  color: #6b7280;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.tab-button.active {
  color: white;
  background-color: #4A9B9B; /* Primary color for active tab */
  box-shadow: 0 2px 4px rgba(74, 155, 155, 0.2);
}

.tab-button:hover:not(.active) {
  color: #4A9B9B;
  background-color: rgba(74, 155, 155, 0.1);
}

.tab-content {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Screen fit optimizations */
@media (max-width: 1024px) {
  .tab-button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .tab-button span {
    font-size: 0.75rem;
  }
  
  .grid.lg\\:grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .grid.md\\:grid-cols-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* body > div.pin-spacer > section > div > div:nth-child(1) > div{
    padding-top: 200px;
  } */
  .feature-card p{
    font-size: 16px;
  }
  .feature-card{
    padding:20px;
  }
  .visual-content{
    order:2;
  }
  .section-header{
    position: relative;
    margin-bottom: 51px;
  }
 
}



/* Enhanced Mobile Responsiveness for Banner Section */
.responsive-banner-section {
  min-height: 60vh;
}

/* Mobile-specific slider adjustments */
@media (max-width: 640px) {
  .responsive-banner-section {
    height: auto;
    min-height: 70vh;
    padding: 2rem 0.5rem;
  }
  
  .slider-container {
    height: 400px !important;
    margin: 0;
  }
  
  .slide-content {
    padding: 1rem !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  
  .slider-nav {
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
  }
  
  .slider-nav.prev {
    left: 8px !important;
  }
  
  .slider-nav.next {
    right: 8px !important;
  }
  
  .slider-dot {
    width: 8px !important;
    height: 8px !important;
  }
  
  /* Improve touch targets */
  .slider-nav svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
  .responsive-banner-section {
    height: 70vh;
    min-height: 500px;
  }
  
  .slider-container {
    height: 450px !important;
  }
  
  .slide-content {
    padding: 1.5rem 2rem !important;
    max-width: 90% !important;
  }
  
  .slider-nav {
    width: 45px !important;
    height: 45px !important;
  }
  
  .slider-nav.prev {
    left: 15px !important;
  }
  
  .slider-nav.next {
    right: 15px !important;
  }
}

/* Ensure arrows are always visible on mobile */
@media (max-width: 1024px) {
  .slider-nav.prev,
  .slider-nav.next {
    display: flex !important;
    opacity: 0.8;
  }
  
  .slider-nav:hover {
    opacity: 1;
  }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
  .slider-nav,
  .slider-dot,
  button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

/* Improve text readability on mobile */
@media (max-width: 480px) {
  .slide-content h1 {
    font-size: 1.125rem !important;
    line-height: 1.3 !important;
  }
  
  .slide-content p {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
  }
  
  .slide-content h3 {
    font-size: 1rem !important;
  }
  
  .slide-content button {
    font-size: 0.875rem !important;
    padding: 0.5rem 1rem !important;
  }
}


@media (max-width: 1023px) {
  .custom-thumb {
    padding: 6px !important;
    width: 64px !important;
    height: 100% !important;
  }
}


/* Faculty Grid Styles - Simple */
.faculty-card {
  background: linear-gradient(135deg, #E0F2F1 0%, #B2DFDB 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 155, 155, 0.1);
  border: 1px solid rgba(74, 155, 155, 0.1);
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(74, 155, 155, 0.2);
}

.faculty-image-container {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faculty-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

.faculty-location {
  font-size: 0.875rem;
  color: #4A9B9B;
  font-weight: 500;
  margin-bottom: 1rem;
}

.know-more-btn {
  background: #4A9B9B;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.know-more-btn:hover {
  background: #3A8080;
  transform: translateY(-2px);
}


/* Tablet and below */
@media (max-width: 1024px) {
  .faculty-card {
    width: 80%;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .faculty-card {
    width: 80%;
  }
}




@media (max-width: 768px) {
    .community-card .flex.items-start {
        flex-direction: column !important;
        text-align: center !important;
    }
}


@media (max-width: 768px) {
    .community-card .w-16.h-16 {
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
        align-self: center !important;
    }

    body > section.py-16.bg-gradient-to-br.from-gray-50.via-white.to-green-50.relative.overflow-hidden.isolate > div.relative.max-w-7xl.mx-auto.px-6.lg\:px-8.w-full.z-10 > div.grid.lg\:grid-cols-2.gap-8 > div:nth-child(2) > div > div.flex-1{
        margin-left: 0px !important;
    }
    body > section.py-16.bg-gradient-to-br.from-gray-50.via-white.to-green-50.relative.overflow-hidden.isolate > div.relative.max-w-7xl.mx-auto.px-6.lg\:px-8.w-full.z-10 > div.grid.lg\:grid-cols-2.gap-8 > div:nth-child(1) > div > div.flex-1{
        margin-left: 0px !important;
    }
}