/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */

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

html {
    overflow-x: hidden;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE and Edge */
}

/* Hide page visibility during scroll restoration to prevent flash-to-home */
html.restoring-scroll {
    visibility: hidden;
}

/* Enable smooth scrolling only after initial load */
html.smooth-scroll {
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}

section[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: "Manrope", sans-serif;
    background: #ffffff;
    color: #0a2540;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
    width: 100%;
    height: 100px;
    background: #F9FAFB;
    border-bottom: none;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Increased to ensure it's above other elements */
    display: flex;
    align-items: center;
    transition: background 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: #F9FAFB;
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 150px;
    height: 100%;
}

/* Logo */
.logo {
    margin-right: auto;
}

.logo img {
    width: 160px;
    height: auto;
}

/* Navigation List */
.nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin-right: 28px;
}

.nav-link {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #0a2540;
    text-decoration: none;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
    padding-bottom: 2px;
}

.nav-link:hover {
    opacity: 0.7;
    box-shadow: inset 0 -2px 0 0 #2F80ED;
}

.nav-link.active {
    box-shadow: inset 0 -2px 0 0 #2F80ED;
}

/* ==========================================================================
   CTA BUTTONS (Consolidated)
   ========================================================================== */

.cta-btn,
.cta-button {
    width: 324px;
    height: 58px;
    background: #16c858;
    border-radius: 999px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 999;
    transition: opacity 0.2s ease;
    padding: 0 18px;
    gap: 12px;
    box-sizing: border-box;
    min-width: fit-content;
}

/* Specific to hero button if needed, otherwise rely on shared styles */
.cta-button {
    margin-top: 30px;
    padding: 0 18px;
}

.cta-btn:hover,
.cta-button:hover {
    opacity: 0.92;
}

/* Icon Styles */
.cta-btn img,
.btn-icon {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain;
    display: block;
    flex-shrink: 0 !important;
}

/* Wrapper for header button icon to maintain layout */
.cta-icon {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
}

.cta-text,
.btn-text {
    flex: 1;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta-text {
    color: #ffffff;
}

.btn-text {
    color: #F9FAFB;
    line-height: 16px;
    letter-spacing: 0.01em;
    text-align: left;
}

.cta-right,
.right-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    flex-shrink: 0 !important;
    gap: 12px;
}

.right-group {
    margin-left: 0;
}

.cta-divider,
.btn-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
    /* Unified opacity */
}

.btn-divider {
    /* Margin removed to match header button gap */
}

.cta-arrow,
.btn-arrow {
    width: 24px !important;
    height: 24px !important;
    display: block;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   MOBILE TOGGLE
   ========================================================================== */

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

@media (max-width: 1289px) {
    .header-container {
        padding: 0 40px;
    }

    .header .cta-btn {
        display: none !important;
    }

    .mobile-toggle {
        display: block;
    }

    /* Mobile Menu Styles */
    .nav {
        display: block !important;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: #F9FAFB;
        padding: 0 40px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
    }

    .nav.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 20px 40px;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(10, 37, 64, 0.05);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 14px;
        text-align: center;
        letter-spacing: 0.1em;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #2F80ED;
        transform: none;
    }
}

@media (max-width: 1079px) {
    .desktop-only {
        display: none !important;
    }

    .cta-btn {
        display: none !important;
    }
}

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background: #0a2540;
    margin: 5px 0;
    display: block;
}

.br-tablet {
    display: none;
}

/* ==========================================================================
   SECTION: HERO
   ========================================================================== */

.hero {
    width: 100%;
    background-color: #F9FAFB;
    padding-top: 57px;
    padding-bottom: 80px;
    overflow: hidden;
    margin-top: 0;
}

.hero-heading span {
    display: inline;
}

.hero-mobile-visual {
    display: none;
}

.mobile-divider {
    display: none;
}

.hero-container-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 210px;
    /* Matched to site-wide standard for perfect balance */
    padding-top: 0;
    margin-top: 0;
    gap: 0;
}

.hero-content-group {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

.hero-slanted-card {
    width: clamp(300px, 42vw, 580px);
    /* Reduced from 45vw to fit in 129px padding range */
    height: auto;
    min-height: clamp(500px, 60vh, 720px);
    background: linear-gradient(180deg, #2F80ED 0%, #204BA0 100%);
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 5vw, 60px) clamp(20px, 4%, 40px);
    position: relative;
    -webkit-clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%);
    flex-shrink: 0;
    z-index: 2;
    border-radius: 4px;
    aspect-ratio: 580 / 720;
}

.hero-slanted-card .heading {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 4.8vw, 62px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #F9FAFB;
    margin-bottom: clamp(15px, 3vw, 30px);
    text-transform: uppercase;
    max-width: 95%;
}

.hero-slanted-card .heading br {
    display: block;
}

/* Helper classes for responsive line breaks */
.hide-on-mobile {
    /* Visible by default */
}

.hide-on-desktop {
    display: none !important;
}

.hero-slanted-card .divider {
    width: 67px;
    height: 2.5px;
    background-color: #F9FAFB;
    border-radius: 2px;
    margin-bottom: 40px;
}

.hero-slanted-card .description {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: 150%;
    letter-spacing: 0.01em;
    color: #F9FAFB;
    margin-bottom: clamp(20px, 4vw, 40px);
    white-space: normal;
    max-width: 82%;
}

.hero-slanted-card .description br {
    display: block;
}

@media (min-width: 1025px) {
    .nowrap-desktop {
        white-space: nowrap;
    }
}

.hero-visual-right {
    width: clamp(400px, 55vw, 720px);
    /* Reduced from 60vw to fit in 129px padding range */
    height: auto;
    margin-left: clamp(-180px, -11vw, -100px);
    /* Tighter overlap */
    position: relative;
    z-index: 1;
}

.hero-visual-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.08));
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* ==========================================================================
   SECTION: WANT MORE LEADS
   ========================================================================== */

.want-more-leads-section {
    background: linear-gradient(180deg, #2F80ED 0%, #204BA0 100%);
    width: 100%;
    min-height: 1061px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.leads-wrapper {
    width: 100%;
    max-width: 1440px;
    min-height: 1061px;
    padding: 80px 270px;
    display: flex;
    flex-direction: column;
}

.leads-content-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.leads-text-side {
    flex: 1;
    max-width: 850px;
    margin-right: 120px;
    /* Massive increase to force gap in space-between */
}

.leads-heading {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 41px;
    line-height: 1.1;
    color: #F9FAFB;
    margin-bottom: 30px;
    white-space: normal;
}

.leads-description {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFF;
}

.leads-description p {
    margin-bottom: 4px;
}

.leads-extra-spacing {
    margin-bottom: 24px !important;
}

.leads-list {
    list-style: none;
    padding: 0 0 0 20px;
    /* Reduced indentation to about 1-2 characters */
    margin: 0 0 6px 0;
}

.leads-list li {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFF;
    margin-bottom: 0px;
    padding-left: 20px;
    position: relative;
}

.leads-list li strong {
    font-weight: 800;
}

.leads-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    transform: translateY(-50%);
    /* Precisely centers with the first line of text */
    width: 7px;
    height: 7px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.leads-sub-heading {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.4;
    color: #FFFFFF;
    margin-top: 30px;
    margin-bottom: 12px;
}

.secondary-list {
    margin-bottom: 4px;
}

.ads-ready-accordion {
    background: #FFFFFF;
    border-radius: 12px;
    width: 100%;
    max-width: 761px;
    /* Increased by 40px as requested */
    margin-top: 42px;
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
}

.ads-ready-header {
    padding: 15px 32px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    cursor: pointer;
    min-height: 65px;
}

.ads-ready-header span {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2;
    color: #204BA0;
    letter-spacing: 0.02em;
    /* Added slight letter spacing */
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 24px;
    height: 24px;
}

.ads-ready-accordion.active .accordion-icon {
    transform: rotate(180deg);
}

.ads-ready-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 32px;
    /* Removed bottom padding from closed state */
    margin-top: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        padding 0.5s ease,
        margin 0.5s ease;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    /* Changed to 150% */
    color: #204BA0;
}

.ads-ready-accordion.active .ads-ready-content {
    max-height: 1200px;
    /* Sufficiently large */
    opacity: 1;
    padding: 0 32px 32px 32px;
    margin-top: 3px;
}

.ads-ready-content p {
    margin-bottom: 4px;
}

.accordion-extra-spacing {
    margin-bottom: 24px !important;
}

.accordion-list-heading {
    margin-bottom: 12px !important;
}

.accordion-list-spacing {
    margin-bottom: 24px !important;
}

.ads-ready-content p:last-child {
    margin-bottom: 0;
}

.ads-ready-content ul {
    list-style: none;
    padding-left: 20px;
    /* Reduced indentation to about 1-2 characters */
    margin-bottom: 8px;
}

.ads-ready-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0px;
}

.ads-ready-content ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #204BA0;
    font-weight: 900;
}

.fw-700 {
    font-weight: 700;
}

.mt-16 {
    margin-top: 16px;
}

.leads-image-side {
    flex: 0 0 222px;
    align-self: flex-start;
    display: none;
    justify-content: flex-end;
    margin-top: 100px;
    margin-left: 40px;
    /* Increased to push it away from text */
}

.leads-right-img {
    width: 222px;
    height: auto;
    object-fit: contain;
}

.section-blue {
    background: linear-gradient(180deg, #3080ED 0%, #214CA0 100%);
}

.color-white {
    color: #FFFFFF !important;
}

.color-gray {
    color: #E3E3E3 !important;
}

.tag-white {
    background: #F9FAFB !important;
    border: 2px solid #E3E3E3 !important;
    color: #2C6FD3 !important;
}

.list-white li {
    color: #FFFFFF !important;
}

.list-white li::before {
    color: #FFFFFF !important;
}

/* ---- Section 4 Custom Borders ---- */
#beauty-clinic .sec4-tags .tag {
    border: 2px solid #4B4B4B !important;
}

#beauty-clinic .case-study-visual-side img,
#beauty-clinic .case-study-visual-side picture {
    border-radius: 8px;
    /* Standardize border rounding */
}

.section-light {
    background-color: #F9FAFB !important;
}

/* ==========================================================================
   SECTION 6: CLIENT REVIEW, TEAM, TESTIMONIALS
   ========================================================================== */

.section-six-main {
    background: linear-gradient(180deg, #2F80ED 0%, #204BA0 100%);
    width: 100%;
    padding: 80px 0;
}

.section-six-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 270px;
}

.section-main-heading {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 60px;
    line-height: 100%;
    color: #F9FAFB;
    text-transform: uppercase;
    margin-top: 0;
    /* Changed to 0, will handle spacing via bottom margin of previous blocks */
    margin-bottom: 40px;
}

.section-main-heading:first-child {
    margin-top: 0;
}

/* Client Review */
.client-review-block {
    display: flex;
    gap: 42px;
    align-items: stretch;
    justify-content: flex-start;
    margin-bottom: 80px;
    /* Explicit 80px gap below */
}

.review-image {
    flex: 0 0 380px;
    aspect-ratio: 1080 / 1920;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.review-image img,
.review-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-content-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 32px 40px 40px 40px;
    flex: 1;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-content-card .cta-button {
    margin-top: 30px !important;
}

.review-title {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 38px;
    line-height: 100%;
    color: #0A2540;
    margin-bottom: 24px;
}

.underline {
    position: relative;
    display: inline-block;
    z-index: 1;
    text-shadow:
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        -2px 0 0 #fff,
        2px 0 0 #fff;
}

.underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    /* Moved line down */
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2F80ED 0%, #204BA0 100%);
    z-index: -1;
}

.review-text {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #1A1A1A;
}

.review-text p {
    margin-bottom: 16px;
}

.review-text ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 16px;
}

.review-text ul li {
    position: relative;
    margin-bottom: 4px;
}

.review-text ul li::before {
    content: "\2022";
    position: absolute;
    left: -15px;
    color: #1A1A1A;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 80px;
    /* Explicit 80px gap below */
}

.team-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 18px;
    /* Uniform 18px padding on all sides */
    grid-column: span 3;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.small-team-card {
    grid-column: span 2;
    padding: 18px;
    /* Uniform 18px padding on all sides */
}

.stretched-card .team-header {
    align-items: stretch;
}

.stretched-card .team-header picture {
    display: flex;
}

.team-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 0;
    flex: 1;
}

.team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-img {
    width: 165px;
    height: 142px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    aspect-ratio: 165 / 142;
}

.stretched-card {
    align-items: stretch !important;
}

.stretched-card .team-header {
    align-items: stretch !important;
}

.stretched-card .team-header picture {
    display: flex !important;
    align-items: stretch !important;
}

.stretched-card .team-img {
    height: auto !important;
    min-height: 100% !important;
}

.small-team-card .team-img {
    width: 95px;
    height: auto;
    /* Natural aspect ratio */
}

.small-team-card .team-header {
    align-items: center;
}

.team-name {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    /* Tighter line height */
    color: #0A2540;
    margin-bottom: 0;
}

.team-role {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    /* Tighter line height */
    color: #0A2540;
    margin-top: 6px;
    margin-bottom: 6px;
}

.team-details {
    list-style: none;
    padding-left: 12px;
    margin-top: 0;
    /* Removed top margin */
}

.team-details li {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
    color: #1A1A1A;
    letter-spacing: -0.01em;
    position: relative;
    margin-bottom: 3px;
}

.team-details li::before {
    content: "\2022";
    position: absolute;
    left: -12px;
    color: #1A1A1A;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
    /* Prevent cards from stretching to equal height */
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #1A1A1A;
    margin-bottom: 20px;
}

.stars {
    color: #0A2540;
    font-size: 14px;
    margin-bottom: 12px;
}

.author-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.author-avatar-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.color-yellow {
    background: #FFD700;
    color: #000;
}

.color-black {
    background: #000;
    color: #FFF;
}

.color-white-border {
    border: 1px solid #DDD;
    background: #FFF;
    color: #000;
}

.color-black-round {
    background: #111;
    color: #FFF;
}

.author-name {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #0A2540;
}

.author-title {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    color: #0A2540;
}

/* Media Query Support for Section 6 */
@media (min-width: 1400px) {
    .section-six-wrapper {
        max-width: 1560px;
        padding-left: 100px;
        padding-right: 100px;
    }
}

/* ==========================================================================
   SECTION 7: BOOK YOUR FREE CALL + FAQS
   ========================================================================== */

.book-call-section {
    background: #F9FAFB;
    width: 100%;
    padding: 80px 0 0 0;
    /* Set bottom padding to 0 */
}

.book-call-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 270px;
}

.book-call-main-heading {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 60px;
    line-height: 100%;
    background: linear-gradient(90deg, #214CA0 0%, #3080ED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    margin-bottom: 40px;
    width: fit-content;
}

/* ---- Calendly Card ---- */
.calendly-frame {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0px 0px 45px -20px #3080ED;
}

/* ---- FAQS Block ---- */
.faqs-block {
    background: linear-gradient(180deg, #2F80ED 0%, #1B4987 100%);
    border-radius: 16px;
    padding: 48px 48px 48px 48px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.faqs-left {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.faqs-heading {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 100%;
    color: #F9FAFB;
    text-transform: uppercase;
}

.faqs-cta-btn {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 58px;
    border: 2px solid #FFFFFF;
    border-radius: 350px !important;
    padding: 10px 30px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap !important;
    min-width: fit-content;
}

.faqs-cta-btn:hover {
    background: #FFFFFF;
    color: #2B76DA;
}

.faqs-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    margin-bottom: 8px;
    background: transparent;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item.open {
    background: #FFFFFF;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: 1.5px solid rgba(249, 250, 251, 0.20);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 125%;
    color: #FFFFFF;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-item.open .faq-question {
    border-color: transparent;
    color: #2B76DA;
}

.faq-question:hover {
    border-color: rgba(249, 250, 251, 0.50);
    background: rgba(249, 250, 251, 0.05);
}

.faq-item.open .faq-question:hover {
    background: transparent;
}

.faq-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1.5px solid #F9FAFB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #FFFFFF;
}

/* Hover icon state: white background, blue arrow */
.faq-question:hover .faq-icon {
    background: #FFFFFF;
    color: #2B76DA;
    border-color: #FFFFFF;
}

/* Open state: transparent icon background, blue arrow and border */
.faq-item.open .faq-icon {
    background: transparent;
    color: #2B76DA;
    border-color: #2B76DA;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 22px;
    /* Match horizontal padding */
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        padding 0.5s ease;
}

.faq-answer p {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    list-style: none;
    padding-left: 15px;
    margin-bottom: 16px;
    margin-top: 8px;
}

.faq-answer ul li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 8px;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #1A1A1A;
}

.faq-answer ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #1A1A1A;
    font-weight: 900;
}

.faq-item.open .faq-answer {
    max-height: 1000px;
    /* Large enough for the text */
    opacity: 1;
    padding: 0 22px 22px 22px;
    /* Add bottom padding when open */
}

/* ---- Section 7 Responsive ---- */
@media (max-width: 1100px) {
    .book-call-wrapper {
        padding: 0 40px;
    }

    .calendly-card {
        max-width: 700px;
    }

    .faqs-block {
        flex-direction: column;
        gap: 32px;
    }

    .faqs-left {
        flex: none !important;
        height: auto !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

@media (max-width: 980px) {
    .calendly-frame {
        height: auto;
        padding: 70px;
    }

    .calendly-card {
        flex-direction: column;
        height: auto;
        max-width: 600px;
    }

    .calendly-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #EAEAEA;
        padding: 30px;
    }

    .calendly-right {
        padding: 30px;
    }

    .cal-nav-group {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .book-call-main-heading {
        font-size: 38px;
    }

    .book-call-wrapper {
        padding: 0 20px;
    }

    .faqs-block {
        padding: 32px 24px;
    }

    .faqs-heading {
        font-size: 36px;
    }

    .faqs-left {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .faq-question {
        font-size: 18px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-new {
    background: #F9FAFB;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-top-container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 270px;
}

.footer-main-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    width: 324px;
    height: auto;
    margin-bottom: 48px;
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon-circle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(46, 64, 87, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-item a {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #2C2C2C;
    text-decoration: none;
}

.footer-navigation-side {
    display: flex;
    gap: 100px;
}

.footer-nav-column h3 {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.04em;
    color: #2E4057;
    margin-bottom: 32px;
}

.footer-nav-column ul {
    list-style: none;
    padding: 0;
}

.footer-nav-column ul li {
    margin-bottom: 20px;
}

.footer-nav-column ul li a {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #2C2C2C;
    text-decoration: none;
}

.footer-divider-container {
    width: 100%;
    max-width: 1560px;
    margin: 128px auto 0;
    padding: 0 270px;
}

.footer-divider-line {
    width: 100%;
    height: 1px;
    background-color: #DDDDDD;
}

.footer-bottom-container {
    width: 100%;
    max-width: 1560px;
    margin: 32px auto 0;
    padding: 0 270px;
}

.footer-bottom-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    letter-spacing: -0.01em;
    color: #2E4057;
}

.copyright {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #2E4057;
}

/* ==========================================================================
   SECTION: CASE STUDY
   ========================================================================== */

.case-study-section {
    background-color: #F9FAFB;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.case-study-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 270px;
    display: flex;
    flex-direction: column;
}

.case-study-heading {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 41px;
    line-height: 1.1;
    color: #0A2540;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(90deg, #204CA1 0%, #2F80ED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.case-study-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    /* Gap to WHAT WE DID as requested */
}

.tag {
    background: linear-gradient(180deg, #3080ED 0%, #1B4A87 100%);
    border-radius: 100px;
    padding: 14px 20px;
    color: #FFFFFF;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.01em;
    display: inline-block;
}

.case-study-content-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.case-study-text-side {
    flex: 1;
}

.content-block {
    margin-bottom: 28px;
    /* Gap between WHAT WE DID and RESULT as requested */
}

.content-block.first-block {
    margin-bottom: 28px;
}

.content-title {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #0A2540;
    margin-bottom: 12px;
    /* Gap to content as requested */
}

.content-list {
    list-style: none;
    padding: 0 0 0 10px;
    /* Indented dots inward by 1 character */
}

.content-list li {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #1A1A1A;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.content-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #1A1A1A;
}

.case-study-visual-side {
    width: 100%;
    margin-top: 32px;
    margin-bottom: 32px;
}

.case-study-graph {
    width: 70%;
    max-width: 770px;
    height: auto;
    object-fit: contain;
    display: block;
}

.section-blue {
    background: linear-gradient(180deg, #3080ED 0%, #214CA0 100%);
}

.color-white {
    color: #FFFFFF !important;
}

.color-gray {
    color: #E3E3E3 !important;
}

.tag-white {
    background: #F9FAFB !important;
    border: 1px solid #000000 !important;
    color: #2C6FD3 !important;
}

.list-white li {
    color: #FFFFFF !important;
}

.list-white li::before {
    color: #FFFFFF !important;
}

@media (min-width: 1529px) {
    .leads-image-side {
        display: flex;
        flex: 0 0 269px;
        margin-left: 40px;
        margin-top: 100px;
    }

    .container {
        width: min(1600px, 92%);
    }

    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        max-width: 1560px;
        padding-left: 270px;
        padding-right: 270px;
    }

    .leads-wrapper,
    .section-six-wrapper,
    .case-study-wrapper,
    .book-call-wrapper {
        max-width: 1560px;
        padding-left: 270px;
        padding-right: 270px;
    }

    .hero-container-flex {
        max-width: 1440px;
        max-height: 1038px;
        padding-left: 210px;
        padding-right: 210px;
    }

    .leads-text-side {
        max-width: 1000px;
    }

    .leads-heading {
        font-size: 41px;
    }

    .leads-description,
    .leads-list li,
    .leads-sub-heading,
    .contact-item a,
    .footer-nav-column ul li a {
        font-size: 16px;
    }

    .leads-right-img {
        width: 269px;
        height: auto;
    }
}

/* Spacing adjustment for 1201px - 1528px */
@media (min-width: 1201px) and (max-width: 1528px) {

    .leads-wrapper,
    .case-study-wrapper,
    .section-six-wrapper,
    .book-call-wrapper,
    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        padding-left: 54px;
        padding-right: 54px;
    }

    .leads-image-side {
        display: none;
    }
}

/* Section 2 Image for 1201px - 1366px (Fixed Size) */
@media (min-width: 1201px) and (max-width: 1366px) {
    .leads-text-side {
        margin-right: 40px !important;
    }

    .leads-image-side {
        display: flex !important;
        flex: 0 0 160px !important;
        margin-left: 20px !important;
        margin-top: 50px !important;
    }

    .leads-right-img {
        width: 160px !important;
        height: auto !important;
    }
}

/* Section 2 Image for 1367px - 1528px (Responsive Scale) */
@media (min-width: 1367px) and (max-width: 1528px) {
    .leads-text-side {
        margin-right: 40px !important;
    }

    .leads-image-side {
        display: flex !important;
        flex: 0 0 clamp(160px, 15vw, 269px) !important;
        margin-left: 20px !important;
        margin-top: 50px !important;
    }

    .leads-right-img {
        width: 100% !important;
        height: auto !important;
    }
}

/* Tablet / Laptop (< 1200px) */
@media (max-width: 1200px) {

    .header-container,
    .hero-container-flex,
    .leads-wrapper,
    .case-study-wrapper,
    .section-six-wrapper,
    .book-call-wrapper,
    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero-container-flex {
        gap: 0;
    }

    /* Grouping and Scaling for Hero */
    .hero-content-group {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-slanted-card {
        width: clamp(45%, 48.6%, 50%);
        height: auto;
        min-height: auto;
        aspect-ratio: 700 / 733;
        padding: clamp(20px, 3vw, 30px) 4% 5% 4%;
        flex-shrink: 0;
    }

    .hero-slanted-card .heading {
        font-size: clamp(30px, 5vw, 74px);
        margin-top: 0 !important;
        margin-bottom: 5%;
    }

    .hero-slanted-card .description {
        font-size: clamp(14px, 1.6vw, 18px);
        line-height: 1.4;
    }

    .hero-slanted-card .description br {
        display: block;
    }

    .hero-slanted-card .divider {
        margin-bottom: 5%;
    }

    .hero-visual-right {
        width: 59%;
        margin-left: -11.8%;
        flex-shrink: 0;
        align-self: center;
        /* Center image vertically */
    }
}

/* iPad Pro Landscape Refinements */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .hero {
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .hero-container-flex {
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-content-group {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .want-more-leads-section {
        min-height: auto !important;
    }

    .leads-wrapper {
        min-height: auto !important;
        padding-top: 80px !important;
        padding-bottom: 80px !important;
        position: relative;
    }

    .leads-text-side {
        position: relative;
        z-index: 2;
    }

    .leads-image-side {
        display: flex !important;
        position: absolute;
        right: 40px;
        top: 210px;
        margin: 0 !important;
        z-index: 1;
    }

    .hero-visual-right {
        width: 50%;
        /* Adjusted width for landscape */
        margin-left: -150px;
        /* Bring it closer */
    }

    .hero-visual-right img {
        max-height: calc(100% - 20px);
        /* 20px smaller than container */
        width: auto;
        margin: 0 auto;
    }
}

@media (max-width: 1023px) and (min-width: 855px) {
    .hero-slanted-card .heading {
        font-size: clamp(32px, 4.5vw, 48px);
        line-height: 1.1;
        margin-top: 0 !important;
    }

    .hero-slanted-card .description {
        font-size: clamp(14px, 1.8vw, 16px);
        line-height: 1.5;
    }
}

/* Tablet (< 980px) */
@media (max-width: 980px) {

    /* CASE STUDIES */
    .case-study-wrapper {
        padding: 0 24px;
    }

    .case-study-heading {
        font-size: clamp(28px, 4vw, 48px);
        white-space: normal;
    }

    .case-study-heading br {
        display: none;
    }

    .case-study-content-flex {
        flex-direction: column;
        gap: 30px;
    }

    .case-study-visual-side {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .case-study-tags {
        flex-wrap: wrap;
    }

    /* SECTION 6 */
    .section-six-wrapper {
        padding: 0 24px;
    }

    .section-main-heading {
        font-size: clamp(32px, 5vw, 60px);
    }

    .client-review-block {
        gap: 24px;
    }

    .review-image {
        flex: 0 0 300px;
        aspect-ratio: 9 / 16 !important;
        height: auto !important;
    }

    .review-title {
        font-size: clamp(24px, 3.5vw, 38px);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .team-card {
        grid-column: span 1;
    }

    .small-team-card {
        grid-column: span 1;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* FOOTER */
    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-navigation-side {
        gap: 60px;
    }

    .footer-divider-container {
        margin-top: 80px;
    }
}

/* Updated Breakpoints for iPad Portrait */
@media (max-width: 980px) and (min-width: 768px) {
    .hero-container-flex {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-slanted-card {
        width: 55%;
        padding: 30px 30px 40px 30px !important;
    }

    .hero-visual-right {
        width: 55%;
        margin-left: -11%;
        /* Moved 10px closer (approx 1% of container) */
    }

    .hero-slanted-card .heading {
        font-size: 38px;
        margin-top: 0 !important;
    }

    .hero-slanted-card .description {
        font-size: 14px;
        line-height: 1.4;
    }

    .hero-slanted-card .description br {
        display: block;
    }

    .leads-heading {
        font-size: clamp(28px, 4vw, 48px);
    }

    .leads-heading br {
        display: none;
    }

    .want-more-leads-section {
        min-height: auto;
    }

    .leads-wrapper {
        min-height: auto;
        padding: 40px 20px;
        /* Balanced top and bottom padding at 40px */
    }

    .leads-content-flex {
        gap: 20px;
    }

    .ads-ready-accordion {
        width: 100%;
        max-width: 100%;
    }

    .ads-ready-header {
        padding: 15px 20px;
    }
}

/* Stacking Point moved to 767px */
@media (max-width: 767px) {
    .hero {
        padding-top: 0;
    }

    .hero-container-flex {
        flex-direction: column;
        padding: 0 20px 40px 20px;
    }

    .hero-slanted-card {
        margin-top: 0;
        padding-top: 30px !important;
    }

    .hero-slanted-card .heading {
        font-size: clamp(32px, 6vw, 48px);
        margin-top: 0 !important;
    }

    .hero-slanted-card .description {
        font-size: 14px;
        line-height: 1.4;
    }

    .hero-slanted-card .description br {
        display: block;
    }

    .hero-content-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual-right {
        width: 100%;
        max-width: 600px;
        margin-left: 0;
        margin-top: 20px;
        /* Increased from -20px to avoid overlap */
        height: auto;
    }

    /* Specifically for 601-767 range as requested */
    @media (min-width: 601px) {
        .hero-visual-right {
            margin-top: 50px;
            /* Ensure space from hero card */
        }

        .leads-wrapper {
            padding-bottom: 80px;
            /* Balanced bottom padding */
        }
    }

    .leads-content-flex {
        flex-direction: column;
        align-items: center;
    }

    .leads-text-side {
        margin-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }

    .leads-image-side {
        display: none;
    }

    .leads-wrapper,
    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .leads-heading {
        font-size: clamp(28px, 4vw, 48px);
        white-space: normal;
        line-height: 1.2;
    }

    .leads-heading br {
        display: none;
    }

    .ads-ready-accordion {
        width: 100%;
        max-width: 600px;
    }

    .ads-ready-header {
        padding: 15px 20px;
    }

    .ads-ready-header span {
        font-size: clamp(14px, 3vw, 22px);
        white-space: normal;
    }

    /* Update helpers for mobile layout */
    .hide-on-mobile {
        display: none !important;
    }

    span.hide-on-desktop {
        display: inline !important;
    }

    div.hide-on-desktop {
        display: block !important;
    }

    a.hide-on-desktop {
        display: flex !important;
    }

    /* SECTION 6: Client Review stacked */
    .client-review-block {
        flex-direction: column;
        gap: 0;
    }

    .review-image {
        flex: 0 0 auto;
        width: 100%;
        height: 500px;
        position: relative;
    }

    .review-image img {
        border-radius: 12px 12px 0 0;
    }

    .review-content-card {
        border-radius: 0 0 12px 12px;
    }

    .underline::after {
        bottom: -1px !important;
        height: 1.25px !important;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .team-card,
    .small-team-card {
        grid-column: span 1;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* FOOTER */
    .footer-main-layout {
        flex-direction: column;
        gap: 48px;
    }

    .footer-navigation-side {
        gap: 48px;
    }

    .footer-divider-container {
        margin-top: 48px;
    }

    .footer-logo {
        width: 220px;
    }
}

/* Mobile (< 800px) */
@media (max-width: 800px) {
    .ads-ready-box {
        width: 100%;
        height: auto;
        padding: 15px 20px;
    }
}

/* Hero mobile clip-path only for actual mobile (<= 600px) */
@media (max-width: 600px) {
    .hero-slanted-card {
        height: auto;
        min-height: 380px;
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14.5px), 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14.5px), 0 100%);
        border-radius: 4px;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding-top: 30px !important;
    }

    .hero-slanted-card .heading,
    .hero-slanted-card .description {
        max-width: 100%;
    }
}

/* Mobile specific hero refinements (< 1025px) */
@media (max-width: 1024px) {
    .hero-slanted-card {
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: auto !important;
        padding-bottom: 50px !important;
    }

    .hero-cta {
        margin-bottom: 0 !important;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .hide-on-desktop {
        display: block !important;
    }

    span.hide-on-desktop {
        display: inline !important;
    }

    .hero-mobile-visual {
        display: block;
        margin-bottom: 20px;
    }

    .mobile-divider {
        display: block;
        width: 29px;
        height: 1.25px;
        background-color: #F9FAFB;
        margin-top: 10px;
        margin-bottom: 20px;
        flex-shrink: 0;
    }

    .hero-description {
        display: block;
    }

    .hero-visual-right.desktop-only {
        display: none !important;
    }
}

/* ==========================================================================
   INTERMEDIATE BREAKPOINTS: iPad Landscape & Portrait
   ========================================================================== */

/* --- iPad Landscape (768px\2022980px landscape): RESTORE Desktop Layout --- */
@media (min-width: 768px) and (max-width: 980px) and (orientation: landscape) {

    /* Re-show desktop-only elements */
    .desktop-only {
        display: flex !important;
    }

    .hero-visual-right.desktop-only {
        display: flex !important;
    }

    /* Hide mobile hero visual & divider in landscape */
    .hero-mobile-visual {
        display: none !important;
    }

    .mobile-divider {
        display: none !important;
    }

    /* Show desktop text, hide mobile text */
    span.hide-on-mobile {
        display: inline !important;
    }

    div.hide-on-mobile {
        display: block !important;
    }

    a.hide-on-mobile {
        display: flex !important;
    }

    .hide-on-desktop {
        display: none !important;
    }

    span.hide-on-desktop {
        display: inline !important;
    }

    /* Keep desktop nav hidden (hamburger stays since screen is narrow) */
    /* Hero layout: side by side like desktop */
    .hero-container-flex {
        flex-direction: row;
        padding: 0 24px;
    }

    .hero-content-group {
        flex-direction: row;
        align-items: center;
    }

    .hero-slanted-card {
        width: 50%;
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: auto !important;
        padding: 24px 3.5% 50px 3.5% !important;
        -webkit-clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%);
        max-width: none;
    }

    .hero-slanted-card .heading {
        font-size: 32px;
        line-height: 1.05;
        margin-bottom: 4%;
    }

    .hero-slanted-card .divider {
        display: block;
        margin-bottom: 4%;
    }

    .hero-slanted-card .description {
        font-size: 12px;
        line-height: 1.4;
    }

    .hero-slanted-card .description br {
        display: block;
    }

    .hero-visual-right {
        width: 55%;
        margin-left: calc(-10% - 50px);
    }

    .hero-cta,
    .hero-slanted-card .cta-button {
        width: auto;
        max-width: 324px;
        height: 58px;
        padding: 4px 22px;
        margin-top: clamp(10px, 2vw, 20px);
    }

    .hero-cta .btn-text,
    .hero-slanted-card .cta-button .btn-text {
        font-size: clamp(14px, 1.5vw, 16px);
    }

    .hero-cta .btn-icon,
    .hero-slanted-card .cta-button .btn-icon {
        width: clamp(32px, 3.5vw, 40px);
        height: clamp(32px, 3.5vw, 40px);
    }

    /* Hero padding override */
    .hero {
        padding-top: 5px !important;
        padding-bottom: 40px;
    }

    /* Section 2: Want More Leads \2022 desktop layout */
    .want-more-leads-section {
        min-height: auto !important;
    }

    .leads-wrapper {
        padding: 80px 24px;
        padding-bottom: 80px;
        min-height: auto;
        position: relative;
    }

    .ads-ready-accordion {
        margin-bottom: 0;
    }

    .leads-content-flex {
        flex-direction: row;
        align-items: center;
    }

    .leads-text-side {
        margin-right: 40px;
        max-width: 70%;
        position: relative;
        z-index: 2;
    }

    .leads-image-side {
        display: flex !important;
        position: absolute;
        right: 24px;
        top: 190px;
        width: 160px;
        margin: 0;
        z-index: 1;
    }

    .leads-right-img {
        width: 160px;
    }

    .leads-heading {
        font-size: 28px;
    }

    .leads-description,
    .leads-description p,
    .leads-list li {
        font-size: 13px;
    }

    .leads-sub-heading {
        font-size: 13px;
    }

    .ads-ready-header span {
        font-size: 14px;
    }

    .ads-ready-content,
    .ads-ready-content p,
    .ads-ready-content ul li {
        font-size: 13px;
    }

    /* Case Studies \2022 desktop layout */
    .case-study-wrapper {
        padding: 0 24px;
    }

    .case-study-content-flex {
        flex-direction: row;
        gap: 24px;
    }

    .case-study-visual-side {
        flex: 0 0 45%;
    }

    .case-study-heading {
        font-size: 28px;
    }

    .case-study-heading br {
        display: inline;
    }

    .leads-heading br {
        display: inline;
    }

    .case-study-heading .hide-on-mobile {
        display: inline !important;
    }

    .case-study-heading .hide-on-desktop,
    .case-study-heading .mobile-case-heading {
        display: none !important;
    }

    .content-title {
        font-size: 15px;
    }

    .content-list li {
        font-size: 13px;
    }

    .tag {
        font-size: 12px;
        padding: 10px 16px;
    }

    /* Section 6 */
    .section-six-wrapper {
        padding: 0 24px;
    }

    .section-main-heading {
        font-size: 32px;
    }

    .client-review-block {
        flex-direction: row;
        gap: 20px;
    }

    .review-image {
        flex: 0 0 240px;
    }

    .review-image img {
        border-radius: 12px;
    }

    .review-content-card {
        border-radius: 12px;
    }

    .review-title {
        font-size: 24px;
    }

    .review-text {
        font-size: 13px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-name {
        font-size: 18px;
    }

    .team-role {
        font-size: 13px;
    }

    .team-details li {
        font-size: 12px;
    }

    .team-img {
        width: 100px;
        height: 90px;
    }

    .small-team-card .team-img {
        width: 70px;
        height: auto;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-text {
        font-size: 13px;
    }

    /* Section 7 */
    .book-call-wrapper {
        padding: 0 24px;
    }

    .book-call-main-heading {
        font-size: 32px;
    }

    .faqs-heading {
        font-size: 32px;
    }

    .faq-question {
        font-size: 15px;
    }

    /* Footer */
    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-logo {
        width: 200px;
    }

    .footer-navigation-side {
        gap: 40px;
    }

    .copyright,
    .contact-item a,
    .footer-nav-column h3,
    .footer-nav-column ul li a {
        font-size: 13px;
    }
}

/* --- iPad Portrait (601px\20221024px portrait): MOBILE-LIKE Layout with bigger fonts --- */
@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {

    /* Use desktop text spans for 4-line layout as requested */
    .hide-on-mobile {
        display: inline !important;
    }

    span.hide-on-desktop {
        display: none !important;
    }

    div.hide-on-desktop {
        display: none !important;
    }

    a.hide-on-desktop {
        display: none !important;
    }

    /* Hero: landscape-like side-by-side layout adapted for portrait */
    .hero {
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .hero span.hide-on-mobile {
        display: inline !important;
    }

    .hero div.hide-on-mobile {
        display: block !important;
    }

    .hero a.hide-on-mobile {
        display: flex !important;
    }

    .hero span.hide-on-desktop {
        display: none !important;
    }

    .hero div.hide-on-desktop {
        display: none !important;
    }

    .hero a.hide-on-desktop {
        display: none !important;
    }

    .hero-container-flex {
        flex-direction: row;
        padding: 0 32px;
    }

    .hero-content-group {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .hero-visual-right.desktop-only {
        display: flex !important;
    }

    .hero-mobile-visual {
        display: none !important;
    }

    .mobile-divider {
        display: none !important;
    }

    .hero-slanted-card {
        width: 50% !important;
        max-width: none;
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: auto !important;
        padding: 24px 3.5% 50px 3.5% !important;
        -webkit-clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .hero-visual-right {
        width: 55%;
        margin-left: calc(-5% - 60px);
    }

    .hero-heading {
        font-size: 24px;
        line-height: 1.1;
        margin-bottom: 12px;
        max-width: 100%;
    }

    .hero-heading .hide-on-desktop {
        display: none !important;
    }

    .hero-slanted-card .divider {
        display: block !important;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 12px;
        line-height: 1.4;
    }

    .hero-description br {
        display: block !important;
    }

    .hero-cta {
        width: auto;
        height: 48px;
        padding: 6px 16px;
        margin-top: 16px;
    }

    .hero-cta .btn-text {
        font-size: 12px;
    }

    .hero-cta .btn-icon {
        width: 30px;
        height: 30px;
    }

    /* Section 2: Leads \2022 stacked, no logos image */
    .want-more-leads-section {
        min-height: auto;
    }

    .leads-wrapper {
        padding: 40px 32px;
        min-height: auto;
    }

    .leads-content-flex {
        flex-direction: column;
    }

    .leads-text-side {
        margin-right: 0;
        max-width: 100%;
    }

    .leads-image-side {
        display: none !important;
    }

    .leads-heading {
        font-size: 28px;
        line-height: 1.2;
    }

    .leads-heading br {
        display: none;
    }

    .leads-heading span {
        display: inline !important;
        white-space: normal !important;
    }

    .leads-description,
    .leads-description p,
    .leads-list li {
        font-size: 15px;
    }

    .leads-sub-heading {
        font-size: 15px;
    }

    .ads-ready-accordion {
        max-width: 100%;
    }

    .ads-ready-header span {
        font-size: 16px;
    }

    .ads-ready-content,
    .ads-ready-content p,
    .ads-ready-content ul li {
        font-size: 14px;
    }

    /* Case Studies \2022 stacked, mobile-like headings */
    .case-study-section {
        padding: 40px 0;
    }

    .case-study-wrapper {
        padding: 0 32px;
    }

    .case-study-heading {
        font-size: 28px;
        line-height: 1.2;
    }

    .case-study-heading .hide-on-mobile {
        display: none !important;
    }

    .case-study-heading .mobile-case-heading {
        display: block !important;
        font-size: 28px !important;
    }

    .case-study-heading .mobile-case-heading span {
        display: inline !important;
        white-space: normal !important;
    }

    .case-study-content-flex {
        flex-direction: column;
        gap: 24px;
    }

    .case-study-visual-side {
        flex: 0 0 auto;
        width: 100%;
    }

    .content-title {
        font-size: 16px;
    }

    .content-list li {
        font-size: 14px;
    }

    .tag {
        font-size: 13px;
        padding: 10px 18px;
    }

    /* Desktop CTA hidden, mobile CTA shown in case studies */
    .case-study-section .cta-button.hide-on-mobile {
        display: none !important;
    }

    .case-study-section .cta-button.hide-on-desktop {
        display: flex !important;
        width: auto;
        height: 50px;
        padding: 6px 18px;
    }

    .case-study-section .cta-button .btn-text {
        font-size: 13px;
    }

    .case-study-section .cta-button .btn-icon {
        width: 32px;
        height: 32px;
    }

    /* Section 6: Client Review \2022 Stacked < 768px, horizontal >= 768px */
    .section-six-main {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .section-six-wrapper {
        padding: 0 32px;
    }

    .section-main-heading {
        font-size: 28px;
    }

    .client-review-block {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        margin-bottom: 40px;
    }

    .review-image {
        flex: 0 0 auto;
        width: 100%;
        height: 500px;
        position: relative;
    }

    .review-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }

    .review-content-card {
        border-radius: 0 0 12px 12px;
        flex: 1;
    }

    @media (min-width: 768px) {
        .client-review-block {
            flex-direction: row;
            gap: 24px;
        }

        .review-image {
            flex: 0 0 280px;
            height: auto;
        }

        .review-image img {
            border-radius: 12px;
        }

        .review-content-card {
            border-radius: 12px;
        }
    }

    .review-title {
        font-size: 24px;
    }

    .review-text {
        font-size: 14px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .team-card,
    .small-team-card {
        grid-column: span 1;
    }

    .team-name {
        font-size: 22px;
    }

    .team-role {
        font-size: 15px;
    }

    .team-details li {
        font-size: 13px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .author-name {
        font-size: 14px;
    }

    /* Section 7 */
    .book-call-section {
        padding-top: 40px;
    }

    .book-call-wrapper {
        padding: 0 32px;
    }

    .book-call-main-heading {
        font-size: 28px;
    }

    .calendly-frame {
        padding: 10px !important;
    }

    .faqs-block {
        flex-direction: column;
        gap: 16px !important;
    }

    .faqs-left {
        flex: 0 0 auto !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px !important;
        height: auto !important;
    }

    .faqs-heading {
        font-size: 28px;
    }

    .faqs-cta-btn {
        align-self: flex-start;
        background-color: #16c858;
        border-color: #16c858;
    }

    .faqs-cta-btn:hover {
        background-color: #12ab4b;
        border-color: #12ab4b;
        color: #FFFFFF;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer p,
    .faq-answer ul li {
        font-size: 14px;
    }

    /* Footer \2022 follow landscape horizontal layout */
    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .footer-main-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-logo {
        width: 220px;
        margin-bottom: 36px;
    }

    .footer-navigation-side {
        display: flex;
        gap: 48px;
    }

    .footer-divider-container {
        margin-top: 80px;
    }

    .footer-bottom-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .copyright,
    .contact-item a,
    .footer-nav-column h3,
    .footer-nav-column ul li a {
        font-size: 14px;
    }
}

/* --- Landscape tablet between 981px\20221199px: Desktop-like with reduced fonts --- */
@media (min-width: 981px) and (max-width: 1199px) {

    /* Ensure desktop elements stay visible */
    .leads-image-side {
        display: flex;
        flex: 0 0 180px;
        margin-left: 30px;
        margin-top: 100px;
    }

    .leads-right-img {
        width: 180px;
    }

    .leads-heading {
        font-size: 36px;
    }

    .leads-description,
    .leads-description p,
    .leads-list li {
        font-size: 15px;
    }

    .leads-sub-heading {
        font-size: 15px;
    }

    /* Case study */
    .case-study-wrapper {
        padding: 0 40px;
    }

    .case-study-heading {
        font-size: 36px;
    }

    .content-list li {
        font-size: 14px;
    }

    .case-study-visual-side {
        flex: 0 0 45%;
    }

    /* Section 6 */
    .section-six-wrapper {
        padding: 0 40px;
    }

    .section-main-heading {
        font-size: 42px;
    }

    .review-title {
        font-size: 30px;
    }

    .review-text {
        font-size: 14px;
    }

    .team-name {
        font-size: 20px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    /* Section 7 */
    .book-call-wrapper {
        padding: 0 40px;
    }

    .book-call-main-heading {
        font-size: 42px;
    }

    /* Footer */
    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Small Mobile (< 600px) */
@media (max-width: 600px) {

    /* HEADER ADJUSTMENTS */
    .header {
        height: 57px;
        padding: 0;
    }

    section[id] {
        scroll-margin-top: 57px;
    }

    .nav {
        top: 57px;
        padding: 10px 24px;
    }

    .header-container {
        padding: 0 24px;
        justify-content: space-between;
        max-width: 100%;
    }

    .logo img {
        width: 130px;
        height: auto;
    }

    /* HERO SECTION ADJUSTMENTS */
    .hero {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
        margin-top: 0 !important;
        background-color: #F9FAFB;
    }

    .hero-container-flex {
        padding: 0 23px !important;
        width: 100% !important;
    }

    .hero-content-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-slanted-card {
        width: 100%;
        max-width: 100%;
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: auto !important;
        padding: 30px 32px 50px 32px !important;
        margin: 0 !important;
        background: linear-gradient(180deg, #2F80ED 0%, #204BA0 100%);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), 0 100%);
        border-radius: 4px !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-heading {
        font-family: 'Sora', sans-serif;
        font-weight: 800;
        font-size: 32px;
        line-height: 1.1;
        letter-spacing: -0.03em;
        color: #F9FAFB;
        text-transform: uppercase;
        margin-top: 0 !important;
        margin-bottom: 20px;
    }

    .hero-heading .hide-on-mobile {
        display: none !important;
    }

    .hero-heading .hide-on-desktop {
        display: block !important;
        white-space: nowrap;
    }

    .hero-mobile-visual {
        display: block !important;
        margin-bottom: 20px;
        width: 100%;
    }

    .hero-mobile-visual img {
        width: 100%;
        max-width: 310px;
        height: auto;
    }

    .mobile-divider {
        display: block !important;
        width: 39px !important;
        height: 1.25px !important;
        background-color: #F9FAFB !important;
        margin: 10px 0 20px 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 101 !important;
        flex-shrink: 0 !important;
    }

    .hero-description {
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 1.3;
        letter-spacing: 0.01em;
        color: #F9FAFB;
        margin-bottom: 25px !important;
        display: block !important;
    }

    .hero-description br {
        display: none !important;
    }

    .hero-cta {
        display: flex !important;
        width: auto !important;
        height: 44px !important;
        flex-shrink: 0 !important;
        /* Increased height */
        padding: 6px 16px !important;
        margin-top: 0 !important;
        align-self: flex-start;
        background: #16c858 !important;
        border-radius: 999px;
        align-items: center;
        text-decoration: none;
    }

    .hero-cta .btn-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .hero-cta .btn-text {
        font-family: 'Manrope', sans-serif;
        font-weight: 800;
        font-size: 11px !important;
        padding-left: 6px !important;
        color: #F9FAFB;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .hero-cta .right-group {
        display: flex !important;
        align-items: center;
        margin-left: 6px;
    }

    .hero-cta .btn-divider {
        width: 1px;
        height: 12px;
        background: rgba(255, 255, 255, 0.5);
        margin-right: 6px;
    }

    .hero-cta .btn-arrow {
        width: 12px !important;
        height: 12px !important;
    }

    /* SECTION 2: LEADS */
    .want-more-leads-section {
        min-height: auto !important;
        padding: 30px 0 !important;
        display: block !important;
    }

    .leads-wrapper {
        padding: 0 23px !important;
        min-height: auto !important;
        display: block !important;
    }

    .leads-content-flex {
        display: block !important;
    }

    .leads-text-side {
        margin: 0 !important;
        max-width: 100% !important;
    }

    .leads-heading {
        font-size: 21px !important;
        line-height: 1.2;
        margin-top: 0 !important;
        margin-bottom: 24px;
        text-transform: uppercase;
    }

    .leads-heading .hide-on-mobile {
        display: none !important;
    }

    .leads-heading .hide-on-desktop {
        display: block !important;
    }

    .leads-heading .hide-on-desktop span {
        display: block !important;
    }

    .leads-description,
    .leads-description p,
    .leads-list li,
    .leads-sub-heading,
    .ads-ready-header span,
    .ads-ready-content,
    .ads-ready-content p,
    .ads-ready-content ul li {
        font-size: 14px !important;
    }

    .ads-ready-accordion {
        margin-top: 24px !important;
        margin-bottom: 0 !important;
    }

    /* CASE STUDIES */
    .case-study-section {
        padding: 30px 0 !important;
    }

    .case-study-wrapper {
        padding: 0 23px !important;
    }

    .case-study-heading {
        font-size: 21px !important;
        line-height: 1.2;
        margin-bottom: 24px;
        text-transform: uppercase;
    }

    .case-study-heading .hide-on-mobile {
        display: none !important;
    }

    .case-study-heading .mobile-case-heading {
        display: flex !important;
        flex-direction: column !important;
        font-size: 21px !important;
    }

    .case-study-heading .mobile-case-heading span {
        display: block !important;
    }

    .case-study-content-flex {
        flex-direction: column !important;
        gap: 23px !important;
        display: flex !important;
    }

    .case-study-text-side {
        margin: 0 !important;
        display: block !important;
    }

    .case-study-text-side .content-block {
        margin-bottom: 24px;
        /* Reduced from 28px */
    }

    .case-study-text-side .content-block:nth-last-child(2) {
        margin-bottom: 0 !important;
    }

    .case-study-section .content-list li:last-child {
        margin-bottom: 0 !important;
    }

    .case-study-visual-side {
        margin: 0 !important;
        width: 100% !important;
        flex: 0 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .case-study-graph {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .case-study-section .content-title {
        font-size: 14px !important;
        margin-bottom: 10px;
    }

    .case-study-section .content-list li {
        font-size: 14px !important;
    }

    .case-study-section .cta-button {
        display: none;
        /* Hide by default in flex if it's the desktop one */
    }

    .case-study-section .cta-button.hide-on-desktop {
        display: flex !important;
        width: auto !important;
        height: 44px !important;
        /* Increased height */
        padding: 6px 16px !important;
        margin-top: 0 !important;
        /* Managed by flex gap */
        align-self: flex-start;
        background: #16c858 !important;
        border-radius: 999px;
        align-items: center;
        text-decoration: none;
    }

    .case-study-section .cta-button.hide-on-mobile {
        display: none !important;
    }

    .case-study-section .cta-button .btn-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .case-study-section .cta-button .btn-text {
        font-family: 'Manrope', sans-serif;
        font-weight: 800;
        font-size: 11px !important;
        padding-left: 6px !important;
        color: #F9FAFB;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .case-study-section .cta-button .right-group {
        display: flex !important;
        align-items: center;
        margin-left: 6px;
    }

    .case-study-section .cta-button .btn-divider {
        width: 1px;
        height: 12px;
        background: rgba(255, 255, 255, 0.5);
        margin-right: 6px;
    }

    .case-study-section .cta-button .btn-arrow {
        width: 12px !important;
        height: 12px !important;
    }

    .tag {
        font-size: 11px;
        padding: 8px 14px;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* ---- Section 4 Custom Borders ---- */
    #beauty-clinic .sec4-tags .tag {
        border: 2px solid #4B4B4B !important;
    }

    .sec4-tags,
    .sec5-tags {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .sec4-tags .tag:nth-child(1),
    .sec5-tags .tag:nth-child(1) {
        margin-right: 100% !important;
        margin-bottom: 4px;
        /* Slight vertical gap adjustment */
    }

    /* SECTION 6: TEAM & TESTIMONIALS */
    .section-six-main {
        padding: 40px 0 40px 0 !important;
    }

    .section-six-wrapper {
        padding: 0 24px;
    }

    .section-main-heading {
        font-size: 21px !important;
        margin-top: 40px !important;
        /* Balanced gap between sub-sections */
        margin-bottom: 20px !important;
        /* Balanced gap between header and content */
    }

    .section-six-main .section-main-heading:first-of-type {
        margin-top: 0 !important;
        /* Relies on section top padding */
    }

    /* MEET THE TEAM & TESTIMONIALS HEADING */
    .section-six-main .section-main-heading:nth-of-type(n+2) {
        /* Shared styles above handle the consistency */
    }

    .client-review-block {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0 !important;
        /* Reset to prevent adding to next heading gap */
    }

    .review-image {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
        margin: 0 0 20px 0 !important;
        /* Removed top margin to respect heading 20px gap */
    }

    .review-image img,
    .review-image video {
        height: 100%;
        border-radius: 12px;
        object-fit: cover;
        object-position: center 10%;
    }

    .review-content-card {
        border-radius: 12px;
        padding: 18px 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start !important;
    }

    .review-title {
        font-size: 18px !important;
        margin-bottom: 12px;
    }

    .review-text {
        font-size: 14px !important;
    }

    .review-text p {
        margin-bottom: 12px;
    }

    .review-text p:last-child {
        margin-bottom: 12px;
    }

    .review-text ul {
        margin-bottom: 12px;
    }

    .review-content-card .cta-button,
    .team-mobile-cta {
        display: flex !important;
        width: fit-content !important;
        height: 44px !important;
        /* Increased height */
        padding: 6px 16px !important;
        margin-top: 0 !important;
        align-self: flex-start;
        background: #16c858 !important;
        border-radius: 999px;
        align-items: center;
        text-decoration: none;
    }

    .team-mobile-cta {
        margin-top: 40px !important;
    }

    .review-content-card .cta-button .btn-icon,
    .team-mobile-cta .btn-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .review-content-card .cta-button .btn-text,
    .team-mobile-cta .btn-text {
        font-family: 'Manrope', sans-serif;
        font-weight: 800;
        font-size: 11px !important;
        padding-left: 6px !important;
        color: #F9FAFB;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .review-content-card .cta-button .right-group,
    .team-mobile-cta .right-group {
        display: flex !important;
        align-items: center;
        margin-left: 6px;
    }

    .review-content-card .cta-button .btn-divider,
    .team-mobile-cta .btn-divider {
        width: 1px;
        height: 12px;
        background: rgba(255, 255, 255, 0.5);
        margin-right: 6px;
    }

    .review-content-card .cta-button .btn-arrow,
    .team-mobile-cta .btn-arrow {
        width: 12px !important;
        height: 12px !important;
    }

    /* TEAM GRID MOBILE */
    .team-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 0 !important;
        /* Reset to prevent adding to next heading gap */
    }

    .team-card {
        min-height: 148px !important;
        height: auto !important;
        display: flex !important;
        align-items: flex-start !important;
        padding: 15px !important;
        grid-column: span 1 !important;
    }

    .small-team-card {
        min-height: 100px !important;
        height: auto !important;
        align-items: center !important;
    }

    .team-header {
        display: flex !important;
        gap: 12px !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .small-team-card .team-header {
        align-items: center !important;
    }

    .team-img {
        width: 65px !important;
        height: 85px !important;
        /* Balanced height for mobile */
        object-fit: cover !important;
        object-position: top center !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }

    .team-card.stretched-card {
        align-items: stretch !important;
    }

    .team-card.stretched-card .team-header {
        align-items: stretch !important;
    }

    .team-card.stretched-card .team-header picture {
        align-items: stretch !important;
        display: flex !important;
    }

    .team-card.stretched-card .team-img {
        height: auto !important;
        min-height: 100% !important;
    }

    .small-team-card .team-img {
        width: 65px !important;
        height: 65px !important;
        object-position: center !important;
    }

    .team-info {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .team-name {
        font-size: 20px !important;
        margin-bottom: 2px !important;
    }

    .team-role {
        font-size: 14px !important;
        margin-bottom: 4px !important;
        /* Gap between role and details */
    }

    .small-team-card .team-role {
        margin-bottom: 0 !important;
    }

    .team-details {
        margin-bottom: 0 !important;
        padding-left: 12px !important;
    }

    .team-details li {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 4px !important;
    }

    /* TESTIMONIALS MOBILE */
    .testimonials-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .testimonial-card {
        padding: 24px !important;
        margin-bottom: 0 !important;
        /* Reset to prevent adding to section bottom padding */
    }

    .testimonial-text {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    .author-name {
        font-size: 14px !important;
    }

    .author-title {
        font-size: 13px !important;
    }

    .author-avatar-img {
        width: 34px !important;
        height: 34px !important;
    }

    /* SECTION 7: BOOK CALL & FAQS */
    .book-call-section {
        padding-top: 40px !important;
    }

    .book-call-wrapper {
        padding: 0 24px;
    }

    .book-call-main-heading {
        font-size: 21px !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        background: linear-gradient(90deg, #214CA0 0%, #3080ED 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        width: fit-content !important;
    }

    .calendly-frame {
        height: auto !important;
        background: #FFFFFF !important;
        border-radius: 16px !important;
        padding: 20px !important;
        margin: 0 0 40px 0 !important;
        overflow: hidden !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border: none !important;
    }

    .calendly-inline-widget {
        height: 600px !important;
    }

    .faqs-block {
        padding: 0 !important;
        /* Managed by children margins */
        margin-bottom: 0 !important;
        gap: 0 !important;
    }

    .faqs-left {
        gap: 0 !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        flex: none !important;
    }

    .faqs-heading {
        font-size: 22px !important;
        margin: 28px 0 20px 26px !important;
    }

    .faqs-cta-btn {
        height: 44px !important;
        font-size: 12px !important;
        padding: 8px 24px !important;
        background: #22C55E !important;
        margin-bottom: 18px !important;
        margin-left: 26px !important;
        border: none !important;
    }

    .faqs-right {
        padding: 0 24px 32px 24px !important;
        /* Consistent with other sections */
    }

    .faq-item {
        margin-bottom: 8px !important;
    }

    .faq-question {
        padding: 12px 18px !important;
        font-size: 12px !important;
    }

    .faq-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .faq-item.open .faq-answer {
        padding: 15px 22px 22px 22px !important;
        font-size: 12px !important;
    }

    .faq-answer p,
    .faq-answer ul li {
        font-size: 14px !important;
    }

    /* FOOTER */
    .footer-new {
        padding: 34px 0 40px 0 !important;
        background: #FFFFFF;
    }

    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .footer-navigation-side {
        flex-direction: column;
        gap: 32px;
    }

    .footer-navigation-side .follow-us-col {
        display: none !important;
    }

    .footer-logo {
        margin-bottom: 30px !important;
    }

    .footer-contact-links {
        gap: 14px !important;
    }

    .footer-nav-column h3 {
        margin-bottom: 17px !important;
    }

    .footer-nav-column ul li {
        margin-bottom: 12px !important;
    }

    .footer-nav-column ul li:last-child {
        margin-bottom: 0 !important;
    }

    .footer-divider-container {
        margin-top: 30px !important;
    }

    .footer-bottom-layout {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 8px !important;
    }

    .copyright,
    .contact-item a,
    .footer-nav-column h3,
    .footer-nav-column ul li a {
        font-size: 12px !important;
    }
}

/* Extra Small Mobile (< 420px) */
@media (max-width: 420px) {
    .hero-heading {
        font-size: 28px;
    }
}

/* ==========================================================================
   GLOBAL RESPONSIVE FIXES (Intermediate screen sizes)
   ========================================================================== */

/* 1. Prevent Heading Doubling */
@media (min-width: 601px) {

    .hero-heading span.hide-on-mobile,
    .leads-heading span.hide-on-mobile,
    .case-study-heading span.hide-on-mobile {
        display: inline !important;
    }

    .hero-heading span.hide-on-desktop,
    .leads-heading span.hide-on-desktop,
    .case-study-heading span.hide-on-desktop {
        display: none !important;
    }
}

@media (max-width: 600px) {

    .hero-heading span.hide-on-mobile,
    .leads-heading span.hide-on-mobile,
    .case-study-heading span.hide-on-mobile {
        display: none !important;
    }

    .hero-heading span.hide-on-desktop,
    .leads-heading span.hide-on-desktop,
    .case-study-heading span.hide-on-desktop {
        display: inline !important;
    }
}


/* 5. Section 1 Refinements for 601px-767px (Fix Font Size & Button Overflow) */
@media (min-width: 601px) and (max-width: 767px) {
    .hero-content-group {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Diana Image Adjustment for 601px-767px */
    .review-image img,
    .review-image video {
        object-position: center 15% !important;
    }

    .hero-visual-right {
        width: 55% !important;
        margin-left: calc(-5% - 40px) !important;
        margin-top: 0 !important;
    }

    .hero-slanted-card .heading {
        font-size: clamp(22px, 4vw, 32px) !important;
    }

    .hero-slanted-card .description {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .hero-cta,
    .hero-slanted-card .cta-button {
        width: 100% !important;
        max-width: 280px !important;
        height: 50px !important;
        padding: 0 15px !important;
    }

    .hero-cta .btn-text,
    .hero-slanted-card .cta-button .btn-text {
        font-size: 12px !important;
    }

    .hero-cta .btn-icon,
    .hero-slanted-card .cta-button .btn-icon {
        width: 32px !important;
        height: 32px !important;
    }

    /* Diana Page Spacing */
    .client-review-block {
        flex-direction: column !important;
        gap: 24px !important;
    }

    .review-image {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: 400px !important;
    }

    .review-image img,
    .review-image video {
        border-radius: 12px !important;
    }

    .review-content-card {
        border-radius: 12px !important;
    }
}

/* 6. Section 1 Image Position for 768px-800px (Move closer by 30px) */
@media (min-width: 768px) and (max-width: 800px) {
    .hero-visual-right {
        margin-left: calc(-5% - 40px) !important;
    }
}

/* 7. Section 1 Centering \2022 only for actual mobile (max 600px), not iPad split-view */
/* Removed: was conflicting with iPad portrait restoration at 601-800px */

/* 8. Section 1 Desktop Design for 981px-1079px */
@media (min-width: 981px) and (max-width: 1079px) {
    .hero span.hide-on-mobile {
        display: inline !important;
    }

    .hero div.hide-on-mobile {
        display: block !important;
    }

    .hero span.hide-on-desktop {
        display: none !important;
    }

    .hero-mobile-visual {
        display: none !important;
    }

    .mobile-divider {
        display: none !important;
    }

    .hero-visual-right.desktop-only {
        display: flex !important;
        width: 55% !important;
        margin-left: calc(-5% - 60px) !important;
    }

    .hero-content-group {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-slanted-card {
        width: 50% !important;
        -webkit-clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%) !important;
        clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%) !important;
    }
}

/* 9. Section 1 Button Refinement for 601px-700px */
@media (min-width: 601px) and (max-width: 700px) {

    .hero-cta,
    .hero-slanted-card .cta-button {
        max-width: 220px !important;
        height: 42px !important;
        padding: 0 10px !important;
    }

    .hero-cta .btn-text,
    .hero-slanted-card .cta-button .btn-text {
        font-size: 10px !important;
    }

    .hero-cta .btn-icon,
    .hero-slanted-card .cta-button .btn-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .hero-cta .btn-divider {
        margin-right: 4px !important;
    }

    .hero-cta .right-group {
        margin-left: 4px !important;
        gap: 4px !important;
    }
}

/* 4. Section 3, 4, 5 Stacking for 981px-1079px (Fix Squeezed Layout) */
@media (min-width: 200px) and (max-width: 1079px) {
    .case-study-content-flex {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .case-study-visual-side {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 28px !important;
    }

    .case-study-text-side {}

    .case-study-section .cta-button.hide-on-desktop {
        display: flex !important;
        width: fit-content !important;
    }

    .case-study-section .cta-button.hide-on-mobile {
        display: none !important;
    }
}

/* 3. Section 3, 4, 5 Heading Flow for 1200px-1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
    .case-study-heading br {
        display: none !important;
    }

    .case-study-heading .gradient-text {
        display: inline !important;
    }
}

/* 10. FAQ Spacing Adjustment for 959px-1100px */

@media (min-width: 959px) and (max-width: 1100px) {
    .faqs-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 48px !important;
    }

    .faqs-left {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        width: 100% !important;
        flex: none !important;
        margin-bottom: 20px !important;
    }

    .faqs-heading {
        margin: 0 !important;
        font-size: 48px !important;
    }

    .faqs-cta-btn {
        margin: 0 !important;
    }

    .faqs-right {
        width: 100% !important;
    }
}

/* Hero section vertical centering for 1025px-1366px range - REMOVED conflict */

/* 11. Increase Hero Height for Large Desktop (> 1366px) */
@media (min-width: 1367px) {
    .hero {
        padding-bottom: 130px !important;
    }
}

/* 12. Increase Hero Heading Font Size for 856px-980px */
@media (min-width: 856px) and (max-width: 980px) {
    .hero-heading {
        font-size: 52px !important;
    }
}

/* 13. Center Mobile Hero Image for 391px-600px */
@media (min-width: 391px) and (max-width: 600px) {
    .hero-mobile-visual {
        display: flex !important;
        justify-content: center !important;
    }
}

/* 14. Scale All Headings, Paddings and Green Buttons for 368px and below */
@media (max-width: 368px) {

    /* Proportional Heading Scaling */
    .hero-heading,
    .leads-heading,
    .case-study-heading,
    .section-main-heading,
    .book-call-main-heading,
    .faqs-heading,
    .case-study-heading .mobile-case-heading {
        font-size: 21px !important;
        line-height: 1.0 !important;
    }

    /* REDUCE line-height even more for Section 3, 4, 5 headings */
    .case-study-heading,
    .case-study-heading .mobile-case-heading,
    .case-study-heading span {
        line-height: 1.05 !important;
    }

    /* FIX: Match Section 2 Heading size to Section 3 Heading size at 344px and 368px */
    @media (width: 344px),
    (width: 368px) {

        .leads-heading,
        .leads-heading span {
            font-size: 21px !important;
        }
    }

    /* Natural Heading Flow for Sections 2, 3, 4, and 5 */
    .leads-heading span,
    .case-study-heading span,
    .case-study-heading .mobile-case-heading span {
        display: inline !important;
        white-space: normal !important;
        margin: 0 !important;
        padding: 0 !important;
        background-attachment: scroll !important;
        /* Ensure gradient stays with text */
    }

    .case-study-heading .gradient-text {
        background: linear-gradient(90deg, #204CA1 0%, #2F80ED 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }

    .leads-heading br,
    .case-study-heading br {
        display: block !important;
        content: "";
        margin: 0 !important;
    }

    .leads-heading .hide-on-desktop,
    .case-study-heading .mobile-case-heading {
        display: block !important;
    }

    /* Ensure Section 2 specifically wraps correctly */
    .leads-heading {
        white-space: normal !important;
    }

    /* Adjusting Container Paddings to prevent overflow below 330px */
    .hero-slanted-card,
    .leads-wrapper,
    .case-study-wrapper,
    .section-six-wrapper,
    .book-call-wrapper,
    .review-content-card {
        padding-left: 6vw !important;
        padding-right: 6vw !important;
    }

    .hero-slanted-card {
        padding-top: 30px !important;
        padding-bottom: 50px !important;
        height: auto !important;
        min-height: auto !important;
    }

    /* Scaling for all primary green buttons (Hero and Sections 3-6) */
    .hero-cta,
    .review-content-card .cta-button,
    .cta-button {
        height: 44px !important;
        padding: 1.5vw 4vw !important;
        width: fit-content !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-cta {
        align-self: center !important;
    }

    .hero-cta .btn-text,
    .review-content-card .cta-button .btn-text,
    .cta-button .btn-text {
        font-size: 2.8vw !important;
    }

    .hero-cta .btn-icon,
    .review-content-card .cta-button .btn-icon,
    .cta-button .btn-icon {
        width: 6vw !important;
        height: 6vw !important;
    }

    .hero-cta .btn-arrow,
    .review-content-card .cta-button .btn-arrow,
    .cta-button .btn-arrow {
        width: 3vw !important;
        height: 3vw !important;
    }

    /* Ensure icons and arrows within buttons also scale and don't push width */
    .hero-cta img,
    .review-content-card .cta-button img,
    .cta-button img {
        flex-shrink: 0;
    }
}

/* 15. Aggressive Scaling for Ultra-Small Mobile (<= 319px) */
@media (max-width: 319px) {

    .hero-cta,
    .review-content-card .cta-button,
    .cta-button {
        padding: 1vw 2vw !important;
    }

    .hero-cta .btn-text,
    .review-content-card .cta-button .btn-text,
    .cta-button .btn-text {
        font-size: 2.2vw !important;
    }

    .hero-cta .btn-icon,
    .review-content-card .cta-button .btn-icon,
    .cta-button .btn-icon {
        width: 4vw !important;
        height: 4vw !important;
    }

    .hero-cta .btn-arrow,
    .review-content-card .cta-button .btn-arrow,
    .cta-button .btn-arrow {
        width: 2vw !important;
        height: 2vw !important;
    }
}

/* 17. Hero Heading Flow for 401px-600px */
@media (min-width: 401px) and (max-width: 600px) {
    .hero-heading span.hide-on-desktop {
        white-space: normal !important;
        display: inline !important;
    }

    .hero-heading br {
        display: inline-block !important;
        width: 0.28em !important;
        height: 0 !important;
        line-height: 0 !important;
    }
}

/* 16. Heading Flow for Sections 2, 3, 4, 5 in 601px-748px */
@media (min-width: 601px) and (max-width: 748px) {

    .leads-heading span,
    .case-study-heading span,
    .case-study-heading .mobile-case-heading span {
        display: inline !important;
        white-space: normal !important;
        margin: 0 !important;
        padding: 0 !important;
        background-attachment: scroll !important;
    }

    .case-study-heading .gradient-text {
        background: linear-gradient(90deg, #204CA1 0%, #2F80ED 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }

    .leads-heading br,
    .case-study-heading br {
        display: none !important;
    }

    .leads-heading .hide-on-desktop,
    .case-study-heading .mobile-case-heading {
        display: block !important;
    }

    .leads-heading {
        white-space: normal !important;
    }
}

/* 18. FAQS Alignment for 870px-958px */
@media (min-width: 870px) and (max-width: 958px) {
    .book-call-section {
        padding-top: 30px !important;
    }

    .faqs-block {
        padding: 30px 40px !important;
        gap: 20px !important;
    }

    .faqs-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 30px !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        flex: none !important;
        height: auto !important;
    }

    .faqs-heading {
        margin-bottom: 0 !important;
    }
}

/* ==========================================================================
   19. HERO DESKTOP LAYOUT RESTORATION FOR 601px\20221024px (ALL ORIENTATIONS)
   Fixes iPad split-view bug where Section 1 incorrectly switches to mobile
   layout at certain widths. This overrides all earlier conflicting queries.
   ========================================================================== */
@media (min-width: 601px) and (max-width: 1024px) {

    /* Force desktop text, hide mobile text in hero */
    .hero span.hide-on-mobile {
        display: inline !important;
    }

    .hero div.hide-on-mobile {
        display: block !important;
    }

    .hero a.hide-on-mobile {
        display: flex !important;
    }

    .hero span.hide-on-desktop {
        display: none !important;
    }

    .hero div.hide-on-desktop {
        display: none !important;
    }

    .hero a.hide-on-desktop {
        display: none !important;
    }

    /* Show desktop visual, hide mobile visual */
    .hero-visual-right.desktop-only {
        display: flex !important;
    }

    .hero-mobile-visual {
        display: none !important;
    }

    .mobile-divider {
        display: none !important;
    }

    /* Side-by-side layout */
    .hero-container-flex {
        flex-direction: row !important;
        padding: 0 32px !important;
    }

    .hero-content-group {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Desktop slanted card */
    .hero-slanted-card {
        width: 50% !important;
        max-width: none !important;
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: auto !important;
        padding: 24px 3.5% 50px 3.5% !important;
        -webkit-clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%) !important;
        clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-slanted-card .divider {
        display: block !important;
        margin-bottom: 12px !important;
    }

    .hero-slanted-card .heading.hero-heading {
        font-size: clamp(28px, 5.5vw, 52px) !important;
        line-height: 1.1 !important;
        margin-bottom: 12px !important;
        max-width: 100% !important;
    }

    .hero-heading .hide-on-desktop {
        display: none !important;
    }

    .hero-description {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .hero-cta {
        width: auto !important;
        height: 48px !important;
        padding: 6px 16px !important;
        margin-top: 16px !important;
    }

    .hero-cta .btn-text {
        font-size: 12px !important;
    }

    .hero-cta .btn-icon {
        width: 30px !important;
        height: 30px !important;
    }

    /* Hero padding */
    .hero {
        padding-top: 20px !important;
        padding-bottom: 50px !important;
    }

    /* Right visual overlap */
    .hero-visual-right {
        width: 55% !important;
        margin-left: calc(-5% - 60px) !important;
    }
}

/* 20. Larger Hero Heading for 601px-767px */
@media (min-width: 601px) and (max-width: 767px) {
    .hero-slanted-card .heading.hero-heading {
        font-size: clamp(30px, 5.5vw, 42px) !important;
    }
}

/* Ensure 9:16 aspect ratio for Diana Video in the specified tablet range */
@media (min-width: 601px) and (max-width: 987px) {
    .review-image {
        aspect-ratio: 9 / 16 !important;
        height: auto !important;
    }
}

/* Custom Spacing for 1290px to 1528px to match header */
@media (min-width: 1290px) and (max-width: 1528px) {

    .leads-wrapper,
    .case-study-wrapper,
    .section-six-wrapper,
    .book-call-wrapper,
    .confirmation-wrapper,
    .confirmation-wrapper,
    .footer-top-container,
    .footer-divider-container,
    .footer-bottom-container {
        padding-left: 150px !important;
        padding-right: 150px !important;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Proportional Scaling for Hero Section (1081px - 1650px) based on 1651px layout */
@media (min-width: 1081px) and (max-width: 1650px) {
    .hero-container-flex {
        padding: 0 calc(210vw / 16.51) !important;
    }

    .hero-slanted-card {
        width: calc(580vw / 16.51) !important;
        min-height: calc(720vw / 16.51) !important;
        padding: calc(60vw / 16.51) calc(40vw / 16.51) !important;
        transform: translateX(calc(40vw / 16.51)) !important;
    }

    .hero-slanted-card .heading {
        font-size: calc(62vw / 16.51) !important;
        margin-bottom: calc(30vw / 16.51) !important;
    }

    .hero-slanted-card .description {
        font-size: calc(18vw / 16.51) !important;
        margin-bottom: calc(40vw / 16.51) !important;
    }

    .hero-visual-right {
        width: calc(720vw / 16.51) !important;
        margin-left: calc(-100vw / 16.51) !important;
        transform: translateX(calc(-40vw / 16.51)) !important;
    }

    .hero-slanted-card .divider {
        width: calc(67vw / 16.51) !important;
        height: calc(2.5vw / 16.51) !important;
        margin-bottom: calc(40vw / 16.51) !important;
    }

    .hero-slanted-card .cta-button {
        width: calc(324vw / 16.51) !important;
        height: calc(58vw / 16.51) !important;
        padding: 0 calc(18vw / 16.51) !important;
        margin-top: calc(30vw / 16.51) !important;
        gap: calc(12vw / 16.51) !important;
    }

    .hero-slanted-card .cta-button .btn-icon {
        width: calc(44vw / 16.51) !important;
        height: calc(44vw / 16.51) !important;
    }

    .hero-slanted-card .cta-button .btn-text {
        font-size: calc(16vw / 16.51) !important;
    }

    .hero-slanted-card .cta-button .btn-arrow {
        width: calc(24vw / 16.51) !important;
        height: calc(24vw / 16.51) !important;
    }

    .hero-slanted-card .cta-button .btn-divider {
        height: calc(14vw / 16.51) !important;
    }

    .hero-slanted-card .cta-button .right-group {
        gap: calc(12vw / 16.51) !important;
    }

    .hero {
        padding-top: calc(57vw / 16.51) !important;
        padding-bottom: calc(80vw / 16.51) !important;
    }
}

/* 23. Robust iPad Landscape Height Adjustment (Overrides all conflicts) */
@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
    .hero {
        height: auto !important;
        padding-top: 90px !important;
        padding-bottom: 90px !important;
    }

    .hero-slanted-card {
        min-height: 480px !important;
        /* Overrides previous clamp()/min-height */
        aspect-ratio: auto !important;
        /* Allows it to shrink vertically in landscape */
    }
}