:root {
    --primary-color: #0F5132;
    /* Deep Ayurvedic Green */
    --secondary-color: #D4AF37;
    /* Gold/Mustard Accent */
    --light-bg: #F8FBF9;
    --text-color: #333333;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Utility Classes */
.text-primary-theme {
    color: var(--primary-color) !important;
}

.bg-primary-theme {
    background-color: var(--primary-color) !important;
    color: white;
}

.text-accent {
    color: var(--secondary-color) !important;
}

.btn-theme {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-theme:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-accent {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #b5952f;
    color: white;
}

/* Header & Navbar Customizations */
.top-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background: white;
    z-index: 1000;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #444;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.header-contact {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    max-height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.02);
}

/* Hero Banner Section */
.hero-section {
    position: relative;
    background-color: #1a1a1a;
}

#heroCarousel,
.carousel-inner {
    height: 100%;
}

.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.bg-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.carousel-caption-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 0.8s ease-in-out;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-form-container {
    z-index: 5;
}

.lead-form-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--primary-color);
}

/* Desktop Layout */
@media (min-width: 768px) {
    .hero-section {
        height: 600px;
    }

    .floating-form-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .floating-form-container .lead-form-box {
        pointer-events: auto;
    }
}

/* Mobile Layout */
@media (max-width: 991.98px) {

    /* Mobile Navbar Tweaks */
    .navbar-collapse {
        background: white;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        z-index: 1000;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        display: flex;
        flex-direction: column;
    }

    .floating-form-container {
        order: 2;
        position: relative;
        background-image: url('images/hero3.webp');
        background-size: cover;
        background-position: center;
        padding: 50px 15px;
    }

    .floating-form-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 81, 50, 0.85);
        z-index: 0;
    }

    .floating-form-container>.container {
        position: relative;
        z-index: 1;
    }

    #heroCarousel {
        order: 1;
        height: 450px;
    }

    .carousel-caption-custom {
        display: flex;
        align-items: center;
        padding-bottom: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-list i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Conditions Section */
.conditions-section {
    padding: 80px 0;
    background: #ffffff;
}

.condition-card {
    background: #fff;
    border-radius: 12px;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid #eef2f0;
    border-bottom: 4px solid #eef2f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.condition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 81, 50, 0.08);
    border-bottom-color: var(--primary-color);
}

.condition-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.condition-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.condition-card:hover .condition-img {
    transform: scale(1.1);
}

.condition-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.condition-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.condition-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.wa-link {
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    margin-top: auto;
}

.wa-link i.fa-arrow-right {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.wa-link:hover {
    color: var(--secondary-color);
}

.wa-link:hover i.fa-arrow-right {
    transform: translateX(5px);
}

/* Packages Section */
.packages-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.pricing-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    padding: 30px 20px;
    color: white;
}

.silver-pkg {
    background: linear-gradient(135deg, #757F9A 0%, #D7DDE8 100%);
}

.gold-pkg {
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
}

.platinum-pkg {
    background: linear-gradient(135deg, #E5E4E2 0%, #BFC1C2 100%);
    color: #333 !important;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0;
}

.pricing-body {
    padding: 30px 20px;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.pricing-body ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Doctors Section */
.doctors-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.doctor-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #eef2f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(15, 81, 50, 0.1);
    border-color: var(--primary-color);
}

.doctor-img-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.doctor-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eef2f0;
}

.doctor-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.doctor-card p.center-name {
    color: #888;
    margin-bottom: 20px;
    font-size: 0.85rem;
    min-height: 40px;
}

.doctor-card .btn-wa {
    background: rgba(37, 211, 102, 0.1);
    color: #0F5132;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.doctor-card .btn-wa i {
    color: #25D366;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.doctor-card .btn-wa:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.doctor-card .btn-wa:hover i {
    color: #fff;
}

/* Insurance & Testimonials */
.insurance-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.insurance-logo-wrapper {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.insurance-logo-wrapper:hover {
    transform: translateY(-5px);
}

.insurance-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.testimonials-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.video-placeholder {
    background: #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.play-btn {
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Footer */
.main-footer {
    background-color: #212529;
    color: #adb5bd;
    padding: 70px 0 30px;
}

.footer-logo {
    max-height: 80px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-heading {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.footer-branch-item {
    margin-bottom: 20px;
}

.footer-branch-item h6 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.footer-branch-item p {
    font-size: 0.85rem;
    color: #adb5bd;
    line-height: 1.6;
    margin-bottom: 0;
}

.timing-box {
    background-color: #2c3034;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.timing-box:hover {
    background-color: #373b3e;
}

.timing-box i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.timing-box h6 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.timing-box p {
    color: #adb5bd;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.btn-open-all {
    background-color: #198754;
    color: white;
    font-weight: 600;
    border: none;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    display: inline-block;
    font-size: 0.95rem;
    margin-top: 5px;
    pointer-events: none;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    color: white;
}

.wa-btn {
    background-color: #25D366;
}

.call-btn {
    background-color: var(--secondary-color);
}