﻿/*
Theme Name: tiss-theme
Version: 1.0.1
*/


@font-face {
    font-family: gothic;
    src: url(../tiss-theme/assets/gothic/Fontspring-DEMO-allroundgothic-xlig.otf);
    font-weight: 200;
}

@font-face {
    font-family: gothic;
    src: url(../tiss-theme/assets/gothic/Fontspring-DEMO-allroundgothic-thick.otf);
    font-weight: 300;
}

@font-face {
    font-family: gothic;
    src: url(../tiss-theme/assets/gothic/Fontspring-DEMO-allroundgothic-text.otf);
    font-weight: 400;
}

@font-face {
    font-family: gothic;
    src: url(../tiss-theme/assets/gothic/Fontspring-DEMO-allroundgothic-semi.otf);
    font-weight: 500;
}

@font-face {
    font-family: gothic;
    src: url(../tiss-theme/assets/gothic/Fontspring-DEMO-allroundgothic-medium.otf);
    font-weight: 600;
}

@font-face {
    font-family: gothic;
    src: url(../tiss-theme/assets/gothic/Fontspring-DEMO-allroundgothic-bold.otf);
    font-weight: 700;
}

@font-face {
    font-family: general;
    src: url(../tiss-theme/assets/general/GeneralSans-Regular.otf);
    font-weight: 400;
}

@font-face {
    font-family: general;
    src: url(../tiss-theme/assets/general/GeneralSans-Medium.otf);
    font-weight: 500;
}

@font-face {
    font-family: general;
    src: url(../tiss-theme/assets/general/GeneralSans-Semibold.otf);
    font-weight: 600;
}

@font-face {
    font-family: general;
    src: url(../tiss-theme/assets/general/GeneralSans-Bold.otf);
    font-weight: 700;
}



html,
body {
    /* clip (not hidden) - hidden/auto both establish a scroll container on
       html/body, which breaks position:sticky for every descendant on the
       site (confirmed: the new .insight-cta-card wouldn't stick with
       hidden here). clip contains the same decorative horizontal overflow
       without creating that scroll container. */
    overflow-x: clip;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

p,
a {
    font-family: "Roboto", sans-serif;
    color: #000000de;
    font-size: 16px;
}

span {
    font-family: "Roboto", sans-serif;
}

a:hover {

    text-decoration: none !important;
}

.container {
    padding: 0 6% !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.error-404 img {
    width: 100%;
    height: 485px;
    object-fit: contain;
    margin: 106px 0;
}

/* width */
::-webkit-scrollbar {
    width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #1D1D1D;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #8b0000;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fdfaf9 !important;
}


/* ============================================================
   HEADER
   ============================================================ */

/* -- Wrapper -- */
.header-wrapper {
    width: 100%;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.f-nav .header-wrapper {
    padding: 12px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* -- Logo -- */
.header-logo-col {
    display: flex;
    align-items: center;
}

.header-logo {
    display: inline-block;
    line-height: 0;
    max-width: 100%;
}

.header-logo img {
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: width 0.3s ease;
}

.f-nav .header-logo img {
    width: 110px;
}

/* -- Col 2: Menu -- */
.header-menu-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav {
    display: flex;
    align-items: center;
}

/* -- Col 3: Actions -- */
.header-actions-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}


/* Reset Max Mega Menu wrapper */
#mega-menu-wrap-primary,
#mega-menu-wrap-primary .mega-menu-toggle {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Hide Max Mega Menu's built-in mobile toggle and close button (we use our
   own) - the plugin renders .mega-close independently fixed-positioned,
   which otherwise sits on top of our own toggle button */
#mega-menu-wrap-primary .mega-menu-toggle,
#mega-menu-wrap-primary .mega-close {
    display: none !important;
}

/* The main <ul> */
#mega-menu-wrap-primary ul#mega-menu-primary {
    background: transparent !important;
    display: flex !important;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 !important;
    text-align: left !important;
}

#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item {
    position: relative;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

/* Top-level links â€” override plugin's white text + 17px + height/line-height */
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
    display: inline-block !important;
    padding: 2px 20px !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    line-height: 1.6 !important;
    height: auto !important;
    transition: color 0.3s ease;
}

/* Re-enable ::after â€” plugin globally sets ::after { display: none } */
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item>a.mega-menu-link::after {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    top: auto !important;
    left: 16px !important;
    width: 0 !important;
    height: 2px !important;
    background: #c0392b !important;
    border-radius: 2px !important;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Expand underline on hover / active / toggle */
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item:hover>a.mega-menu-link::after,
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link::after,
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link::after,
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link::after,
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item.mega-current-page-ancestor>a.mega-menu-link::after {
    width: calc(100% - 32px) !important;
}

/* Hover & active text color â€” override plugin's #FEDD56 yellow */
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item:hover>a.mega-menu-link,
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link,
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link,
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link,
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item.mega-current-page-ancestor>a.mega-menu-link {
    color: #c0392b !important;
    background: transparent !important;
    font-weight: 600 !important;
}

/* Remove plugin's dropdown indicator arrow */
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item>a.mega-menu-link .mega-indicator {
    display: none !important;
}

/* -- Mega Menu Dropdown Panel -- */
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item>ul.mega-sub-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 12px 0 !important;
    position: absolute !important;
    top: 48px !important;
    left: 0 !important;
    min-width: 200px !important;
    background: #fff !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1000 !important;
}

#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item:hover>ul.mega-sub-menu,
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item.mega-toggle-on>ul.mega-sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

/* Dropdown links */
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item>ul.mega-sub-menu li.mega-menu-item>a.mega-menu-link {
    display: block !important;
    padding: 9px 20px !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #333 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    height: auto !important;
    line-height: 1.5 !important;
    transition: color 0.2s ease, background 0.2s ease;
}

#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item>ul.mega-sub-menu li.mega-menu-item>a.mega-menu-link:hover {
    color: #c0392b !important;
    background: #fdf2f1 !important;
}

/* Mega panel (full-width panels) */
#mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu {
    min-width: 640px !important;
    padding: 24px !important;
}

/* -- Header Actions (phone + button) -- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Phone link */
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.header-phone i {
    font-size: 18px;
    color: #c0392b;
}

.header-phone:hover {
    color: #c0392b;
}

/* Apply Now Button */
.btn-apply-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #8b0000;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.25);
}

.btn-apply-now:hover {
    background: #a00000;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(139, 0, 0, 0.35);
}

/* -- Mobile nav toggle -- */
.header-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.header-menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-wrapper.mobile-nav-open .header-menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-wrapper.mobile-nav-open .header-menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.header-wrapper.mobile-nav-open .header-menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Below the desktop nav breakpoint the menu list (forced to a flex row above
   for desktop) is detached into a full-width dropdown driven by the toggle
   button, since the plugin's own mobile toggle is hidden and unused */
@media (max-width: 991.98px) {

    .header-menu-toggle {
        display: flex;
    }

    /* bootstrap.min.css loads after this stylesheet, so its unconditioned
       base grid rule (width:100%, position:relative, applied to every col-*
       class regardless of breakpoint) beats a plain override here on source
       order; without !important this column claims the full row width and
       wraps the logo and toggle button onto separate lines. Also strip its
       position:relative - otherwise this column (not .header-wrapper)
       becomes the containing block for the absolutely-positioned dropdown
       below, shrinking the panel down to this now-narrow column's width. */
    .header-menu-col {
        flex: 0 0 auto !important;
        width: auto !important;
        position: static !important;
    }

    .header-nav {
        display: block;
    }

    #mega-menu-wrap-primary {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .header-wrapper.mobile-nav-open #mega-menu-wrap-primary {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* The plugin's own JS drives an off-canvas slide panel on this element via
       inline styles (position:fixed, an off-screen left offset, hidden
       visibility), and the plugin's matching CSS for that panel is scoped to
       a different element id than what actually renders here, so it never
       resolves. Neutralize the inline positioning so our wrap above (toggled
       via .mobile-nav-open) is the only thing controlling visibility.

       Visibility here must track .mobile-nav-open, not a blanket "visible":
       an explicit visibility on a descendant overrides an ancestor's
       inherited "hidden", so forcing this permanently visible kept the links
       clickable even while the wrap above was closed - the CSS "visibility"
       transition also only flips at the END of its duration, so opacity/
       pointer-events (not visibility) are what actually gate clicks here. */
    #mega-menu-wrap-primary ul#mega-menu-primary {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: hidden !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 8px 0 !important;
    }

    .header-wrapper.mobile-nav-open #mega-menu-wrap-primary ul#mega-menu-primary {
        visibility: visible !important;
    }

    #mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item {
        display: block !important;
        width: 100%;
    }

    #mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        display: block !important;
        padding: 14px 24px !important;
        border-bottom: 1px solid #f2f2f2;
    }

    #mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item>a.mega-menu-link::after {
        display: none !important;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }
}

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

.hero-section {
    position: relative;
    padding: 180px 0 100px;
    background: #fdfaf9;
    /* A very faint warm background based on the image */
    overflow: hidden;
    min-height: 800px;
}

/* Faint red glow at the top right */
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 230, 230, 0.8) 0%, rgba(253, 230, 230, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-skyline-bg {
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 70%;
    height: 250px;
    background: url('assets/img/hero-skyline.png') no-repeat bottom left;
    background-size: contain;
    z-index: 1;
    opacity: 0.9;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* -- Left Column Content -- */
.hero-content-col {
    padding-right: 40px;
}

.hero-title-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #fdf2f1;
    border: 1px solid #f9d8d6;
    border-radius: 50px;
    color: #a82e22;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title-tag i {
    font-size: 15px;
}

.hero-title {
    font-family: "Poppins", sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .text-red {
    color: #a82e22;
}

.hero-desc {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
    max-width: 90%;
}

/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary-red {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px !important;
    background: #981b1f !important;
    color: #fff !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(152, 27, 31, 0.3) !important;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary-red:hover {
    background: #7a1b14 !important;
    color: #fff !important;
    box-shadow: 0 16px 32px rgba(152, 27, 31, 0.4) !important;
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px !important;
    background: #fff !important;
    color: #1a1a1a !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    border: 1px solid #eaeaea !important;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03) !important;
    transition: box-shadow 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.btn-outline-light:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06) !important;
    border-color: #d0d0d0 !important;
    color: #1a1a1a !important;
    transform: translateY(-2px);
}

/* Features */
.hero-features {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdf2f1;
    border-radius: 8px;
    color: #c0392b;
    font-size: 14px;
}

.feature-item span {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    max-width: 100px;
}

/* -- Arrow Image -- */
.hero-arrow-img {
    position: absolute;
    left: -160px;
    top: 30%;
    width: 220px;
    z-index: 10;
    pointer-events: none;
}

/* -- Calculator Column -- */
.hero-calculator-col {
    position: relative;
}

.calculator-card {
    background: linear-gradient(145deg, #2b181a 0%, #3e1b1e 100%);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: #fff;
    position: relative;
    margin-bottom: 20px;
}

.calc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.calc-header h3 {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.calc-header h3 i {
    color: #a82e22;
}

.calc-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
}

/* Sliders */
.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slider-labels label {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.slider-val {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* Custom Input Range */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range] {
    height: 4px;
    border-radius: 2px;
    background: #5a3c40;
}

input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #c0392b;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(192, 57, 43, 0.5);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Result Section */
.calc-result {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.calc-result p {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 4px 0;
}

.calc-result h4 {
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.calc-result h4 small {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.btn-apply-loan {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 16px !important;
    background: #981b1f !important;
    color: #fff !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.btn-apply-loan:hover {
    background: #7a1b14 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.calc-disclaimer {
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 16px 0 0 0;
}

/* Quote Card Overlay */
.hero-quote-card {
    position: absolute;
    bottom: -70px;
    left: -20px;
    z-index: 10;
    display: flex;
    align-items: center;
}

.quote-img {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
    flex-shrink: 0;
}

.quote-content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    margin-left: -34px;
    padding: 12px 22px 12px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 84px;
    min-width: 210px;
}

.quote-text {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.quote-author {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #a82e22;
    margin: 0;
}

/* -- Hero entrance animation -- */
/* Hidden starting state; JS adds .hero-loaded once the first frame has painted. */
.hero-skyline-bg {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s ease 0.1s, transform 1s ease 0.1s;
}

.hero-title-tag,
.hero-title,
.hero-desc,
.hero-buttons,
.hero-features .feature-item,
.hero-arrow-img,
.calculator-card,
.hero-quote-card {
    opacity: 0;
}

.hero-title-tag {
    transform: translateY(-14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-title {
    transition: opacity 0.4s ease;
}

/* Words rise into place, each clipped by its own overflow-hidden wrapper. */
.hero-title-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.hero-title-word>span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--word-index, 0) * 0.05s + 0.3s);
}

.hero-desc {
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-buttons {
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-features .feature-item {
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-features .feature-item:nth-child(1) {
    transition-delay: 0.78s;
}

.hero-features .feature-item:nth-child(2) {
    transition-delay: 0.86s;
}

.hero-features .feature-item:nth-child(3) {
    transition-delay: 0.94s;
}

.hero-arrow-img {
    transform: translateX(-30px) rotate(-8deg);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.calculator-card {
    transform: translateY(30px) scale(0.96);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-quote-card {
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Revealed state, staggered by transition-delay per element */
.hero-section.hero-loaded .hero-skyline-bg {
    opacity: 0.9;
    transform: translateY(0);
}

.hero-section.hero-loaded .hero-title-tag {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.hero-section.hero-loaded .hero-title {
    opacity: 1;
}

.hero-section.hero-loaded .hero-title-word>span {
    transform: translateY(0);
}

.hero-section.hero-loaded .hero-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

.hero-section.hero-loaded .hero-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.66s;
}

.hero-section.hero-loaded .hero-features .feature-item {
    opacity: 1;
    transform: translateY(0);
}

.hero-section.hero-loaded .hero-arrow-img {
    opacity: 1;
    transform: translateX(0) rotate(0);
    transition-delay: 0.5s;
    animation: heroArrowFloat 3.2s ease-in-out 1.3s infinite;
}

.hero-section.hero-loaded .calculator-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.35s;
}

.hero-section.hero-loaded .hero-quote-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

@keyframes heroArrowFloat {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0);
    }

    50% {
        transform: translateX(0) translateY(-8px) rotate(-2deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-skyline-bg,
    .hero-title-tag,
    .hero-title,
    .hero-title-word>span,
    .hero-desc,
    .hero-buttons,
    .hero-features .feature-item,
    .hero-arrow-img,
    .calculator-card,
    .hero-quote-card {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Stats Counter section starts */
.stats-counter-section {
    padding: 48px 0;
    background: #fdfaf9;
}

.stats-highlight-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 18px 20px;
    margin: 0;
    padding: 0;
}

.stat-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #f3dedb;
    border-radius: 50px;
    padding: 10px 26px 10px 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-highlight:hover {
    transform: translateY(-4px);
    border-color: #a82e22;
    box-shadow: 0 16px 32px rgba(168, 46, 34, 0.14);
}

.stat-highlight-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #981b1f 0%, #c0392b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 6px 14px rgba(152, 27, 31, 0.3);
}

.stat-highlight-text {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #1a1a1a;
}

/* Entrance animation */
.stat-highlight {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-highlight:nth-child(1) {
    transition-delay: 0.05s;
}

.stat-highlight:nth-child(2) {
    transition-delay: 0.15s;
}

.stat-highlight:nth-child(3) {
    transition-delay: 0.25s;
}

.stat-highlight:nth-child(4) {
    transition-delay: 0.35s;
}

.stats-counter-section.in-view .stat-highlight {
    opacity: 1;
    transform: translateY(0);
}

/* .stats-counter-section.in-view .stat-highlight (3 classes) outranks a
   plain .stat-highlight:hover (1 class + pseudo-class) on specificity, so
   without this the entrance rule's translateY(0) would silently cancel the
   hover lift once the section has revealed. Match its specificity here so
   hover keeps working after that point. */
.stats-counter-section.in-view .stat-highlight:hover {
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .stat-highlight {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Stats sections ends */


/* About section starts */

.about-credvance-section {
    padding: 60px 0 10px;
    overflow: hidden;
}

.about-content-col {
    padding-right: 40px;
}

.about-tag {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a82e22;
}

.about-divider-top,
.about-divider-bottom {
    width: 40px;
    height: 4px;
    background: #a82e22;
    border-radius: 2px;
    margin: 18px 0 28px;
}

.about-divider-bottom {
    margin: 36px 0 0;
}

/* Styling for whatever comes out of the content editor */
.about-desc h1,
.about-desc h2,
.about-desc h3,
.about-desc h4 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    margin: 0 0 24px;
    letter-spacing: -1px;
}

.about-desc .text-red {
    color: #a82e22;
}

.about-desc p {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: #5a5a5a;
    max-width: 480px;
    margin: 0 0 18px;
}

.about-desc p:last-child {
    margin-bottom: 0;
}

.about-image-wrap {
    position: relative;
}

.about-featured-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Entrance animation */
.about-tag,
.about-divider-top,
.about-divider-bottom {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-tag {
    transition-delay: 0.05s;
}

.about-divider-top {
    transition-delay: 0.15s;
}

.about-divider-bottom {
    transition-delay: 0.6s;
}

.about-desc>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-desc>*:nth-child(1) {
    transition-delay: 0.25s;
}

.about-desc>*:nth-child(2) {
    transition-delay: 0.35s;
}

.about-desc>*:nth-child(3) {
    transition-delay: 0.45s;
}

.about-desc>*:nth-child(4) {
    transition-delay: 0.55s;
}

.about-desc>*:nth-child(n+5) {
    transition-delay: 0.65s;
}

.about-image-wrap {
    opacity: 0;
    transform: translateX(50px) scale(0.96);
    transition: opacity 0.9s ease 0.2s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.about-credvance-section.in-view .about-tag,
.about-credvance-section.in-view .about-divider-top,
.about-credvance-section.in-view .about-divider-bottom,
.about-credvance-section.in-view .about-desc>* {
    opacity: 1;
    transform: translateY(0);
}

.about-credvance-section.in-view .about-image-wrap {
    opacity: 1;
    transform: translateX(0) scale(1);
}


.process-steps-section {
    padding: 30px 0;
    overflow: visible;
}

.process-step-col {
    padding: 14px;
}

.process-step-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fdfaf9 100%);
    border-radius: 20px;
    padding: 44px 32px 34px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Number badge - overlaps top-right corner */
.process-step-number {
    position: absolute;
    top: -14px;
    right: -14px;
    background: linear-gradient(135deg, #a82e22 0%, #7a1b14 100%);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(168, 46, 34, 0.3);
    transition: transform 0.35s ease;
}

/* Icon circle */
.process-step-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #8e231a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid #fbe4e2;
    margin-bottom: 28px;
    font-size: 26px;
    color: #fff;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.process-step-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.process-step-title {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 14px;
}

.process-step-divider {
    width: 36px;
    height: 4px;
    background: #a82e22;
    border-radius: 2px;
    margin-bottom: 18px;
    transition: width 0.4s ease;
}

.process-step-desc p {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin: 0;
}

/* Hover effects */
.process-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(168, 46, 34, 0.15);
}

.process-step-card:hover .process-step-icon-wrap {
    transform: scale(1.1) rotate(-8deg);
    border-color: #a82e22;
    background: #a82e22;
}

.process-step-card:hover .process-step-number {
    transform: scale(1.12) rotate(4deg);
}

.process-step-card:hover .process-step-divider {
    width: 60px;
}

/* Entrance animation - staggered per card */
.process-step-col {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step-col:nth-child(1) {
    transition-delay: 0.05s;
}

.process-step-col:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step-col:nth-child(3) {
    transition-delay: 0.35s;
}

.process-steps-section.in-view .process-step-col {
    opacity: 1;
    transform: translateY(0);
}

/* About section ends */


/* service starts */

.services-section {
    padding: 60px 0;
}

/* Header */
.services-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.services-tag {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a82e22;
    margin-bottom: 14px;
}

.services-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 18px;
    letter-spacing: -1px;
}

.services-title .text-red {
    color: #a82e22;
}

.services-subtitle {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    color: #666;
    margin: 0;
}

/* Grid */
.services-grid {
    margin-bottom: 48px;
}

.service-col {
    padding: 12px;
}

/* Card */
.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    height: 100%;
    border: #8d0000 1px solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fdf2f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

.service-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: filter 0.4s ease;
}

.service-title {
    font-family: "Poppins", sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px;
    transition: color 0.3s ease;
}

.service-desc p {
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px;
}

.service-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.service-apply-link,
.service-learn-link {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-apply-link {
    color: #a82e22;
}

.service-apply-link:hover {
    color: #a82e22;
}

.service-learn-link {
    color: #1a1a1a;
}

.service-learn-link:hover {
    color: #660e0e;
}

.service-apply-link .arrow,
.service-learn-link .arrow {
    transition: transform 0.3s ease;
}

.service-apply-link:hover .arrow,
.service-learn-link:hover .arrow {
    transform: translateX(4px);
}

/* Card hover */
.service-card:hover {
    box-shadow: 0 25px 45px rgba(168, 46, 34, 0.14);
}

.service-card:hover .service-title {
    color: #a82e22;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.1) rotate(-6deg);
    background: #a82e22;
}

.service-card:hover .service-icon-wrap .service-icon-img {
    filter: brightness(0) invert(1);
}

/* CTA button */
.services-cta {
    text-align: center;
}

.btn-explore-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: #981b1f;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(152, 27, 31, 0.3);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-explore-more:hover {
    background: #7a1b14;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(152, 27, 31, 0.42);
}

.btn-explore-more .arrow {
    transition: transform 0.3s ease;
}

.btn-explore-more:hover .arrow {
    transform: translateX(4px);
}

/* Entrance animation - staggered per card, row-aware */
.service-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-col:nth-child(1) {
    transition-delay: 0.05s;
}

.service-col:nth-child(2) {
    transition-delay: 0.15s;
}

.service-col:nth-child(3) {
    transition-delay: 0.25s;
}

.service-col:nth-child(4) {
    transition-delay: 0.15s;
}

.service-col:nth-child(5) {
    transition-delay: 0.25s;
}

.service-col:nth-child(6) {
    transition-delay: 0.35s;
}

.services-section.in-view .service-col {
    opacity: 1;
    transform: translateY(0);
}

/* service ends */


/* how it works starts */

.how-it-works-section {
    padding: 60px 0;
}

.how-it-works-header {
    max-width: 620px;
    margin-bottom: 56px;
}

.how-it-works-tag {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a82e22;
    margin-bottom: 14px;
}

.how-it-works-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    margin: 0 0 18px;
    letter-spacing: -1px;
}

.how-it-works-subtitle {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Grid */
.step-col {
    padding: 12px;
}

/* Card */
.step-card {
    background: #fff;
    border-radius: 20px;
    padding: 34px 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-out, box-shadow 0.35s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.step-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fdf2f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

.step-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: filter 0.4s ease;
}

.step-label {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a82e22;
    margin-bottom: 8px;
}

.step-title {
    font-family: "Poppins", sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.step-desc p {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin: 0;
}

/* Hover effects */
.step-card:hover {
    box-shadow: 0 25px 45px rgba(168, 46, 34, 0.14);
}

.step-card:hover .step-title {
    color: #a82e22;
}

.step-card:hover .step-icon-wrap {
    transform: scale(1.1) rotate(-6deg);
    background: #a82e22;
}

.step-card:hover .step-icon-wrap .step-icon-img {
    filter: brightness(0) invert(1);
}

/* Entrance animation - header + staggered cards */
.how-it-works-tag,
.how-it-works-title,
.how-it-works-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.how-it-works-tag {
    transition-delay: 0.05s;
}

.how-it-works-title {
    transition-delay: 0.15s;
}

.how-it-works-subtitle {
    transition-delay: 0.25s;
}

.step-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-col:nth-child(1) {
    transition-delay: 0.3s;
}

.step-col:nth-child(2) {
    transition-delay: 0.42s;
}

.step-col:nth-child(3) {
    transition-delay: 0.54s;
}

.how-it-works-section.in-view .how-it-works-tag,
.how-it-works-section.in-view .how-it-works-title,
.how-it-works-section.in-view .how-it-works-subtitle,
.how-it-works-section.in-view .step-col {
    opacity: 1;
    transform: translateY(0);
}

/* how it works ends */


/* insight starts  */

.insights-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #fdf1ef 0%, #fdfaf9 45%, #ffffff 100%);
}

/* Header */
.insights-header {
    text-align: center;
    margin-bottom: 48px;
}

.insights-tag-label {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a82e22;
    margin-bottom: 12px;
}

.insights-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -1px;
}

/* Slider wrap */
.insights-slider-wrap {
    position: relative;
}

.insights-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.insights-track::-webkit-scrollbar {
    display: none;
}

.insight-slide {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
    min-width: 280px;
}

/* Card */
.insight-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.insight-img-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 11;
}

.insight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.insight-body {
    padding: 24px 26px 28px;
}

.insight-badge {
    display: inline-block;
    background: #fdf2f1;
    color: #a82e22;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.insight-title {
    font-family: "Poppins", sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 18px;
}

.insight-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.insight-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Roboto", sans-serif;
    font-size: 13.5px;
    color: #888;
    margin-bottom: 16px;
}

/* Card hover */
.insight-card:hover .insight-img {
    transform: scale(1.06);
}

.insight-card:hover .insight-title a {
    color: #a82e22;
}

/* Arrows */
.insights-arrow {
    position: absolute;
    top: 32%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 16px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.insights-arrow-prev {
    left: -24px;
}

.insights-arrow-next {
    right: -24px;
}

.insights-arrow:hover {
    background: #a82e22;
    color: #fff;
    transform: scale(1.08);
}

.insights-arrow.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Entrance animation */
.insights-tag-label,
.insights-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.insights-tag-label {
    transition-delay: 0.05s;
}

.insights-title {
    transition-delay: 0.15s;
}

.insight-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-slide:nth-child(1) {
    transition-delay: 0.25s;
}

.insight-slide:nth-child(2) {
    transition-delay: 0.35s;
}

.insight-slide:nth-child(3) {
    transition-delay: 0.45s;
}

.insights-section.in-view .insights-tag-label,
.insights-section.in-view .insights-title,
.insights-section.in-view .insight-slide {
    opacity: 1;
    transform: translateY(0);
}

/* insight ends */

/* insight single page starts */

/* Reading progress bar - fixed under the header, filled by JS as the
   article scrolls (see single-insight.php) */
.insight-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 9998;
    pointer-events: none;
}

.insight-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #981b1f 0%, #c0392b 100%);
    transition: width 0.1s linear;
}

/* Banner - reuses .inner-banner, adds article-specific bits (back link,
   tag pill, date) on top of its title/desc */
.insight-banner-container {
    max-width: 760px;
}

.insight-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.25s ease;
}

.insight-back-link:hover {
    color: #fff;
}

.insight-single-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.insight-single-title {
    margin-bottom: 16px;
}

.insight-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.65);
}

.insight-single-meta i {
    color: #c0392b;
}

/* Content layout */
.insight-single-section {
    padding: 70px 0 100px;
    background: #fdfaf9;
}

.insight-single-row {
    display: flex;
    /* stretch (not flex-start) so .insight-single-sidebar-col is as tall as
       the content column - .insight-cta-card's position:sticky needs that
       extra height in its containing block to actually have room to stick
       while scrolling, otherwise the column is only as tall as the card
       itself and there's nowhere for it to "stick" to. */
    align-items: stretch;
    gap: 56px;
}

.insight-single-content-col {
    flex: 1 1 auto;
    min-width: 0;
}

.insight-single-sidebar-col {
    flex: 0 0 340px;
    width: 340px;
}

.insight-single-featured-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(43, 24, 26, 0.14);
    margin-bottom: 40px;
}

.insight-single-featured-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

/* .legal-content already supplies the article prose styling (h1-h4, p,
   lists, links, blockquote, table) - .insight-single-content just needs
   its own top/bottom spacing reset since it's not alone in its section. */
.insight-single-content {
    margin-bottom: 0;
}

/* Share row */
.insight-share-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #ececec;
}

.insight-share-label {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.insight-share-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.insight-share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fdf2f1;
    color: #a82e22;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.insight-share-icon:hover {
    background: #a82e22;
    color: #fff;
    transform: translateY(-2px);
}

.insight-share-icon.is-copied {
    background: #2e7d32;
    color: #fff;
}

/* Sidebar CTA card - same dark gradient card used for the calculator /
   quote form so it reads as the same "talk to us" component family */
.insight-cta-card {
    position: sticky;
    top: 100px;
    background: linear-gradient(145deg, #2b181a 0%, #3e1b1e 100%);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.insight-cta-title {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
}

.insight-cta-desc {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 22px;
}

.insight-cta-btn {
    display: flex !important;
    width: 100%;
    justify-content: center;
}

.insight-cta-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.insight-cta-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.25s ease;
}

.insight-cta-contact a:hover {
    color: #fff;
}

.insight-cta-contact i {
    color: #c0392b;
    width: 16px;
}

/* Related insights grid - reuses .insight-card from the home page slider,
   just laid out as a plain wrapping row instead of a scroll track. */
.insight-related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.insight-related-col {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
}

/* Entrance animation */
.insight-single-content-col,
.insight-single-sidebar-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-single-sidebar-col {
    transition-delay: 0.15s;
}

.insight-single-section.in-view .insight-single-content-col,
.insight-single-section.in-view .insight-single-sidebar-col {
    opacity: 1;
    transform: translateY(0);
}

.insight-related-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-related-col:nth-child(1) {
    transition-delay: 0.05s;
}

.insight-related-col:nth-child(2) {
    transition-delay: 0.15s;
}

.insight-related-col:nth-child(3) {
    transition-delay: 0.25s;
}

.insight-related-section.in-view .insight-related-col {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .insight-single-content-col,
    .insight-single-sidebar-col,
    .insight-related-col {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .insight-progress-fill {
        transition: none;
    }
}

/* insight single page ends */

/* testimonial starts  */

.testimonials-section {
    position: relative;
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(253, 230, 230, 0.7) 0%, rgba(253, 230, 230, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    align-items: center;
}

/* Left side */
.testimonials-tag {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a82e22;
    margin-bottom: 14px;
}

.testimonials-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}

.testimonials-blurb {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 40px;
    max-width: 320px;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.testimonials-arrow:hover {
    background: #a82e22;
    border-color: #a82e22;
    color: #fff;
    transform: translateY(-2px);
}

.testimonials-counter {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.testimonials-counter-sep {
    color: #ccc;
    margin: 0 3px;
}

.testimonials-counter-total {
    color: #999;
    font-weight: 600;
}

/* Right side - stack */
.testimonials-stack-wrap {
    position: relative;
    padding: 0 40px 40px 0;
}

.testimonials-stack {
    position: relative;
    min-height: 340px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, #2b181a 0%, #3e1b1e 100%);
    border-radius: 28px;
    padding: 44px 48px;
    box-shadow: 0 25px 50px rgba(43, 24, 26, 0.28);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.testimonial-mark {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 64px;
    color: rgba(255, 255, 255, 0.06);
    z-index: 0;
    pointer-events: none;
}

.testimonial-quote p {
    position: relative;
    z-index: 1;
    font-family: "Poppins", sans-serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.55;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.testimonial-person {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-avatar-initials {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.testimonial-name {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
}

.testimonial-designation {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Stack positioning */
.testimonial-card.is-active {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.testimonial-card.is-stack-1 {
    transform: translate(20px, 20px) scale(0.95) rotate(2deg);
    opacity: 0.55;
    z-index: 2;
    pointer-events: none;
}

.testimonial-card.is-stack-2 {
    transform: translate(38px, 38px) scale(0.9) rotate(4deg);
    opacity: 0.28;
    z-index: 1;
    pointer-events: none;
}

.testimonial-card.is-hidden {
    transform: translate(50px, 50px) scale(0.85) rotate(5deg);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.testimonial-card.is-active:hover {
    transform: translateY(-4px) scale(1.008);
}

/* Dots */
.testimonials-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e6d3d1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.35s ease, background 0.35s ease;
}

.testimonials-dot.is-active {
    width: 26px;
    border-radius: 4px;
    background: #a82e22;
}

/* Entrance animation */
.testimonials-tag,
.testimonials-title,
.testimonials-blurb,
.testimonials-controls {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonials-tag {
    transition-delay: 0.05s;
}

.testimonials-title {
    transition-delay: 0.15s;
}

.testimonials-blurb {
    transition-delay: 0.25s;
}

.testimonials-controls {
    transition-delay: 0.35s;
}

.testimonials-stack-wrap {
    opacity: 0;
    transform: translateX(40px) scale(0.96);
    transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.testimonials-section.in-view .testimonials-tag,
.testimonials-section.in-view .testimonials-title,
.testimonials-section.in-view .testimonials-blurb,
.testimonials-section.in-view .testimonials-controls {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-section.in-view .testimonials-stack-wrap {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* testimonial ends  */


/* contact starts  */

.quote-section {
    position: relative;
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.quote-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: center;
}

/* Left column */
.quote-tag {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a82e22;
    margin-bottom: 14px;
}

.quote-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(32px, 3.6vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    margin: 0 0 20px;
    letter-spacing: -1px;
}

.quote-desc p {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 32px;
    max-width: 420px;
}

.quote-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quote-contact-list li {
    position: relative;
    padding-left: 22px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.quote-contact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c0392b;
    box-shadow: 0 0 0 5px rgba(192, 57, 43, 0.12);
}

/* Right column - form card */
.quote-form-col {
    position: relative;
}

.quote-form-card {
    background: linear-gradient(155deg, #2b181a 0%, #4a1f21 55%, #3e1b1e 100%);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(43, 24, 26, 0.3);
    transition: transform 0.2s ease;
}

/* Bootstrap-style row/col spacing inside the card */
.quote-form-card .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.quote-form-card .row>[class*="col-"] {
    padding: 0 8px;
}

.qf-group {
    margin-bottom: 16px;
}

/* CF7 field styling */
.quote-form-card .wpcf7-form-control-wrap {
    display: block;
}

.qf-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 16px 18px;
    color: #9e9e9e;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.qf-input option {
    color: #1a1a1a;
    background: #fff;
}

.apply-now-modal-card textarea.qf-input {
    height: 90px;
    min-height: 90px;
    resize: vertical;
}

.qf-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.qf-input:focus {
    outline: none;
    border-color: #c0392b;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.18);
}

/* number input spinner cleanup */
.qf-input[type="number"]::-webkit-inner-spin-button,
.qf-input[type="number"]::-webkit-outer-spin-button {
    opacity: 0.5;
}

.qf-select-wrap {
    position: relative;
}

.qf-select-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.qf-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.qf-select-trigger-text.is-placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.qf-select-chevron {
    flex-shrink: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.25s ease;
}

.qf-select-wrap.is-open .qf-select-chevron {
    transform: rotate(180deg);
}

.qf-select-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 240px;
    overflow-y: auto;
    background: #2b181a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.qf-select-wrap.is-open .qf-select-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.qf-select-option {
    padding: 10px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    cursor: pointer;
}

.qf-select-option.is-placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.qf-select-option:hover,
.qf-select-option.is-focused {
    background: rgba(192, 57, 43, 0.3);
    color: #fff;
}

.qf-select-option.is-active {
    background: #c0392b;
    color: #fff;
}

/* Submit button */
.qf-submit-group {
    margin-top: 6px;
    margin-bottom: 0;
}

.qf-submit {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(90deg, #c0392b 0%, #981b1f 100%);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(152, 27, 31, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.qf-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(152, 27, 31, 0.5);
}

/* CF7 validation / status messages on dark card */
.quote-form-card .wpcf7-not-valid-tip {
    color: #ffd7d2;
    font-size: 12.5px;
    font-family: "Roboto", sans-serif;
    margin-top: 6px;
}

.quote-form-card .wpcf7-response-output {
    display: none;
    /* hidden by default â€” CF7 always renders this div even when empty */
    border-radius: 12px;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    margin-top: 20px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.08);
}

.quote-form-card .wpcf7-form.invalid .wpcf7-response-output,
.quote-form-card .wpcf7-form.sent .wpcf7-response-output,
.quote-form-card .wpcf7-form.failed .wpcf7-response-output,
.quote-form-card .wpcf7-form.spam .wpcf7-response-output,
.quote-form-card .wpcf7-form.unacceptable .wpcf7-response-output {
    display: block;
}

.wpcf7-spinner {
    display: none;
}

/* Shake animation on invalid submit */
.quote-shake {
    animation: quoteShake 0.5s ease;
}

@keyframes quoteShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(7px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(3px);
    }
}

/* -- Apply Now popup -- */
.apply-now-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apply-now-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.apply-now-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 8, 9, 0.72);
    backdrop-filter: blur(3px);
}

.apply-now-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.3s ease;
}

.apply-now-modal.is-open .apply-now-modal-dialog {
    transform: translateY(0) scale(1);
}

.apply-now-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
    transition: background 0.25s ease, transform 0.25s ease;
}

.apply-now-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.apply-now-modal-title {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.apply-now-modal-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 24px;
}

body.apply-now-modal-open {
    overflow: hidden;
}

@media (max-width: 575px) {
    .apply-now-modal-card {
        padding: 28px 22px;
    }
}

/* Entrance animation */
.quote-tag,
.quote-title,
.quote-desc,
.quote-contact-list {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.quote-tag {
    transition-delay: 0.05s;
}

.quote-title {
    transition-delay: 0.15s;
}

.quote-desc {
    transition-delay: 0.25s;
}

.quote-contact-list {
    transition-delay: 0.35s;
}

.quote-form-col {
    opacity: 0;
    transform: translateX(40px) scale(0.97);
    transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.quote-section.in-view .quote-tag,
.quote-section.in-view .quote-title,
.quote-section.in-view .quote-desc,
.quote-section.in-view .quote-contact-list {
    opacity: 1;
    transform: translateY(0);
}

.quote-section.in-view .quote-form-col {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* contact ends  */

/* Footer starts */

.site-footer {
    background: #141414 !important;
    padding: 64px 0 0 !important;
}

.footer-col {
    margin-bottom: 32px;
}

.footer-logo {
    height: 45px;
    width: auto;
    display: block;
    margin-bottom: 30px;
}

.footer-desc p {
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 320px;
}

.footer-col-heading {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

/* Menu lists (wp_nav_menu output) */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-menu li a {
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-menu li a:hover {
    color: #c0392b;
}

/* Social icons */
.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.footer-social-icon:hover {
    background: #a82e22;
    color: #fff;
    transform: translateY(-2px);
}

.footer-social-mobile {
    display: none;
}

/* Footer bottom */
.footer-bottom {
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    font-family: "Roboto", sans-serif;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom-right {
    text-align: right;
}

.footer-credit-link {
    font-family: "Roboto", sans-serif;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-credit-link:hover {
    color: #fff;
}

/* Footer ends  */



/* Inner banner starts */

.inner-banner {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0 80px;
    background-color: #1c0e0f;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-align: center;
}

.inner-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(20, 9, 10, 0.92) 0%, rgba(43, 24, 26, 0.82) 55%, rgba(20, 9, 10, 0.9) 100%);
    z-index: 1;
}

/* Ambient glows */
.inner-banner-glow {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.inner-banner-glow-1 {
    width: 420px;
    height: 420px;
    top: -160px;
    right: -80px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.35) 0%, rgba(192, 57, 43, 0) 70%);
    animation: bannerFloat 8s ease-in-out infinite;
}

.inner-banner-glow-2 {
    width: 320px;
    height: 320px;
    bottom: -140px;
    left: -60px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.22) 0%, rgba(192, 57, 43, 0) 70%);
    animation: bannerFloat 10s ease-in-out infinite reverse;
}

@keyframes bannerFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(24px) scale(1.06);
    }
}

/* Content */
.inner-banner-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.inner-banner-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -1px;
}

.inner-banner-desc {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

/* Bottom diagonal divider */
.inner-banner-divider {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 60px;
    z-index: 3;
    line-height: 0;
}

.inner-banner-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Entrance animation - runs on load since banner is above the fold */
.inner-banner-title,
.inner-banner-desc {
    opacity: 0;
    transform: translateY(24px);
    animation: bannerFadeUp 0.8s ease forwards;
}

.inner-banner-title {
    animation-delay: 0.15s;
}

.inner-banner-desc {
    animation-delay: 0.3s;
}

@keyframes bannerFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .inner-banner-title,
    .inner-banner-desc {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .inner-banner-glow-1,
    .inner-banner-glow-2 {
        animation: none;
    }
}

/* inner banner ends */


/* Legal pages (Terms of Service, Privacy Policy, etc.) starts */

.legal-content-section {
    padding: 80px 0 100px;
    background: #fdfaf9;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
}

.legal-content>*:first-child {
    margin-top: 0;
}

.legal-content>*:last-child {
    margin-bottom: 0;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.legal-content h1 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    margin: 0 0 20px;
}

.legal-content h2 {
    font-size: 23px;
    margin: 46px 0 16px;
}

.legal-content h3 {
    font-size: 18.5px;
    margin: 32px 0 12px;
}

.legal-content h4 {
    font-size: 16px;
    margin: 24px 0 10px;
}

.legal-content p {
    margin: 0 0 18px;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content li:last-child {
    margin-bottom: 0;
}

.legal-content li>ul,
.legal-content li>ol {
    margin-top: 10px;
    margin-bottom: 0;
}

.legal-content a {
    color: #c0392b;
    text-decoration: underline;
    text-decoration-color: rgba(192, 57, 43, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-content a:hover {
    color: #981b1f;
    text-decoration-color: currentColor;
}

.legal-content strong,
.legal-content b {
    color: #1a1a1a;
    font-weight: 700;
}

.legal-content blockquote {
    margin: 24px 0;
    padding: 16px 22px;
    border-left: 3px solid #c0392b;
    background: #fff;
    color: #555;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.legal-content hr {
    border: none;
    border-top: 1px solid #ececec;
    margin: 40px 0;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 15px;
}

.legal-content th,
.legal-content td {
    text-align: left;
    padding: 12px 14px;
    border: 1px solid #ececec;
}

.legal-content th {
    background: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: #1a1a1a;
}

/* Legal pages end */


/* About page starts */

.about-inner-section {
    padding: 60px 0;
    background: #fdfaf9;
    overflow: hidden;
}

.about-inner-content-col {
    padding-right: 50px;
}

.about-inner-tag {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a82e22;
}

.about-inner-divider {
    width: 40px;
    height: 4px;
    background: #a82e22;
    border-radius: 2px;
    margin: 18px 0 28px;
}

.about-inner-desc h1,
.about-inner-desc h2,
.about-inner-desc h3,
.about-inner-desc h4 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

.about-inner-desc p {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: #5a5a5a;
    max-width: 520px;
    margin: 0 0 18px;
}

.about-inner-desc p:last-child {
    margin-bottom: 0;
}

.about-values-grid {
    margin: 10px -10px 0;
}

.value-col {
    padding: 10px;
}

.value-card {
    position: relative;
    background: #f6f1ee;
    border-radius: 14px;
    padding: 24px 24px 24px 30px;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.value-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 4px;
    background: #a82e22;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(168, 46, 34, 0.14);
}

.value-card:hover::before {
    box-shadow: 0 0 0 3px rgba(168, 46, 34, 0.12);
}

.value-title {
    font-family: "Poppins", sans-serif;
    font-size: 16.5px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.value-desc {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.about-inner-image-col {
    position: relative;
}

.about-inner-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(43, 24, 26, 0.14);
    z-index: 1;
}

.about-inner-image-col::before {
    content: '';
    position: absolute;
    top: -18px;
    right: -18px;
    width: 60%;
    height: 55%;
    border: 2px solid #a82e22;
    border-radius: 24px;
    opacity: 0.35;
    z-index: 0;
}

.about-inner-featured-img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
}

.about-inner-founded-badge {
    position: absolute;
    left: 14px;
    bottom: 0px;
    z-index: 2;
    background: linear-gradient(100deg, #1c0c0e 0%, #3e1515 50%, #7a1a1a 100%);
    border-radius: 0px 18px 0px 18px;
    padding: 22px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(43, 24, 26, 0.35);
    border: 5px solid rgb(252 249 248);
}

.about-inner-founded-value {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.5px;
}

.about-inner-founded-label {
    display: block;
    margin-top: 6px;
    font-family: "Roboto", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.about-inner-tag,
.about-inner-divider,
.about-inner-desc>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-inner-tag {
    transition-delay: 0.05s;
}

.about-inner-divider {
    transition-delay: 0.15s;
}

.about-inner-desc>*:nth-child(1) {
    transition-delay: 0.25s;
}

.about-inner-desc>*:nth-child(2) {
    transition-delay: 0.35s;
}

.about-inner-desc>*:nth-child(3) {
    transition-delay: 0.45s;
}

.about-inner-desc>*:nth-child(n+4) {
    transition-delay: 0.55s;
}

.value-col {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-col:nth-child(1) {
    transition-delay: 0.65s;
}

.value-col:nth-child(2) {
    transition-delay: 0.75s;
}

.value-col:nth-child(3) {
    transition-delay: 0.85s;
}

.value-col:nth-child(4) {
    transition-delay: 0.95s;
}

.about-inner-image-col {
    opacity: 0;
    transform: translateX(50px) scale(0.96);
    transition: opacity 0.9s ease 0.2s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.about-inner-founded-badge {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.6s ease 0.6s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.about-inner-section.in-view .about-inner-tag,
.about-inner-section.in-view .about-inner-divider,
.about-inner-section.in-view .about-inner-desc>*,
.about-inner-section.in-view .value-col {
    opacity: 1;
    transform: translateY(0);
}

.about-inner-section.in-view .about-inner-image-col {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.about-inner-section.in-view .about-inner-founded-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {

    .about-inner-tag,
    .about-inner-divider,
    .about-inner-desc>*,
    .value-col,
    .about-inner-image-col,
    .about-inner-founded-badge {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ABOUT (INNER PAGE) SECTION ends */

/* MISSION & VISION section */

.mission-vision-section {
    padding: 10px 0 60px;
    background: #fdfaf9;
}

.mission-vision-row {
    margin: 0 -14px;
}

.mission-vision-col {
    padding: 14px;
}

.mission-vision-card {
    position: relative;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 44px 36px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(43, 24, 26, 0.08);
    border: 1px solid rgba(168, 46, 34, 0.08);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #a82e22, #e0574a);
}

.mission-vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(168, 46, 34, 0.16);
}

.mission-vision-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a82e22, #7a1a1a);
    color: #ffffff;
    font-size: 26px;
    box-shadow: 0 12px 24px rgba(168, 46, 34, 0.28);
}

.mission-vision-title {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 14px;
}

.mission-vision-desc {
    font-family: "Roboto", sans-serif;
    font-size: 15.5px;
    line-height: 1.6;
    color: #666;
    max-width: 380px;
    margin: 0 auto;
}

.mission-vision-col {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mission-vision-col:nth-child(1) {
    transition-delay: 0.1s;
}

.mission-vision-col:nth-child(2) {
    transition-delay: 0.25s;
}

.mission-vision-section.in-view .mission-vision-col {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .mission-vision-col {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 767px) {

    .mission-vision-card {
        padding: 34px 24px;
    }

    .mission-vision-title {
        font-size: 20px;
    }
    .footer-copyright, .footer-bottom-right {
        text-align:center;
    }
}

/* MISSION & VISION section ends */

/* value section starts */

.values-section {
    padding: 40px 0 110px;
    background: linear-gradient(180deg, #fdf1ef 0%, #fdfaf9 45%, #ffffff 100%);
    overflow: hidden;
}

.values-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 64px;
}

.values-tag {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a82e22;
    margin-bottom: 14px;
}

.values-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -1px;
}

/* -- Grid wrapper + decorative flow line -- */
.values-grid-wrap {
    position: relative;
}

.values-flow-line {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 220px;
    pointer-events: none;
    z-index: 0;
}

.values-flow-line path {
    fill: none;
    stroke: #a82e22;
    stroke-width: 2;
    stroke-dasharray: 6 10;
    stroke-linecap: round;
    opacity: 0.22;
}

.values-grid {
    position: relative;
    z-index: 1;
}

.value-col {
    padding: 14px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.values-section.in-view .value-col {
    opacity: 1;
    transform: translateY(0);
}

/* -- Card -- */
.value-card {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 30px 32px;
    height: 100%;
    text-align: center;
    box-shadow: 0 12px 30px rgba(43, 24, 26, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
    will-change: transform;
    overflow: hidden;
}

.value-card:hover {
    box-shadow: 0 28px 50px rgba(168, 46, 34, 0.16);
}

/* Icon ring */
.value-icon-ring {
    width: 84px;
    height: 84px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a82e22 0%, #7a1b14 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-icon-wrap {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fdf2f1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.value-icon-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

.value-card:hover .value-icon-ring {
    transform: scale(1.08) rotate(-8deg);
}

.value-card-title {
    font-family: "Poppins", sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.value-card:hover .value-card-title {
    color: #a82e22;
}

.value-card-desc p {
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.value-card-accent {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #7a1b14 0%, #a82e22 60%, #c0392b 100%);
    transition: width 0.4s ease;
}

.value-card:hover .value-card-accent {
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {

    .value-col,
    .value-icon-ring,
    .value-card {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* VALUES SECTION ends */

/* contact page starts */

.contact-page-section {
    padding: 64px 0;
    background: #fafafa;
}

.contact-page-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.contact-page-card>.row {
    margin: 0;
}

/* Info panel */
.contact-page-info-panel {
    position: relative;
    background: linear-gradient(155deg, #2b181a 0%, #4a1f21 55%, #1c0e0f 100%);
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.contact-page-info-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    z-index: 0;
}

/* Radar pulse marker */
.contact-page-radar {
    position: absolute;
    top: 44px;
    right: 48px;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.contact-page-radar-dot {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b57;
    box-shadow: 0 0 8px rgba(255, 107, 87, 0.8);
}

.contact-page-radar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 107, 87, 0.6);
    animation: contactPageRadarPulse 2.4s ease-out infinite;
}

.contact-page-radar-ring-2 {
    animation-delay: 1.2s;
}

@keyframes contactPageRadarPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(4.5);
        opacity: 0;
    }
}

.contact-page-tag,
.contact-page-title,
.contact-page-desc,
.contact-page-detail-list {
    position: relative;
    z-index: 1;
}

.contact-page-tag {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ff8a7a;
    margin-bottom: 16px;
}

.contact-page-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.contact-page-desc p {
    font-family: "Roboto", sans-serif;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 36px;
}

.contact-page-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-page-detail-list li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-page-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8a7a;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-page-detail-list li:hover .contact-page-detail-icon {
    background: #c0392b;
    color: #fff;
    transform: translateY(-2px);
}

.contact-page-detail-text {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

/* Form panel */
.contact-page-form-panel {
    background: #fff;
    padding: 40px 44px;
    display: flex;
    align-items: center;
}

.contact-page-form-inner {
    width: 100%;
}

.contact-page-form-heading {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.contact-page-form-subheading {
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    color: #888;
    margin: 0 0 18px;
}

/* Prevent Contact Form 7 from adding unwanted spacing */
.contact-page-form-inner .wpcf7-form {
    margin: 0;
    padding: 0;
}

.contact-page-form-inner .wpcf7-form>p {
    margin: 0;
    padding: 0;
}

.contact-page-form-inner .wpcf7-form>br {
    display: none;
}

/* Row/column spacing */
.contact-page-cf-row {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    margin: 0 -8px 16px;
    padding: 0;
}

.contact-page-cf-row:last-child {
    margin-bottom: 0;
}

.contact-page-cf-row>[class*="col-"] {
    padding: 0 8px;
}

.contact-page-cf-group {
    position: relative;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Field wrapper */
.contact-page-cf-field {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.contact-page-cf-field .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Icons */
.contact-page-cf-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b8b8b8;
    font-size: 14px;
    line-height: 1;
    z-index: 2;
    transition: color 0.3s ease;
    pointer-events: none;
}

.contact-page-cf-icon-textarea {
    top: 22px;
    transform: none;
}

/* Inputs */
.contact-page-cf-input {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 8px 18px 8px 46px;
    background: #f7f5f4;
    border: 1.5px solid #ececec;
    border-radius: 14px;
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    line-height: 1.4;
    color: #1a1a1a;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-page-cf-input::placeholder {
    color: #a3a3a3;
    opacity: 1;
}

.contact-page-cf-input:focus {
    outline: none;
    border-color: #c0392b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.contact-page-cf-group:focus-within .contact-page-cf-icon {
    color: #c0392b;
}

/* Textarea */
.contact-page-cf-textarea {
    display: block;
    width: 100%;
    height: 140px;
    min-height: 140px;
    padding: 18px 18px 18px 46px;
    resize: vertical;
}

/* Validation message */
.contact-page-section .wpcf7-not-valid-tip {
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    color: #c0392b;
    margin: 5px 0 0;
    line-height: 1.4;
}

/* Submit row */
.contact-page-cf-submit-row {
    margin-bottom: 0;
}

.contact-page-cf-submit-group {
    margin: 0;
}

.contact-page-cf-submit {
    display: block;
    width: 100%;
    padding: 17px;
    margin: 0;
    background: linear-gradient(90deg, #c0392b 0%, #981b1f 100%);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.2;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(152, 27, 31, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.contact-page-cf-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(152, 27, 31, 0.4);
}

/* Remove unwanted CF7 generated spacing */
.contact-page-form-inner .contact-page-cf-row br {
    display: none;
}

.contact-page-form-inner .contact-page-cf-row p {
    margin: 0;
    padding: 0;
}

.contact-page-form-inner .wpcf7-form-control-wrap {
    margin: 0;
}

.contact-page-section .wpcf7-response-output {
    border-radius: 12px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    margin: 18px 0 0 !important;
}

/* Shake / success states */
.contact-page-shake {
    animation: contactPageShake 0.5s ease;
}

@keyframes contactPageShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(7px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(3px);
    }
}

.contact-page-success-glow {
    animation: contactPageGlow 2.2s ease;
}

@keyframes contactPageGlow {
    0% {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    }

    30% {
        box-shadow: 0 30px 70px rgba(46, 160, 90, 0.35);
    }

    100% {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    }
}

/* Entrance animation */
.contact-page-info-panel>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.contact-page-info-panel .contact-page-tag {
    transition-delay: 0.1s;
}

.contact-page-info-panel .contact-page-title {
    transition-delay: 0.2s;
}

.contact-page-info-panel .contact-page-desc {
    transition-delay: 0.3s;
}

.contact-page-info-panel .contact-page-detail-list {
    transition-delay: 0.4s;
}

.contact-page-form-panel {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease 0.25s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.contact-page-section.contact-page-in-view .contact-page-info-panel>*,
.contact-page-section.contact-page-in-view .contact-page-form-panel {
    opacity: 1;
    transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .contact-page-radar-ring {
        animation: none;
        display: none;
    }
}

.wpcf7-spinner,
.wpcf7-response-output {
    display: none;
}

/* contact page ends */



/* RESPONSE */

@media only screen and (min-width: 300px) and (max-width: 576.98px) {

    .btn-apply-now {
        display: none !important;
    }

    /* Header */
    .header-logo-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 60% !important;
    }

    .header-actions-col {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: auto;
    }

    .header-logo img {
        width: 130px;
    }

    /* Hero Section */
    .hero-section {
        padding: 110px 0 60px;
        min-height: auto;
    }


    .hero-content-col,
    .hero-calculator-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .hero-content-col {
        padding-right: 0;
    }

    .hero-skyline-bg {
        left: 0;
        width: 100%;
        height: 120px;
        opacity: 0.5;
    }

    .hero-title-tag {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 30px;
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 15px;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 32px;
    }

    .btn-primary-red,
    .btn-outline-light {
        width: 100%;
        justify-content: center;
        padding: 14px 20px !important;
        font-size: 15px !important;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 16px 20px;
        margin-bottom: 8px;
    }

    .feature-item span {
        max-width: none;
    }

    .hero-arrow-img {
        display: none;
    }

    .hero-calculator-col {
        margin-top: 56px;
    }

    .calculator-card {
        padding: 18px;
    }

    .calc-header {
        flex-wrap: wrap;
        row-gap: 8px;
        margin-bottom: 24px;
    }

    .calc-header h3 {
        font-size: 14px;
        gap: 8px;
    }

    .calc-badge {
        font-size: 9px;
        padding: 4px 8px;
        letter-spacing: 0.5px;
    }

    .calc-sliders {
        gap: 20px;
        margin-bottom: 24px;
    }

    .slider-labels {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .calc-result {
        padding: 16px;
    }

    .calc-result h4 {
        font-size: 24px;
    }

    .btn-apply-loan {
        font-size: 15px !important;
        padding: 14px !important;
    }

    .hero-quote-card {
        position: static;
        margin-top: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .quote-content {
        min-width: 0;
        margin-left: -24px;
        padding: 12px 16px 12px 40px;
    }

    /* Stats Counter Section */
    .stats-counter-section {
        padding: 32px 0;
    }

    .stats-highlight-list {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .stat-highlight {
        padding: 10px 16px 10px 10px;
    }

    .stat-highlight-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .stat-highlight-text {
        font-size: 14px;
    }

    /* About Section */
    .about-credvance-section {
        padding: 40px 0 10px;
    }

    .about-content-col,
    .about-image-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .about-content-col {
        padding-right: 0;
        margin-bottom: 32px;
    }

    .about-desc h1,
    .about-desc h2,
    .about-desc h3,
    .about-desc h4 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .about-desc p {
        font-size: 15px;
        max-width: 100%;
    }

    .about-divider-bottom {
        margin: 24px 0 0;
    }

    /* Process Steps Section */
    .process-steps-section {
        padding: 16px 0;
    }

    .process-step-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .process-step-card {
        padding: 34px 22px 26px;
    }

    .process-step-icon-wrap {
        width: 58px;
        height: 58px;
        font-size: 22px;
        margin-bottom: 20px;
    }

    .process-step-icon-img {
        width: 24px;
        height: 24px;
    }

    .process-step-title {
        font-size: 19px;
    }

    .process-step-number {
        font-size: 13px;
        padding: 8px 12px;
    }

    /* Service Section */
    .services-section {
        padding: 40px 0;
    }

    .services-header {
        margin-bottom: 32px;
    }

    .services-title {
        font-size: 26px;
    }

    .services-subtitle {
        font-size: 15px;
    }

    .services-grid {
        margin-bottom: 32px;
    }

    .service-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 8px 6px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-icon-wrap {
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
    }

    .service-icon-img {
        width: 22px;
        height: 22px;
    }

    .service-title {
        font-size: 18px;
    }

    .service-desc p {
        font-size: 14px;
    }

    .service-apply-link,
    .service-learn-link {
        font-size: 13px;
    }

    .btn-explore-more {
        padding: 14px 32px;
        font-size: 15px;
    }

    /* Quote Section */
    .quote-section {
        padding: 56px 0;
    }

    .quote-layout {
        display: block;
    }

    .quote-info-col {
        margin-bottom: 40px;
    }

    .quote-title {
        font-size: 26px;
    }

    .quote-desc p {
        font-size: 15px;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .quote-contact-list {
        gap: 10px;
    }

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

    .quote-form-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .quote-form-card .row>[class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .qf-input {
        padding: 14px 16px;
        font-size: 15px;
    }

    .qf-submit {
        padding: 16px;
        font-size: 15px;
    }

    /* How It Works Section */
    .how-it-works-section {
        padding: 40px 0;
    }

    .how-it-works-header {
        margin-bottom: 32px;
    }

    .how-it-works-title {
        font-size: 26px;
    }

    .how-it-works-subtitle {
        font-size: 15px;
    }

    .step-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .step-card {
        padding: 24px 20px;
    }

    .step-icon-wrap {
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
    }

    .step-icon-img {
        width: 22px;
        height: 22px;
    }

    .step-title {
        font-size: 18px;
    }

    /* Insights Section */
    .insights-section {
        padding: 40px 0;
    }

    .insights-header {
        margin-bottom: 28px;
    }

    .insights-title {
        font-size: 26px;
    }

    .insights-track {
        gap: 16px;
    }

    .insight-slide {
        flex-basis: 240px;
        min-width: 240px;
    }

    .insight-body {
        padding: 20px 20px 22px;
    }

    .insight-title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .insight-meta {
        font-size: 12.5px;
    }

    /* Testimonials Section */
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-layout {
        display: block;
    }

    .testimonials-title {
        font-size: 26px;
    }

    .testimonials-blurb {
        font-size: 15px;
        max-width: 100%;
        margin-bottom: 28px;
    }

    .testimonials-controls {
        margin-bottom: 32px;
    }

    .testimonials-stack-wrap {
        padding: 0 24px 28px 0;
    }

    .testimonials-stack {
        min-height: 380px;
    }

    .testimonial-card {
        padding: 28px 22px;
    }

    .testimonial-mark {
        font-size: 44px;
        top: 20px;
        right: 22px;
    }

    .testimonial-quote p {
        font-size: 16px;
    }

    .testimonial-person {
        margin-top: 20px;
        padding-top: 18px;
    }

    .inner-banner {
        padding: 110px 0 60px;
        min-height: 300px;
    }

    .inner-banner-title {
        font-size: 28px;
    }

    .inner-banner-desc {
        font-size: 15px;
    }

    .inner-banner-glow-1 {
        width: 220px;
        height: 220px;
        top: -80px;
        right: -60px;
    }

    .inner-banner-glow-2 {
        width: 180px;
        height: 180px;
        bottom: -80px;
        left: -40px;
    }

    /* About Inner Section (about-us page) */
    .about-inner-section {
        padding: 40px 0;
    }

    .about-inner-content-col,
    .about-inner-image-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .about-inner-content-col {
        padding-right: 0;
        margin-bottom: 32px;
    }

    .about-inner-desc h1,
    .about-inner-desc h2,
    .about-inner-desc h3,
    .about-inner-desc h4 {
        font-size: 24px;
    }

    .about-inner-image-col::before {
        display: none;
    }

    .about-inner-featured-img {
        height: 240px;
    }

    .about-inner-desc p {
        font-size: 15px;
        max-width: 100%;
    }

    .value-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    /* Founded badge (about-us page) */
    .about-inner-founded-badge {
        left: 13px;
        bottom: 0px;
        padding: 12px 18px;
        border-radius: 0 18px 0 18px;
    }

    .about-inner-founded-value {
        font-size: 22px;
    }

    .about-inner-founded-label {
        font-size: 10.5px;
    }

    /* Values Section (about-us page - "What Drives Us") */
    .values-section {
        padding: 32px 0 60px;
    }

    .values-header {
        margin-bottom: 32px;
    }

    .values-title {
        font-size: 26px;
    }

    .values-flow-line {
        display: none;
    }

    .value-card {
        padding: 28px 22px;
    }

    .value-icon-ring {
        width: 64px;
        height: 64px;
        margin-bottom: 18px;
    }

    .value-icon-img {
        width: 36px;
        height: 36px;
    }

    .value-card-title {
        font-size: 18px;
    }

    .value-card-desc p {
        font-size: 14px;
    }


    /* Contact Page Section */
    .contact-page-section {
        padding: 32px 0;
    }

    .contact-page-info-panel,
    .contact-page-form-panel {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .contact-page-info-panel {
        padding: 28px 24px;
    }

    .contact-page-title {
        font-size: 24px;
    }

    .contact-page-desc p {
        font-size: 14.5px;
        margin-bottom: 24px;
    }

    .contact-page-detail-list {
        gap: 14px;
    }

    .contact-page-detail-icon {
        width: 36px;
        height: 36px;
    }

    .contact-page-form-panel {
        padding: 28px 22px;
    }

    .contact-page-form-heading {
        font-size: 21px;
    }

    .contact-page-cf-input {
        margin-bottom: 12px;
    }

    /* Insight Single Page */
    .insight-banner-container {
        max-width: 100%;
    }

    .insight-back-link {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .insight-single-tag {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .insight-single-meta {
        font-size: 13px;
    }

    .insight-single-section {
        padding: 40px 0 56px;
    }

    .insight-single-row {
        flex-direction: column;
        gap: 36px;
    }

    .insight-single-sidebar-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .insight-single-featured-wrap {
        border-radius: 16px;
        margin-bottom: 28px;
    }

    .insight-single-featured-img {
        height: 190px;
    }

    .insight-share-row {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 32px;
        padding-top: 24px;
    }

    .insight-share-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .insight-cta-card {
        padding: 24px;
    }

    .insight-related-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

}


@media only screen and (min-width: 576px) and (max-width: 768.98px) {

    .btn-apply-now {
        display: none !important;
    }

    /* Header */
    .header-logo-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 60% !important;
    }

    .header-actions-col {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: auto;
    }

    .header-logo img {
        width: 130px;
    }

    .f-nav .header-logo img {
        width: 125px;
    }

    /* Hero Section */
    .hero-section {
        padding: 140px 0 70px;
        min-height: auto;
    }

    .hero-content-col,
    .hero-calculator-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .hero-content-col {
        padding-right: 0;
    }

    .hero-skyline-bg {
        left: 0;
        width: 100%;
        height: 180px;
        opacity: 0.6;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 40px;
    }

    .btn-primary-red,
    .btn-outline-light {
        padding: 15px 28px !important;
        font-size: 16px !important;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .hero-arrow-img {
        display: none;
    }

    .hero-calculator-col {
        margin-top: 64px;
    }

    .calculator-card {
        padding: 26px;
    }

    .hero-quote-card {
        position: static;
        margin-top: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .quote-content {
        min-width: 0;
        margin-left: -24px;
        padding: 12px 16px 12px 40px;
    }

    /* Services Section */
    .services-section {
        padding: 48px 0;
    }

    .services-header {
        margin-bottom: 36px;
    }

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

    .services-subtitle {
        font-size: 16px;
    }

    .services-grid {
        margin-bottom: 36px;
    }

    .service-col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding: 10px 8px;
    }

    .service-card {
        padding: 26px 22px;
    }

    .service-title {
        font-size: 18px;
    }

    .service-actions {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .service-apply-link,
    .service-learn-link {
        font-size: 13px;
    }

    /* Testimonials Section */
    .testimonials-layout {
        display: block;
    }

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

    .testimonials-blurb {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 32px;
    }

    .testimonials-controls {
        margin-bottom: 36px;
    }

    .testimonials-stack-wrap {
        padding: 0 32px 32px 0;
    }

    .testimonials-stack {
        min-height: 360px;
    }

    .testimonial-card {
        padding: 36px 32px;
    }

    .testimonial-mark {
        font-size: 52px;
        top: 24px;
        right: 28px;
    }

    .testimonial-quote p {
        font-size: 18px;
    }

    .testimonial-person {
        margin-top: 24px;
        padding-top: 20px;
    }

    /* Quote Section */
    .quote-section {
        padding: 64px 0;
    }

    .quote-layout {
        display: block;
    }

    .quote-info-col {
        margin-bottom: 48px;
    }

    .quote-title {
        font-size: 32px;
    }

    .quote-desc p {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 28px;
    }

    .quote-contact-list {
        gap: 12px;
    }

    .quote-form-card {
        padding: 32px;
    }

    /* Footer */
    .site-footer {
        padding: 48px 0 0 !important;
    }

    .footer-col {
        margin-bottom: 28px;
    }

    .footer-desc p {
        max-width: 420px;
    }

    .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 8px;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .footer-social-col {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }

    /* About Inner Section (about-us page) */

    .about-inner-section {
        padding: 48px 0;
    }

    .about-inner-content-col {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-inner-desc h1,
    .about-inner-desc h2,
    .about-inner-desc h3,
    .about-inner-desc h4 {
        font-size: 30px;
    }

    .about-inner-desc p {
        max-width: 100%;
    }

    .about-inner-image-col::before {
        display: none;
    }

    .about-inner-featured-img {
        height: 400px;
    }

    .contact-page-cf-input {
        margin-bottom: 15px;
    }

    /* Apply Now modal */
    .apply-now-modal-card .row > .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }

    .apply-now-modal-card {
        padding: 28px 30px;
    }

    .apply-now-modal-title {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .apply-now-modal-subtitle {
        font-size: 13.5px;
        margin-bottom: 18px;
    }

    .apply-now-modal-card .qf-group {
        margin-bottom: 12px;
    }

    .apply-now-modal-card .qf-input {
        padding: 13px 16px;
        font-size: 15px;
    }

    /* Insight Single Page */
    .insight-single-section {
        padding: 48px 0 70px;
    }

    .insight-single-row {
        flex-direction: column;
        gap: 44px;
    }

    .insight-single-sidebar-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .insight-cta-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .insight-single-featured-img {
        height: 320px;
    }

    .insight-related-col {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}


@media only screen and (min-width: 768px) and (max-width: 991.98px) {

    .btn-apply-now {
        display: none !important;
    }

    /* Header */
    .header-logo-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 60% !important;
    }

    .header-actions-col {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: auto;
    }

    .header-logo img {
        width: 130px;
    }

    .f-nav .header-logo img {
        width: 125px;
    }

    #mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item {
        text-align: center;
    }

    #mega-menu-wrap-primary ul#mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        text-align: center !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 150px 0 80px;
        min-height: auto;
    }

    .hero-content-col,
    .hero-calculator-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .hero-content-col {
        padding-right: 0;
    }

    .hero-arrow-img {
        display: none;
    }

    .hero-calculator-col {
        margin-top: 64px;
    }

    .hero-quote-card {
        position: static;
        margin-top: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .quote-content {
        min-width: 0;
        margin-left: -24px;
        padding: 12px 16px 12px 40px;
    }

    /* Services Section */
    .service-card {
        padding: 24px 20px;
    }

    .service-title {
        font-size: 17px;
    }

    .service-desc p {
        font-size: 14px;
    }

    .service-actions {
        flex-wrap: wrap;
        gap: 14px 12px;
    }

    .service-apply-link,
    .service-learn-link {
        font-size: 13px;
    }

    /* Testimonials Section */
    .testimonials-layout {
        grid-template-columns: 220px 1fr;
        gap: 32px;
    }

    .testimonials-blurb {
        max-width: 220px;
    }

    .testimonials-stack-wrap {
        padding: 0 24px 24px 0;
    }

    .testimonial-card {
        padding: 28px 26px;
    }

    .testimonial-mark {
        font-size: 44px;
        top: 20px;
        right: 22px;
    }

    .testimonial-quote p {
        font-size: 17px;
    }

    /* Quote Section */
    .quote-layout {
        gap: 36px;
    }

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

    .quote-desc p {
        font-size: 15px;
    }

    .quote-form-card {
        padding: 28px;
    }

    .qf-input {
        padding: 14px 16px;
        font-size: 15px;
    }

    /* About Inner Section (about-us page) */
    .about-inner-content-col {
        margin-bottom: 40px;
    }

    .about-inner-image-col::before {
        display: none;
    }

    .about-inner-featured-img {
        height: 480px;
    }

    .values-section {
        padding: 40px 0 60px;
    }

    .contact-page-form-panel,
    .contact-page-info-panel {
        padding: 40px !important;
    }

    .qf-group {
        margin-bottom: 0;
    }

    .insight-single-section {
        padding: 56px 0 80px;
    }

    .insight-single-row {
        flex-direction: column;
        gap: 48px;
    }

    .insight-single-sidebar-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .insight-cta-card {
        max-width: 460px;
        margin: 0 auto;
    }

    .insight-single-featured-img {
        height: 400px;
    }

    .insight-related-col {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

}


@media only screen and (min-width: 991px) and (max-width: 1200.98px) {

    .btn-apply-now {
        display: none !important;
    }

    /* Header */
    .header-logo-col {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 60% !important;
    }

    .header-actions-col {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: auto;
    }

    .header-logo img {
        width: 130px;
    }

    .f-nav .header-logo img {
        width: 125px;
    }

    #mega-menu-wrap-primary .mega-menu-toggle {
        display: none !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary {
        display: flex !important;
        flex-direction: row !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
        padding: 0 !important;
        background: transparent !important;
    }

    /* Insight Single Page */
    /* The base side-by-side layout (content + 340px sidebar) already has
       room to breathe from 991px up, unlike the narrower tiers above - just
       tighten the gap and sidebar width a touch so the content column
       isn't needlessly squeezed at the low end of this range. */
    .insight-single-row {
        gap: 40px;
    }

    .insight-single-sidebar-col {
        flex: 0 0 300px;
        width: 300px;
    }

    .insight-cta-card {
        padding: 26px;
    }

    .insight-single-featured-img {
        height: 400px;
    }

}