/* =========================================================
   ROOT
========================================================= */

:root {

    --primary: #015792;

    --primary-dark: #01446f;

    --primary-light: #eaf6fc;

    --primary-soft: #f3faff;

    --white: #ffffff;

    --black: #172b4d;

    --text: #475569;

    --text-light: #64748b;

    --border: #dce7ed;

    --success: #25d366;

    --success-dark: #1ebe5d;

    --shadow:
        0 15px 45px rgba(1, 55, 90, 0.08);

    --shadow-hover:
        0 20px 55px rgba(1, 55, 90, 0.14);

    --transition: 0.35s ease;

}


/* =========================================================
   GLOBAL
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "Inter", sans-serif;

    background: #f7fafc;

    color: var(--black);

    overflow-x: hidden;

}


button,
input,
select,
textarea {

    font-family: inherit;

}


::selection {

    background: var(--primary);

    color: var(--white);

}


/* =========================================================
   HERO
========================================================= */

.quote-hero {

    height: 400px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    color: var(--white);

    background:
        linear-gradient(
            125deg,
            #013e66 0%,
            var(--primary-dark) 42%,
            var(--primary) 100%
        );

}


/* Animated Grid */

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: 0.08;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.4) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.4) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    animation: gridMove 18s linear infinite;

}


@keyframes gridMove {

    from {

        transform: translate(0, 0);

    }

    to {

        transform: translate(50px, 50px);

    }

}


/* Decorative Shapes */

.hero-shape {

    position: absolute;

    border: 1px solid rgba(255,255,255,0.13);

    border-radius: 50%;

    pointer-events: none;

}


.hero-shape-one {

    width: 520px;

    height: 520px;

    right: -200px;

    top: -250px;

    animation: floatingCircle 8s ease-in-out infinite;

}


.hero-shape-two {

    width: 350px;

    height: 350px;

    left: -170px;

    bottom: -220px;

    border-color: rgba(255,255,255,0.08);

    animation: floatingCircle 10s ease-in-out infinite reverse;

}


@keyframes floatingCircle {

    0%,
    100% {

        transform: translateY(0) rotate(0deg);

    }

    50% {

        transform: translateY(15px) rotate(8deg);

    }

}


/* Hero Content */

.quote-hero-content {

    max-width: 850px;

    margin: auto;

    padding: 85px 0 125px;

    position: relative;

    z-index: 2;

}


/* Hero Label */

.hero-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    margin-bottom: 22px;

    border: 1px solid rgba(255,255,255,0.2);

    border-radius: 50px;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(8px);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.hero-label i {

    font-size: 14px;

}


/* Hero Heading */

.quote-hero h1 {

    margin-bottom: 20px;

    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1.8px;

}


.quote-hero h1 span {

    display: block;

    color: #8ed1f5;

}


/* Hero Paragraph */

.quote-hero p {

    max-width: 680px;

    margin: 0 auto 28px;

    color: rgba(255,255,255,0.78);

    font-size: 15px;

    line-height: 1.8;

}


/* Hero Badges */

.hero-badges {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}


.hero-badges span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 13px;

    border-radius: 50px;

    background: rgba(255,255,255,0.09);

    border: 1px solid rgba(255,255,255,0.12);

    color: rgba(255,255,255,0.82);

    font-size: 10px;

    font-weight: 600;

}


.hero-badges i {

    color: #8ed1f5;

    font-size: 12px;

}


/* =========================================================
   QUOTE SECTION
========================================================= */

.quote-section {

    position: relative;

    padding: 100px 0 80px;

    background: #f7fafc;

}


/* =========================================================
   QUOTE CARD
========================================================= */

.quote-card {

    position: relative;

    max-width: 1000px;

    margin: -75px auto 0;

    padding: 45px;

    background: var(--white);

    border: 1px solid rgba(1,87,146,0.08);

    border-radius: 20px;

    box-shadow: var(--shadow);

    z-index: 5;

}


/* Top Border */

.quote-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 4px;

    border-radius: 20px 20px 0 0;

    background:
        linear-gradient(
            90deg,
            var(--primary-dark),
            var(--primary),
            #58b5e8
        );

}


/* =========================================================
   FORM HEADER
========================================================= */

.quote-card-header {

    max-width: 650px;

    margin: 0 auto 38px;

}


.quote-card-icon {

    width: 58px;

    height: 58px;

    margin: 0 auto 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 22px;

    transition: var(--transition);

}


.quote-card:hover .quote-card-icon {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(1,87,146,0.12);

}


.section-label {

    display: block;

    margin-bottom: 9px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.quote-card-header h2 {

    margin-bottom: 10px;

    color: var(--black);

    font-size: clamp(28px, 4vw, 38px);

    font-weight: 750;

}


.quote-card-header p {

    margin: 0;

    color: var(--text-light);

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
   FORM
========================================================= */

.form-group {

    position: relative;

}


.form-group label {

    display: block;

    margin-bottom: 8px;

    color: var(--black);

    font-size: 12px;

    font-weight: 700;

}


.form-group label span {

    color: #dc3545;

}


.form-group label small {

    color: var(--text-light);

    font-size: 9px;

    font-weight: 500;

}


/* =========================================================
   INPUT WRAPPER
========================================================= */

.input-wrapper,
.textarea-wrapper {

    position: relative;

}


.input-wrapper > i,
.textarea-wrapper > i {

    position: absolute;

    left: 16px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--primary);

    font-size: 16px;

    pointer-events: none;

    z-index: 2;

}


.textarea-wrapper > i {

    top: 20px;

    transform: none;

}


/* =========================================================
   FORM CONTROL
========================================================= */

.form-control,
.form-select {

    width: 100%;

    min-height: 52px;

    padding: 12px 15px 12px 45px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: #fbfdfe;

    color: var(--black);

    font-size: 12px;

    transition: all var(--transition);

}


.form-control::placeholder {

    color: #9aa8b4;

}


.form-control:hover,
.form-select:hover {

    border-color: #b9d3e1;

    background: var(--white);

}


.form-control:focus,
.form-select:focus {

    border-color: var(--primary);

    background: var(--white);

    box-shadow:
        0 0 0 4px rgba(1,87,146,0.08);

}


textarea.form-control {

    min-height: 145px;

    padding-top: 15px;

    resize: vertical;

}


/* Select */

.select-wrapper .form-select {

    cursor: pointer;

}


/* Validation */

.form-control.is-invalid,
.form-select.is-invalid {

    border-color: #dc3545;

    box-shadow: none;

}


.invalid-feedback {

    margin-top: 6px;

    font-size: 10px;

}


/* =========================================================
   PRIVACY NOTE
========================================================= */

.privacy-note {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 10px;

    color: var(--text-light);

    font-size: 10px;

}


.privacy-note i {

    color: var(--primary);

}


/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.whatsapp-btn {

    width: 100%;

    min-height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #25d366,
            #1ebe5d
        );

    color: var(--white);

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(37,211,102,0.20);

    transition: all var(--transition);

}


.whatsapp-btn:hover {

    color: var(--white);

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(37,211,102,0.27);

}


.whatsapp-btn:active {

    transform: translateY(-1px);

}


.button-content {

    display: inline-flex;

    align-items: center;

    justify-content: center;

}


.button-content i {

    margin-right: 9px;

    font-size: 20px;

}


.button-loader {

    display: none;

    align-items: center;

    gap: 8px;

}


.whatsapp-btn.loading .button-content {

    display: none;

}


.whatsapp-btn.loading .button-loader {

    display: inline-flex;

}


/* =========================================================
   BENEFITS SECTION
========================================================= */

.benefits-section {

    padding: 80px 0;

    background: var(--white);

}


/* Section Heading */

.section-heading {

    max-width: 650px;

    margin: 0 auto 45px;

}


.section-heading > span {

    display: block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.5px;

}


.section-heading h2 {

    margin-bottom: 10px;

    color: var(--black);

    font-size: clamp(27px, 4vw, 38px);

    font-weight: 750;

}


.section-heading p {

    margin: 0;

    color: var(--text-light);

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
   BENEFIT CARD
========================================================= */

.benefit-card {

    height: 100%;

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 28px 25px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: var(--white);

    box-shadow:
        0 8px 25px rgba(1,55,90,0.04);

    transition: all var(--transition);

}


.benefit-card:hover {

    transform: translateY(-7px);

    border-color: rgba(1,87,146,0.15);

    box-shadow: var(--shadow-hover);

}


/* Benefit Icon */

.benefit-icon {

    width: 52px;

    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 21px;

    transition: var(--transition);

}


.benefit-card:hover .benefit-icon {

    background: var(--primary);

    color: var(--white);

    transform: rotate(-4deg);

}


.benefit-card h3 {

    margin: 3px 0 8px;

    color: var(--black);

    font-size: 16px;

    font-weight: 700;

}


.benefit-card p {

    margin: 0;

    color: var(--text-light);

    font-size: 11px;

    line-height: 1.8;

}


/* =========================================================
   TOAST
========================================================= */

.quote-toast {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 9999;

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 280px;

    padding: 15px 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-left: 4px solid var(--success);

    border-radius: 12px;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.14);

    transform: translateY(120px);

    opacity: 0;

    pointer-events: none;

    transition: all 0.4s ease;

}


.quote-toast.show {

    transform: translateY(0);

    opacity: 1;

}


.toast-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #e8faef;

    color: #1c9b4c;

}


.quote-toast strong {

    display: block;

    margin-bottom: 2px;

    color: var(--black);

    font-size: 12px;

}


.quote-toast span {

    color: var(--text-light);

    font-size: 10px;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .quote-card {

        padding: 35px;

    }

}


@media (max-width: 767px) {

    /* Hero */

    .quote-hero {

        min-height: 400px;

    }


    .quote-hero-content {

        padding: 70px 15px 115px;

    }


    .quote-hero h1 {

        font-size: 36px;

        letter-spacing: -1px;

    }


    .quote-hero p {

        font-size: 13px;

    }


    .hero-badges {

        gap: 7px;

    }


    .hero-badges span {

        font-size: 9px;

        padding: 7px 9px;

    }


    /* Form */

    .quote-section {

        padding-bottom: 60px;

    }


    .quote-card {

        margin-top: -65px;

        padding: 30px 20px;

        border-radius: 15px;

    }


    .quote-card-header {

        margin-bottom: 30px;

    }


    .quote-card-header h2 {

        font-size: 27px;

    }


    .quote-card-header p {

        font-size: 12px;

    }


    /* Benefits */

    .benefits-section {

        padding: 60px 0;

    }


    .benefit-card {

        padding: 22px;

    }


    /* Toast */

    .quote-toast {

        right: 15px;

        left: 15px;

        bottom: 15px;

        min-width: auto;

    }

}


@media (max-width: 480px) {

    .quote-hero {

        min-height: 380px;

    }


    .quote-hero-content {

        padding-top: 55px;

    }


    .quote-hero h1 {

        font-size: 31px;

    }


    .hero-label {

        font-size: 8px;

    }


    .hero-badges span {

        width: 100%;

        justify-content: center;

    }


    .quote-card {

        padding: 25px 16px;

    }


    .form-control,
    .form-select {

        min-height: 50px;

    }


    .whatsapp-btn {

        font-size: 12px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

}