/*
=========================================================
 ADVOCATE HERO — REFERENCE MATCH
 Scoped ONLY to .adv-hero
 Brand: #1B2436 / #96793C
=========================================================
*/

.adv-hero {
    --hero-bg: #1B2436;
    --hero-gold: #96793C;
    --hero-gold-light: #b99a5a;
    --hero-white: #ffffff;
    --hero-muted: rgba(255,255,255,.78);

    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #1B2436;
    color: #ffffff;
    isolation: isolate;
}

/* Deep navy background */
.adv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        radial-gradient(circle at 74% 44%, rgba(150,121,60,.12), transparent 25%),
        linear-gradient(100deg, #0c1522 0%, #1B2436 56%, #111a28 100%);
}

/* Soft dark overlay on the image so text stays readable */
.adv-hero .adv-hero__image-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            #1B2436 0%,
            rgba(27,36,54,.98) 29%,
            rgba(27,36,54,.78) 43%,
            rgba(27,36,54,.16) 67%,
            rgba(27,36,54,0) 82%
        ),
        linear-gradient(
            0deg,
            #1B2436 0%,
            rgba(27,36,54,0) 22%,
            rgba(27,36,54,0) 78%,
            #101a28 100%
        );
}

/*
---------------------------------------------------------
 RIGHT-SIDE ADVOCATE IMAGE
 This is the important difference from the previous CSS.
 The photograph is a real positioned image, not a generic
 background covering the whole hero.
---------------------------------------------------------
*/
.adv-hero .adv-hero__photo-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 57%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.adv-hero .adv-hero__photo {
    position: absolute;
    top: 0;
    right: -1%;
    width: 103%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
    display: block;
    filter: saturate(.88) contrast(1.04);
}

/* Fade the left edge of the actual photograph */
.adv-hero .adv-hero__photo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 58% 44%,
            transparent 0%,
            transparent 48%,
            rgba(6,12,20,.22) 74%,
            rgba(6,12,20,.62) 100%
        );
}

.adv-hero .adv-hero__photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #1B2436 0%,
            rgba(27,36,54,.94) 8%,
            rgba(27,36,54,.48) 25%,
            transparent 52%
        ),
        linear-gradient(
            0deg,
            rgba(27,36,54,.98) 0%,
            transparent 17%,
            transparent 82%,
            rgba(27,36,54,.35) 100%
        );
}

/*
---------------------------------------------------------
 GOLD CURVED BORDER
 Similar to the large elegant curve in reference image 1.
---------------------------------------------------------
*/
.adv-hero .adv-hero__gold-curve {
    position: absolute;
    z-index: 3;
    width: 1050px;
    height: 1180px;
    right: -430px;
    top: -145px;
    border: 3px solid var(--hero-gold);
    /* border-left-color: transparent;
    border-bottom-color: transparent; */
    border-radius: 50%;
    transform: rotate(17deg);
    pointer-events: none;
}

/* Subtle second curve for depth */
.adv-hero .adv-hero__gold-curve::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(150,121,60,.14);
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
}

/*
---------------------------------------------------------
 HERO CONTENT
---------------------------------------------------------
*/
.adv-hero .adv-hero__container {
    position: relative;
    z-index: 5;
    width: min(calc(100% - 120px), 1420px);
    min-height: 650px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.adv-hero .adv-hero__content {
    width: 57%;
    /* padding-top: 72px;
    padding-bottom: 125px; */
}

/* Eyebrow */
.adv-hero .adv-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
    color: var(--hero-gold-light);
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    /*margin-top:70px;*/
}

.adv-hero .adv-hero__eyebrow-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--hero-gold);
    font-size: 30px;
}

.adv-hero .adv-hero__eyebrow-lines {
    position: relative;
    width: 280px;
    height: 1px;
    margin-left: 4px;
    background: linear-gradient(90deg, var(--hero-gold), transparent);
}

.adv-hero .adv-hero__eyebrow-lines::after {
    content: "◇";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    padding: 0 8px;
    background: #1B2436;
    color: var(--hero-gold);
    font-size: 12px;
}

/* Main heading */
.adv-hero .adv-hero__title {
    max-width: 800px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 3.5vw, 60px);
    font-weight: 400;
    line-height: .91;
    letter-spacing: -.045em;
}

.adv-hero .adv-hero__title .adv-hero__title-white {
    display: block;
    color: #ffffff;
}

.adv-hero .adv-hero__title .adv-hero__title-gold {
    display: block;
    color: var(--hero-gold-light);
}

/* Small gold rule under title */
.adv-hero .adv-hero__rule {
    width: 88px;
    height: 2px;
    margin: 10px 0 14px;
    background: var(--hero-gold);
}

/* Description */
.adv-hero .adv-hero__description {
    max-width: 570px;
    margin: 0 0 14px;
    color: var(--hero-muted);
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.75;
}

/*
---------------------------------------------------------
 BUTTONS
---------------------------------------------------------
*/
.adv-hero .adv-hero__actions {
    display: flex;
    align-items: center;
    gap: 27px;
}

.adv-hero .adv-hero__button {
    min-height: 56px;
    padding: 0 12px 0 29px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    border-radius: 7px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .25s ease, background .25s ease;
}

.adv-hero .adv-hero__button:hover {
    transform: translateY(-2px);
}

.adv-hero .adv-hero__button--primary {
    color: #101010;
    background: var(--hero-gold);
}

.adv-hero .adv-hero__button--primary:hover {
    color: #101010;
    background: var(--hero-gold-light);
}

.adv-hero .adv-hero__button-arrow {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    color: var(--hero-gold);
    background: #162131;
    font-size: 21px;
}

.adv-hero .adv-hero__button--secondary {
    padding: 0 28px;
    border: 1px solid var(--hero-gold);
    color: #ffffff;
    background: rgba(15,25,39,.35);
}

.adv-hero .adv-hero__button--secondary:hover {
    color: #ffffff;
    background: rgba(150,121,60,.10);
}

.adv-hero .adv-hero__play {
    color: var(--hero-gold);
    font-size: 16px;
}

/*
---------------------------------------------------------
 STATISTICS CARD
---------------------------------------------------------
*/
.adv-hero .adv-hero__stats {
    width: fit-content;
    max-width: 100%;
    margin-top: 19px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(150,121,60,.32);
    border-radius: 10px;
    background: rgba(11,19,31,.43);
    backdrop-filter: blur(7px);
}

.adv-hero .adv-hero__stat {
    position: relative;
    /* min-height: 130px; */
    padding: 20px 10px;
    gap:10px;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
}

.adv-hero .hero-flex{
    display: flex;
    flex-direction: column;
}

.adv-hero .adv-hero__stat + .adv-hero__stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    bottom: 25px;
    width: 1px;
    background: rgba(150,121,60,.30);
}

.adv-hero .adv-hero__stat-icon {
    margin-bottom: 8px;
    color: var(--hero-gold);
    font-size: 25px;
    line-height: 1;
}

.adv-hero .adv-hero__stat-number {
    color: var(--hero-gold-light);
    /* font-family: Georgia, "Times New Roman", serif; */
    font-size: 25px;
    line-height: 1;
}

.adv-hero .adv-hero__stat-label {
    margin-top: 8px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
}

/*
---------------------------------------------------------
 ADVOCATE SIGNATURE
---------------------------------------------------------
*/


.adv-hero .adv-hero__signature {
    position: absolute;
    right: 5%;
    bottom: 115px; /* Quote strip ke top par neatly align karne ke liye */
    z-index: 10; /* Quote strip (z-index: 9) ke upar lane ke liye */
    text-align: left;
    border: 1px solid #96793c;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(17, 25, 38, 0.85); /* Readability ke liye solid background overlay */
    backdrop-filter: blur(10px);
}
.adv-hero .adv-hero__signature-name {
    color: var(--hero-gold-light);
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 35px;
    font-style: italic;
    line-height: 1;
}

.adv-hero .adv-hero__signature-title {
    margin-top: 10px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.adv-hero .adv-hero__signature-role {
    margin-top: 7px;
    color: var(--hero-gold-light);
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/*
---------------------------------------------------------
 BOTTOM QUOTE STRIP
---------------------------------------------------------
*/
.adv-hero .adv-hero__quote-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 105px;
    z-index: 9;
    border-top: 1px solid rgba(150,121,60,.24);
    background: rgba(10,17,29,.56);
}

.adv-hero .adv-hero__quote-container {
    width: min(calc(100% - 120px), 1420px);
    min-height: 105px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.adv-hero .adv-hero__quote {
    display: flex;
    align-items: center;
    gap: 24px;
}

.adv-hero .adv-hero__quote-mark {
    color: var(--hero-gold);
    font-family: Georgia, serif;
    font-size: 55px;
    line-height: 1;
}

.adv-hero .adv-hero__quote-text {
    margin: 0;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

.adv-hero .adv-hero__quote-text strong {
    color: var(--hero-gold-light);
}

/* Gold dot pattern */
.adv-hero .adv-hero__dots {
    width: 390px;
    height: 78px;
    opacity: .55;
    background-image: radial-gradient(#96793C 1.4px, transparent 1.4px);
    background-size: 11px 11px;
    mask-image: linear-gradient(90deg, transparent, #000 65%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%);
}

/*
=========================================================
 TABLET
=========================================================
*/
@media (max-width: 1180px) {
    .adv-hero .adv-hero__container,
    .adv-hero .adv-hero__quote-container {
        width: min(calc(100% - 50px), 1420px);
    }

    .adv-hero .adv-hero__content {
        width: 59%;
    }

    .adv-hero .adv-hero__title {
        font-size: clamp(40px, 3.5vw, 60px);
    }

    .adv-hero .adv-hero__photo-wrap {
        width: 61%;
    }

    .adv-hero .adv-hero__gold-curve {
        right: -500px;
    }

    .adv-hero .adv-hero__signature {
        right: 4%;
    }
}

/*
=========================================================
 MOBILE
=========================================================
*/
@media (max-width: 820px) {
    .adv-hero {
        min-height: 1050px;
    }

    .adv-hero .adv-hero__container {
        min-height: 1050px;
        width: min(calc(100% - 32px), 1420px);
        align-items: flex-start;
    }

    .adv-hero .adv-hero__content {
        width: 100%;
        /* padding-top: 145px;
        padding-bottom: 230px; */
    }

    .adv-hero .adv-hero__photo-wrap {
        width: 100%;
        height: 720px;
        top: 300px;
        opacity: .62;
    }

    .adv-hero .adv-hero__image-overlay {
        background:
            linear-gradient(90deg, #1B2436 0%, rgba(27,36,54,.82) 40%, rgba(27,36,54,.18) 100%),
            linear-gradient(0deg, #1B2436 0%, transparent 30%, rgba(27,36,54,.3) 100%);
    }

    .adv-hero .adv-hero__title {
        font-size: clamp(40px, 3.5vw, 60px);
    }

    .adv-hero .adv-hero__actions {
        flex-wrap: wrap;
    }

    .adv-hero .adv-hero__stats {
        width: 100%;
    }

    .adv-hero .adv-hero__signature {
        right: 24px;
        bottom: 175px;
    }

    .adv-hero .adv-hero__gold-curve {
        right: -640px;
    }

    .adv-hero .adv-hero__quote-container {
        width: calc(100% - 32px);
    }

    .adv-hero .adv-hero__dots {
        display: none;
    }
}

@media (max-width: 560px) {
    .adv-hero {
        min-height: 1050px;
    }

    .adv-hero .adv-hero__container {
        min-height: 1050px;
    }

    .adv-hero .adv-hero__eyebrow {
        font-size: 10px;
        letter-spacing: .15em;
        margin-top:70px;
    }

    .adv-hero .adv-hero__eyebrow-icon {
        width: 42px;
        height: 42px;
        font-size: 23px;
    }

    .adv-hero .adv-hero__eyebrow-lines {
        width: 110px;
        display:none;
    }

    .adv-hero .adv-hero__title {
        font-size: clamp(45px, 13vw, 64px);
    }

    .adv-hero .adv-hero__description {
        max-width: 390px;
        font-size: 15px;
        line-height: 1.6;
    }

    .adv-hero .adv-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .adv-hero .adv-hero__button {
        justify-content: center;
    }

    .adv-hero .adv-hero__stats {
        grid-template-columns: 1fr;
    }

    .adv-hero .adv-hero__stat {
        min-height: 78px;
        padding: 14px 20px;
    }

    .adv-hero .adv-hero__stat + .adv-hero__stat::before {
        left: 20px;
        right: 20px;
        top: 0;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .adv-hero .adv-hero__signature {
        right: 18px;
        bottom: 165px;
    }

    .adv-hero .adv-hero__signature-name {
        font-size: 26px;
    }

    .adv-hero .adv-hero__quote-strip {
        min-height: 115px;
    }

    .adv-hero .adv-hero__quote-container {
        min-height: 115px;
    }

    .adv-hero .adv-hero__quote {
        gap: 12px;
    }

    .adv-hero .adv-hero__quote-mark {
        font-size: 40px;
    }

    .adv-hero .adv-hero__quote-text {
        font-size: 12px;
    }
}


/** responsivness **/
/*
=========================================================
 MOBILE ADJUSTMENTS (TEXT SMALL, 1-LINE BUTTONS & STATS)
=========================================================
*/
@media (max-width: 560px) {
    .adv-hero {
        min-height: auto;
        padding-bottom: 120px; /* Quote strip ke liye space */
    }

    .adv-hero .adv-hero__container {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 20px;
    }

    /* Eyebrow - Small Text */
    .adv-hero .adv-hero__eyebrow {
        font-size: 9px;
        letter-spacing: .1em;
        gap: 6px;
    }

    .adv-hero .adv-hero__eyebrow-icon {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .adv-hero .adv-hero__eyebrow-lines {
        width: 60px;
    }

    /* Title Heading - Smaller Size */
    .adv-hero .adv-hero__title {
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.1;
    }

    /* Description Paragraph - Smaller Text */
    .adv-hero .adv-hero__description {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    /* Buttons - 2 Buttons in 1 Line */
    .adv-hero .adv-hero__actions {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }

    .adv-hero .adv-hero__button {
    
        min-height: 44px;
        padding: 0 10px;
        font-size: 10px;
        letter-spacing: 0;
        justify-content: center;
        gap: 6px;
        white-space: nowrap;
    }

    .adv-hero .adv-hero__button-arrow {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .adv-hero .adv-hero__button--secondary {
        padding: 0 10px;
    }

    /* Stats Box - 3 Items in 1 Line */
    .adv-hero .adv-hero__stats {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 15px;
    }

    .adv-hero .adv-hero__stat {
        min-height: auto;
        padding: 8px 4px;
        gap: 4px;
        align-items: center;
        text-align: center;
    }

    .adv-hero .adv-hero__stat + .adv-hero__stat::before {
        left: 0;
        right: auto;
        top: 15px;
        bottom: 15px;
        width: 1px;
        height: auto;
    }

    .adv-hero .adv-hero__stat-icon {
        font-size: 16px;
        margin-bottom: 0;
    }

    .adv-hero .adv-hero__stat-number {
        font-size: 14px;
    }

    .adv-hero .adv-hero__stat-label {
        font-size: 8px;
        margin-top: 2px;
        line-height: 1.1;
    }

    /* Signature Box Placement */
    .adv-hero .adv-hero__signature {
        right: 12px;
        bottom: 65px;
        padding: 6px 10px;
    }

    .adv-hero .adv-hero__signature-name {
        font-size: 20px;
    }

    .adv-hero .adv-hero__signature-title {
        font-size: 11px;
        margin-top: 2px;
    }

    .adv-hero .adv-hero__signature-role {
        font-size: 8px;
        margin-top: 2px;
    }

    /* Quote Strip adjustments */
    .adv-hero .adv-hero__quote-strip {
        min-height: 90px;
    }

    .adv-hero .adv-hero__quote-container {
        min-height: 90px;
    }

    .adv-hero .adv-hero__quote-mark {
        font-size: 32px;
    }

    .adv-hero .adv-hero__quote-text {
        font-size: 11px;
    }
}


/*
=========================================================
 MOBILE FIX (820px & below)
=========================================================
*/
/*

/*
=========================================================
 MOBILE FIX (820px & below) — HIGH VISIBILITY IMAGE
=========================================================
*/
@media (max-width: 820px) {
    .adv-hero {
        min-height: auto;
    }

    .adv-hero .adv-hero__container {
        min-height: auto;
        width: min(calc(100% - 32px), 1420px);
        align-items: flex-start;
    }

    .adv-hero .adv-hero__content {
        width: 100%;
        position: relative;
        z-index: 6;
    }

    /* 1. Image Opacity full ki aur positioning center set ki */
    .adv-hero .adv-hero__photo-wrap {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.85; /* Clear and visible photo */
    }

    .adv-hero .adv-hero__photo {
        object-fit: cover;
        object-position: center top;
        filter: saturate(1) contrast(1.05); /* Original rich color look */
    }

    /* 2. Soft Dark Gradient taaki image clearly dikhe aur text redable rahe */
    .adv-hero .adv-hero__image-overlay {
        background: linear-gradient(
            180deg, 
            rgba(27, 36, 54, 0.92) 0%, 
            rgba(27, 36, 54, 0.65) 45%, 
            rgba(27, 36, 54, 0.95) 100%
        );
    }

    /* Image Wrapper ke inner gradients ko light kar diya */
    .adv-hero .adv-hero__photo-wrap::after {
        background: linear-gradient(
            180deg,
            rgba(27, 36, 54, 0.70) 0%,
            transparent 40%,
            rgba(27, 36, 54, 0.85) 100%
        );
    }

    .adv-hero .adv-hero__signature {
        right: 24px;
        background: rgba(17, 25, 38, 0.85); /* Readability enhancement for signature card */
    }

    .adv-hero .adv-hero__gold-curve,
    .adv-hero .adv-hero__dots {
        display: none;
    }
}

/* Arrow Container & SVG Styling */
.adv-hero .adv-hero__button-arrow {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: var(--hero-gold);
    background: #162131;
    transition: transform 0.25s ease;
}

.adv-hero .adv-hero__button-arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--hero-gold);
    transition: stroke 0.25s ease, transform 0.25s ease;
}

/* Hover effect on hover */
.adv-hero .adv-hero__button--primary:hover .adv-hero__button-arrow svg {
    transform: translateX(3px); /* Hover par arrow slight right shift hoga */
}

/* Mobile Adjustments (Existing media query extension) */
@media (max-width: 560px) {
    .adv-hero .adv-hero__button-arrow {
        width: 26px;
        height: 26px;
    }

    .adv-hero .adv-hero__button-arrow svg {
        width: 13px;
        height: 13px;
    }
}

/* 820px & below Desktop/Tablet Viewport */
@media (max-width: 820px) {
    .adv-hero .adv-hero__signature {
        right: 24px;
        bottom: 120px; /* Quote strip ke upar lane ke liye */
        z-index: 10;
        background: rgba(17, 25, 38, 0.90);
    }
}

/* 560px & below Mobile Viewport */
@media (max-width: 560px) {
    .adv-hero .adv-hero__signature {
        right: 12px;
        bottom: 50px; /* Mobile quote strip ke exact upar shift ho jaye */
        z-index: 10;
        padding: 8px 12px;
    }
}