 :root {
     --primary-green: #2b8a3e;
     --dark-green: #186429;
     --light-green: #d3f9d8;
     --accent-green: #40c057;
     --white: #ffffff;
     --light-gray: #f8f9fa;
 }


 ::-webkit-scrollbar {
     width: 5px;
 }


 ::-webkit-scrollbar-track {
     background: #f1f1f1;
     border-radius: 10px;
 }


 ::-webkit-scrollbar-thumb {
     background: #4CAF50;
     border-radius: 10px;
 }


 ::-webkit-scrollbar-thumb:hover {
     background: #45a049;
 }


 body {
     margin: 0;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     box-sizing: border-box;
 }

 
 
 /* Hero Section for context */
 .hero {
     background: linear-gradient(rgba(43, 138, 62, 0.8), rgba(43, 138, 62, 0.8)), url('hospital-image.jpg');
     background-size: cover;
     background-position: center;
     color: var(--white);
     padding: 100px 20px;
     text-align: center;
 }

 .slider-container {
     position: relative;
     /* max-width: 1200px; */

     border-radius: 15px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     background: white;
 }

 .slider {
     position: relative;
     width: 100%;
     height: 600px;
     overflow: hidden;
 }

 .slide {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
     transform: translateX(100%);
 }

 .slide.active {
     opacity: 1;
     transform: translateX(0);
 }

 .slide.prev {
     transform: translateX(-100%);
 }

 .slide img,
 .slide video {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 .slide-content {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(transparent, #2b8a3e);
     color: white;
     padding: 60px 40px 40px;
     transform: translateY(100%);
     transition: transform 0.6s ease-out 0.2s;
 }

 .slide.active .slide-content {
     transform: translateY(0);
 }

 .slide-content h2 {
     font-size: 2.5rem;
     margin-bottom: 15px;
     font-weight: bold;
     line-height: 1.2;
 }

 .slide-content p {
     font-size: 1.2rem;
     line-height: 1.6;
     margin-bottom: 20px;
     opacity: 0.9;
 }

 .slide-content .cta-button {
     display: inline-block;
     padding: 12px 30px;
     background-color: --accent-green;
     color: white;
     text-decoration: none;
     border-radius: 50px;
     font-weight: 500;
     transition: all 0.3s ease;
     border: 2px solid transparent;
 }

 .slide-content .cta-button:hover {
     background-color: transparent;
     border-color: #007bff;
     transform: translateY(-2px);
 }

 /* Navigation Arrows */
 .nav-arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.9);
     border: none;
     width: 60px;
     height: 60px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 24px;
     color: #333;
     transition: all 0.3s ease;
     z-index: 10;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .nav-arrow:hover {
     background: white;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
     transform: translateY(-50%) scale(1.1);
 }

 .nav-arrow.prev {
     left: 20px;
 }

 .nav-arrow.next {
     right: 20px;
 }

 /* Dots Indicator */
 .dots-container {
     position: absolute;
     bottom: 20px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 12px;
     z-index: 10;
 }

 .dot {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.5);
     cursor: pointer;
     transition: all 0.3s ease;
     border: 2px solid transparent;
 }

 .dot.active {
     background: white;
     transform: scale(1.2);
     box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
 }

 .dot:hover {
     background: rgba(255, 255, 255, 0.8);
     transform: scale(1.1);
 }

 /* Play/Pause Button for Videos */
 .video-controls {
     position: absolute;
     top: 20px;
     right: 20px;
     z-index: 10;
 }

 .play-pause-btn {
     background: rgba(0, 0, 0, 0.7);
     border: none;
     color: white;
     padding: 10px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 20px;
     width: 50px;
     height: 50px;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
 }

 .play-pause-btn:hover {
     background: rgba(0, 0, 0, 0.9);
     transform: scale(1.1);
 }

 /* Progress Bar */
 .progress-bar {
     position: absolute;
     bottom: 0;
     left: 0;
     height: 4px;
     background: #007bff;
     transition: width 0.1s linear;
     z-index: 5;
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .slider {
         height: 400px;
     }

     .slide-content {
         padding: 30px 20px 20px;
     }

     .slide-content h2 {
         font-size: 1.8rem;
     }

     .slide-content p {
         font-size: 1rem;
     }

     .nav-arrow {
         width: 30px;
         height: 30px;
         font-size: 20px;
     }

     .nav-arrow.prev {
         left: 10px;
     }

     .nav-arrow.next {
         right: 10px;
     }
 }

 /* Accessibility */
 .slide:focus {
     outline: 3px solid #007bff;
     outline-offset: 2px;
 }

 @media (prefers-reduced-motion: reduce) {

     .slide,
     .slide-content {
         transition: none;
     }
 }

 .info-box {
     background-color: #fff;
     display: flex;
     justify-content: space-around;
     align-items: center;
     border-radius: 15px;
     padding: 30px 20px;
     color: #2b8a3e;
     font-family: 'Arial', sans-serif;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
     margin: 0 auto;
 }

 .stat-item {
     text-align: center;
     padding: 0 15px;
     flex: 1;
 }

 .stat-number {
     margin: 0;
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 8px;
 }

 .stat-label {
     margin: 0;
     font-size: 1.1rem;
     opacity: 0.9;
     text-transform: uppercase;
     letter-spacing: 1px;
 }

 /* Responsive adjustments */
 @media (max-width: 768px) {
     .info-box {
         flex-wrap: wrap;
         padding: 20px 10px;
     }

     .stat-item {
         flex: 50%;
         padding: 10px;
         margin-bottom: 10px;
     }

     .stat-number {
         font-size: 2rem;
     }
 }

 .services-container {
     padding: 60px 0;
     background-color: #f8faf8;
 }

 .services {
     display: flex;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
     gap: 60px;
     align-items: center;
 }

 .services-content {
     flex: 1;
 }

 .services-title {
     font-size: 2.2rem;
     color: #186429;
     margin-bottom: 30px;
     position: relative;
     padding-bottom: 15px;
 }

 .services-title::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 80px;
     height: 3px;
     background-color: #186429;
 }

 .service-items {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
 }

 .service-item {
     background: var(--light-green);
     padding: 30px;
     border-radius: 12px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .service-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 }

 .service-icon {
     font-size: 2.5rem;
     margin-bottom: 15px;
 }

 .service-item h3 {
     font-size: 1.4rem;
     color: #186429;
     margin-bottom: 15px;
 }

 .service-item p {
     color: #555;
     line-height: 1.6;
     margin-bottom: 20px;
 }

 .service-link {
     color: #186429;
     text-decoration: none;
     font-weight: 600;
     display: inline-flex;
     align-items: center;
     transition: color 0.3s ease;
 }

 .service-link:hover {
     color: #0f4a1f;
 }

 .service-link::after {
     content: '→';
     margin-left: 5px;
     transition: transform 0.3s ease;
 }

 .service-link:hover::after {
     transform: translateX(3px);
 }

 .service-image {
     flex: 1;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .service-image img {
     width: 100%;
     max-width: 500px;
     height: auto;
     animation: float 6s ease-in-out infinite;
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-15px);
     }
 }

 /* Responsive Design */
 @media (max-width: 1024px) {
     .services {
         flex-direction: column;
         gap: 40px;
     }

     .service-image {
         order: -1;
         margin-bottom: 30px;
     }

     .service-image img {
         max-width: 400px;
     }
 }

 @media (max-width: 600px) {
     .services-title {
         font-size: 1.8rem;
     }

     .service-items {
         grid-template-columns: 1fr;
     }
 }


 .doctor-slider-container {
    max-width: 100%;
    padding: 30px 20px;
    position: relative;
}

.slider-title {
    text-align: center;
    color: #186429;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.doctor-slider-track {
    width: 100%;
    overflow: hidden;
}

.glider-slide {
    padding: 0 10px;
}

.doctor-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    height: 130px;
    transition: transform 0.3s ease;
}

.doctor-box:hover {
    transform: translateY(-5px);
}

.doctor-box img {
    width: 190px;
    height: auto;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.doctor-details {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.doctor-details h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.specialty {
    margin: 3px 0;
    font-size: 0.9rem;
    color: #186429;
    font-weight: 600;
}

.rating {
    font-size: 0.8rem;
    color: #ff9900;
}

.book-btn {
    align-self: flex-start;
    background: #186429;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
}

.book-btn:hover {
    background: #0f4a1f;
}

.slider-arrow {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 1.2rem;
    color: #186429;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: #186429;
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    text-align: center;
    margin-top: 20px;
}

.glider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glider-dot.active {
    background: #186429;
    width: 30px;
    border-radius: 6px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .doctor-box img {
        width: 160px;
    }
    
    .doctor-details h3 {
        font-size: 1rem;
    }
    
    .specialty {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .slider-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .doctor-box {
        height: 120px;
    }

    .doctor-box img {
        width: 120px;
        height: 120px;
    }
    
    .doctor-details {
        padding: 8px;
    }
    
    .book-btn {
        padding: 4px 10px;
    }
}

@media (max-width: 576px) {
    .doctor-slider-container {
        padding: 20px 10px;
    }
    
    .slider-title {
        font-size: 1.3rem;
    }
    
    .doctor-box {
        flex-direction: column;
        height: auto;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .doctor-box img {
        width: 100%;
        height: 120px;
        border-radius: 10px 10px 0 0;
    }
    
    .doctor-details {
        padding: 10px;
    }
    
    .doctor-details h3 {
        font-size: 0.95rem;
    }
    
    .specialty {
        font-size: 0.8rem;
    }
    
    .book-btn {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .slider-title {
        font-size: 1.2rem;
    }
    
    .doctor-box {
        max-width: 180px;
    }
    
    .doctor-box img {
        height: 100px;
    }
}

 /* appointment area start */

 :root {
     --accent-green: #186429;
     --dark-green: #0f4a1f;
     --light-bg: #f8faf8;
     --white: #ffffff;
 }

 .appointment-box {
     background-color: var(--light-bg);
     border-radius: 16px;
     padding: 40px 20px;
     /* max-width: 800px; */
     margin: 0 auto;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
     border: 1px solid rgba(24, 100, 41, 0.1);
 }

 .appointment-content {
     text-align: center;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 20px;
 }

 .appointment-title {
     color: var(--accent-green);
     font-size: 2.2rem;
     margin: 0;
     line-height: 1.3;
     font-weight: 700;
 }

 .appointment-description {
     color: var(--accent-green);
     font-size: 1.1rem;
     line-height: 1.6;
     max-width: 600px;
     margin: 0;
     opacity: 0.9;
 }

 .appointment-cta {
     margin-top: 15px;
 }

 .appointment-button {
     background: var(--dark-green);
     color: var(--white);
     font-size: 1rem;
     font-weight: 600;
     border: none;
     padding: 12px 28px;
     border-radius: 30px;
     cursor: pointer;
     display: inline-flex;
     align-items: center;
     gap: 8px;
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .appointment-button:hover {
     background: #0a3a19;
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(15, 74, 31, 0.3);
 }

 .appointment-button:hover .arrow-icon {
     transform: translateX(3px);
 }

 .arrow-icon {
     transition: transform 0.3s ease;
     width: 20px;
     height: 20px;
 }

 /* Pulse animation for attention */
 @keyframes pulse {
     0% {
         transform: scale(1);
     }

     50% {
         transform: scale(1.05);
     }

     100% {
         transform: scale(1);
     }
 }

 .appointment-button:focus {
     animation: pulse 0.5s ease;
     outline: 2px solid rgba(24, 100, 41, 0.5);
 }

 /* Responsive adjustments */
 @media (max-width: 768px) {
     .appointment-title {
         font-size: 1.8rem;
     }

     .appointment-description {
         font-size: 1rem;
     }

     .appointment-button {
         padding: 10px 24px;
         font-size: 0.95rem;
     }
 }

 @media (max-width: 480px) {
     .appointment-box {
         padding: 30px 15px;
     }

     .appointment-title {
         font-size: 1.5rem;
     }

     .appointment-button {
         width: 100%;
         justify-content: center;
     }
 }



 .testimonials-section {
     padding: 80px 20px;
     background-color: var(--light-gray);
     position: relative;
     overflow: hidden;
 }

 .section-header {
     text-align: center;
     max-width: 800px;
     margin: 0 auto 50px;
 }

 .section-header h2 {
     font-size: 2.5rem;
     color: var(--dark-green);
     margin-bottom: 15px;
     position: relative;
 }

 .section-header h2:after {
     content: '';
     display: block;
     width: 80px;
     height: 4px;
     background: var(--primary-green);
     margin: 15px auto 0;
     border-radius: 2px;
 }

 .section-header p {
     color: var(--gray);
     font-size: 1.1rem;
     line-height: 1.6;
 }

 .testimonial-section {
     /* max-width: 900px; */
     margin: 50px auto;
     padding: 20px;
     background-color: transparent;
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }


 .testimonial-container {
     position: relative;
     overflow: hidden;
     height: 320px;
 }

 .testimonial-slide {
     position: absolute;
     width: 100%;
     height: 100%;
     opacity: 0;
     transform: translateX(50px);
     transition: all 0.5s ease;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-align: center;
     background-color: var(--light-bg);
 }

 .testimonial-slide.active {
     opacity: 1;
     transform: translateX(0);
 }

 .testimonial-image {
     width: 100px;
     height: 100px;
     border-radius: 50%;
     object-fit: cover;
     border: 4px solid var(--accent-green);
     margin-bottom: 15px;
 }

 .testimonial-quote {
     font-style: italic;
     color: var(--accent-green);
     line-height: 1.6;
     font-size: 18px;
     margin-bottom: 15px;
     position: relative;
 }

 .testimonial-quote::before,
 .testimonial-quote::after {
     content: '"';
     font-size: 24px;
     color: var(--dark-green);
 }

 .testimonial-author {
     font-weight: bold;
     color: var(--dark-green);
     margin-bottom: 5px;
     font-size: 16px;
 }

 .testimonial-info {
     color: #777;
     font-size: 14px;
     margin-bottom: 20px;
 }

 .testimonial-controls {
     display: flex;
     justify-content: center;
     margin-top: 20px;
 }

 .control-btn {
     background: var(--dark-green);
     color: white;
     border: none;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     cursor: pointer;
     margin: 0 5px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 18px;
     transition: background-color 0.3s;
 }

 .control-btn:hover {
     background: #2c4c89;
 }

 .indicator-dots {
     display: flex;
     justify-content: center;
     margin-top: 20px;
 }

 .dot {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background-color: #ccc;
     margin: 0 5px;
     cursor: pointer;
     transition: background-color 0.3s;
 }

 .dot.active {
     background-color: var(--dark-green);
 }

 @media (max-width: 768px) {
     .testimonial-section {
         padding: 15px;
         margin: 30px 15px;
     }

     .testimonial-container {
         height: 380px;
     }

     .testimonial-quote {
         font-size: 16px;
     }
 }

 /* footer area start */

 /* :root {
    --primary-green: #186429;
    --dark-green: #0f4a1f;
    --light-green: #e8f5e9;
    --white: #ffffff;
    --gray: #777777;
    --light-gray: #f5f5f5;
} */

