:root {
        --primary-color: #1E1E1E;
        --secondary-color: #5A3D22;
        --accent-color: #C68A4A;
        --gold-light: #D4AF37;
        --text-dark: #141414;
        --text-medium: #404040;
        --text-light: #6A6A6A;
        --light-bg: #F9F3EE;
        --dark-bg: #1E1E1E;
        --white: #FFFFFF;
        --off-white: #F8F8F8;
        --black: #000000;
        --btn-light: #C68A4A;
        --btn-light-hover: #A6703A;
        --btn-dark: #5A3D22;
        --btn-dark-hover: #3F2A17;
        --primary-font: 'Poppins', sans-serif;
        --secondary-font: 'Lora', serif;
        --section-padding: 80px 0;
        --section-padding-md: 60px 0;
        --section-padding-sm: 40px 0;
        --transition: all 0.3s ease-in-out;
        --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
        --border-radius: 12px;
        --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C68A4A 50%, #BF8C42 100%);
    }

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

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

    body {
        font-family: var(--primary-font);
        color: var(--text-medium);
        line-height: 1.7;
        overflow-x: hidden;
        background-color: var(--light-bg);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: var(--secondary-font);
        color: var(--text-dark);
        font-weight: 700;
        line-height: 1.3;
    }

    a {
        text-decoration: none;
        color: inherit;
        transition: var(--transition);
    }

    img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 28px;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        transition: var(--transition);
        border: none;
        font-size: 14px;
        position: relative;
        overflow: hidden;
        z-index: 1;
        letter-spacing: 0.5px;
        gap: 8px;
    }

    .btn-primary {
        background: var(--gold-gradient);
        color: var(--white);
        box-shadow: var(--shadow);
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

    .btn-secondary {
        background-color: transparent;
        color: var(--accent-color);
        border: 2px solid var(--accent-color);
    }

    .btn-secondary:hover {
        background-color: var(--accent-color);
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

    .container {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }

    @media (min-width: 576px) {
        .container {
            max-width: 540px;
        }
    }

    @media (min-width: 768px) {
        .container {
            max-width: 720px;
        }
    }

    @media (min-width: 992px) {
        .container {
            max-width: 960px;
        }
    }

    @media (min-width: 1200px) {
        .container {
            max-width: 1140px;
        }
    }

    @media (min-width: 1400px) {
        .container {
            max-width: 1320px;
        }
    }

    @media (min-width: 1920px) {
        .container {
            max-width: 1600px;
        }
    }

    /* ========== Hero Section ========== */
    .management-hero {
        position: relative;
        height: 60vh;
        min-height: 500px;
        display: flex;
        align-items: center;
        background: linear-gradient(rgba(30, 30, 30, 0.7), rgba(30, 30, 30, 0.4)),
            url('/wp-content/themes/backbonemedicity/assets/img/backbone/pexels-edmond-dantes-4342126 (1).webp') no-repeat center/cover;
        color: var(--white);
        text-align: center;
        overflow: hidden;
    }

    .management-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(198, 138, 74, 0.2) 0%, rgba(90, 61, 34, 0.4) 100%);
        z-index: 1;
    }

    .management-hero .hero-content {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }

    .management-hero h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
        color: var(--white);
    }

    .management-hero p {
        font-size: clamp(1.1rem, 2vw, 1.5rem);
        opacity: 0.9;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        font-weight: 300;
    }

    .management-hero .btn {
        margin: 0 auto;
        width: fit-content;
    }

    /* ========== Management Team Section ========== */
    .management-main {
        padding: var(--section-padding);
        background: var(--white);
        position: relative;
    }

    .management-main::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.unsplash.com/photo-1595079835353-3a5f6f6e4c0a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') no-repeat center/cover fixed;
        opacity: 0.03;
        z-index: 0;
    }

    .section-header {
        text-align: center;
        max-width: 700px;
        margin: 0 auto 50px;
        position: relative;
        z-index: 1;
    }

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

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

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

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

    .management-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
        gap: 25px;
        opacity: 1;
        position: relative;
        z-index: 1;
    }

    @media (min-width: 1800px) {
        .management-grid {
            grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
        }
    }

    @media (min-width: 1401px) and (max-width: 1799px) {
        .management-grid {
            grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
        }
    }

    .management-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.1);
        display: flex;
        flex-direction: column;
        opacity: 1;
        transform: translateY(0);
        position: relative;
    }

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

    .card-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: var(--gold-gradient);
        color: var(--white);
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        z-index: 2;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .management-image {
        height: 280px;
        position: relative;
        overflow: hidden;
    }

    .management-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.9s ease;
        transform: scale(0.88);
    }

    .management-card:hover .management-image img {
        transform: scale(0.93);
    }

    .management-content {
        padding: 20px;
        text-align: center;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

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

    .management-card:hover .management-name {
        color: var(--accent-color);
    }

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

    .management-quote {
        font-style: italic;
        color: var(--text-medium);
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.5;
        position: relative;
        padding: 0 10px;
    }

    .management-quote::before,
    .management-quote::after {
        content: '"';
        font-size: 1.5rem;
        color: var(--accent-color);
        position: absolute;
    }

    .management-quote::before {
        left: -5px;
        top: -5px;
    }

    .management-quote::after {
        right: -5px;
        bottom: -15px;
    }

    .management-actions .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    /* ========== CTA Section ========== */
    .cta-section {
        padding: var(--section-padding);
        background: linear-gradient(rgba(30, 30, 30, 0.9), rgba(30, 30, 30, 0.85)),
            url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') no-repeat center/cover;
        color: var(--white);
        background-attachment: fixed;
        text-align: center;
    }

    .cta-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .cta-content h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        color: var(--white);
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        opacity: 0.9;
    }

    .cta-btns {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .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);
        }
    }

    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 1000;
        align-items: center;
        justify-content: center;
        overflow: auto;
        padding: 20px;
    }

    .modal-content {
        background: var(--white);
        border-radius: var(--border-radius);
        max-width: 700px;
        width: 90%;
        padding: 30px;
        position: relative;
        box-shadow: var(--shadow-hover);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--text-dark);
        transition: var(--transition);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .modal-close:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .modal-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        width: 100%;
    }

    .modal-image {
        width: 160px;
        height: 200px;
        margin: 0 auto 15px;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    .modal-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .modal-name {
        font-size: 1.8rem;
        color: var(--text-dark);
        margin-bottom: 10px;
        text-align: center;
    }

    .modal-role {
        color: var(--accent-color);
        font-size: 1.1rem;
        margin-bottom: 15px;
        text-align: center;
        font-weight: 600;
    }

    .modal-bio {
        font-size: 0.95rem;
        color: var(--text-medium);
        line-height: 1.7;
        margin-bottom: 20px;
        text-align: center;
    }

    .modal-social {
        display: flex;
        gap: 12px;
    }

    .modal-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--light-bg);
        color: var(--accent-color);
        font-size: 1.1rem;
        transition: var(--transition);
    }

    .modal-social a:hover {
        background: var(--accent-color);
        color: var(--white);
        transform: translateY(-3px);
    }

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

        .management-hero {
            height: 50vh;
            min-height: 450px;
        }

        .management-hero h1 {
            font-size: 2.8rem;
        }

        .management-grid {
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        }
    }

    @media (max-width: 767px) {
        :root {
            --section-padding: var(--section-padding-sm);
        }

        .management-hero {
            height: 45vh;
            min-height: 400px;
        }

        .management-hero h1 {
            font-size: 2.2rem;
        }

        .management-hero p {
            font-size: 1rem;
        }

        .management-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .management-card {
            max-width: 350px;
            margin-left: auto;
            margin-right: auto;
        }

        .management-image {
            height: 250px;
        }

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

        .cta-btns {
            flex-direction: column;
            align-items: center;
        }

        .cta-btns .btn {
            width: 100%;
            max-width: 280px;
        }

        .modal-content {
            padding: 20px;
        }

        .modal-image {
            width: 140px;
            height: 180px;
        }

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

    @media (max-width: 575px) {
        .management-hero {
            height: 40vh;
            min-height: 380px;
        }

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

        .section-header p {
            font-size: 1rem;
        }

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

        .modal-role {
            font-size: 1rem;
        }
    }

    img[loading="lazy"] {
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    img[loading="lazy"].loaded {
        opacity: 1;
    }

    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--light-bg);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }