@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.3.1/css/all.min.css);



:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;

    --primary: #ff0000;
    --primary-dark: #d90000;

    --shadow: 0 8px 30px rgba(15, 23, 42, 0.07);
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--bg);
}

button,
input {
    font: inherit;
}

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

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

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

    width: 100%;
    height: 76px;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

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

.navbar {
    width: min(1400px, calc(100% - 64px));
    height: 100%;

    margin: auto;

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

/* =========================
   LOGO
========================= */

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

    min-width: 245px;

    cursor: pointer;
}

.logo-pin {
    color: #ff0038;

    font-size: 42px;

    margin-right: 10px;

    filter: drop-shadow(0 4px 5px rgba(255, 0, 56, 0.15));
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.logo-text h2 {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;

    color: #0f172a;
}

.logo-text span {
    margin-top: 5px;

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

    color: #475569;
}

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

.menu {
    height: 100%;
}

.menu ul {
    height: 100%;

    display: flex;
    align-items: center;
    gap: 8px;

    list-style: none;
}

.menu li {
    height: 100%;

    display: flex;
    align-items: center;
}

.menu a {
    position: relative;

    height: 100%;

    padding: 0 18px;

    display: flex;
    align-items: center;
    gap: 10px;

    color: #0f172a;

    font-size: 16px;
    font-weight: 500;

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

/* Icons */

.menu a i {
    font-size: 18px;

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

/* Hover */

.menu a:hover {
    color: var(--primary);
}

.menu a:hover i {
    color: var(--primary);
    transform: translateY(-1px);
}

/* Active */

.menu li:first-child a {
    color: var(--primary);
    font-weight: 600;
}

.menu li:first-child a::after {
    content: "";

    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 0;

    height: 3px;

    background: var(--primary);

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

/* =========================
   RIGHT SIDE
========================= */

.nav-right {
    min-width: 245px;

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

    gap: 18px;
}

/* =========================
   THEME TOGGLE
========================= */

.theme-toggle {
    width: 68px;
    height: 38px;

    padding: 4px;

    border: 2px solid #0f172a;
    border-radius: 30px;

    background: #ffffff;

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

    cursor: pointer;

    transition: 0.25s ease;
}

.theme-toggle i {
    width: 28px;
    height: 28px;

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

    border-radius: 50%;

    font-size: 14px;

    color: #0f172a;
}

.theme-toggle i:first-child {
    background: #f1f5f9;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.12);
}

/* =========================
   GITHUB
========================= */

.github-btn {
    min-width: 125px;
    height: 44px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 10px;

    color: #ffffff;
    background: #000000;

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

    box-shadow:
        0 5px 14px rgba(229, 9, 9, 0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.github-btn i {
    font-size: 17px;
}

.github-btn:hover {
    background: #c90000;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(229, 9, 9, 0.25);
}

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

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #ffffff;

    color: #0f172a;

    cursor: pointer;

    font-size: 20px;
}

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

@media (max-width: 1100px) {

    .navbar {
        width: min(100% - 32px, 1100px);
    }

    .logo {
        min-width: auto;
    }

    .nav-right {
        min-width: auto;
    }

    .menu a {
        padding: 0 10px;
        font-size: 14px;
    }

    .menu a i {
        font-size: 16px;
    }

    .logo-text h2 {
        font-size: 24px;
    }

    .logo-pin {
        font-size: 36px;
    }
}
/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 850px) {

    /* HEADER */

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

        width: 100%;
        height: auto;

        background: rgba(255, 255, 255, 0.98);

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

        box-shadow:
            0 2px 12px rgba(15, 23, 42, 0.06);

        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }


    /* NAVBAR */

    .navbar {
        width: calc(100% - 28px);

        min-height: 70px;
        height: auto;

        margin: 0 auto;

        display: flex;

        align-items: center;

        justify-content: space-between;

        flex-wrap: wrap;
    }


    /* =====================================================
       LOGO
       ===================================================== */

    .logo {
        min-width: 0;

        flex: 1;

        display: flex;

        align-items: center;

        text-decoration: none;
    }


    .logo-pin {
        font-size: 34px;

        margin-right: 8px;

        flex-shrink: 0;
    }


    .logo-text {
        min-width: 0;
    }


    .logo-text h2 {
        margin: 0;

        font-size: 22px;

        line-height: 1;

        white-space: nowrap;
    }


    .logo-text span {
        margin-top: 4px;

        font-size: 10px;

        white-space: nowrap;
    }


    /* =====================================================
       RIGHT SIDE
       ===================================================== */

    .nav-right {
        min-width: auto;

        margin-left: auto;
        margin-right: 8px;

        display: flex;

        align-items: center;

        justify-content: flex-end;

        gap: 8px;
    }


    /* =====================================================
       GITHUB BUTTON
       ===================================================== */

    .github-btn {
        width: 44px;
        min-width: 44px;

        height: 44px;

        padding: 0;

        display: flex;

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

        border-radius: 10px;

        background: #000000;

        color: #ffffff;
    }


    .github-btn span {
        display: none;
    }


    .github-btn i {
        font-size: 18px;
    }


    /* =====================================================
       THEME BUTTON
       ===================================================== */

    .theme-toggle {
        display: none;
    }


    /* =====================================================
       HAMBURGER / CLOSE BUTTON
       ===================================================== */

    .mobile-menu-btn {
        display: flex;

        width: 44px;
        height: 44px;

        flex: 0 0 44px;

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

        border: 1px solid #dbe3ee;

        border-radius: 10px;

        background: #ffffff;

        color: #0f172a;

        font-size: 20px;

        cursor: pointer;

        transition:
            background .2s ease,
            color .2s ease,
            border-color .2s ease,
            transform .2s ease;
    }


    .mobile-menu-btn:hover {
        background: #f8fafc;

        border-color: #cbd5e1;
    }


    /* =====================================================
       MOBILE MENU
       
       IMPORTANT:
       Do NOT use position:absolute here.
       The menu will push the hero downward.
       ===================================================== */

    .menu {

        position: static;

        width: 100%;

        height: auto;

        flex: 0 0 100%;

        display: none;

        order: 10;

        background: #ffffff;

        border-top: 1px solid #eef2f7;

        box-shadow: none;
    }


    /* OPEN MENU */

    .menu.active {
        display: block;
    }


    /* =====================================================
       MENU LIST
       ===================================================== */

    .menu ul {

        width: 100%;

        height: auto;

        margin: 0;

        padding: 10px 0 12px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        list-style: none;
    }


    /* =====================================================
       MENU ITEM
       ===================================================== */

    .menu li {
        width: 100%;

        height: auto;

        display: block;
    }


    /* =====================================================
       MENU LINK
       ===================================================== */

    .menu a {

        width: 100%;

        height: 48px;

        padding: 0 16px;

        display: flex;

        align-items: center;

        gap: 13px;

        border-radius: 10px;

        color: #0f172a;

        font-size: 15px;

        font-weight: 600;

        text-decoration: none;

        transition:
            background .2s ease,
            color .2s ease;
    }


    /* MENU ICON */

    .menu a i {

        width: 22px;

        display: flex;

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

        color: #334155;

        font-size: 16px;

        transform: none;
    }


    /* HOVER */

    .menu a:hover {

        background: #fff1f2;

        color: #e50909;
    }


    .menu a:hover i {

        color: #e50909;

        transform: none;
    }


    /* =====================================================
       ACTIVE HOME
       ===================================================== */

    .menu li:first-child a {

        color: var(--primary);

        font-weight: 700;

        background: #fff5f5;
    }


    .menu li:first-child a i {

        color: var(--primary);
    }


    .menu li:first-child a::after {

        display: none;
    }


    /* =====================================================
       REMOVE DESKTOP NAV SPACING
       ===================================================== */

    .menu li a::after {

        display: none !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .header {
        height: auto;
    }


    .navbar {
        width: calc(100% - 20px);

        min-height: 70px;
    }


    /* LOGO */

    .logo-pin {
        font-size: 30px;

        margin-right: 7px;
    }


    .logo-text h2 {
        font-size: 20px;

        letter-spacing: -0.7px;
    }


    .logo-text span {
        font-size: 9px;

        margin-top: 4px;
    }


    /* RIGHT SIDE */

    .nav-right {
        margin-right: 6px;

        gap: 6px;
    }


    /* GITHUB */

    .github-btn {
        width: 44px;
        min-width: 44px;

        height: 44px;

        border-radius: 10px;
    }


    /* MOBILE BUTTON */

    .mobile-menu-btn {
        width: 44px;
        height: 44px;

        flex-basis: 44px;

        border-radius: 10px;

        font-size: 19px;
    }


    /* MENU */

    .menu ul {
        padding: 8px 0 10px;
    }


    .menu a {
        height: 46px;

        padding: 0 14px;

        font-size: 14px;

        gap: 12px;
    }


    .menu a i {
        width: 21px;

        font-size: 15px;
    }
}

















/* Hero Section */
.hero {
    min-height: calc(100vh - 76px);
    width: 100%;

    background-image:
    linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.747) 0%,
            rgba(195, 213, 248, 0.548) 38%,
            rgba(255, 255, 255, 0) 75%
        ), url("https://cdn.sarbeswarpanda.in/pincode/images/hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}
.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(239, 251, 255, 0),
            rgba(255, 255, 255, 0)
        );

    pointer-events: none;
}


.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;

    margin: 0;
    padding: 0 0 60px 5%;

    min-height: calc(100vh - 76px);

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: left;
}


.hero-text {
    max-width: 850px;
    text-align: left;
}


.hero-kicker {
    margin-bottom: 14px;

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

    letter-spacing: 5px;

    color: #0f172a;
}


.hero-text h1 {
    margin: 0;

    font-size: clamp(48px, 5.5vw, 78px);

    line-height: 0.98;

    letter-spacing: -3px;

    font-weight: 850;

    color: #071633;
}


.hero-text h1 span {
    color: #e50909;
}


.hero-text h2 {
    margin: 22px 0 0;

    font-size: clamp(21px, 2vw, 30px);

    line-height: 1.25;

    font-weight: 700;

    color: #0f172a;
}


.hero-text p {
    margin: 14px 0 28px;

    font-size: 18px;

    line-height: 1.6;

    color: #334155;
}

.popular-pincodes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 14px;

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

    color: #334155;
}

.popular-pincodes button {
    border: 0;

    padding: 6px 13px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.78);

    color: #0f172a;

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

    cursor: pointer;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.08);

    transition: 0.2s ease;
}

.popular-pincodes button:hover {
    background: #ffffff;

    color: #e50909;

    transform: translateY(-2px);
}

.hero-features {
    width: min(1020px, 100%);

    margin-top: 28px;

    padding: 15px 18px;

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

    gap: 10px;

    background: rgba(255, 255, 255, 0.90);

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

    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(15, 23, 42, 0.12);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


.hero-feature {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 5px 8px;
}


.feature-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

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

    border-radius: 50%;

    color: white;

    font-size: 20px;
}


.feature-icon.green {
    background: #22c55e;
}

.feature-icon.blue {
    background: #3b82f6;
}

.feature-icon.red {
    background: #ef4444;
}

.feature-icon.purple {
    background: #9333ea;
}


.hero-feature div:last-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.hero-feature strong {
    font-size: 15px;

    color: #0f172a;
}


.hero-feature span {
    font-size: 12px;

    color: #64748b;
}

@media (max-width: 900px) {

    .hero {
        min-height: calc(100vh - 70px);

        background-position: 62% center;
    }

    .hero-content {
        width: min(100% - 32px, 700px);
         margin: 0 auto;

        padding: 55px 0;
    }

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


@media (max-width: 600px) {

    .hero {
        min-height: calc(100vh - 70px);
         margin: 0;


        align-items: flex-start;

        background-position: 65% center;
    }

    .hero-content {
        width: calc(100% - 28px);
         margin: 0 auto;

        padding: 45px 0 35px;
    }

    .hero-kicker {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .hero-text h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-features {
        grid-template-columns: 1fr;

        gap: 4px;

        padding: 12px;
    }

    .hero-feature {
        padding: 8px;
    }
}

/* =========================
   SEARCH PANEL
========================= */

.search-panel {
    width: 100%;
    max-width: 800px;

    margin: 0;
}

/* Search form */

.search-form {
    width: 100%;

    display: flex;
    align-items: center;

    padding: 8px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.14);

    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Input area */

.input-wrap {
    flex: 1;

    height: 58px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    background: transparent;

    border: none;
}

/* Location/search icon */

.input-icon {
    width: 30px;

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

    margin-right: 10px;

    font-size: 28px;
    font-weight: 500;

    color: #0f172a;
}

/* Input */

.input-wrap input {
    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #0f172a;

    font-size: 17px;
    font-weight: 500;
}

.input-wrap input::placeholder {
    color: #64748b;
    opacity: 1;
}

/* Search button */

.search-btn {
    min-width: 190px;
    height: 58px;

    padding: 0 28px;

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

    border: none;
    border-radius: 12px;

    background: #e50909;

    color: #ffffff;

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

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

.search-btn:hover {
    background: #c90000;

    transform: translateY(-1px);

    box-shadow:
        0 8px 18px rgba(229, 9, 9, 0.25);
}

.search-btn:active {
    transform: translateY(0);
}

/* Status */

.status {
    margin-top: 8px;
    padding-left: 8px;

    font-size: 13px;

    color: #64748b;
}

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

@media (max-width: 600px) {

    .search-panel {
        max-width: 100%;
    }

    .search-form {
        padding: 6px;

        border-radius: 14px;
    }

    .input-wrap {
        height: 52px;

        padding: 0 10px;
    }

    .input-icon {
        margin-right: 5px;

        font-size: 23px;
    }

    .input-wrap input {
        font-size: 15px;
    }

    .search-btn {
        min-width: 110px;
        height: 52px;

        padding: 0 15px;

        font-size: 15px;

        border-radius: 10px;
    }

    .search-btn::before {
        margin-right: 6px;
        font-size: 15px;
    }
}





.status {
    margin: 12px 4px 2px;
    min-height: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}



/* =========================================================
   PINCODE RESULTS POPUP

   DESKTOP
   - Left side: Branch Office result cards
   - Exactly 3 cards per row
   - Right side: selected office details + map

   MOBILE
   - Selected office details first
   - Map immediately below details
   - Result cards below the details/map
   - Exactly 3 cards per row
   ========================================================= */

/* =========================================================
   POPUP BASE
   ========================================================= */

body.popup-open {
    overflow: hidden;
}

.results-popup {
    position: fixed;
    inset: 0;

    z-index: 9999;

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

    padding: 20px;
}

.results-popup.show {
    display: flex;
}

.results-popup-overlay {
    position: absolute;
    inset: 0;

    background: rgba(15, 23, 42, 0.62);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    cursor: pointer;
}

/* =========================================================
   MAIN POPUP CONTENT
   ========================================================= */

.results-popup-content {
    position: relative;
    z-index: 2;

    width: min(1400px, 100%);
    max-height: 92vh;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 30px;

    background: #ffffff;

    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.30);

    animation: popupOpen 0.25s ease;

    /*
       DESKTOP LAYOUT
       LEFT  = results
       RIGHT = selected details + map
    */
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
    gap: 30px;
    align-items: start;

    box-sizing: border-box;
}

.results-popup-content,
.results-popup-content * {
    box-sizing: border-box;
}

.popup-close {
    position: absolute;

    top: 16px;
    right: 18px;

    width: 42px;
    height: 42px;

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

    border: 0;
    border-radius: 50%;

    background: #f1f5f9;
    color: #0f172a;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;
    z-index: 30;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.popup-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

@keyframes popupOpen {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   RESULTS SECTION - LEFT SIDE
   ========================================================= */

.results-popup-content > section:first-child {
    min-width: 0;
    width: 100%;
}

.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;

    padding-right: 55px;
}

.results-head h2 {
    margin: 0;

    color: #0f172a;

    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;

    letter-spacing: -0.5px;
}

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

    min-height: 30px;

    padding: 5px 12px;

    border-radius: 20px;

    background: #fee2e2;
    color: #dc2626;

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

    white-space: nowrap;
}

/* =========================================================
   RESULT GRID
   DESKTOP = EXACTLY 3 CARDS PER ROW
   ========================================================= */

.results-grid {
    display: grid;

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

    gap: 16px;

    width: 100%;

    align-items: stretch;
}

/* =========================================================
   BRANCH OFFICE CARD
   ========================================================= */

.results-grid .card {
    position: relative;

    width: 100%;
    min-width: 0;

    padding: 18px;

    background: #e8edf7;

    border: 1px solid #0b0049;
    border-radius: 18px;

    cursor: pointer;

    box-shadow:
        0 4px 16px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.results-grid .card:hover {
    transform: translateY(-3px);

    border-color: #fecaca;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.12);
}

.results-grid .card.active {
    border-color: #e50909;

    background: #fffafa;

    box-shadow:
        0 10px 30px rgba(229, 9, 9, 0.14);
}

/* =========================================================
   CARD TOP
   ========================================================= */

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    margin-bottom: 13px;
}

.badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border-radius: 20px;

    background: #fff1f2;
    color: #dc2626;

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

    letter-spacing: 0.35px;
    text-transform: uppercase;

    white-space: nowrap;
}

/* =========================================================
   OFFICE NAME
   ========================================================= */

.results-grid .card h3 {
    margin: 0 0 14px;

    color: #0f172a;

    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;

    letter-spacing: -0.3px;

    word-break: break-word;
}

/* =========================================================
   CARD INFORMATION
   ========================================================= */

.card-info {
    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 12px 0;

    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.card-info .row {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    color: #475569;

    font-size: 12px;
    line-height: 1.45;
}

.card-info .icon {
    flex: 0 0 26px;

    width: 26px;
    height: 26px;

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

    border-radius: 8px;

    background: #f8fafc;
    color: #e50909;

    font-size: 13px;
}

.card-info .row > span:last-child {
    flex: 1;
    min-width: 0;
}

.card-info strong {
    color: #334155;
    font-weight: 700;
}

/* =========================================================
   VIEW LOCATION
   ========================================================= */

.card .view {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    margin-top: 14px;

    color: #e50909;

    font-size: 12px;
    font-weight: 800;
}

.card .view span:last-child {
    font-size: 18px;

    transition: transform 0.2s ease;
}

.card:hover .view span:last-child {
    transform: translateX(4px);
}

/* =========================================================
   EMPTY / LOADING STATE
   ========================================================= */

.results-grid .empty {
    grid-column: 1 / -1;
    width: 100%;
}

/* =========================================================
   OFFICE DETAILS - RIGHT SIDE
   ========================================================= */

.results-popup-content > section#details {
    min-width: 0;
    width: 100%;
}

.details {
    display: none;

    margin: 0;
    padding: 0;

    border: 0;
}

.details.show {
    display: block;

    position: sticky;
    top: 0;
}

.details-content {
    width: 100%;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.07);
}

/* =========================================================
   DETAILS TITLE
   ========================================================= */

.detail-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.detail-title h2 {
    margin: 0;

    color: #0f172a;

    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;

    word-break: break-word;
}

.detail-subtitle {
    margin: 6px 0 0;

    color: #64748b;

    font-size: 13px;
    line-height: 1.5;
}

.close-btn {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

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

    border: 0;
    border-radius: 50%;

    background: #f1f5f9;
    color: #475569;

    font-size: 23px;
    line-height: 1;

    cursor: pointer;

    transition: 0.2s ease;
}

.close-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

/* =========================================================
   DETAILS GRID
   INFORMATION FIRST, MAP SECOND
   ========================================================= */

.detail-grid {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.detail-info {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 11px 13px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.detail-item span {
    color: #64748b;

    font-size: 12px;
    font-weight: 600;
}

.detail-item strong {
    max-width: 65%;

    color: #0f172a;

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

    text-align: right;

    overflow-wrap: anywhere;
}

/* =========================================================
   MAP
   ========================================================= */

.map-box {
    width: 100%;

    min-height: 360px;

    overflow: hidden;

    background: #f1f5f9;

    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.map {
    display: block;

    width: 100%;
    height: 300px;

    border: 0;
}

.map-footer {
    min-height: 50px;

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

    gap: 10px;

    padding: 10px 13px;

    background: #ffffff;

    border-top: 1px solid #e2e8f0;

    font-size: 11px;
}

.map-footer span {
    color: #64748b;

    overflow-wrap: anywhere;
}

.map-footer a {
    color: #dc2626;

    font-weight: 700;

    white-space: nowrap;
    text-decoration: none;
}

.map-footer a:hover {
    text-decoration: underline;
}

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

@media (max-width: 1050px) {

    .results-popup-content {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
        gap: 20px;

        padding: 22px;
    }

    .results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .results-grid .card {
        padding: 14px;
    }

    .results-grid .card h3 {
        font-size: 16px;
    }

    .card-info .row {
        font-size: 11px;
    }

    .detail-title h2 {
        font-size: 21px;
    }
}

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

   ORDER:
   1. DETAILS
   2. MAP
   3. RESULTS GRID

   RESULT GRID REMAINS 3 CARDS PER ROW
   ========================================================= */

@media (max-width: 700px) {

    .results-popup {
        padding: 8px;
    }

    .results-popup-content {
        width: 100%;
        max-height: 96vh;

        display: flex;
        flex-direction: column;

        gap: 20px;

        padding: 16px;

        border-radius: 18px;
    }

    /*
       The HTML has results before details.
       CSS order reverses them on mobile so details
       appear first and results appear after the map.
    */

    .results-popup-content > section#details {
        order: 1;
    }

    .results-popup-content > section:first-child {
        order: 2;
    }

    /* No sticky details on mobile */

    .details.show {
        position: static;
    }

    .details-content {
        padding: 16px;
        border-radius: 16px;
    }

    .detail-title {
        gap: 10px;
        margin-bottom: 16px;
    }

    .detail-title h2 {
        font-size: 20px;
    }

    .detail-subtitle {
        font-size: 12px;
    }

    .detail-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .map-box {
        min-height: 300px;
    }

    .map {
        height: 250px;
    }

    /* =====================================================
       MOBILE RESULT GRID
       EXACTLY 3 CARDS PER ROW
       ===================================================== */

    .results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .results-head {
        align-items: flex-start;
        padding-right: 45px;
        margin-bottom: 12px;
    }

    .results-head h2 {
        font-size: 19px;
    }

    .count {
        min-height: 25px;
        padding: 4px 8px;
        font-size: 11px;
    }

    .results-grid .card {
        padding: 10px;
        border-radius: 12px;
    }

    .card-top {
        margin-bottom: 8px;
    }

    .badge {
        max-width: 100%;

        padding: 4px 6px;

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

        overflow: hidden;
        text-overflow: ellipsis;
    }

    .results-grid .card h3 {
        margin-bottom: 9px;

        font-size: 12px;
        line-height: 1.25;
    }

    .card-info {
        gap: 6px;
        padding: 8px 0;
    }

    .card-info .row {
        gap: 5px;
        font-size: 9px;
        line-height: 1.3;
    }

    .card-info .icon {
        flex: 0 0 19px;

        width: 19px;
        height: 19px;

        border-radius: 5px;

        font-size: 9px;
    }

    .card .view {
        margin-top: 9px;
        font-size: 9px;
    }

    .card .view span:last-child {
        font-size: 13px;
    }

    .detail-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .detail-item strong {
        max-width: 100%;
        text-align: left;
    }

    .map-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
   Still keeps 3 cards in each row
   ========================================================= */

@media (max-width: 380px) {

    .results-popup-content {
        padding: 12px;
    }

    .results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .results-grid .card {
        padding: 8px;
    }

    .results-grid .card h3 {
        font-size: 11px;
    }

    .card-info .row {
        font-size: 8px;
    }

    .card-info .icon {
        flex: 0 0 17px;

        width: 17px;
        height: 17px;

        font-size: 8px;
    }

    .card .view {
        font-size: 8px;
    }

    .card .view span:last-child {
        font-size: 11px;
    }
}
























































/* =========================================================
   INFO SECTION
========================================================= */

.info-section {
    width: 100%;

    display: grid;

    grid-template-columns: 1.15fr 1fr;

    background: #ffffff;
}


/* =========================================================
   COMMON SECTION HEADING
========================================================= */

.section-heading {
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 0;

    font-size: 30px;
    line-height: 1.2;

    font-weight: 800;

    color: #071633;
}

.section-heading span {
    display: block;

    width: 50px;
    height: 4px;

    margin-top: 10px;

    background: #e50909;

    border-radius: 10px;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.how-it-works {
    padding: 42px 7% 45px;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #ffffff
        );
}


/* Steps */

.steps {
    display: flex;

    align-items: flex-start;

    width: 100%;
}


/* Individual step */

.step {
    position: relative;

    flex: 1;

    min-width: 0;

    text-align: center;
}


/* Top area */

.step-top {
    position: relative;

    height: 112px;

    display: flex;

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


/* Number */

.step-number {
    position: absolute;

    top: 0;
    left: 0;

    width: 35px;
    height: 35px;

    display: flex;

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

    border-radius: 50%;

    background: #e50909;

    color: #ffffff;

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

    z-index: 3;
}


/* Circular icon */

.step-icon {
    width: 92px;
    height: 92px;

    display: flex;

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

    border-radius: 50%;

    background: #ffffff;

    color: #e50909;

    font-size: 37px;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, .07);
}


/* Step heading */

.step h3 {
    margin: 15px 0 8px;

    font-size: 17px;

    font-weight: 800;

    color: #071633;
}


/* Step description */

.step p {
    margin: 0;

    font-size: 14px;

    line-height: 1.55;

    color: #64748b;
}


/* Connecting line */

.step-line {
    flex: 0 0 65px;

    height: 3px;

    margin-top: 54px;

    border-top: 3px dotted #cbd5e1;
}


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

.about-pinlocate {
    position: relative;

    min-height: 370px;

    padding: 42px 6% 40px;

    display: flex;

    justify-content: space-between;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fffafa,
            #f8fbff
        );

    border-left: 1px solid #e2e8f0;
}


/* Content */

.about-content {
    position: relative;

    z-index: 3;

    width: 55%;

    max-width: 550px;
}


/* Description */

.about-description {
    margin: 0 0 22px;

    max-width: 520px;

    font-size: 16px;

    line-height: 1.55;

    color: #334155;
}


/* =========================================================
   STATS
========================================================= */

.about-stats {
    display: flex;

    align-items: center;

    gap: 25px;

    margin: 18px 0 24px;
}

.stat {
    display: flex;

    align-items: center;

    gap: 10px;
}

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

    flex: none;

    display: flex;

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

    border-radius: 50%;

    background: #ffffff;

    color: #e50909;

    font-size: 19px;

    box-shadow:
        0 5px 18px rgba(15, 23, 42, .08);
}

.stat div:last-child {
    display: flex;

    flex-direction: column;
}

.stat strong {
    font-size: 17px;

    line-height: 1.2;

    color: #071633;
}

.stat span {
    margin-top: 3px;

    font-size: 12px;

    color: #64748b;
}


/* =========================================================
   LEARN MORE
========================================================= */

.learn-more-btn {
    width: max-content;

    min-width: 185px;
    height: 55px;

    padding: 0 20px;

    display: inline-flex;

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

    gap: 12px;

    border-radius: 10px;

    background: #e50909;

    color: #ffffff;

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

    box-shadow:
        0 7px 18px rgba(229, 9, 9, .2);

    transition: .25s ease;
}

.learn-more-btn:hover {
    background: #c90000;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(229, 9, 9, .28);
}


/* =========================================================
   DEVELOPER AREA
========================================================= */

.developer-area {
    position: absolute;

    right: 2%;

    bottom: 0;

    width: 44%;

    height: 100%;
}


/* Developer image */

.developer-image {
    position: absolute;

    right: 110px;
    bottom: 0;

    width: 260px;
    height: 350px;

    object-fit: cover;
    object-position: center top;

    border-radius: 120px 120px 0 0;

    z-index: 1;

    /* Remove this if your PNG already has transparent background */
    mix-blend-mode: multiply;
}


/* Handwritten message */

.developer-note {
    position: absolute;

    right: 0;
    top: 40px;

    width: 130px;

    font-family:
        "Comic Sans MS",
        "Segoe Print",
        cursive;

    font-size: 17px;

    line-height: 1.45;

    color: #334155;

    transform: rotate(-5deg);

    z-index: 3;
}

.developer-note strong {
    font-weight: 700;
}

.developer-note span {
    color: #e50909;

    font-size: 20px;
}


/* =========================================================
   DEVELOPER CARD
========================================================= */

.developer-card {
    position: absolute;

    right: 0;
    bottom: 15px;

    width: 325px;

    min-height: 105px;

    padding: 14px;

    display: flex;

    align-items: center;

    gap: 13px;

    background: rgba(255,255,255,.94);

    border: 1px solid rgba(226,232,240,.8);

    border-radius: 17px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.12);

    backdrop-filter: blur(8px);

    z-index: 4;
}

.developer-code {
    width: 48px;
    height: 48px;

    flex: none;

    display: flex;

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

    border-radius: 50%;

    background: #071d43;

    color: #ffffff;

    font-size: 21px;
}

.developer-info {
    display: flex;

    flex-direction: column;

    min-width: 0;
}

.developer-info small {
    color: #64748b;

    font-size: 11px;
}

.developer-info strong {
    margin: 2px 0;

    color: #071633;

    font-size: 18px;
}

.developer-info span {
    font-size: 11px;

    color: #475569;
}

.developer-info p {
    margin: 2px 0 0;

    font-size: 10px;

    color: #64748b;
}


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

.footer {
    width: 100%;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #071426,
            #0b1828
        );
}


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

.footer-main {
    width: min(1400px, calc(100% - 100px));

    margin: auto;

    min-height: 230px;

    padding: 38px 0 30px;

    display: grid;

    grid-template-columns:
        1.4fr
        .9fr
        1.2fr
        1.3fr
        .7fr;

    gap: 45px;
}


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

.footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;
}

.footer-logo > i {
    color: #ff0038;

    font-size: 43px;
}

.footer-logo div {
    display: flex;

    flex-direction: column;
}

.footer-logo strong {
    font-size: 27px;

    line-height: 1;
}

.footer-logo span {
    margin-top: 5px;

    font-size: 12px;

    color: #cbd5e1;
}

.footer-brand > p {
    max-width: 360px;

    margin: 22px 0 18px;

    font-size: 14px;

    line-height: 1.7;

    color: #cbd5e1;
}

.footer-brand em {
    font-size: 13px;

    color: #94a3b8;
}


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

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-column h3 {
    margin: 4px 0 7px;

    font-size: 16px;

    font-weight: 700;

    color: #ffffff;
}

.footer-line {
    width: 100px;
    height: 2px;

    margin-bottom: 12px;

    background:
        linear-gradient(
            90deg,
            #ffffff 45%,
            #475569 45%
        );
}

.footer-column > a {
    margin: 4px 0;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #cbd5e1;

    font-size: 14px;

    transition: color .2s ease;
}

.footer-column > a:hover {
    color: #ffffff;
}

.footer-column > a i {
    font-size: 10px;
}


/* =========================================================
   SOCIAL
========================================================= */

.social-icons {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 7px 0 12px;
}

.social-icons a {
    width: 37px;
    height: 37px;

    display: flex;

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

    border-radius: 50%;

    background: #ffffff;

    color: #071426;

    font-size: 17px;

    transition: .2s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);

    background: #e50909;

    color: #ffffff;
}

.social-text {
    margin: 3px 0 13px;

    color: #cbd5e1;

    font-size: 13px;
}

.email-link {
    white-space: nowrap;
}


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

.footer-quote {
    display: flex;

    gap: 20px;

    align-items: center;
}

.footer-quote > span {
    width: 1px;
    height: 140px;

    background: #475569;
}

.footer-quote p {
    margin: 0;

    font-family:
        "Comic Sans MS",
        "Segoe Print",
        cursive;

    font-size: 21px;

    line-height: 1.4;

    color: #cbd5e1;
}

.footer-quote b {
    color: #ff0038;

    font-size: 24px;
}


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

.footer-bottom {
    width: min(1400px, calc(100% - 100px));

    margin: auto;

    min-height: 48px;

    padding: 13px 0;

    display: flex;

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

    gap: 20px;

    border-top: 1px solid rgba(148,163,184,.18);

    color: #94a3b8;

    font-size: 12px;
}

.footer-bottom a {
    color: #94a3b8;

    transition: color .2s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.footer-bottom strong {
    color: #ffffff;
}

.footer-bottom b {
    color: #ff0038;

    font-size: 16px;
}

.separator {
    margin: 0 10px;

    color: #475569;
}

.footer-bottom > div:last-child {
    display: flex;

    align-items: center;

    gap: 10px;
}


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

@media (max-width: 1100px) {

    .info-section {
        grid-template-columns: 1fr;
    }

    .about-pinlocate {
        min-height: 400px;
    }

    .footer-main {
        grid-template-columns:
            1.3fr
            1fr
            1fr;

        gap: 35px;
    }

    .footer-quote {
        display: none;
    }
}


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

@media (max-width: 700px) {

    .how-it-works {
        padding: 35px 20px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .steps {
        flex-direction: column;

        gap: 20px;
    }

    .step {
        width: 100%;

        display: grid;

        grid-template-columns: 80px 1fr;

        column-gap: 18px;

        text-align: left;

        align-items: center;
    }

    .step-top {
        grid-row: span 2;

        width: 80px;
        height: 80px;
    }

    .step-icon {
        width: 70px;
        height: 70px;

        font-size: 28px;
    }

    .step-number {
        width: 28px;
        height: 28px;

        font-size: 12px;
    }

    .step h3 {
        margin: 0 0 5px;

        font-size: 16px;
    }

    .step p {
        font-size: 13px;
    }

    .step-line {
        display: none;
    }


    /* About */

    .about-pinlocate {
        min-height: auto;

        padding: 35px 20px 25px;

        display: block;
    }

    .about-content {
        width: 100%;

        max-width: none;
    }

    .about-description {
        font-size: 14px;
    }

    .about-stats {
        flex-wrap: wrap;

        gap: 15px;
    }

    .developer-area {
        position: relative;

        right: auto;
        bottom: auto;

        width: 100%;

        height: 330px;

        margin-top: 20px;
    }

    .developer-image {
        right: 20%;

        width: 220px;
        height: 290px;
    }

    .developer-note {
        right: 0;

        font-size: 14px;
    }

    .developer-card {
        right: 0;
        left: 0;

        width: 100%;

        bottom: 5px;
    }


    /* Footer */

    .footer-main {
        width: calc(100% - 40px);

        padding: 35px 0;

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-brand > p {
        max-width: 100%;
    }

    .footer-column {
        align-items: flex-start;
    }

    .footer-quote {
        display: none;
    }

    .footer-bottom {
        width: calc(100% - 40px);

        padding: 18px 0;

        flex-direction: column;

        text-align: center;

        gap: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .about-stats {
        display: grid;

        grid-template-columns: 1fr 1fr;
    }

    .stat:last-child {
        grid-column: 1 / -1;
    }

    .learn-more-btn {
        width: 100%;
    }

    .developer-image {
        right: 12%;
    }

    .developer-card {
        padding: 11px;
    }

    .developer-info strong {
        font-size: 16px;
    }

    .footer-logo strong {
        font-size: 24px;
    }
}


















































/*About Page*/
/* -------------------------------
   Page content
------------------------------- */

.page-main {
  padding: 45px;
}

.hero-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(96, 165, 250, 0.18));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-compact {
  padding: 56px 0 28px;
}

.hero-copy {
  max-width: 760px;
}

.section-tag {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 700px;
}

.content-section {
  padding: 42px 0 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.info-card,
.text-panel,
.cta-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.info-card {
  padding: 24px;
}

.icon-box {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.text-panel {
  padding: 28px 26px;
  margin-top: 18px;
}

.text-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.steps {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.steps li + li {
  margin-top: 10px;
}

.text-panel p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------
   CTA Section
------------------------------- */

.cta-section {
  padding: 24px 0 18px;
}

.cta-box {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.cta-box p {
  margin: 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}














/* Legal page content styling */
.privacy-policy,
.terms-of-use {
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 48px 52px 56px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.privacy-policy h1,
.terms-of-use h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #0f172a;
    line-height: 1.2;
}

.privacy-policy p,
.terms-of-use p,
.privacy-policy li,
.terms-of-use li {
    color: #334155;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0 0 14px;
}

.privacy-policy h2,
.terms-of-use h2 {
    margin: 28px 0 12px;
    color: #0f172a;
    font-size: 1.35rem;
}

.privacy-policy h3,
.terms-of-use h3 {
    margin: 22px 0 10px;
    color: #0f172a;
    font-size: 1.1rem;
}

.privacy-policy ul,
.terms-of-use ul {
    margin: 0 0 20px 22px;
    padding-left: 10px;
}

.privacy-policy a,
.terms-of-use a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
}

.privacy-policy a:hover,
.terms-of-use a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .privacy-policy,
    .terms-of-use {
        margin-top: 30px;
        padding: 28px 22px 32px;
        border-radius: 18px;
    }
}