:root {
        --primary-color: #1E1E1E;
        --secondary-color: #5A3D22;
        --accent-color: #C68A4A;
        --text-dark: #141414;
        --text-medium: #404040;
        --text-light: #6A6A6A;
        --light-bg: #F9F3EE;
        --dark-bg: #1E1E1E;
        --white: #FFFFFF;
        --black: #000000;
        --btn-light: #C68A4A;
        --btn-light-hover: #A6703A;
        --btn-dark: #5A3D22;
        --btn-dark-hover: #3F2A17;
        --primary-font: 'Poppins', sans-serif;
        --secondary-font: 'Montserrat', sans-serif;
        --section-padding: 100px 0;
        --section-padding-md: 70px 0;
        --section-padding-sm: 50px 0;
        --transition: all 0.3s ease-in-out;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.2);
        --border-radius: 10px;
    }

    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

    /* ========== Hero Section with Parallax ========== */
    .about-hero {
        position: relative;
        height: 40vh;
        min-height: 550px;
        display: flex;
        align-items: center;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), 
                    url('/wp-content/uploads/2025/08/WhatsApp-Image-2025-08-30-at-5.02.51-PM-1.webp') no-repeat center/cover fixed;
        color: var(--white);
        overflow: hidden;
        background-attachment: fixed;
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
    }

    @supports (-webkit-overflow-scrolling: touch) {
        .about-hero {
            background-attachment: scroll !important;
        }
    }

    @media (max-width: 768px) {
        .about-hero {
            background-attachment: scroll;
        }
    }

     .about-hero .hero-content {
        position: relative;
        z-index: 3;
        max-width: 700px;
        min-height: 399px;
    }

     .about-hero .hero-content h1 {
        font-size: 4rem;
        margin-bottom: 1.5rem;
        color: var(--white);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        animation: fadeInUp 1s ease;
        line-height: 1.2;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

     .about-hero .hero-content p {
        font-size: 1.5rem;
        opacity: 0.9;
        margin-bottom: 0;
        animation: fadeInUp 1s ease 0.3s forwards;
        opacity: 0;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .about-hero .hero-btns {
        opacity: 1;
    }

    .about-hero .hero-btns .btn {
        margin-right: 15px;
        margin-bottom: 15px;
        animation: fadeInUp 1s ease 0.5s forwards;
        opacity: 0;
    }

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

     @media (max-width: 1199px) {
        .about-hero .hero-content h1 {
            font-size: 3.5rem;
        }
        
        .section-header h2 {
            font-size: 2.4rem;
        }
    }

    @media (max-width: 991px) {
        :root {
            --section-padding: var(--section-padding-md);
        }
        
         .about-hero .hero-content h1 {
            font-size: 3rem;
        }
    }

    @media (max-width: 767px) {
       
        .about-hero {
            height: 80vh;
            min-height: 380px;
            text-align: center;
            background-attachment: scroll;
        }
        
        .hero-content {
            text-align: center;
            margin: 0 auto;
        }
        
        .hero-content h1 {
            font-size: 2.5rem;
        }
        
        .about-hero .hero-content p {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 575px) {
        .about-hero {
            height: 70vh;
            min-height: 500px;
        }
        
        .hero-content h1 {
            font-size: 2rem;
        }
        
        .about-hero .hero-content p {
            font-size: 1rem;
        }
    }
    
    /* ========== Doctors Content ========== */
    .doctors-main {
        padding: var(--section-padding);
        background: var(--white);
    }

    .section-header {
        text-align: center;
        max-width: 700px;
        margin: 0 auto 50px;
    }

    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
        text-transform: uppercase;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--accent-color);
        transition: width 0.4s ease;
    }

    .section-header:hover h2::after {
        width: 80px;
    }

    .section-header p {
        font-size: 1.1rem;
        color: var(--text-medium);
        line-height: 1.6;
    }

    /* Unified Doctors Grid */
    .doctors-grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    @media (min-width: 1920px) {
        .doctors-grid-container {
            grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
        }
    }
      @media (min-width: 1400px) {
        .doctors-grid-container {
            grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
        }
    }
    .doctor-card {
        background: var(--white);
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: var(--transition);
        border: 1px solid rgba(198, 138, 74, 0.2);
        opacity: 1;
        transform: translateY(0);
    }

    .doctor-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
        border-color: var(--accent-color);
    }

    .doctor-image {
        height: 200px;
        position: relative;
        overflow: hidden;
    }

    .doctor-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.5s ease;
        transform: scale(0.94);
    }

    .doctor-card:hover .doctor-image img {
        transform: scale(0.88);
    }

    .doctor-content {
        padding: 20px;
        text-align: center;
    }

    .doctor-name {
        font-size: 1.4rem;
        margin-bottom: 8px;
        color: var(--text-dark);
    }

    .doctor-specialty {
        color: var(--accent-color);
        font-weight: 600;
        font-size: 0.95rem;
        margin-bottom: 12px;
        display: block;
    }

    .doctor-department {
        display: inline-block;
        background: rgba(198, 138, 74, 0.1);
        color: var(--accent-color);
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    /* ========== Specialties Section with Modern Slider ========== */
    .specialties-section {
        padding: var(--section-padding);
        background: var(--light-bg);
        position: relative;
    }

    .specialties-slider {
        position: relative;
        padding: 0px 0 0px;
    }

    .swiper {
        width: 100%;
        height: 100%;
        padding: 30px 10px 60px;
    }

    .swiper-slide {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .specialty-card {
        background: var(--white);
        border-radius: var(--border-radius);
        padding: 30px 20px;
        text-align: center;
        box-shadow: var(--shadow);
        transition: var(--transition);
        border: 1px solid rgba(198, 138, 74, 0.1);
        height: 250px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        opacity: 1;
        transform: scale(1);
    }

    .specialty-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
        border-color: var(--accent-color);
    }

    .specialty-icon {
        width: 70px;
        height: 70px;
        background: var(--accent-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        color: var(--white);
        font-size: 1.8rem;
        transition: var(--transition);
    }

    .specialty-card:hover .specialty-icon {
        transform: scale(1.1);
    }

    .specialty-name {
        font-size: 1.2rem;
        margin-bottom: 12px;
        color: var(--text-dark);
        line-height: 1.3;
    }

    .specialty-desc {
        color: var(--text-medium);
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .swiper-button-next, .swiper-button-prev {
        color: var(--accent-color);
        background: var(--white);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        box-shadow: var(--shadow);
        transition: var(--transition);
        top: 50%;
        transform: translateY(-50%);
    }

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .swiper-button-next:hover, .swiper-button-prev:hover {
        background: var(--accent-color);
        color: var(--white);
    }

    /* Modern bullet pagination */
    .swiper-pagination {
        bottom: 0;
    }

    .swiper-pagination-bullet {
        background: var(--text-light);
        opacity: 0.5;
        width: 12px;
        height: 12px;
        transition: all 0.3s ease;
    }

    .swiper-pagination-bullet-active {
        background: var(--accent-color);
        opacity: 1;
        width: 30px;
        border-radius: 10px;
    }

    /* ========== CTA Section ========== */
    .cta-section {
        padding: var(--section-padding);
        background: linear-gradient(rgba(30, 30, 30, 0.8), rgba(30, 30, 30, 0.8)),
                    url('/wp-content/themes/backbonemedicity/assets/img/backbone/back-bone-cta-bg.webp') no-repeat center/cover fixed;
        color: var(--white);
        text-align: center;
    }

    @media (max-width: 768px) {
        .cta-section {
            background-attachment: scroll;
        }
    }

    .cta-content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        text-transform: uppercase;
    }

    .cta-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0.9;
    }

    .cta-btns .btn {
        margin: 0 10px 10px;
    }

    .btn-secondary {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(198, 138, 74, 0.4); }
        70% { box-shadow: 0 0 0 15px rgba(198, 138, 74, 0); }
        100% { box-shadow: 0 0 0 0 rgba(198, 138, 74, 0); }
    }

    /* ========== Responsive Styles ========== */
    @media (max-width: 991px) {
        :root {
            --section-padding: var(--section-padding-md);
        }

        .section-header h2 {
            font-size: 2.2rem;
        }
    }

    @media (max-width: 767px) {
        :root {
            --section-padding: var(--section-padding-sm);
        }
        
        .specialty-card {
            height: 220px;
            padding: 20px 15px;
        }
        
        .specialty-name {
            font-size: 1.1rem;
        }
        
        .swiper-button-next, .swiper-button-prev {
            display: none;
        }
    }

    @media (max-width: 575px) {
        .doctors-grid-container {
            grid-template-columns: 1fr;
        }

        .cta-content h2 {
            font-size: 2rem;
        }

        .doctor-image {
            height: 180px;
        }

        .cta-btns .btn {
            display: block;
            width: 100%;
            margin: 10px 0;
        }
        
        .specialty-card {
            height: auto;
            min-height: 200px;
        }
    }

    /* Lazy Loading Animation */
    img[loading="lazy"] {
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    img[loading="lazy"].loaded {
        opacity: 1;
    }
	.doctor-image {
    position: relative; 
    overflow: hidden;
}

.doctor-label.luxury {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #b8860b, #f1c40f); 
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
}