
    @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&display=swap');

    :root {
        --brand-blue: #3E6695;
        --dark-slate: #111827;
        --light-bg: #ffffff;
    }

    .team-branded-area {
        padding: 80px 0;
        /* Slightly reduced padding */
        background-color: var(--light-bg);
        font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .section-title-wrap {
        border-left: 6px solid var(--brand-blue);
        /* Thinner border for smaller scale */
        padding-left: 20px;
        margin-bottom: 50px;
    }

    .section-title-wrap h2 {
        font-weight: 800;
        font-size: clamp(2rem, 4vw, 2.8rem);
        /* Slightly smaller font */
        color: var(--dark-slate);
        letter-spacing: -1px;
        margin: 0;
    }

    /* Team Card - Reduced Size */
    .dr-branded-card {
        margin: 10px auto;
        max-width: 320px;
        /* Limits horizontal stretching */
        position: relative;
        overflow: hidden;
        border-radius: 22px;
        /* Slightly tighter radius */
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    /* Image Container - Key Change: Height reduced from 520px to 400px */
    .dr-image-container {
        height: 400px;
        width: 100%;
        overflow: hidden;
        background-color: #f3f4f6;
    }

    .dr-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

    .dr-content-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 25px 20px;
        /* Reduced padding */
        background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.3) 60%, transparent 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        transition: all 0.4s ease;
    }

    .dr-content-overlay h4 {
        color: #ffffff;
        font-weight: 800;
        font-size: 1.1rem;
        /* Better balance for smaller card */
        margin: 0;
        letter-spacing: -0.5px;
    }

    .dr-specialty-slide {
        color: var(--brand-blue);
        background: #ffffff;
        display: inline-block;
        width: fit-content;
        padding: 3px 10px;
        border-radius: 5px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.65rem;
        margin-bottom: 10px;
        opacity: 0;
        transform: translateY(15px);
        transition: all 0.4s ease;
    }

    /* Hover Effects - Unchanged UI feel */
    .dr-branded-card:hover .dr-image-container img {
        transform: scale(1.1);
    }

    .dr-branded-card:hover .dr-specialty-slide {
        opacity: 1;
        transform: translateY(0);
    }

    .dr-branded-card:hover .dr-content-overlay {
        padding-bottom: 35px;
        background: linear-gradient(to top, rgba(17, 24, 39, 1) 0%, rgba(17, 24, 39, 0.2) 100%);
    }

