/* ====== Root Variables ====== */
:root {
    --ink: #1d2340;
    --muted: #6c738a;
    --bg: #f7f8fb;
    --card: #ffffff;
    --line: #e9ecf3;
    --green: #87e354;
    --green2: #6fd83e;
}

/* ====== Base Styles ====== */
body {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}

.stage {
    background: #fff;
    max-width: 1010px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.float-dollar {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(170, 180, 210, .18);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: rgba(80, 95, 140, .35);
    box-shadow: 0 10px 22px rgba(30, 40, 80, .10);
    pointer-events: none;
}

/* ====== Header/Nav ====== */
header {
    padding: 8px 0;
    background: white;
    border-bottom: 1px solid rgba(230, 235, 245, .4);
    top: 0;
    z-index: 100;
}

.hero-img {
    width: 32em;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar-toggler {
    border: none !important;
    padding: 8px 12px;
    outline: none;
    background-color: transparent;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 1000;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none;
}

.navbar-toggler:active,
.navbar-toggler:focus,
.navbar-toggler.collapsed {
    transform: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.navbar-brand img {
    width: 8em;
}

.navbar-collapse {
    flex-basis: 100%;
    order: 3;
    width: 100%;
}

.brand img {
    width: 140px;
    height: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

nav a {
    font-weight: 400;
    font-size: 15px;
    color: #1d2340;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #6fd83e;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #1d2340;
    font-size: 15px;
    text-decoration: none;
}

.phone .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(140, 232, 90, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone svg {
    width: 14px;
    height: 14px;
}

.signin {
    font-size: 16px;
    color: #1d2340;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.signin:hover {
    color: #6fd83e;
}

/* ====== Hero ====== */
.hero {
    background: url('../images/hero.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    position: relative;
    z-index: 2;
    padding: 60px 0 80px;
}

.hero-grid {
    display: none;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-copy h1 {
    margin: 0;
    font-size: 55px;
    line-height: 1.12;
    letter-spacing: 2px;
    font-weight: 900;
    color: #1d2340;
}

.hero-copy .accent {
    color: #87e354;
    text-shadow: 0 8px 24px rgba(142, 232, 90, .25);
}

.hero-copy p {
    margin: 0;
    color: #6c738a;
    font-size: 20px;
    line-height: 1.65;
    max-width: 420px;
    font-weight: 400;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(110, 220, 70, .35);
    background: linear-gradient(180deg, rgba(140, 232, 90, .18), rgba(140, 232, 90, .08));
    color: #1c2a1a;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 18px 40px rgba(120, 230, 90, .10);
}

.illu {
    margin-top: 24px;
    width: 100%;
    max-width: 280px;
    aspect-ratio: auto;
}

.illu img {
    width: 100%;
    height: auto;
    display: block;
}

/* ====== Calculator Card ====== */
.calc {
    width: 100%;
    max-width: 580px;
    border-radius: 32px;
    background: white;
    box-shadow: 0 20px 48px rgba(20, 30, 60, .16);
    border: 1px solid rgba(230, 235, 245, .98);
    overflow: hidden;
}

.calc label {
    font-size: 15px;
    font-weight: 600;
}

.calc-head {
    padding: 24px 24px 22px;
    background: #87e354;
    color: white;
    letter-spacing: .3px;
    font-size: 24px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.calc-body {
    padding: 26px 26px 28px;
}

.row {
    margin: 0 0 16px;
    font-size: 12px;
    color: #1d2340;
    font-weight: 600;
    letter-spacing: .2px;
}

.row .col {
    opacity: .75;
    text-align: center;
}

.row .col:first-child {
    text-align: left;
}

.row .col:last-child {
    text-align: right;
}

.row .col:nth-child(2) {
    color: #000;
}

/* ====== Slider ====== */
.slider {
    position: relative;
    height: 10px;
    background: #e8f0e0;
    border-radius: 999px;
    overflow: visible;
    border: none;
    margin-bottom: 24px;
    box-shadow: none;
    cursor: pointer;
}

.slider .fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 58%;
    background: #87e354;
    border-radius: 999px;
}

.slider .knob {
    position: absolute;
    top: 50%;
    left: 58%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid #6fd83e;
    box-shadow: 0 2px 8px rgba(111, 216, 62, .25);
    z-index: 10;
    cursor: grab;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.slider .knob:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 4px 12px rgba(111, 216, 62, .4);
}

.slider.small .fill {
    width: 64%;
}

.slider.small .knob {
    left: 64%;
}

.slider.tiny .fill {
    width: 36%;
}

.slider.tiny .knob {
    left: 36%;
}

/* ====== Calculator Stats ====== */
.calc-stats {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid #eaeef5;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #1d2340;
    opacity: .8;
    font-weight: 600;
}

.calc-stats span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.calc-stats b {
    font-size: 17px;
    opacity: 1;
    font-weight: 700;
    margin-left: auto;
}

.apply {
    margin-top: 18px;
    width: 100%;
    border: 0;
    padding: 16px 16px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: .3px;
    color: #fff;
    background: #87e354;
    box-shadow: 0 4px 12px rgba(111, 216, 62, .15);
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.apply:hover {
    box-shadow: 0 6px 18px rgba(111, 216, 62, .25);
    transform: translateY(-2px);
}

.apply:active {
    transform: translateY(0);
}

/* ====== Steps Section ====== */
.steps {
    padding: 60px 0 50px;
    text-align: center;
    background: #fefefe;
}

.steps .kicker {
    font-size: 14px;
    font-weight: 400;
    color: #67a8bd;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: none;
}

.steps h2 {
    margin: 0 0 50px;
    font-size: 42px;
    letter-spacing: -.5px;
    font-weight: 700;
    color: #1d2340;
}

.step {
    text-align: left;
}

.step h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: #1d2340;
}

.step .ico img {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
}

.step p {
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.7;
    color: #6c738a;
    font-weight: 400;
}

.step svg {
    width: 24px;
    height: 24px;
    opacity: .75;
}

/* ====== Testimonials ====== */
.testimonials {
    padding: 60px 0 50px;
    text-align: center;
    background: #f7f8fb;
}

.trust {
    font-size: 12px;
    font-weight: 700;
    color: rgba(110, 216, 62, .95);
    letter-spacing: .8px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.testimonials h2 {
    margin: 0 0 40px;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.4px;
    color: #1f2641;
}

.testimonials .row {
    display: flex;
    flex-wrap: wrap;
}

.testimonials .row>[class*="col-"] {
    display: flex;
}

.tcard {
    background: var(--card);
    border: 1px solid rgba(230, 235, 245, .9);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(140, 232, 90, .22), 12px 0 28px rgba(140, 232, 90, .12), -12px 0 28px rgba(140, 232, 90, .12);
    padding: 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tcard:before {
    content: '"';
    position: absolute;
    inset: -30px -40px auto auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(140, 232, 90, .08);
    filter: blur(.2px);
}

.tcard .quote-mark {
    font-size: 32px;
    font-weight: 700;
    color: rgba(140, 232, 90, .35);
    line-height: 0.8;
    margin-bottom: 8px;
}

.tcard .profile-img {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #e9ecf3 0%, #dee2e6 100%);
    object-fit: cover;
    display: block;
}

.sig {
    font-size: 34px;
    font-weight: 600;
    letter-spacing: .2px;
    color: rgba(110, 216, 62, .45);
    margin: 0;
    line-height: 1;
    display: none;
}

.quote {
    margin: 0;
    padding: 20px 16px 12px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(30, 40, 70, .75);
    font-weight: 500;
    position: relative;
    flex-grow: 1;
}

.quote:before {
    content: '"';
    position: absolute;
    left: 12px;
    top: -15px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(140, 232, 90, .30);
    line-height: 1;
}

.who {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 16px 16px;
}

.who b {
    font-size: 13px;
    color: #1f2641;
    font-weight: 600;
}

.who span {
    font-size: 11px;
    color: rgba(30, 40, 70, .60);
    font-weight: 500;
}

/* ====== Popup Modal ====== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 35, 64, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 25px 60px rgba(20, 30, 60, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.popup-overlay.active .popup-modal {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: linear-gradient(180deg, #87e354 0%, #77d847 100%);
    padding: 24px 28px;
    position: relative;
}

.popup-header h3 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.popup-header p {
    margin: 8px 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.popup-close svg {
    width: 16px;
    height: 16px;
    stroke: white;
}

.popup-body {
    padding: 28px;
    max-height: 90vh;
    overflow-y: auto;
}

/* ====== Application Popup Form Styles ====== */
.popup-body .form-group {
    margin-bottom: 16px;
}

.popup-body .form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1d2340;
    margin-bottom: 8px;
}

.popup-body .form-group input[type="text"],
.popup-body .form-group input[type="email"],
.popup-body .form-group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e9ecf3;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1d2340;
    transition: all 0.2s ease;
    background: #f7f8fb;
    box-sizing: border-box;
}

.popup-body .form-group input:focus {
    outline: none;
    border-color: #87e354;
    background: white;
    box-shadow: 0 0 0 4px rgba(142, 232, 90, 0.15);
}

.popup-body .form-group input::placeholder {
    color: #a0a5b5;
}

.popup-body .step-subtitle {
    font-size: 14px;
    color: #6c738a;
    margin-bottom: 20px;
    line-height: 1.5;
}

.popup-summary {
    background: linear-gradient(135deg, rgba(142, 232, 90, 0.08) 0%, rgba(111, 216, 62, 0.12) 100%);
    border: 1px solid rgba(142, 232, 90, 0.25);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.popup-summary h4 {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    color: #6fd83e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(142, 232, 90, 0.15);
}

.popup-summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popup-summary-row span {
    font-size: 14px;
    color: #6c738a;
    font-weight: 500;
}

.popup-summary-row strong {
    font-size: 15px;
    color: #1d2340;
    font-weight: 700;
}

.popup-form .form-group {
    margin-bottom: 16px;
}

.popup-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1d2340;
    margin-bottom: 8px;
}

.popup-form input,
.popup-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e9ecf3;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1d2340;
    transition: all 0.2s ease;
    background: #f7f8fb;
}

.popup-form input:focus,
.popup-form select:focus {
    outline: none;
    border-color: #87e354;
    background: white;
    box-shadow: 0 0 0 4px rgba(142, 232, 90, 0.15);
}

.popup-form input::placeholder {
    color: #a0a5b5;
}

.popup-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #87e354 0%, #77d847 100%);
    color: white;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(142, 232, 90, 0.3);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.popup-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(142, 232, 90, 0.4);
}

.popup-footer {
    text-align: center;
    padding: 0 28px 24px;
}

.popup-footer p {
    margin: 0;
    font-size: 12px;
    color: #6c738a;
    line-height: 1.6;
}

.popup-footer i {
    color: #87e354;
    margin-right: 6px;
}

/* ====== Multi-Step Form ====== */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e0e4eb;
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #6fd83e 0%, #87e354 100%);
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.4s ease;
    width: 50%;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e4eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #6c738a;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-dot.active {
    background: #6fd83e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(111, 216, 62, 0.4);
}

.step-dot.completed {
    background: #6fd83e;
    color: white;
}

.step-dot.completed::after {
    content: '\2713';
    font-size: 14px;
    font-weight: 700;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.popup-form-step {
    display: none;
}

.popup-form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c738a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d2340;
    margin-bottom: 20px;
    line-height: 1.3;
}

.step-subtitle {
    font-size: 14px;
    color: #6c738a;
    margin-bottom: 24px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f7f8fb;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #6c738a;
}

.info-box i {
    color: #6c738a;
    font-size: 14px;
}

.option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.option-btn {
    padding: 14px 16px;
    border: 1px solid #e0e4eb;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #1d2340;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.option-btn:hover {
    border-color: #6fd83e;
    background: rgba(111, 216, 62, 0.05);
}

.option-btn.selected {
    border-color: #6fd83e;
    background: rgba(111, 216, 62, 0.1);
    color: #1d2340;
}

.option-btn.full-width {
    grid-column: 1 / -1;
}

.yes-no-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.form-select-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.form-select-wrapper select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e4eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #1d2340;
    background: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.form-select-wrapper select:focus {
    outline: none;
    border-color: #6fd83e;
}

.form-select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6c738a;
    pointer-events: none;
}

.amount-display {
    display: inline-block;
    padding: 10px 20px;
    background: #1d2340;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.slider-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1d2340;
    margin-bottom: 12px;
}

.amount-slider-container {
    margin-bottom: 12px;
}

.amount-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6c738a;
    margin-top: 8px;
}

.btn-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-back {
    padding: 14px 24px;
    border: 1px solid #e0e4eb;
    border-radius: 10px;
    background: white;
    font-size: 24px;
    font-weight: 500;
    color: #1d2340;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back:hover {
    border-color: #c0c4cb;
    background: #f7f8fb;
}

.btn-next {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6fd83e 0%, #5bc52e 100%);
    font-size: 24px;
    font-weight: 400;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn {
    font-size: 20px;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 216, 62, 0.3);
}

.btn-next:disabled {
    background: #e0e4eb;
    color: #a0a5b5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ====== Calc Form ====== */
.calc-form input,
.calc-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e9ecf3;
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    color: #1d2340;
    transition: all 0.2s ease;
    background: #f7f8fb;
}

.calc-form input:focus,
.calc-form select:focus {
    outline: none;
    border-color: #6fd83e;
    background: white;
}

.calc-form .form-group {
    margin-bottom: 12px;
}

.calc-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #1d2340;
    margin-bottom: 6px;
}

.calc-form .step-title {
    font-size: 16px;
    margin-bottom: 16px;
}

.calc-form .step-label {
    font-size: 11px;
    margin-bottom: 6px;
}

.calc-form .step-subtitle {
    font-size: 12px;
    margin-bottom: 16px;
}

.calc-form .info-box {
    padding: 10px 12px;
    font-size: 11px;
    margin-bottom: 14px;
}

.calc-form .option-grid {
    gap: 8px;
    margin-bottom: 14px;
}

.calc-form .option-btn {
    padding: 10px 12px;
    font-size: 12px;
}

.calc-form .btn-row {
    margin-top: 16px;
}

.calc-form .btn-back {
    padding: 12px 16px;
    font-size: 13px;
}

.calc-form .btn-next {
    padding: 12px 16px;
    font-size: 13px;
}

/* ====== Success Popup ====== */
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6fd83e 0%, #5bc52e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d2340;
    text-align: center;
    margin-bottom: 12px;
}

.success-message {
    font-size: 14px;
    color: #6c738a;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 24px;
}

.success-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6fd83e 0%, #5bc52e 100%);
    font-size: 20px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 216, 62, 0.3);
}

/* ====== Page Header (for inner pages) ====== */
.page-header {
    background: linear-gradient(135deg, #87e354 0%, #6fd83e 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.page-header p {
    margin: 12px 0 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* ====== Content Section (for inner pages) ====== */
.content-section {
    padding: 60px 0;
}

.content-section .container {
    background: #f7f8fb;
    border-radius: 24px;
    padding: 40px 48px;
    border: 1px solid rgba(230, 235, 245, 0.9);
    box-shadow: 0 8px 32px rgba(20, 30, 60, 0.06);
}

.content-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1d2340;
    margin: 32px 0 16px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #6c738a;
    margin-bottom: 16px;
}

.content-section ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-section li {
    font-size: 15px;
    line-height: 1.8;
    color: #6c738a;
    margin-bottom: 8px;
}

.content-section a {
    color: #6fd83e;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

.last-updated {
    font-size: 14px;
    color: #6c738a;
    font-style: italic;
    margin-bottom: 32px;
}

/* ====== Footer ====== */
footer {
    padding: 0px;
    background: #ffffff;
    border-top: 1px solid rgba(230, 235, 245, .9);
}

footer h4 {
    margin: 0 0 16px;
    font-size: 11px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(30, 40, 70, .65);
    font-weight: 800;
}

footer .col-lg-3 {
    display: flex;
    flex-direction: column;
}

footer .col-lg-3 a {
    display: inline;
    padding: 0;
    margin-right: 0;
    font-size: 13px;
    color: #000;
    font-weight: 500;
    line-height: 1.8;
    text-decoration: none;
    margin-left: 12px;
}


footer .col-lg-3 a:hover {
    color: #6fd83e;
}

.follow {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.social i {
    font-size: 15px;
    color: #000;
}

.foot-cta {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 800;
    color: #1f2641;
    text-decoration: none;
}

/* ====== Responsive - 992px ====== */
@media (max-width: 992px) {
    .hero-copy h1 {
        font-size: 44px;
    }

    nav ul {
        gap: 0px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .calc {
        max-width: 100%;
    }

    .illu {
        max-width: 100%;
    }
}

/* ====== Responsive - 768px ====== */
@media (max-width: 768px) {
    .hero-img {
        width: 100%;
    }
}

/* ====== Responsive - 576px ====== */
@media (max-width: 576px) {
    .navbar-brand img {
        width: 5em;
    }

    .popup-header h3 {
        font-size: 18px;
    }

    .apply {
        font-size: 20px;
    }

    .info-box {
        font-size: 10px;
    }

    .btn-next,
    .btn-back {
        font-size: 20px;
    }

    .submit-btn {
        font-size: 15px;
        padding: 10px 10px;
    }

    .hero {
        padding: 10px 0px;
    }

    .hero-copy h1 {
        font-size: 30px;
        text-align: center;
        font-weight: 600;
    }

    .hero-copy p {
        font-size: 14px;
        text-align: center;
    }

    .calc-head {
        font-size: 18px;
    }

    .steps h2 {
        margin: 0 0 20px;
        font-size: 23px;
    }

    .testimonials h2 {
        margin: 0 0 30px;
        font-size: 26px;
    }

    /* Hide hamburger and nav on mobile, center logo */
    .navbar-toggler {
        display: none !important;
    }

    .navbar-collapse {
        display: none !important;
    }

    .navbar {
        justify-content: center !important;
    }

    .navbar .container-fluid {
        justify-content: center !important;
    }

    .navbar-brand {
        margin: 0 auto;
    }

    .calc {
        max-width: 100%;
    }

    .illu {
        max-width: 100%;
    }

    /* Footer center align on mobile */
    footer .col-lg-2,
    footer .col-lg-3,
    footer .col-lg-4 {
        text-align: center;
    }

    footer .brand {
        display: flex;
        justify-content: center;
    }

    footer .col-lg-3 a {
        margin-left: 0;
    }

    footer .follow {
        justify-content: center;
    }

    footer .foot-cta {
        display: block;
        text-align: center;
    }

    /* Page header responsive */
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .content-section {
        padding: 10px 22px;
    }

    .content-section .container {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .content-section h2 {
        font-size: 20px;
    }

    /* Contact page responsive */
    .contact-section {
        padding: 40px 0 60px;
    }

    .contact-info,
    .contact-form-card {
        padding: 28px;
    }

    .contact-info h3,
    .contact-form-card h3 {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-icon {
        width: 44px;
        height: 44px;
    }

    .info-icon i {
        font-size: 18px;
    }

    .faq-preview h2 {
        font-size: 24px;
    }

    .map-placeholder {
        height: 250px;
    }
}

/* ====== Contact Page Styles ====== */
.contact-section {
    padding: 10px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info {
    padding: 40px;
    background: linear-gradient(135deg, rgba(142, 232, 90, 0.08) 0%, rgba(111, 216, 62, 0.12) 100%);
    border-radius: 24px;
    border: 1px solid rgba(142, 232, 90, 0.25);
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1d2340;
    margin-bottom: 12px;
}

.contact-info > p {
    font-size: 15px;
    color: #6c738a;
    line-height: 1.7;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #87e354 0%, #6fd83e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(142, 232, 90, 0.3);
}

.info-icon i {
    font-size: 20px;
    color: white;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1d2340;
    margin-bottom: 4px;
}

.info-content p {
    font-size: 14px;
    color: #6c738a;
    margin: 0;
    line-height: 1.6;
}

.info-content a {
    color: #6c738a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #6fd83e;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid rgba(142, 232, 90, 0.25);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    border: 1px solid rgba(142, 232, 90, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d2340;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #87e354 0%, #6fd83e 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(142, 232, 90, 0.3);
}

.social-link i {
    font-size: 18px;
}

/* Contact Form */
.contact-form-card {
    background: white;
    border-radius: 24px;
    padding:22px;
    box-shadow: 0 20px 48px rgba(20, 30, 60, 0.12);
    border: 1px solid rgba(230, 235, 245, 0.9);
    display: flex;
    flex-direction: column;
}

.contact-form-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1d2340;
    margin-bottom: 8px;
}

.contact-form-card > p {
    font-size: 14px;
    color: #6c738a;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1d2340;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e9ecf3;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1d2340;
    background: #f7f8fb;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #87e354;
    background: white;
    box-shadow: 0 0 0 4px rgba(142, 232, 90, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0a5b5;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #87e354 0%, #6fd83e 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(142, 232, 90, 0.3);
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(142, 232, 90, 0.4);
}

.contact-form .submit-btn i {
    font-size: 14px;
}

/* Map Section */
.map-section {
    padding: 0 0 60px;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(20, 30, 60, 0.12);
    border: 1px solid rgba(230, 235, 245, 0.9);
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #f7f8fb 0%, #e9ecf3 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.map-placeholder i {
    font-size: 48px;
    color: #87e354;
}

.map-placeholder p {
    font-size: 16px;
    color: #6c738a;
    margin: 0;
}

/* FAQ Preview */
.faq-preview {
    padding: 60px 0;
    background: #f7f8fb;
}

.faq-preview h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1d2340;
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(230, 235, 245, 0.9);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 12px 32px rgba(142, 232, 90, 0.15);
    border-color: rgba(142, 232, 90, 0.3);
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1d2340;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-item h4 i {
    color: #87e354;
    font-size: 18px;
    margin-top: 2px;
}

.faq-item p {
    font-size: 14px;
    color: #6c738a;
    line-height: 1.7;
    margin: 0;
    padding-left: 30px;
}

/* Contact Page Responsive - 992px */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-card {
        order: 1;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}
