/* Modern Overrides for Healthcare Website */

/*body {
    color: #334155;
    background-color: #f8fafc !important;*/ /* Lighter, fresher background */
/*}*/

/* 2. Hero Slider Styles */
.main-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(3, 27, 78, 0.8) 0%, rgba(3, 27, 78, 0.4) 50%, rgba(3, 27, 78, 0.1) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    padding: 0 8%;
    max-width: 1430px;
    margin: 0 auto;
}

.slide-subtitle {
    display: inline-block;
    background: rgb(166 173 190);
    backdrop-filter: blur(4px);
    border: 1px solid rgb(166 173 190);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #031B4B;
    width: fit-content;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

.slide-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.hero-btn-group .btn {
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-modern {
    background-color: #031B4B;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 15px rgb(7 154 14 / 56%);
}

    .btn-primary-modern:hover {
        background-color: #0b368b;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(12, 192, 223, 0.5);
        color: white;
    }

.btn-outline-modern {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    margin-left: 16px;
}

.btn-outline-modern:hover {
    background: #ffffff;
    color: #031B4B;
    border-color: #ffffff;
}

/* Custom Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}

    .swiper-button-next:hover, .swiper-button-prev:hover {
        background: #0b368b;
    }

/* 3. Modern Component Overrides */

/* Cards (Services, Features) */
.feature-card-modern {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    border: 1px solid #eef2f6;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: #0CC0DF;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 192, 223, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.feature-card-modern:hover::before {
    width: 100%;
}

.icon-box-modern {
    width: 70px;
    height: 70px;
    background: rgba(12, 192, 223, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #0CC0DF;
    font-size: 32px;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .icon-box-modern {
    background: #0CC0DF;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.card-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #031B4B;
    margin-bottom: 15px;
}

/* Section Headings */
.section-head-modern {
    margin-bottom: 60px;
    text-align: center;
}

.section-subtitle {
    color: #0CC0DF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

/*.section-title {
    font-size: 2.5rem;
    color: #031B4B;
    font-weight: 700;
}
*/
/* Quick Info Bar (Glassmorphism overlap) */
.quick-info-bar {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 1px solid #eee;
    padding: 0 20px;
}

.info-item:last-child {
    border-right: none;
}

.info-icon {
    font-size: 36px;
    color: #0CC0DF;
}

.info-content h5 {
    margin-bottom: 5px;
    color: #031B4B;
    font-weight: 600;
}

.info-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 991px) {
    .info-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 20px 0;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .quick-info-bar {
        margin-top: -40px;
    }
}


.image-matched-form-card {
    background: #233e60;
    /* Deep blue from image */
    border-radius: 40px;
    padding: 35px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    color: white;
}

.form-header-matched .title {
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 5px;
    color: white;
    line-height: 1.2;
    margin-bottom: 15px;
}

    .form-header-matched .title span {
        color: #00cae8;
    }

.form-header-matched .subtitle {
    font-size: 1rem;
    color: #b0c4de;
    margin-bottom: 40px;
    display: block;
    line-height: 1.5;
}

.matched-input-group {
    margin-bottom: 15px;
}

    .matched-input-group .form-control,
    .matched-input-group .modern-select-box {
        background: #2b486c !important;
        /* Slightly lighter blue for inputs */
        border: none !important;
        border-radius: 12px !important;
        color: white !important;
        height: 37px !important;
        padding: 0 25px !important;
        font-size: 13px;
    }

        .matched-input-group .form-control::placeholder {
            color: rgba(255, 255, 255, 0.4) !important;
        }

    .matched-input-group textarea.form-control {
        height: 100px !important;
        padding-top: 15px !important;
    }

    .matched-input-group .position-relative i {
        position: absolute;
        right: 25px;
        top: 11px;
        color: rgba(255, 255, 255, 0.4);
        pointer-events: none;
    }

.btn-matched-cyan {
    background: #031B4B !important;
    /* Matched Cyan */
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    height: 37px !important;
    width: 100% !important;
    font-weight: 700 !important;
    font-size: 0.9em !important;
    transition: all 0.3s ease !important;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .btn-matched-cyan:hover {
        background-color: #0b368b;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(12, 192, 223, 0.5);
        color: white;
    }

@media (max-width: 991px) {
    .unique-appointment-layout {
        padding: 60px 0;
    }

    .doctor-team-wrapper {
        margin-bottom: 50px;
    }

    .image-matched-form-card {
        padding: 40px 25px;
    }

    .form-header-matched .title {
        font-size: 2.2rem;
    }
}

/* Modern Achievement Cards */
.modern-achievement-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 24px !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

    .modern-achievement-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(8, 181, 16, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .modern-achievement-card:hover {
        transform: translateY(-10px) !important;
        border-color: rgba(8, 181, 16, 0.4) !important;
        box-shadow: 0 20px 40px rgba(8, 181, 16, 0.2) !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

        .modern-achievement-card:hover::before {
            opacity: 1;
        }

        .modern-achievement-card:hover .icon-bx-sm {
            transform: scale(1.1) rotate(5deg);
            background: #08b510 !important;
            color: #ffffff !important;
            box-shadow: 0 10px 25px rgba(8, 181, 16, 0.4) !important;
        }

    .modern-achievement-card .icon-bx-sm i {
        transition: all 0.3s ease;
    }

    .modern-achievement-card:hover .icon-bx-sm i {
        color: #ffffff !important;
    }

/* Gallery Zoom Effects */
.gallery-item.lightgallery {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

    .gallery-item.lightgallery > a {
        display: block;
        position: relative;
    }

    .gallery-item.lightgallery img {
        transition: transform 0.5s ease;
        width: 100%;
        display: block;
    }

    .gallery-item.lightgallery:hover img {
        transform: scale(1.15);
    }

    .gallery-item.lightgallery .gallery-zoom-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        background: #08b510;
        color: #ffffff;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 3;
        box-shadow: 0 10px 20px rgba(8, 181, 16, 0.3);
    }

    .gallery-item.lightgallery:hover .gallery-zoom-btn {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .gallery-item.lightgallery::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(3, 27, 78, 0.5);
        /* Blue overlay from theme */
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 2;
        pointer-events: none;
    }

    .gallery-item.lightgallery:hover::after {
        opacity: 1;
    }

.modern-contact-icon-bx {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    background: rgba(8, 181, 16, 0.08);
}
.modern-contact-img {
    width: 22px;
}

.filter-hue-240 {
    filter: hue-rotate(240deg);
}


/* Chairman Message Section Styles */
.chairman-section-bg {
    background-color: #f8fafc;
    padding: 100px 0;
}

.chairman-bg-circle-1 {
    position: absolute;
    top: -5%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 181, 16, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.chairman-bg-circle-2 {
    position: absolute;
    bottom: -5%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(3, 27, 75, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.chairman-sub-title {
    color: #08b510;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.chairman-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #031B4B;
    line-height: 1.2;
}

.chairman-highlight-text {
    color: #08b510;
    position: relative;
}

.chairman-svg-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 10px;
}

.chairman-text-wrapper {
    margin-top: 35px;
}

.chairman-desc-text {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.8;
}

.chairman-quote-block {
    border-left: 4px solid #08b510;
    background: rgba(8, 181, 16, 0.05);
    border-radius: 0 15px 15px 0;
}

.chairman-quote-text {
    color: #031B4B;
    font-style: italic;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.6;
}

.chairman-name {
    color: #031B4B;
    font-weight: 800;
    font-size: 1.4rem;
}

.chairman-designation {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(8, 181, 16, 0.1);
    color: #08b510;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chairman-image-wrapper {
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(3, 27, 75, 0.1);
    padding: 15px;
    background: white;
    margin-left: auto;
}
    .chairman-image-wrapper .img {
        height: 450px;
        width: 400px;
    }

    .chairman-image {
        width: 100%;
        border-radius: 16px;
        object-position: top;
    }

.chairman-floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: #031B4B;
    color: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(3, 27, 75, 0.2);
    width: 240px;
    border-bottom: 5px solid #08b510;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.chairman-badge-icon {
    font-size: 30px;
    color: #08b510;
    opacity: 0.8;
    margin-top: 5px;
}

.chairman-badge-title {
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.chairman-badge-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}
.matched-input-group .form-control::placeholder {
    color: #fff !important;
    opacity: 1;
}