/* Homepage hero slider (.sw-hero) + neeche ki features patti (.sw-features).
   Design: left mein safed fade par navy text, right mein project ki photo.
   Theme ki purani styling bahut specific hai, isliye selectors lambe hain aur kahin !important laga hai. */

.sw-hero,
.sw-features {
    --sw-blue: #4b85f0;
    --sw-blue-dark: #3a72dc;
    --sw-navy: #0f1f3d;
    --sw-ink: #1d2b45;
    --sw-muted: #5b6475;
    --sw-line: #e3e8f0;
    --sw-serif: 'Playfair Display', Georgia, serif;
}

/* ---------- Photo + safed fade ---------- */
.sw-hero .homepress_property_slide .slide-image-wrap::before {
    display: none !important;
}
.sw-hero .homepress_property_slide .slide-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    /* halka neela-safed fade: text saaf dikhe, photo peeche halki dikhe */
    background: linear-gradient(90deg,
        rgba(234, 242, 251, 0.96) 0%,
        rgba(234, 242, 251, 0.92) 38%,
        rgba(234, 242, 251, 0.6) 52%,
        rgba(234, 242, 251, 0) 68%);
    pointer-events: none;
}

/* ---------- Text block ---------- */
.sw-hero .homepress_property_slide .container .slide-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 720px;
    padding: 0 !important;
    color: var(--sw-ink);
    text-align: left;
    /* halki safed chamak, taaki parat kam hone par bhi text padha jaaye */
    text-shadow: 0 0 22px rgba(255, 255, 255, 0.7);
}
/* Desktop/tablet: slider ki height text ke hisaab se, upar-neeche barabar jagah.
   Photo peeche poori jagah cover karti hai. Description bharne par slider khud lamba hoga. */
@media (min-width: 768px) {
    .homepress_property_slider.sw-hero .owl-stage {
        display: flex !important;
    }
    .homepress_property_slider.sw-hero .owl-item {
        display: flex;
    }
    .sw-hero .owl-item > .homepress_property_slide {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 380px;
    }
    .sw-hero .homepress_property_slide .slide-image-wrap {
        position: absolute !important;
        inset: 0;
        height: 100% !important;
    }
    .sw-hero .homepress_property_slide .slide-image-wrap img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }
    .sw-hero .homepress_property_slide .container {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        height: auto !important;
        margin: 0 auto;
        padding-top: 52px;
        padding-bottom: 52px;
        transform: none !important;
    }
}
/* Desktop: header (~70px) + slider + features patti (110px) milkar poori screen bharein,
   taaki patti pehli screen ke bilkul neeche kinare par aaye. Content beech mein hi rehta hai. */
@media (min-width: 1025px) {
    .sw-hero .owl-item > .homepress_property_slide {
        min-height: max(380px, calc(100vh - 179px));
    }
}
.sw-hero .homepress_property_slide .slide-count {
    display: none;
}
.sw-hero .sw-eyebrow {
    margin-bottom: 6px;
    color: var(--sw-ink);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
}
.sw-hero .homepress_property_slide .container .slide-content .slide-title {
    margin: 0;
    color: var(--sw-navy);
    font-family: var(--sw-serif);
    font-size: 72px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-align: left;
}
.sw-hero .sw-tagline {
    margin-top: 16px;
    color: var(--sw-ink);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 7px;
    text-transform: uppercase;
}
.sw-hero .sw-divider {
    display: block;
    width: 48px;
    height: 2px;
    margin: 16px 0 18px;
    background: var(--sw-blue);
    border-radius: 2px;
}
.sw-hero .sw-desc {
    max-width: 440px;
    margin: 0 0 24px;
    color: var(--sw-muted);
    font-size: 16px;
    line-height: 1.65;
}

/* ---------- Stats (BHK / size / location) ---------- */
.sw-hero .sw-stats {
    display: flex;
    flex-wrap: nowrap; /* teeno ek line mein, lamba address apni jagah mein wrap ho */
    margin-bottom: 12px;
}
.sw-hero .sw-stat {
    display: flex;
    align-items: flex-start;
    flex: 0 1 auto;
    gap: 10px;
    max-width: 300px;
    padding: 0 16px;
    border-left: 1px solid #c9d4e3;
}
.sw-hero .sw-stat:first-child {
    padding-left: 0;
    border-left: 0;
}
.sw-hero .sw-stat svg {
    flex: none;
    width: 30px;
    height: 30px;
    margin-top: 0;
    color: var(--sw-blue);
}
/* Theme slider ke svg ko safed fill/stroke deti hai */
.homepress_property_slider.sw-hero .homepress_property_slide .sw-stat svg path,
.homepress_property_slider.sw-hero .homepress_property_slide .sw-stat svg rect,
.homepress_property_slider.sw-hero .homepress_property_slide .sw-stat svg circle {
    fill: none !important;
    stroke: #4b85f0 !important;
}
.sw-hero .sw-stat strong {
    display: block;
    color: var(--sw-navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
}
.sw-hero .sw-stat small {
    display: block;
    margin-top: 3px;
    color: #5b6b85;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ---------- Button + price ---------- */
.sw-hero .sw-cta-row {
    display: flex;
    align-items: center;
    gap: 28px;
}
.sw-hero .homepress_property_slide .container .slide-content .homepress-button.sw-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 54px;
    margin: 0;
    padding: 0 34px;
    background: var(--sw-blue);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(75, 133, 240, 0.35);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2.5px;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.sw-hero .homepress_property_slide .container .slide-content .homepress-button.sw-cta:hover {
    background: var(--sw-blue-dark);
    box-shadow: 0 12px 30px rgba(75, 133, 240, 0.45);
    transform: translateY(-1px);
}
.sw-hero .homepress-button.sw-cta svg {
    transition: transform 0.25s ease;
}
.sw-hero .homepress-button.sw-cta:hover svg {
    transform: translateX(4px);
}
.sw-hero .sw-price {
    color: var(--sw-navy);
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}
.sw-hero .sw-price small {
    display: block;
    margin-bottom: 6px;
    color: #5b6b85;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ---------- 01 / 04 counter (photo wali side, neeche right) ---------- */
.sw-hero .sw-counter {
    position: absolute;
    right: 15px;
    bottom: 130px; /* neeche "Get in Touch" card aata hai */
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    width: 150px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.sw-hero .sw-counter-num {
    font-size: 20px;
    font-weight: 500;
}
.sw-hero .sw-counter-total {
    margin-left: 6px;
    font-size: 14px;
    opacity: 0.85;
}
.sw-hero .sw-counter-bar {
    flex-basis: 100%;
    height: 2px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.45);
}
.sw-hero .sw-counter-bar i {
    display: block;
    height: 100%;
    background: var(--sw-blue);
}

/* ---------- Arrows: safed gol button ---------- */
.homepress_property_slider.sw-hero .owl-dots {
    display: none !important;
}
.homepress_property_slider.sw-hero .owl-nav {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 24px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
    transform: none !important;
    pointer-events: none;
}
.homepress_property_slider.sw-hero .owl-nav button.owl-prev,
.homepress_property_slider.sw-hero .owl-nav button.owl-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 20px rgba(15, 31, 61, 0.18) !important;
    pointer-events: auto;
    transition: background-color 0.2s ease;
}
.homepress_property_slider.sw-hero .owl-nav button span {
    display: block;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--sw-navy);
    font-family: Georgia, serif;
    font-size: 30px;
    line-height: 1;
    margin-top: -4px;
    transition: color 0.2s ease;
}
.homepress_property_slider.sw-hero .owl-nav button:hover {
    background: var(--sw-blue) !important;
}
.homepress_property_slider.sw-hero .owl-nav button:hover span {
    color: #fff;
}

/* ---------- Features patti ---------- */
.sw-features {
    position: relative;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid #eef1f6;
}
.sw-features-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 26px 15px;
}
.sw-features-list {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(4, 1fr);
}
.sw-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 22px;
    border-left: 1px solid #e3e8f0;
    color: var(--sw-ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1.6;
    text-transform: uppercase;
}
.sw-feature:first-child {
    padding-left: 0;
    border-left: 0;
}
.sw-feature svg {
    flex: none;
    color: var(--sw-blue);
}
.sw-feature span {
    white-space: nowrap;
}
.sw-feature-card {
    display: flex;
    flex: none;
    align-items: center;
    gap: 16px;
    width: 370px;
    margin-top: -96px;
    padding: 16px 16px 16px 22px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15, 31, 61, 0.14);
}
.sw-feature-card p {
    margin: 0 0 14px;
    color: var(--sw-navy);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.5;
    text-transform: uppercase;
}
.sw-feature-card .sw-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid #cfd8e6;
    border-radius: 999px;
    color: var(--sw-navy);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.sw-feature-card .sw-card-btn:hover {
    border-color: var(--sw-blue);
    color: var(--sw-blue);
}
.sw-feature-card img {
    flex: none;
    width: 130px;
    height: 120px;
    margin-left: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    .sw-hero .homepress_property_slide .container .slide-content .slide-title {
        font-size: 54px;
    }
    .sw-hero .homepress_property_slide .slide-image-wrap::after {
        background: linear-gradient(90deg,
            rgba(234, 242, 251, 0.96) 0%,
            rgba(234, 242, 251, 0.92) 45%,
            rgba(234, 242, 251, 0.45) 70%,
            rgba(234, 242, 251, 0) 90%);
    }
    .sw-features-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .sw-feature-card {
        width: auto;
        margin-top: 0;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    /* Mobile: upar poori rangeen photo, neeche safed hisse mein text (photo par koi parat nahi) */
    .sw-hero .owl-item > .homepress_property_slide {
        display: flex;
        flex-direction: column;
        background: #fff;
    }
    .sw-hero .homepress_property_slide .slide-image-wrap {
        position: relative !important;
        height: 46vh !important;
        min-height: 300px;
        max-height: 420px;
        overflow: hidden;
        border-radius: 0 0 22px 22px;
    }
    .sw-hero .homepress_property_slide .slide-image-wrap img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }
    .sw-hero .homepress_property_slide .slide-image-wrap::after {
        display: none;
    }
    .sw-hero .homepress_property_slide .container {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        margin: 0;
        padding: 24px 20px 30px;
        transform: none !important;
    }
    .sw-hero .homepress_property_slide .container .slide-content {
        max-width: none;
        padding: 0 !important;
        text-shadow: none;
    }
    .sw-hero .sw-eyebrow {
        font-size: 12px;
        letter-spacing: 4px;
    }
    .sw-hero .homepress_property_slide .container .slide-content .slide-title {
        font-size: 34px;
    }
    .sw-hero .sw-tagline {
        margin-top: 10px;
        font-size: 12px;
        letter-spacing: 4px;
    }
    .sw-hero .sw-divider {
        margin: 16px 0;
    }
    .sw-hero .sw-desc {
        margin-bottom: 18px;
        font-size: 15px;
    }
    .sw-hero .sw-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 12px;
        width: 100%;
        margin-bottom: 22px;
    }
    .sw-hero .sw-stat {
        max-width: none;
        padding: 0;
        border-left: 0;
    }
    .sw-hero .sw-stat:nth-child(3) {
        grid-column: 1 / -1;
    }
    .sw-hero .sw-stat svg {
        width: 24px;
        height: 24px;
    }
    .sw-hero .sw-stat strong {
        font-size: 14px;
    }
    .sw-hero .sw-cta-row {
        flex-wrap: wrap;
        gap: 16px;
    }
    .sw-hero .homepress_property_slide .container .slide-content .homepress-button.sw-cta {
        height: 48px;
        padding: 0 26px;
        font-size: 12px;
    }
    .sw-hero .sw-counter,
    .homepress_property_slider.sw-hero .owl-nav {
        display: none !important;
    }
    .sw-features-list {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
    }
    .sw-feature {
        gap: 10px;
        padding: 0 10px;
        font-size: 11px;
        letter-spacing: 1px;
    }
    .sw-feature:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }
    .sw-feature svg {
        width: 28px;
        height: 28px;
    }
    .sw-feature-card img {
        width: 96px;
        height: 96px;
    }
    .sw-feature-card p br {
        display: none;
    }
}

/* =========================================================
   Phone ke liye brand hero (.sw-mhero). Neeche ki action patti ki CSS site-footer.css mein hai.
   Desktop par dono chhupe rehte hain; wahan project slider hi dikhta hai.
   ========================================================= */
.sw-mhero {
    display: none;
}

@media (max-width: 767px) {
    /* Phone par project slider aur features patti ki jagah brand hero */
    .elementor-element-530de8fd,
    .sw-features {
        display: none !important;
    }

    .sw-mhero {
        --mh-blue: #4b85f0;
        position: relative;
        display: block;
        background-color: #0d1a33;
        background-position: center;
        background-size: cover;
        color: #fff;
        text-align: left;
    }
    .sw-mhero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8, 18, 38, 0.35) 0%, rgba(8, 18, 38, 0.55) 45%, rgba(8, 18, 38, 0.85) 100%);
    }
    .sw-mhero-inner {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: calc(100svh - 360px); /* header + numbers + neeche ki patti ke saath pehli screen mein fit */
        padding: 60px 20px 34px;
    }
    .sw-mhero-eyebrow {
        margin-bottom: 12px;
        color: #a9c4fb;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
    .sw-mhero .sw-mhero-title {
        margin: 0 0 14px;
        text-align: left; /* yeh H1 hai; theme H1 ko center karti hai */
        color: #fff;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 36px;
        font-weight: 500;
        line-height: 1.15;
    }
    .sw-mhero-sub {
        margin: 0;
        color: rgba(255, 255, 255, 0.85);
        font-size: 16px;
        line-height: 1.55;
    }
    .sw-mhero-line {
        display: block;
        width: 48px;
        height: 2px;
        margin: 22px 0;
        background: var(--mh-blue);
        border-radius: 2px;
    }
    .sw-mhero-cta {
        display: flex;
        gap: 8px;
    }
    .sw-mhero-btn svg {
        flex: none;
    }
    .sw-mhero-btn {
        display: inline-flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 0;
        height: 52px;
        padding: 0 8px;
        background: var(--mh-blue);
        border: 1px solid var(--mh-blue);
        border-radius: 10px;
        color: #fff !important;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .sw-mhero-btn--ghost {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.45);
    }

    /* Bharose wale numbers */
    .sw-mhero-stats {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #0d1a33;
    }
    .sw-mhero-stat {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 18px 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .sw-mhero-stat:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    .sw-mhero-stat svg {
        flex: none;
        color: var(--mh-blue);
    }
    .sw-mhero-stat strong {
        display: block;
        color: #fff;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 19px;
        font-weight: 500;
        line-height: 1.2;
    }
    .sw-mhero-stat small {
        display: block;
        margin-top: 2px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 10px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

}
