:root {
    --ink: #0a1730;
    --navy: #07152f;
    --navy2: #0d2143;
    --blue: #1648c4;
    --blue2: #2d6bff;

    --orange: #f58220;
    --orange2: #ff9b47;

    --paper: #f6f8fc;
    --white: #fff;
    --muted: #68758a;

    --line: #dfe5ee;
    --shadow: 0 24px 70px rgba(6, 24, 55, 0.11);
    --radius: 24px;
}


/* =========================
   RESET
   ========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font: inherit;
}


/* =========================
   CONTAINER
   ========================= */

.container {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
}


/* =========================
   TOP BAR
   ========================= */

.topline {
    background: #06142d;
    color: #aebbd0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar {
    min-height: 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar a {
    color: #fff;
}

.topbar div {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 3px;
    height: 3px;
    background: #71809a;
    border-radius: 50%;
}


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(10, 23, 48, 0.07);

    transition: 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 10px 35px rgba(7, 21, 47, 0.08);
}


/* =========================
   NAVBAR
   ========================= */

.nav {
    height: 76px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================
   BRAND
   ========================= */

.brand {
    display: flex;
    align-items: center;

    gap: 11px;
    min-width: 215px;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--navy);
    color: #fff;

    font-weight: 900;
    letter-spacing: 2px;

    box-shadow: 0 8px 22px rgba(7, 21, 47, 0.2);
}

.brand-mark span {
    color: #fff;
}

.brand-text {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.brand-text em {
    font-style: normal;
    color: var(--orange);
}

.brand-text small {
    display: block;

    font-size: 7px;
    letter-spacing: 2.2px;

    color: #8793a7;

    margin-top: 6px;
}


/* =========================
   MAIN MENU
   ========================= */

.menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;
    flex: 1;
}


/* Main Navbar Items */

.menu > a,
.menu .drop-btn {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    height: 76px;

    padding: 0 13px;

    border: 0;
    background: transparent;

    color: #536076;

    text-decoration: none !important;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


/* =========================
   NAVBAR HOVER UNDERLINE
   LEFT → RIGHT
   ========================= */

.menu > a::after,
.menu .drop-btn::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;
    bottom: 16px;

    height: 3px;

    background: linear-gradient(
        90deg,
        var(--orange),
        var(--blue2)
    );

    border-radius: 20px;

    transform: scaleX(0);
    transform-origin: left center;

    transition:
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Navbar Hover */

.menu > a:hover,
.menu .drop-btn:hover {
    color: var(--blue);

    transform: translateY(-1px);
}

.menu > a:hover::after,
.menu .drop-btn:hover::after {
    transform: scaleX(1);
}


/* Active Page */

.menu > a.active {
    color: var(--blue);
}

.menu > a.active::after {
    transform: scaleX(1);
}


/* =========================
   LOANS ARROW
   ========================= */

.drop-btn span {
    display: inline-block;

    transition: transform 0.3s ease;
}

.nav-drop:hover .drop-btn span {
    transform: rotate(180deg);
}


/* =========================
   DROPDOWN
   ========================= */

.nav-drop {
    position: relative;
}

.dropdown {
    position: absolute;

    top: 58px;
    left: 50%;

    width: 235px;

    padding: 10px;

    background: #fff;

    border: 1px solid var(--line);
    border-radius: 16px;

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, 10px)
        scale(0.97);

    transform-origin: top center;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    z-index: 100;
}


/* Show Dropdown */

.nav-drop:hover .dropdown {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0)
        scale(1);
}


/* Dropdown Links */

.dropdown a {
    position: relative;

    display: block;

    padding: 10px 12px;

    border-radius: 9px;

    font-size: 13px;
    color: #506078;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.25s ease;
}


/* Dropdown Hover */

.dropdown a:hover {
    background: #f3f6fb;
    color: var(--blue);

    padding-left: 19px;
}


/* =========================
   BUTTONS
   ========================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    border-radius: 12px;

    padding: 12px 19px;

    font-size: 13px;
    font-weight: 800;

    border: 1px solid transparent;

    transition: 0.25s;

    cursor: pointer;
}

.btn b {
    font-size: 17px;
}


/* Primary Button */

.btn-primary {
    background: var(--orange);
    color: #fff;

    box-shadow:
        0 10px 25px rgba(245, 130, 32, 0.24);
}

.btn-primary:hover {
    background: #e97012;

    transform: translateY(-2px);

    box-shadow:
        0 15px 30px rgba(245, 130, 32, 0.3);
}


/* Outline Button */

.btn-outline {
    border-color: #d6ddea;

    color: var(--ink);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--blue);

    color: var(--blue);

    transform: translateY(-2px);
}


/* Light Button */

.btn-light {
    background: #fff;
    color: var(--navy);
}


/* Large Button */

.btn-lg {
    padding: 15px 22px;
}


/* Navbar CTA */

.nav-cta {
    margin-left: auto;
}

.nav-cta b {
    font-size: 14px;
}


/* =========================
   MOBILE MENU BUTTON
   ========================= */

.menu-toggle {
    display: none;

    margin-left: auto;

    border: 0;
    background: none;

    width: 42px;
    height: 42px;
}

.menu-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    background: var(--navy);

    margin: 5px auto;
}


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

.hero {
    min-height: 690px;

    position: relative;

    isolation: isolate;

    background:
        radial-gradient(
            circle at 82% 42%,
            rgba(46, 107, 255, 0.13),
            transparent 31%
        ),
        linear-gradient(
            125deg,
            #f9fbff 0%,
            #eef4ff 100%
        );

    overflow: hidden;
}

.hero-grid {
    position: absolute;

    inset: 0;

    opacity: 0.45;

    background-image:
        linear-gradient(
            rgba(31, 72, 145, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(31, 72, 145, 0.07) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        linear-gradient(
            90deg,
            #000,
            transparent 85%
        );
}


/* Hero Orbs */

.orb {
    position: absolute;

    border: 1px solid rgba(31, 91, 207, 0.13);

    border-radius: 50%;

    pointer-events: none;
}

.orb-one {
    width: 650px;
    height: 650px;

    right: -130px;
    top: 20px;
}

.orb-two {
    width: 430px;
    height: 430px;

    right: -20px;
    top: 130px;
}


/* Hero Wrapper */

.hero-wrap {
    min-height: 610px;

    display: grid;

    grid-template-columns:
        1.02fr
        0.98fr;

    gap: 55px;

    align-items: center;

    padding: 68px 0 75px;
}


/* =========================
   EYEBROW
   ========================= */

.eyebrow {
    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;

    color: #718099;

    margin-bottom: 17px;
}

.eyebrow i {
    display: inline-block;

    width: 7px;
    height: 7px;

    background: var(--orange);

    border-radius: 50%;

    margin-right: 8px;
}

.eyebrow span {
    color: #c1c8d3;

    margin: 0 7px;
}

.eyebrow.light {
    color: #8fa0ba;
}


/* =========================
   HERO TYPOGRAPHY
   ========================= */

.hero h1 {
    font-size: clamp(52px, 6vw, 82px);

    line-height: 0.98;

    letter-spacing: -4px;

    max-width: 670px;
}

.hero h1 span,
.section-head h2 span,
.enquiry-copy h2 span,
.calc-box h2 span,
.faq-wrap h2 span {
    color: var(--blue);
}

.hero-lead {
    max-width: 610px;

    color: #66748a;

    font-size: 16px;

    margin: 26px 0 30px;
}


/* =========================
   HERO ACTIONS
   ========================= */

.actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================
   TRUST ROW
   ========================= */

.trust-row {
    display: flex;

    align-items: center;

    margin-top: 44px;
}

.trust-item {
    display: flex;

    flex-direction: column;
}

.trust-item strong {
    font-size: 21px;

    line-height: 1;
}

.trust-item strong span {
    color: var(--orange);
}

.trust-item small {
    color: #7d899a;

    font-size: 10px;

    margin-top: 5px;
}

.trust-line {
    width: 1px;
    height: 30px;

    background: #ccd5e2;

    margin: 0 22px;
}


/* =========================
   HERO VISUAL
   ========================= */

.hero-visual {
    height: 470px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(57, 116, 255, 0.13);

    filter: blur(35px);
}


/* =========================
   FINANCE CARD
   ========================= */

.finance-card {
    position: relative;

    width: min(410px, 80%);

    padding: 27px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #0a1b3b,
            #112b56
        );

    color: #fff;

    box-shadow:
        0 35px 80px rgba(5, 25, 62, 0.28);

    z-index: 2;

    overflow: hidden;
}

.finance-card::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    right: -60px;
    top: -60px;
}


/* Card Header */

.card-head {
    display: flex;

    justify-content: space-between;

    color: #94a6c2;

    font-size: 9px;

    letter-spacing: 1.2px;
}

.live-dot {
    display: inline-block;

    width: 6px;
    height: 6px;

    background: #43d49b;

    border-radius: 50%;

    margin-right: 7px;

    box-shadow:
        0 0 0 5px rgba(67, 212, 155, 0.1);
}

.secure {
    color: #7285a4;
}


/* Amount */

.amount {
    font-size: 16px;

    margin-top: 37px;

    color: #9eacc1;
}

.amount strong {
    font-size: 42px;

    color: #fff;

    letter-spacing: -2px;

    margin-left: 3px;
}

.amount-label {
    font-size: 10px;

    color: #7f92af;
}


/* Metrics */

.metric-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 28px;
}

.metric-grid div {
    background: rgba(255, 255, 255, 0.06);

    padding: 12px;

    border-radius: 12px;
}

.metric-grid span,
.metric-grid b {
    display: block;
}

.metric-grid span {
    font-size: 9px;

    color: #8194b1;
}

.metric-grid b {
    font-size: 12px;

    margin-top: 3px;
}


/* Mini Chart */

.mini-chart {
    height: 65px;

    display: flex;

    gap: 7px;

    align-items: end;

    margin-top: 24px;

    padding: 0 5px;
}

.mini-chart span {
    flex: 1;

    border-radius: 6px 6px 2px 2px;

    background:
        linear-gradient(
            #6b9bff,
            #244fc4
        );

    animation:
        bars 3s ease-in-out infinite;
}

.mini-chart span:nth-child(1) {
    height: 35%;
}

.mini-chart span:nth-child(2) {
    height: 52%;
    animation-delay: 0.1s;
}

.mini-chart span:nth-child(3) {
    height: 45%;
    animation-delay: 0.2s;
}

.mini-chart span:nth-child(4) {
    height: 67%;
    animation-delay: 0.3s;
}

.mini-chart span:nth-child(5) {
    height: 54%;
    animation-delay: 0.4s;
}

.mini-chart span:nth-child(6) {
    height: 77%;
    animation-delay: 0.5s;
}

.mini-chart span:nth-child(7) {
    height: 68%;
    animation-delay: 0.6s;
}

.mini-chart span:nth-child(8) {
    height: 91%;
    animation-delay: 0.7s;
}

@keyframes bars {
    50% {
        opacity: 0.55;
        transform: scaleY(0.78);
    }
}


/* Card Footer */

.card-foot {
    display: flex;

    justify-content: space-between;

    margin-top: 22px;

    color: #8fa2bf;

    font-size: 9px;
}

.card-foot b {
    color: #ff9b47;

    font-size: 16px;
}


/* =========================
   FLOATING CARDS
   ========================= */

.float-card {
    position: absolute;

    z-index: 4;

    display: flex;

    align-items: center;

    gap: 10px;

    background: #fff;

    border: 1px solid #e1e7f0;

    border-radius: 14px;

    padding: 11px 14px;

    box-shadow:
        0 18px 40px rgba(10, 35, 75, 0.13);

    animation:
        float 5s ease-in-out infinite;
}

.float-card b,
.float-card small {
    display: block;
}

.float-card b {
    font-size: 11px;
}

.float-card small {
    font-size: 8px;

    color: #8190a4;
}

.float-icon {
    display: grid;

    place-items: center;

    width: 32px;
    height: 32px;

    border-radius: 10px;

    background: #edf3ff;

    color: var(--blue);

    font-weight: 900;
}

.orange-icon {
    background: #fff1e6;

    color: var(--orange);
}

.float-a {
    top: 70px;
    left: 0;
}

.float-b {
    bottom: 66px;
    right: 0;

    animation-delay: 1.3s;
}

@keyframes float {
    50% {
        transform: translateY(-9px);
    }
}


/* =========================
   SCROLL CUE
   ========================= */

.scroll-cue {
    position: absolute;

    bottom: 21px;
    left: 50%;

    transform: translateX(-50%);

    font-size: 8px;

    letter-spacing: 2px;

    color: #8290a4;

    display: flex;

    align-items: center;

    gap: 9px;
}

.scroll-cue span {
    width: 18px;
    height: 28px;

    border: 1px solid #aab6c7;

    border-radius: 20px;

    position: relative;
}

.scroll-cue span::after {
    content: "";

    position: absolute;

    top: 6px;
    left: 7px;

    width: 3px;
    height: 6px;

    border-radius: 5px;

    background: var(--orange);

    animation:
        wheel 1.5s infinite;
}

@keyframes wheel {
    50% {
        transform: translateY(7px);
        opacity: 0.3;
    }
}


/* =========================
   MARQUEE
   ========================= */

.marquee-section {
    background: var(--orange);

    overflow: hidden;

    color: #fff;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}

.marquee {
    display: flex;

    width: max-content;

    animation:
        marquee 32s linear infinite;
}

.marquee > div {
    padding: 13px 0;

    display: flex;

    gap: 25px;

    align-items: center;

    white-space: nowrap;
}

.marquee b {
    opacity: 0.7;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}


/* =========================
   GENERAL SECTIONS
   ========================= */

.section {
    padding: 110px 0;
}

.services {
    background: #fff;
}


/* Section Heading */

.section-head {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

    margin-bottom: 46px;
}

.section-head h2,
.process-copy h2,
.enquiry-copy h2,
.calc-box h2,
.faq-wrap h2 {
    font-size: clamp(38px, 4vw, 55px);

    line-height: 1.03;

    letter-spacing: -2.5px;
}

.section-head > p {
    max-width: 370px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================
   LOAN CARDS
   ========================= */

.loan-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.loan-card {
    min-height: 285px;

    padding: 27px;

    border: 1px solid #e4e9f0;

    border-radius: 20px;

    position: relative;

    overflow: hidden;

    transition: 0.3s;

    background: #fff;
}

.loan-card:hover {
    transform: translateY(-7px);

    border-color: #cdd9ec;

    box-shadow: var(--shadow);
}


/* Featured Card */

.loan-card.featured {
    background:
        linear-gradient(
            145deg,
            #0a1a38,
            #12315f
        );

    color: #fff;

    border-color: #0a1a38;
}


/* Card Number */

.loan-card > .number {
    position: absolute;

    right: 23px;
    top: 23px;

    font-size: 10px;

    color: #9aa6b7;

    font-weight: 800;
}

.featured .number {
    color: #6f83a4;
}


/* Service Icon */

.service-icon {
    width: 48px;
    height: 48px;

    border-radius: 14px;

    background: #eef3ff;

    color: var(--blue);

    display: grid;

    place-items: center;

    font-size: 22px;

    font-weight: 900;

    margin-bottom: 35px;
}

.featured .service-icon {
    background: rgba(255, 255, 255, 0.1);

    color: #ff9b47;
}


/* Loan Card Content */

.loan-card h3 {
    font-size: 21px;

    letter-spacing: -0.5px;
}

.loan-card p {
    font-size: 12px;

    color: #758196;

    max-width: 280px;

    margin: 8px 0 24px;
}

.featured p {
    color: #a8b5c9;
}

.loan-card > span {
    font-size: 10px;

    font-weight: 900;

    color: var(--orange);
}

.loan-card > span b {
    font-size: 14px;

    margin-left: 4px;
}


/* =========================
   MORE SERVICES
   ========================= */

.more-services {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 0;

    margin-top: 16px;

    border-top: 1px solid var(--line);
}

.more-services a {
    padding: 17px 4px;

    border-bottom: 1px solid var(--line);

    font-size: 11px;

    font-weight: 800;

    color: #68758a;
}

.more-services a b {
    float: right;

    color: var(--orange);
}


/* =========================
   DARK SECTION
   ========================= */

.dark-section {
    background: var(--navy);

    color: #fff;
}

.process-wrap {
    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 110px;
}

.process-copy p {
    color: #9caec8;

    max-width: 430px;

    margin: 25px 0;
}

.text-link {
    font-size: 11px;
    border:  2px solid;
    padding: 5px 5px 5px 5px;
    font-weight: 900;
    border-radius: 10px;
    color: #ff9b47;
}

.text-link b {
    font-size: 15px;
}


/* Steps */

.steps {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.step {
    display: grid;

    grid-template-columns: 60px 1fr;

    gap: 25px;

    padding: 29px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}

.step > span {
    font-size: 10px;

    color: #ff9b47;

    font-weight: 900;
}

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

.step p {
    font-size: 12px;

    color: #91a2bc;

    margin-top: 4px;
}


/* =========================
   ENQUIRY SECTION
   ========================= */

.enquiry {
    background: #f6f8fc;
}

.enquiry-wrap {
    display: grid;

    grid-template-columns:
        0.82fr
        1.18fr;

    gap: 90px;

    align-items: center;
}

.enquiry-copy p {
    max-width: 410px;

    color: var(--muted);

    font-size: 14px;

    margin: 24px 0;
}


/* Contact Mini */

.contact-mini {
    display: flex;

    align-items: center;

    gap: 12px;
}

.contact-mini > span {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: #fff;

    display: grid;

    place-items: center;

    color: var(--orange);

    box-shadow:
        0 8px 20px rgba(15, 40, 80, 0.08);
}

.contact-mini small,
.contact-mini a {
    display: block;
}

.contact-mini small {
    font-size: 9px;

    color: #8a96a8;
}

.contact-mini a {
    font-size: 13px;

    font-weight: 900;
}


/* =========================
   ENQUIRY CARD
   ========================= */

.enquiry-card {
    background: #fff;

    padding: 30px;

    border: 1px solid #e0e6ef;

    border-radius: 24px;

    box-shadow: var(--shadow);
}


/* Form Title */

.form-title {
    display: flex;

    justify-content: space-between;

    align-items: start;

    margin-bottom: 24px;
}

.form-title span {
    font-size: 9px;

    letter-spacing: 2px;

    color: var(--orange);

    font-weight: 900;
}

.form-title h3 {
    font-size: 23px;

    letter-spacing: -0.6px;

    margin-top: 3px;
}

.form-title > b {
    font-size: 25px;

    color: #a1adbd;
}


/* Form */

.enquiry-card form {
    display: grid;

    gap: 15px;
}

.field-row {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 15px;
}

.enquiry-card label span {
    display: block;

    font-size: 9px;

    font-weight: 900;

    color: #647188;

    margin: 0 0 6px 3px;
}


/* Inputs */

.enquiry-card input,
.enquiry-card select {
    width: 100%;

    height: 48px;

    border: 1px solid #dfe5ed;

    border-radius: 11px;

    padding: 0 13px;

    outline: none;

    background: #fbfcfe;

    color: #26364f;

    font-size: 12px;

    transition: 0.2s;
}

.enquiry-card input:focus,
.enquiry-card select:focus {
    border-color: #7b9ce8;

    box-shadow:
        0 0 0 4px rgba(45, 107, 255, 0.08);
}


/* Submit */

.submit-btn {
    width: 100%;

    margin-top: 2px;

    height: 52px;
}

.form-note {
    font-size: 9px !important;

    color: #8b96a7;

    text-align: center;
}


/* =========================
   CALCULATOR PREVIEW
   ========================= */

.calculator-preview {
    background: #fff;
}

.calc-box {
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #0a1936,
            #153d77
        );

    color: #fff;

    padding: 65px 75px;

    display: grid;

    grid-template-columns:
        1fr
        330px;

    align-items: center;

    gap: 70px;

    overflow: hidden;

    position: relative;
}

.calc-box::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    right: -160px;
    top: -200px;
}

.calc-box p {
    max-width: 510px;

    color: #a7b6cb;

    font-size: 13px;

    margin: 21px 0 26px;
}


/* Calculator Screen */

.calc-screen {
    background: rgba(255, 255, 255, 0.06);

    border:
        1px solid rgba(255, 255, 255, 0.11);

    border-radius: 20px;

    padding: 23px;

    backdrop-filter: blur(10px);
}

.screen-top {
    display: flex;

    justify-content: space-between;

    color: #7f94b2;

    font-size: 8px;

    letter-spacing: 2px;
}

.screen-top i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #43d49b;
}

.calc-screen strong {
    font-size: 38px;

    display: block;

    margin-top: 32px;

    letter-spacing: -1px;
}

.calc-screen small {
    font-size: 9px;

    color: #8ea1bd;
}


/* Calculator Bars */

.screen-bars {
    height: 80px;

    display: flex;

    align-items: end;

    gap: 8px;

    margin-top: 15px;
}

.screen-bars i {
    display: block;

    flex: 1;

    background: #3f78ee;

    border-radius:
        5px 5px 2px 2px;
}

.screen-bars i:nth-child(1) {
    height: 35%;
}

.screen-bars i:nth-child(2) {
    height: 48%;
}

.screen-bars i:nth-child(3) {
    height: 42%;
}

.screen-bars i:nth-child(4) {
    height: 65%;
}

.screen-bars i:nth-child(5) {
    height: 58%;
}

.screen-bars i:nth-child(6) {
    height: 77%;
}

.screen-bars i:nth-child(7) {
    height: 91%;
}


/* =========================
   FAQ
   ========================= */

.faq-section {
    padding-top: 30px;
}

.faq-wrap {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 90px;
}

.faq {
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);

    padding: 20px 0;
}

.faq summary {
    list-style: none;

    cursor: pointer;

    font-size: 13px;

    font-weight: 800;

    display: flex;

    justify-content: space-between;

    gap: 20px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary b {
    font-size: 19px;

    color: var(--orange);

    font-weight: 500;

    transition: 0.2s;
}

.faq details[open] summary b {
    transform: rotate(45deg);
}

.faq p {
    font-size: 12px;

    color: var(--muted);

    padding: 12px 35px 0 0;
}


/* =========================
   FINAL CTA
   ========================= */

.final-cta {
    background: var(--orange);

    padding: 65px 0;

    color: #fff;
}

.cta-inner {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;
}

.final-cta h2 {
    font-size: 42px;

    letter-spacing: -2px;

    line-height: 1;
}

.dark-outline {
    border-color: rgba(255, 255, 255, 0.45);

    color: #fff;

    background: transparent;
}

.dark-outline:hover {
    border-color: #fff;

    color: #fff;
}

.cta-actions {
    display: flex;

    gap: 10px;
}


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

footer {
    background: #06142d;

    color: #9cabc1;

    padding: 65px 0 0;
}

.foot {
    display: grid;

    grid-template-columns:
        1.6fr
        0.75fr
        0.95fr
        1fr;

    gap: 55px;

    padding-bottom: 55px;
}

.foot h3 {
    color: #fff;

    font-size: 12px;

    margin-bottom: 17px;
}

.foot > a,
.foot > div > a {
    display: block;

    font-size: 11px;

    margin: 8px 0;

    color: #9cabc1;
}

.foot > div > a:hover {
    color: #ff9b47;
}

.foot p {
    font-size: 11px;

    max-width: 340px;

    margin-top: 17px;
}

.foot p b {
    color: #fff;
}


/* Copyright */

.copy {
    border-top:
        1px solid rgba(255, 255, 255, 0.1);

    padding: 18px 0;

    font-size: 9px;
}

.copy a {
    margin-left: 8px;
}


/* =========================
   STICKY MOBILE BUTTONS
   ========================= */

.sticky {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.sticky-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
    pointer-events: auto;
    transition: transform .25s ease, background .25s ease;
}

.sticky.open .sticky-toggle {
    transform: rotate(180deg);
}

.sticky-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.sticky.open .sticky-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
}

.sticky .call { background: var(--navy); }
.sticky .wa { background: #16a66a; }


/* =========================
   REVEAL ANIMATION
   ========================= */

.reveal {
    opacity: 0;

    transform: translateY(22px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: none;
}

.delay {
    transition-delay: 0.14s;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1050px) {

    .menu {
        gap: 0;
    }

    .menu > a,
    .drop-btn {
        font-size: 12px;

        padding: 9px 8px;
    }

    .hero-wrap {
        gap: 25px;
    }

    .process-wrap,
    .enquiry-wrap,
    .faq-wrap {
        gap: 50px;
    }
}


/* =========================
   MOBILE NAVBAR
   ========================= */

@media (max-width: 850px) {

    .topbar > span {
        display: none;
    }

    .topbar {
        justify-content: flex-end;
    }

    .nav {
        height: 68px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        cursor: pointer;
    }

    .nav-cta {
        display: none;
    }

    /* =========================
       MOBILE MENU
       ========================= */

    .menu {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;

        background: #fff;

        border-bottom: 1px solid var(--line);

        padding: 10px 20px 16px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        box-shadow: 0 20px 35px rgba(5, 25, 60, 0.10);

        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .menu.open {
        display: flex;
    }

    /* =========================
       MAIN MOBILE LINKS
       ========================= */

    .menu > a,
    .menu > .nav-drop > .drop-btn {
        width: 100%;
        min-height: 46px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 10px 12px;

        font-size: 14px;
        font-weight: 700;

        border-radius: 10px;

        color: #536076;

        transform: none !important;
    }

    .menu > a:hover,
    .menu > .nav-drop > .drop-btn:hover {
        background: #f5f7fb;
        color: var(--blue);
    }

    /* =========================
       REMOVE BIG UNDERLINES
       ========================= */

    .menu > a::after,
    .menu > .nav-drop > .drop-btn::after {
        display: none !important;
    }

    .menu > a.active {
        color: var(--blue);
        background: #f1f5ff;
    }

    /* =========================
       LOANS DROPDOWN
       ========================= */

    .nav-drop {
        width: 100%;
    }

    .drop-btn {
        cursor: pointer;
    }

    .drop-btn span {
        font-size: 17px;
        transition: transform 0.25s ease;
    }

    .nav-drop.open .drop-btn span {
        transform: rotate(180deg);
    }

    /* =========================
       MOBILE DROPDOWN
       ========================= */

    .dropdown {
        position: static;

        width: 100%;

        display: none;

        padding: 6px 0 6px 14px;

        margin: 0;

        background: #f8faff;

        border: 0;

        border-left: 2px solid var(--blue);

        border-radius: 0 10px 10px 0;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        pointer-events: auto;
    }

    /* IMPORTANT:
       Hover will NOT open dropdown on mobile */

    .nav-drop:hover .dropdown {
        display: none;
    }

    /* JS adds .open */
    .nav-drop.open .dropdown {
        display: block;
    }

    /* =========================
       DROPDOWN LINKS
       ========================= */

    .dropdown a {
        display: flex;

        align-items: center;

        width: 100%;

        min-height: 40px;

        padding: 8px 12px;

        border-radius: 8px;

        color: #5b6880;

        font-size: 13px;
        font-weight: 600;

        text-decoration: none !important;

        background: transparent;

        transform: none !important;
    }

    .dropdown a:hover {
        background: #edf3ff;
        color: var(--blue);

        padding-left: 12px;
    }

    /* VERY IMPORTANT:
       No underline inside dropdown */

    .dropdown a::before,
    .dropdown a::after {
        display: none !important;
        content: none !important;
    }
}
/* =========================
   SMALL MOBILE
   ========================= */

@media (max-width: 560px) {

    .container {
        width: min(
            calc(100% - 30px),
            1180px
        );
    }

    .brand {
        min-width: 0;
    }

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

    .topbar {
        padding: 0 15px;
    }


    /* Hero */

    .hero-wrap {
        padding: 55px 0 80px;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -3px;
    }

    .hero-lead {
        font-size: 14px;
    }

    .trust-row {
        margin-top: 34px;
    }

    .trust-line {
        margin: 0 12px;
    }

    .hero-visual {
        height: 365px;
    }

    .finance-card {
        width: 92%;

        padding: 22px;
    }

    .amount strong {
        font-size: 34px;
    }


    /* Floating Cards */

    .float-a {
        left: -3px;
        top: 28px;
    }

    .float-b {
        right: -3px;
        bottom: 35px;
    }

    .float-card {
        padding: 8px 10px;
    }


    /* Sections */

    .section {
        padding: 75px 0;
    }

    .section-head {
        display: block;

        margin-bottom: 30px;
    }

    .section-head > p {
        margin-top: 18px;
    }


    /* Loans */

    .loan-grid {
        grid-template-columns: 1fr;
    }

    .more-services {
        grid-template-columns:
            1fr 1fr;
    }


    /* Form */

    .field-row {
        grid-template-columns: 1fr;
    }


    /* Calculator */

    .calc-box {
        padding: 35px 25px;
    }

    .calc-screen {
        margin-top: 10px;
    }


    /* FAQ */

    .faq-wrap {
        gap: 35px;
    }


    /* CTA */

    .final-cta {
        padding: 50px 0;
    }

    .cta-inner {
        display: block;
    }

    .final-cta h2 {
        font-size: 34px;
    }

    .cta-actions {
        margin-top: 25px;

        flex-wrap: wrap;
    }


    /* Footer */

    .foot {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .copy {
        line-height: 2;
    }


    /* Floating Contact Buttons */

    .sticky {
        left: auto;
        right: 15px;
        bottom: 15px;
        align-items: flex-end;
    }

    .sticky a {
        flex: none;
        text-align: center;
    }


    /* Scroll Cue */

    .scroll-cue {
        display: none;
    }
}


/* =========================
   REDUCED MOTION
   ========================= */

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

    *,
    *::before,
    *::after {
        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;
    }
}

/* =========================================================
   INNER PAGE SYSTEM (Loan detail / About / Blog / Contact / EMI)
   ========================================================= */

.drop-btn.active-parent { color: var(--blue); }
.drop-btn.active-parent::after { width: auto; left: 13px; right: 13px; transform: scaleX(1); }

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 90px;
    background: radial-gradient(circle at 15% 20%, #0d2143 0%, #07152f 55%, #060f22 100%);
    color: #fff;
}

.page-hero .orb { opacity: .55; }

.breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9fb0cc;
    margin-bottom: 22px;
    letter-spacing: .02em;
}

.breadcrumb a { color: #cfdaf0; transition: color .25s ease; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: #55628a; }
.breadcrumb b { color: #fff; font-weight: 600; }

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.page-hero h1 span { color: var(--orange); }

.page-hero p.lead {
    margin-top: 18px;
    font-size: 17px;
    color: #c4d0e8;
    max-width: 620px;
}

.page-hero .actions { margin-top: 30px; }

.page-hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 34px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-hero-stats div strong {
    display: block;
    font-size: 26px;
    color: #fff;
    font-weight: 800;
}

.page-hero-stats div small {
    color: #9fb0cc;
    font-size: 12.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Content layout */

.content-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: start;
}

.content-main h2 {
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    font-weight: 800;
}

.content-main h2 span { color: var(--orange); }

.content-main p {
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 15.5px;
}

.content-block { margin-bottom: 46px; }

.check-list { display: grid; gap: 14px; margin-top: 18px; }

.check-list li {
    list-style: none;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.check-list li:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.check-list li i {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 800;
    font-size: 13px;
}

.check-list li strong { display: block; font-size: 15px; margin-bottom: 2px; }
.check-list li span { color: var(--muted); font-size: 13.5px; }

.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.doc-grid div {
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(6,24,55,.05);
    transition: transform .3s ease, box-shadow .3s ease;
}

.doc-grid div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.doc-grid div b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.doc-grid div span { color: var(--muted); font-size: 13px; }

/* Sidebar */

.content-side { position: sticky; top: 110px; display: grid; gap: 22px; }

.side-card {
    background: linear-gradient(160deg, var(--navy2), var(--navy));
    color: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.side-card h3 { font-size: 18px; margin-bottom: 10px; }
.side-card p { color: #b9c6de; font-size: 13.5px; margin-bottom: 18px; }
.side-card .btn { width: 100%; justify-content: center; }

.side-list { background: var(--paper); border-radius: 22px; padding: 26px; border: 1px solid var(--line); }
.side-list h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.side-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14.5px;
    font-weight: 600;
    transition: color .25s ease, transform .25s ease;
}
.side-list a:last-child { border-bottom: none; }
.side-list a:hover { color: var(--blue); transform: translateX(4px); }

/* Rate table */

.rate-table { width: 100%; border-collapse: collapse; margin-top: 18px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(6,24,55,.05); }
.rate-table th, .rate-table td { padding: 14px 16px; text-align: left; font-size: 14px; }
.rate-table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.rate-table tbody tr:nth-child(odd) { background: var(--paper); }
.rate-table tbody tr { transition: background .25s ease; }
.rate-table tbody tr:hover { background: #eaf0ff; }

/* =========================
   EMI CALCULATOR
   ========================= */

.calc-tool-section { background: var(--paper); }

.calc-tool {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.calc-inputs { padding: 46px; }
.calc-inputs h3 { font-size: 22px; margin-bottom: 26px; font-weight: 800; }

.slider-field { margin-bottom: 28px; }
.slider-field .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.slider-field label { font-size: 13.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.slider-field output { font-size: 19px; font-weight: 800; color: var(--blue); }

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: var(--line);
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    box-shadow: 0 4px 14px rgba(22,72,196,.4);
    cursor: pointer;
    border: 3px solid #fff;
    transition: transform .2s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    border: 3px solid #fff; cursor: pointer;
}

.calc-results {
    padding: 46px;
    background: linear-gradient(165deg, var(--navy2), var(--navy) 70%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.calc-results::before {
    content: "";
    position: absolute; inset: -40% -20% auto auto;
    width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(45,107,255,.35), transparent 70%);
}

.emi-headline { position: relative; z-index: 1; }
.emi-headline small { color: #9fb0cc; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.emi-headline strong { display: block; font-size: 42px; font-weight: 800; margin: 6px 0 26px; transition: all .2s ease; }

.emi-breakdown { position: relative; z-index: 1; display: grid; gap: 14px; margin-bottom: 26px; }
.emi-breakdown div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14.5px; }
.emi-breakdown div b { font-weight: 800; }

.donut-wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.donut { flex: none; }
.donut-legend { display: grid; gap: 8px; font-size: 13px; }
.donut-legend span { display: flex; align-items: center; gap: 8px; color: #cfdaf0; }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* =========================
   BLOG
   ========================= */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.blog-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(6,24,55,.05);
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.blog-thumb {
    height: 160px;
    background: linear-gradient(135deg, var(--navy2), var(--blue));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: rgba(255,255,255,.85);
}

.blog-thumb b { position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff; font-size: 11px; padding: 5px 12px; border-radius: 999px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.blog-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-body small { color: var(--muted); font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
.blog-body h3 { font-size: 17px; font-weight: 800; line-height: 1.35; }
.blog-body p { color: var(--muted); font-size: 13.5px; flex: 1; }
.blog-body a { margin-top: 6px; font-weight: 700; color: var(--blue); font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.blog-body a b { transition: transform .25s ease; }
.blog-body a:hover b { transform: translateX(4px); }

/* =========================
   ABOUT
   ========================= */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.about-stats div { background: var(--paper); border-radius: 18px; padding: 22px; border: 1px solid var(--line); transition: transform .3s ease; }
.about-stats div:hover { transform: translateY(-4px); }
.about-stats strong { display: block; font-size: 30px; font-weight: 800; color: var(--blue); }
.about-stats small { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: transform .3s ease, box-shadow .3s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .service-icon { margin-bottom: 14px; }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 13.5px; }

/* =========================
   CONTACT
   ========================= */

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 50px; }

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    text-align: left;
    transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card .service-icon { margin-bottom: 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 14px; display: block; }
.contact-card a:hover { color: var(--blue); }

.contact-map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: 50px; }
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.15); }

.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }

/* =========================
   Page fade-in
   ========================= */

body { animation: pageFade .6s ease; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

/* =========================
   RESPONSIVE — inner pages
   ========================= */

@media (max-width: 980px) {
    .content-wrap { grid-template-columns: 1fr; }
    .content-side { position: static; }
    .calc-tool { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-split { grid-template-columns: 1fr; }
    .doc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .blog-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 130px 0 60px; }
    .page-hero-stats { gap: 22px; }
}


/* =========================
   FINAL NAVBAR BUG FIXES
   ========================= */

.menu > a::after,
.menu .drop-btn::after,
.drop-btn.active-parent::after {
    left: 13px;
    right: 13px;
    width: auto;
}

@media (min-width: 851px) {
    .dropdown { top: calc(100% - 2px); }
    .nav-drop:hover .dropdown,
    .nav-drop:focus-within .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0) scale(1);
    }
}

@media (max-width: 850px) {
    .menu .nav-drop:hover .dropdown { display: none; }
    .menu .nav-drop.open .dropdown {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .menu .nav-drop.open { display: block; }
    .menu .nav-drop.open .drop-btn {
        color: var(--blue);
        background: #f1f5ff;
    }
}
