/*-----------------------------------------------------------------------
Template Name      : Carenix - Medical Care and Clinic HTML Template
Author             : pus_infotech
Author Portfolio   : https://themeforest.net/user/pus_infotech 
Version            : 1.0.0 
-----------------------------------------------------------------------
CSS TABLE OF CONTENTS
-----------------------------------------------------------------------
- base 
    - variables
    - mixin
    - reset
    - typography
    - forms

- components 
    - accordion
    - breadcrumb
    - buttons
    - offcanvus
    - widget

- theme
    - animations
    - common
    - preloader 
    - spacing
    - theme-class
 
- layout
    -header
        - header
        - meanmenu
    - footer 
        - footer
    - section 
        - hero 
        - micon 
        - about 
        - services 
        - why-choose 
        - appointment 
        - portfolio 
        - testimonials 
        - marquee
        - doctor
        - cta
        - features 
        - partners
        - faq
        - pricing
        - blog
        - instagram
        - contact
        - video
        - how-it-work
        - counter
        - skills
        - gallery
        - authentication
        - product
        - cart
        - checkout
        - wishlist

Main Style file-> assets/css/main.css
-----------------------------------------------------------------------*/

/* ===================================================================
   Le Pearl — Footer Maroon Theme Override
   Primary brand colour: #8B1A40
   =================================================================== */

/* Main footer body — deep maroon */
.footer-1 {
    background-color: #5a1128 !important;
}

/* Divider between footer-top and footer-bottom — visible on maroon */
.footer-1 .footer-bottom .footer-widget-wrap {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* Copyright strip — darker maroon, echoes how extra-color-six is darker than footer-color */
.footer .footer-copyright .footer-copyright-wrap {
    background-color: #3a0b1a !important;
}

/* Contact icon circles — use a slightly lighter maroon so they pop against the footer bg */
.footer .footer-top .footer-contact-info .footer-contact-icon {
    background-color: #8B1A40 !important;
}
.footer .footer-top .footer-contact-info .footer-contact-icon::before {
    background: #8B1A40 !important;
}

/* Widget title underline — keep white */
.footer .footer-bottom .footer-widget-wrap .footer-widget-title::after {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Align all four footer columns to the top of the row */
.footer .footer-bottom .footer-widget-wrap .row {
    align-items: flex-start;
}

/* Vertically centre the chevron icon with the link text */
.footer .footer-bottom .footer-widget-wrap .widget-link .link li a {
    display: inline-flex;
    align-items: center;
}

/* ===================================================================
   Header Top Bar — white background, primary colour text & icons
   =================================================================== */

.header-3 .header-top {
    border-bottom: 1px solid var(--border-color-one);
}

.header-3 .header-top .header-contact-info ul li p {
    color: var(--primary-color);
    font-size: 14px;
}

.header-3 .header-top .header-contact-info ul li p i {
    color: var(--primary-color);
}

.header-3 .header-top .header-contact-info ul li::before {
    background: rgba(139, 26, 64, 0.25);
}

.header-3 .header-top .header-top-right .social-icon li a {
    color: var(--primary-color);
    background: var(--primary-rgb-05);
    border-color: rgba(139, 26, 64, 0.2);
}

.header-3 .header-top .header-top-right .social-icon li a:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* ===================================================================
   Hero Slider — more attractive pill-shaped buttons
   =================================================================== */

.hero-section-3 .hero-button-wappper .theme-button {
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    min-width: 185px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.35s ease;
}

/* Button 1 — solid white, primary-colour text, shadow */
.hero-section-3 .hero-button-wappper .theme-button.style-4 {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 2px solid #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-section-3 .hero-button-wappper .theme-button.style-4 i {
    color: var(--primary-color);
    transform: rotate(-45deg);
}

.hero-section-3 .hero-button-wappper .theme-button.style-4:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.hero-section-3 .hero-button-wappper .theme-button.style-4:hover i {
    color: #ffffff;
    transform: rotate(0);
}

/* Button 2 — transparent with white border, glows on hover */
.hero-section-3 .hero-button-wappper .theme-button.style-5 {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-section-3 .hero-button-wappper .theme-button.style-5 i {
    color: #ffffff;
    transform: rotate(-45deg);
}

.hero-section-3 .hero-button-wappper .theme-button.style-5:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.hero-section-3 .hero-button-wappper .theme-button.style-5:hover i {
    color: var(--primary-color);
    transform: rotate(0);
}

/* Hovered nav links in copyright bar — brighten slightly instead of using primary */
.footer .footer-copyright .footer-copyright-wrap .footer-bottom-nav li a:hover {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Social icon hover on dark maroon bg */
.footer-1 .footer-bottom .footer-widget-wrap .footer-widget-about .footer-social-icon .social-icon a {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.footer-1 .footer-bottom .footer-widget-wrap .footer-widget-about .footer-social-icon .social-icon a:hover {
    background-color: #8B1A40;
    color: #ffffff !important;
}

/* ===================================================================
   Le Pearl — Breadcrumb Light Theme Override
   Light tint of primary brand colour: #FAE8EF
   =================================================================== */

/* Replace the JS-injected background image with a light maroon tint */
.breadcrumb-section {
    background-image: none !important;
    background-color: #FAE8EF !important;
}

/* ===================================================================
   Le Pearl — Treatment FAQ Accordion Override
   Replace the default navy (#1A2855) active state with maroon
   =================================================================== */

#accordionTreatmentFAQ .accordion-item {
    background-color: #ffffff;
    border: 1px solid rgba(139, 26, 64, 0.12);
    box-shadow: none;
}
#accordionTreatmentFAQ .accordion-item .accordion-header .accordion-button {
    font-weight: 600;
    color: var(--primary-color);
}
#accordionTreatmentFAQ .accordion-item .accordion-header .accordion-button::after {
    color: var(--primary-color);
}
#accordionTreatmentFAQ .accordion-item .accordion-header .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: #ffffff;
}
#accordionTreatmentFAQ .accordion-item .accordion-header .accordion-button:not(.collapsed)::after {
    color: #ffffff;
}
#accordionTreatmentFAQ .accordion-item .accordion-collapse .accordion-body {
    background-color: #ffffff;
    border-top: 1px solid rgba(139, 26, 64, 0.12);
}
#accordionTreatmentFAQ .accordion-item .accordion-collapse .accordion-body p {
    color: var(--text-color);
    font-weight: 400;
}

/* ===================================================================
   Le Pearl — Treatment Step Cards (How It Works section)
   =================================================================== */

.treatment-step-card {
    background: #FAE8EF;
    border: 1px solid rgba(139, 26, 64, 0.12);
    border-radius: var(--border-radius-two);
    padding: 35px 25px 30px;
    transition: var(--transition);
}
.treatment-step-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(139, 26, 64, 0.12);
    transform: translateY(-4px);
}
.treatment-step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.treatment-step-number span {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}
.treatment-step-card h4 {
    color: var(--primary-color);
    font-size: 20px;
}
   Match the light maroon tint used across the theme
   =================================================================== */

.treatment-stat-box {
    background: #FAE8EF !important;
    border-color: rgba(139, 26, 64, 0.15) !important;
}
.treatment-stat-box:hover {
    background: #f5d5e4 !important;
    border-color: #8B1A40 !important;
}

/* ===================================================================
   Le Pearl — Related Treatment Tag Pills
   =================================================================== */

.treatment-tag-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: #FAE8EF;
    color: var(--primary-color);
    border: 1.5px solid rgba(139, 26, 64, 0.25);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.treatment-tag-pill:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 26, 64, 0.25);
}
