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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-green: #4a7c59;
    --light-green: #7fb069;
    --dark-green: #2d5a3d;
    --accent-green: #9bc53d;
    --cream: #f8f6f0;
    --white: #ffffff;
    --text-dark: #2c3e32;
    --text-light: #6b7c6b;
    --shadow: rgba(74, 124, 89, 0.15);
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 246, 240, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(74, 124, 89, 0.1);
    box-shadow: 0 5px 25px var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 90px;
    width: auto;
    border-radius: 8px;
}

.logo-text h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.logo-text span {
    color: var(--light-green);
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    background: linear-gradient(135deg, var(--cream) 0%, #e8f5e8 50%, var(--cream) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%234a7c59" opacity="0.05"/><circle cx="80" cy="80" r="1" fill="%237fb069" opacity="0.05"/><circle cx="40" cy="60" r="1" fill="%239bc53d" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.08;
    z-index: 1;
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 2;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.6) contrast(1.1);
    transition: all 0.8s ease;
    z-index: 1;
}

.carousel-slide.active .slide-background {
    filter: brightness(0.75) contrast(1.1);
    transform: scale(1.02);
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, 
        rgba(248, 246, 240, 0.6) 0%, 
        rgba(255, 255, 255, 0.5) 25%,
        rgba(248, 246, 240, 0.55) 50%,
        rgba(255, 255, 255, 0.6) 75%,
        rgba(248, 246, 240, 0.65) 100%);
    backdrop-filter: blur(1px);
}

.slide-text {
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.clinic-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.clinic-logo {
    height: 100px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border: 3px solid var(--primary-green);
}

.clinic-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.slide-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.slide-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.slide-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.slide-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.slide-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
    transform: translateY(-50%);
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    pointer-events: all;
    color: var(--primary-green);
}

.carousel-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(74, 124, 89, 0.3);
}

.carousel-btn i {
    font-size: 1.4rem;
}

/* Carousel Indicators - Back to bottom */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Carousel Progress Bar */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    width: 0%;
    transition: width 0.1s linear;
}

/* Contact Quick Info Section */
.contact-quick-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
}

.contact-quick-section .contact-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px var(--shadow);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    border: 1px solid var(--cream);
    position: relative;
}

.contact-quick-section .contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green), var(--accent-green));
    border-radius: 25px 25px 0 0;
}

.contact-quick-section .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-quick-section .contact-item:hover {
    background: var(--cream);
    transform: translateY(-3px);
}

.contact-quick-section .contact-item i {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-top: 0.3rem;
    min-width: 30px;
}

.contact-quick-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-quick-section .contact-info .label {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-quick-section .contact-info a,
.contact-quick-section .contact-info span {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-quick-section .contact-info a:hover {
    color: var(--primary-green);
    font-weight: 600;
}

/* Remove old quick-contact styles */
.quick-contact {
    display: none;
}

/* Slide Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reset animations for inactive slides */
.carousel-slide:not(.active) .clinic-brand,
.carousel-slide:not(.active) .slide-tag,
.carousel-slide:not(.active) .slide-title,
.carousel-slide:not(.active) .slide-subtitle,
.carousel-slide:not(.active) .slide-features,
.carousel-slide:not(.active) .slide-buttons {
    opacity: 0;
    transform: translateY(30px);
}

/* Common Button and Feature Item Styles */
.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

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

.feature-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.highlight {
    color: var(--primary-green);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--accent-green), var(--light-green));
    opacity: 0.3;
    border-radius: 4px;
}

/* Responsive Design for Carousel */
@media screen and (max-width: 1024px) {
    .slide-content {
        padding-top: 60px;
    }
    
    .slide-text {
        padding: 1.5rem;
        max-width: 700px;
    }
    
    .carousel-nav {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-btn i {
        font-size: 1.2rem;
    }
    
    .contact-quick-section {
        padding: 50px 0;
    }
    
    .contact-quick-section .contact-card {
        padding: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
    
    .carousel-indicators {
        bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .slide-content {
        padding-top: 160px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }

    .slide-subtitle {
        font-size: 1.1rem;
    }

    .slide-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .slide-text {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .clinic-logo {
        height: 80px;
    }

    .clinic-name {
        font-size: 1.6rem;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .contact-quick-section {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .slide-content {
        padding-top: 150px;
    }
    
    .slide-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .slide-text {
        padding: 1rem;
        border-radius: 15px;
    }

    .clinic-logo {
        height: 70px;
    }

    .clinic-name {
        font-size: 1.3rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn i {
        font-size: 1rem;
    }

    .carousel-nav {
        padding: 0 0.5rem;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 0.5rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .feature-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--light-green);
    border-radius: 0 100% 0 100%;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.leaf-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.leaf-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.leaf-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

    .contact-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .feature-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 15px;
    }

    .logo-img {
        height: 70px;
    }

    .logo-text h3 {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 1rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-features {
    animation-delay: 0.6s;
}

.hero-buttons {
    animation-delay: 0.8s;
}

.quick-contact {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

/* About Us Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%234a7c59" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Doctors Section */
.doctors-intro {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.doctor-card {
    background: var(--white);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 60px var(--shadow);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green), var(--accent-green));
    border-radius: 30px 30px 0 0;
}



.doctor-image {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.doctor-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--cream);
    box-shadow: 0 15px 40px rgba(74, 124, 89, 0.2);
    position: relative;
    z-index: 1;
}



.doctor-badge {
    position: absolute;
    bottom: 15px;
    right: calc(50% - 125px);
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(74, 124, 89, 0.3);
    border: 3px solid var(--white);
}



.doctor-info {
    text-align: center;
}

.doctor-name {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    position: relative;
    letter-spacing: -0.5px;
}

.doctor-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--light-green));
    border-radius: 2px;
    opacity: 0.8;
}

.doctor-title {
    font-size: 1.3rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.specialty {
    background: linear-gradient(135deg, var(--cream), var(--white));
    color: var(--primary-green);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--light-green);
    transition: all 0.3s ease;
    position: relative;
}

.specialty:hover {
    background: var(--light-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.2);
}

.doctor-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Clinic Philosophy */
.clinic-philosophy {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    background-image: linear-gradient(rgba(248, 246, 240, 0.7), rgba(248, 246, 240, 0.7)), url('home/philosophy.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.philosophy-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
}

.philosophy-text p {
    color: var(--dark-green);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--cream);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.4rem;
}

.feature-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Qualifications Note */
.qualifications-note {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.note-card {
    background: linear-gradient(135deg, var(--cream), var(--white));
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 5px solid var(--primary-green);
    box-shadow: 0 10px 30px var(--shadow);
}

.note-icon {
    min-width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.note-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.note-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--cream) 30%, #f8f9fa 70%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagon" width="50" height="50" patternUnits="userSpaceOnUse"><polygon points="25,5 45,15 45,35 25,45 5,35 5,15" fill="none" stroke="%234a7c59" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagon)"/></svg>');
    opacity: 0.6;
}



/* Treatment Process */
.treatment-process {
    margin: 5rem 0;
    position: relative;
    z-index: 2;
    background-image: linear-gradient(rgba(248, 246, 240, 0.7), rgba(248, 246, 240, 0.7)), url('services/3.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    border-radius: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.process-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--cream);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px var(--shadow);
}

.step h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Service Benefits */
.service-benefits {
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.benefits-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.benefits-content h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
}

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

.benefit-item {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--cream);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px var(--shadow);
}

.benefit-icon {
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.benefit-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Responsive for About Section */
@media screen and (max-width: 1024px) {
    .doctors-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }

    .doctor-card {
        padding: 2.8rem;
    }

    .doctor-img {
        width: 200px;
        height: 200px;
        border-width: 5px;
    }

    .doctor-badge {
        right: calc(50% - 115px);
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .doctor-name {
        font-size: 2rem;
    }

    .doctor-title {
        font-size: 1.2rem;
    }

    .specialty {
        font-size: 0.88rem;
        padding: 0.55rem 1.1rem;
    }

    .doctor-description {
        font-size: 1.02rem;
    }
}

@media screen and (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .doctor-card {
        padding: 2.5rem;
        border-radius: 25px;
    }

    .doctor-img {
        width: 180px;
        height: 180px;
        border-width: 5px;
    }

    .doctor-badge {
        right: calc(50% - 105px);
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        border-width: 2px;
    }

    .doctor-name {
        font-size: 1.9rem;
        margin-bottom: 0.7rem;
    }

    .doctor-title {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .doctor-specialties {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .specialty {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .doctor-description {
        font-size: 1rem;
    }

    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }

    .philosophy-text h3 {
        font-size: 1.8rem;
        text-align: center;
    }

    .philosophy-text {
        padding: 0 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .note-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctor-card {
        padding: 2rem;
        border-radius: 20px;
    }

    .doctor-img {
        width: 160px;
        height: 160px;
        border-width: 4px;
    }

    .doctor-badge {
        right: calc(50% - 90px);
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-width: 2px;
    }

    .doctor-name {
        font-size: 1.7rem;
        margin-bottom: 0.6rem;
    }

    .doctor-name::after {
        width: 50px;
        height: 2px;
    }

    .doctor-title {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .doctor-specialties {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1.2rem;
    }

    .specialty {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .doctor-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .feature-box {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .philosophy-content {
        padding: 0 1.5rem;
    }

    .philosophy-text {
        padding: 0 0.5rem;
    }
}

/* Mobile Responsive for Services Section */
@media screen and (max-width: 768px) {
    .services-section {
        padding: 80px 0;
    }

    .service-slide {
        height: 350px;
    }

    .service-name {
        font-size: 1.8rem;
    }

    .service-description p {
        font-size: 1rem;
    }

    .service-description li {
        font-size: 0.9rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step {
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .process-title {
        font-size: 1.8rem;
    }

    /* Mobile optimization for treatment process background */
    .treatment-process {
        background-attachment: scroll;
        padding: 3rem 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    /* Mobile optimization for philosophy background */
    .clinic-philosophy {
        background-attachment: scroll;
        padding: 3rem 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .benefits-content h3 {
        font-size: 1.8rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .benefit-icon {
        min-width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .service-slide {
        height: 300px;
    }

    .service-overlay {
        padding: 1.5rem;
    }

    .service-name {
        font-size: 1.5rem;
    }

    .service-description p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .service-description li {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }

    .slider-btn i {
        font-size: 0.9rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .step {
        padding: 1rem;
    }

    .benefit-item {
        padding: 1rem;
    }
}

/* Services Slider */
.services-carousel-wrapper {
    position: relative;
    width: 90%;
    margin: 4rem auto;
}

.services-slider-container {
    overflow: hidden;
}

.services-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.service-slide {
    flex: 0 0 calc(100% / 3 - 20px);
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.service-slide.featured {
    border: 3px solid var(--accent-green);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-slide:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    color: var(--white);
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.service-name {
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    margin-bottom: 0.8rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.condition {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-description p {
    margin-bottom: 0.5rem;
}

.service-slide:hover .service-name {
    opacity: 0;
    transform: translateY(-20px);
}

.service-slide:hover .service-description {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Navigation */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.slider-btn.prev {
    left: -60px;
}

.slider-btn.next {
    right: -60px;
}

.slider-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn i {
    font-size: 1.2rem;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

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

.dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--light-green);
}

/* Services Responsive Design */
@media (max-width: 1024px) {
    .service-slide {
        flex: 0 0 calc(100% / 2 - 20px);
        height: 380px;
    }
    
    .service-name {
        font-size: 1.3rem;
    }
    
    .condition {
        font-size: 0.9rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .services-carousel-wrapper {
        width: 85%;
    }
    
    .service-slide {
        flex: 0 0 100%;
        height: 350px;
    }
    
    .service-name {
        font-size: 1.2rem;
    }
    
    .condition {
        font-size: 0.85rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn i {
        font-size: 1rem;
    }
    
    .slider-btn.prev {
        left: -50px;
    }
    
    .slider-btn.next {
        right: -50px;
    }
}

@media (max-width: 480px) {
    .service-slide {
        height: 320px;
    }
    
    .service-overlay {
        padding: 1.2rem;
    }
    
    .service-name {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .condition {
        font-size: 0.8rem;
    }
    
    .service-description {
        font-size: 0.8rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn i {
        font-size: 0.9rem;
    }
    
    .slider-btn.prev {
        left: -40px;
    }
    
    .slider-btn.next {
        right: -40px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--cream);
}

/* Gallery Slider */
.gallery-carousel-wrapper {
    position: relative;
    width: 90%;
    margin: 4rem auto;
}

.gallery-slider-container {
    overflow: hidden;
}

.gallery-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    flex: 0 0 calc(100% / 3 - 20px);
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.gallery-slide:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px var(--shadow);
}

.gallery-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-slide:hover .gallery-image {
    transform: scale(1.1);
}



/* Gallery Navigation */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.gallery-btn.prev {
    left: -60px;
}

.gallery-btn.next {
    right: -60px;
}

.gallery-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn i {
    font-size: 1.2rem;
}

/* Gallery Dots */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(74, 124, 89, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.gallery-dot:hover {
    background: var(--light-green);
}

/* Gallery Responsive Design */
@media (max-width: 1024px) {
    .gallery-slide {
        flex: 0 0 calc(100% / 2 - 20px);
        height: 380px;
    }
}

@media (max-width: 768px) {
    .gallery-carousel-wrapper {
        width: 85%;
    }
    
    .gallery-slide {
        flex: 0 0 100%;
        height: 350px;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-btn i {
        font-size: 1rem;
    }
    
    .gallery-btn.prev {
        left: -50px;
    }
    
    .gallery-btn.next {
        right: -50px;
    }
}

@media (max-width: 480px) {
    .gallery-slide {
        height: 320px;
    }
    
    .gallery-btn {
        width: 35px;
        height: 35px;
    }
    
    .gallery-btn i {
        font-size: 0.9rem;
    }
    
    .gallery-btn.prev {
        left: -40px;
    }
    
    .gallery-btn.next {
        right: -40px;
    }
    
    .gallery-dot {
        width: 10px;
        height: 10px;
    }
}

/* Contact Popup */
.contact-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.contact-popup-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease;
}

.contact-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.contact-popup-close:hover {
    color: var(--primary-green);
}

.contact-popup-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.contact-popup-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-popup-header p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.contact-form-popup {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.form-group select[multiple] {
    height: 120px;
    resize: vertical;
}

.form-group select[multiple] option {
    padding: 0.5rem;
    margin: 0.2rem 0;
}

.form-group select[multiple] option:checked {
    background: var(--primary-green);
    color: var(--white);
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-light);
    font-size: 0.8rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.form-actions .btn {
    min-width: 120px;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

.form-actions .btn-secondary {
    background: #f5f5f5;
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.form-actions .btn-secondary:hover {
    background: #e0e0e0;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
}

.form-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    transform: translateY(-2px);
}

/* Contact Popup Responsive */
@media (max-width: 768px) {
    .contact-popup-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .contact-popup-header {
        padding: 1.5rem;
    }
    
    .contact-popup-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-form-popup {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .contact-popup-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 15px;
    }
    
    .contact-popup-header {
        padding: 1.2rem;
        border-radius: 15px 15px 0 0;
    }
    
    .contact-popup-header h3 {
        font-size: 1.3rem;
    }
    
    .contact-form-popup {
        padding: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    user-select: none;
    -webkit-user-select: none;
    background: rgba(0,0,0,0.3);
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(74, 124, 89, 0.8);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(rgba(248, 246, 240, 0.7), rgba(255, 255, 255, 0.7)), url('home/55.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 calc(100% - 20px);
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 50px var(--shadow);
    border-top: 5px solid var(--primary-green);
    margin: 10px;
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 4rem;
    color: var(--light-green);
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.author-rating {
    color: #fdd835; /* Gold color for stars */
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background: var(--dark-green);
    transform: scale(1.1);
}

.testimonial-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.contact-info-block {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    position: relative;
}

.info-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.info-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.info-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    word-wrap: break-word;
}

.info-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-text p a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
    overflow-wrap: break-word;
}

.info-text p a:hover {
    color: var(--primary-green);
}

.contact-btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px var(--shadow);
    height: 100%;
    min-height: 500px;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--cream);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--white);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.footer-col.contact-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-col.contact-col i {
    color: var(--accent-green);
    margin-top: 5px;
}

.footer .about-col .logo-text h3 {
    color: var(--white);
}
.footer .about-col .logo-text span {
    color: var(--light-green);
}
.footer .about-text {
    margin: 1.5rem 0;
    color: var(--text-light);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive for Contact & Footer */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-map {
        height: 400px;
        min-height: auto;
    }
    .contact-info-block {
        padding: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
    .contact-section .container {
        padding: 0 20px;
    }
    .contact-grid {
        gap: 1.5rem;
        margin-top: 3rem;
    }
    .contact-info-block {
        padding: 2rem 1.5rem;
        overflow: hidden;
    }
    .info-list {
        padding: 0;
    }
    .info-list li {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    .info-icon {
        min-width: 45px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    .info-text {
        flex: 1;
        min-width: 0;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
    .info-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .info-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .info-text p a {
        word-break: break-all;
    }
    .contact-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
    .contact-map {
        height: 300px;
    }
    
    /* Mobile optimization for testimonials background */
    .testimonials-section {
        background-attachment: scroll;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col.contact-col ul li {
        justify-content: center;
        text-align: left;
    }
    .social-links {
        justify-content: center;
    }
    .footer .about-col .nav-logo {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .contact-section .container {
        padding: 0 15px;
    }
    .contact-info-block {
        padding: 1.5rem 1rem;
    }
    .info-list li {
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
    .info-icon {
        min-width: 40px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .info-text h4 {
        font-size: 1rem;
    }
    .info-text p {
        font-size: 0.9rem;
    }
    .contact-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    .info-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.fab-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
}

.fab-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

#toTopBtn {
    display: none; /* Hidden by default */
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cream);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-spinner {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 4px solid rgba(74, 124, 89, 0.2);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
