/*==================================================
ATTTAINERS COMMUNICATION
Mobile First CSS
Part 1
==================================================*/

/*=========================
RESET
=========================*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/*=========================
VARIABLES
=========================*/

:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;

    --secondary: #0f172a;

    --text: #475569;

    --heading: #0f172a;

    --white: #ffffff;

    --background: #f8fafc;

    --surface: #ffffff;

    --border: #e2e8f0;

    --success: #16a34a;

    --shadow:
        0 10px 30px rgba(15, 23, 42, .08);

    --shadow-lg:
        0 30px 60px rgba(15, 23, 42, .12);

    --radius: 24px;

    --container: 1240px;

}

/*=========================
TYPOGRAPHY
=========================*/

h1,
h2,
h3,
h4 {
    color: var(--heading);
    line-height: 1.2;
    font-weight: 800;
}

h1 {

    font-size: clamp(2rem, 7vw, 4rem);

}

h2 {

    font-size: clamp(1.8rem, 5vw, 3rem);

}

h3 {

    font-size: 1.2rem;

}

p {

    color: var(--text);

}

.small {

    font-size: .85rem;

}

/*=========================
LAYOUT
=========================*/

.container {

    width: min(100% - 2rem, var(--container));

    margin-inline: auto;

}

section {

    padding: 70px 0;

}

/*=========================
BUTTONS
=========================*/

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 54px;

    padding: 0 28px;

    border-radius: 999px;

    font-weight: 700;

    transition: .3s;

}

.btn-primary {

    background: var(--primary);

    color: #fff;

}

.btn-primary:hover {

    background: var(--primary-dark);

}

.btn-outline {

    border: 2px solid var(--primary);

    color: var(--primary);

    background: #fff;

}

.btn-outline:hover {

    background: var(--primary-light);

}

.btn-light {

    background: #fff;

    color: var(--primary);

}

/*=========================
HEADER
=========================*/

.site-header {

    position: sticky;

    top: 0;

    z-index: 500;

    backdrop-filter: blur(20px);

    background: rgba(255, 255, 255, .9);

    border-bottom: 1px solid var(--border);

}

.site-header .container {

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    font-size: 1.25rem;

    font-weight: 800;

    color: var(--primary);

    width: 200px;

}

.desktop-nav {

    display: flex;

}

.desktop-btn {

    display: none;

}

/*=============================
Mobile Navigation
==============================*/

.mobile-toggle {

    width: 48px;
    height: 48px;

    display: none;

    border: none;

    background: none;

    cursor: pointer;

    position: relative;

    z-index: 1200;

}

.mobile-toggle span {

    position: absolute;

    left: 10px;

    width: 28px;

    height: 2px;

    background: #0f172a;

    transition: .35s;

}

.mobile-toggle span:nth-child(1) {

    top: 14px;

}

.mobile-toggle span:nth-child(2) {

    top: 23px;

}

.mobile-toggle span:nth-child(3) {

    top: 32px;

}

/* X Animation */

.mobile-toggle.active span:nth-child(1) {

    transform: rotate(45deg);

    top: 23px;

}

.mobile-toggle.active span:nth-child(2) {

    opacity: 0;

}

.mobile-toggle.active span:nth-child(3) {

    transform: rotate(-45deg);

    top: 23px;

}

@media(max-width:991px) {

    .desktop-nav {

        position: absolute;

        top: 78px;

        left: 20px;

        right: 20px;

        background: #fff;

        box-shadow:
            0 15px 40px rgba(15, 23, 42, .15);

        display: flex;

        flex-direction: column;

        padding: 12px;

        gap: 4px;

        opacity: 0;

        visibility: hidden;

        transform: translateY(-15px);

        transition: .3s;

        z-index: 1000;

    }

    .desktop-nav.show {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }

    .desktop-nav a {

        display: flex;

        align-items: center;

        height: 52px;

        padding: 0 18px;

        border-radius: 12px;

        text-decoration: none;

        font-weight: 600;

        color: #334155;

        transition: .25s;

    }

    .desktop-nav a:hover {

        background: #eff6ff;

        color: #2563eb;

    }

    .mobile-toggle {

        display: block;

    }

}

/*=========================
HERO
=========================*/

.hero {

    padding-top: 40px;

}

.hero-grid {

    display: grid;

    gap: 40px;

}

.badge {

    display: inline-flex;

    align-items: center;

    padding: 8px 14px;

    border-radius: 999px;

    background: #e0edff;

    color: var(--primary);

    font-size: .9rem;

    font-weight: 700;

    margin-bottom: 20px;

}

.hero h1 {

    margin-bottom: 20px;

}

.hero p {

    font-size: 1.1rem;

    margin-bottom: 24px;

}

.hero-benefits {

    display: grid;

    gap: 14px;

    margin-bottom: 32px;

}

.hero-benefits li {

    display: flex;

    align-items: center;

    gap: 12px;

}

.hero-actions {

    display: flex;

    flex-direction: column;

    gap: 16px;

}

/*=========================
QUALIFICATION CARD
=========================*/

.qualification-card {

    background: #fff;

    border-radius: var(--radius);

    box-shadow: var(--shadow-lg);

    padding: 28px;

}

.qualification-card h2 {

    font-size: 1.6rem;

    margin-bottom: 24px;

}

.form-step {

    display: none;

}

.form-step.active {

    display: block;

}

.form-step h3 {

    margin-bottom: 20px;

}

.form-navigation {

    display: flex;

    gap: 16px;

    margin-top: 30px;

}

.form-navigation .btn {

    flex: 1;

}

.field-error {

    display: block;

    color: #dc2626;

    font-size: .82rem;

    margin-top: 8px;

    font-weight: 500;

}

.error {

    border-color: #dc2626 !important;

    background: #fff5f5;

}

.error:focus {

    box-shadow: 0 0 0 4px rgba(220, 38, 38, .15);

}

.option-grid {

    display: grid;

    gap: 14px;

}

.option-grid button {

    border: 1px solid var(--border);

    min-height: 58px;

    border-radius: 16px;

    background: #fff;

    font-weight: 600;

    transition: .25s;

}

.option-grid button:hover {

    border-color: var(--primary);

    background: #eff6ff;

}

label {

    display: block;

    margin: 18px 0 8px;

    font-weight: 600;

}

input,
select {

    width: 100%;

    height: 56px;

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 0 16px;

    background: #fff;

}

input:focus,
select:focus {

    outline: none;

    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(37, 99, 235, .15);

}

form .btn {

    width: 100%;

    margin-top: 24px;

}

/* Toast Notification Popup */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 14px 24px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 99999;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast.success {
    background-color: #10b981; /* Green */
}

.toast.error {
    background-color: #ef4444; /* Red */
}

/*=========================
UTILITY
=========================*/

.text-center {

    text-align: center;

}

.card-grid {

    display: grid;

    gap: 24px;

}

article {

    background: #fff;

    border-radius: 22px;

    padding: 24px;

    box-shadow: var(--shadow);

}

.hidden {

    display: none;

}

/*=========================
TABLET
=========================*/

@media(min-width:768px) {

    .hero {

        padding-top: 70px;

    }

    .hero-actions {

        flex-direction: row;

    }

    .option-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .card-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

/*=========================
DESKTOP
=========================*/

@media(min-width:1024px) {

    .desktop-nav {

        display: flex;

        gap: 36px;

        align-items: center;

    }

    .desktop-btn {

        display: inline-flex;

    }

    .mobile-toggle {

        display: none;

    }

    .hero-grid {

        grid-template-columns: 1.1fr .9fr;

        align-items: center;

    }

    .hero {

        min-height: calc(100vh - 72px);

        display: flex;

        align-items: center;

    }

}

@media(max-width:991px) {

    .desktop-nav {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        transition: left .3s ease;
        z-index: 999;
    }

    .desktop-nav.show {
        left: 0;
    }

    body.menu-open {
        overflow: hidden;
    }

}

/*=========================
LARGE DESKTOP
=========================*/

@media(min-width:1280px) {

    .hero h1 {

        max-width: 680px;

    }

}

/*==================================================
ATTTAINERS COMMUNICATION
Mobile First CSS
Part 2
Content Sections
==================================================*/


/*=========================
SECTION HEADERS
=========================*/

section h2 {

    text-align: center;

    margin-bottom: 18px;

}

.section-intro {

    max-width: 700px;

    margin: 0 auto 48px;

    text-align: center;

}


/*=========================
TRUST
=========================*/
/*==================================================
TRUST SECTION
==================================================*/

.trust {

    background: #ffffff;

    position: relative;

}

.section-heading {

    text-align: center;

    max-width: 760px;

    margin: 0 auto 50px;

}

.section-label {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 8px 18px;

    border-radius: 999px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: .9rem;

    font-weight: 700;

    margin-bottom: 18px;

}

.section-heading h2 {

    margin-bottom: 18px;

}

.section-heading p {

    font-size: 1.05rem;

}

.trust-grid {

    display: grid;

    gap: 24px;

}

.trust article {

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 26px;

    padding: 34px 28px;

    text-align: center;

    transition: .35s;

    position: relative;

    overflow: hidden;

}

.trust article::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 4px;

    background: linear-gradient(90deg,
            var(--primary),
            #60a5fa);

    transform: scaleX(0);

    transform-origin: left;

    transition: .4s;

}

.trust article:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);

}

.trust article:hover::before {

    transform: scaleX(1);

}

.card-icon {

    width: 78px;

    height: 78px;

    margin: 0 auto 24px;

    border-radius: 22px;

    background: #eff6ff;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary);

    transition: .35s;

}

.icon {

    width: 38px;

    height: 38px;

}

.trust article:hover .card-icon {

    background: var(--primary);

    color: #fff;

    transform: translateY(-4px);

}

.trust h3 {

    margin-bottom: 14px;

    font-size: 1.2rem;

}

.trust p {

    color: #64748b;

    font-size: .97rem;

}

/*=========================
TABLET
=========================*/

@media(min-width:768px) {

    .trust-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

/*=========================
DESKTOP
=========================*/

@media(min-width:1024px) {

    .trust-grid {

        grid-template-columns: repeat(4, 1fr);

    }

}


/*=========================
BENEFITS
=========================*/

.benefits {

    background: #ffffff;

}

.benefits .card-grid {

    gap: 22px;

}

.benefits article {

    transition: .3s;

    border: 1px solid var(--border);

}

.benefits article:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);

}

.benefits h3 {

    margin-bottom: 14px;

}

.benefits p {

    font-size: .97rem;

}

/*==================================================
CALCULATOR
==================================================*/

.calculator {

    background: #f8fafc;

}

.calculator .container {

    max-width: 1100px;

}

.calculator h2 {

    text-align: center;

    margin-bottom: 18px;

}

.calculator>.container>p {

    text-align: center;

    max-width: 650px;

    margin: 0 auto 50px;

}


/* Form */

.calculator form {

    display: grid;

    gap: 24px;

}


/* One field */

.form-group {

    display: flex;

    flex-direction: column;

}


/* Labels */

.form-group label {

    margin-bottom: 10px;

    font-weight: 700;

    color: #334155;

}


/* Inputs */

.form-group input,
.form-group select {

    height: 60px;

    padding: 0 20px;

    border-radius: 18px;

    border: 1px solid var(--border);

    background: #fff;

    transition: .25s;

}


/* Focus */

.form-group input:focus,
.form-group select:focus {

    outline: none;

    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(37, 99, 235, .15);

}


/* Button */

.calculator .btn {

    margin-top: 10px;

}


/* Result */

.calculator-result {

    display: none;

    margin-top: 35px;

    background: #fff;

    border-radius: 24px;

    padding: 35px;

    box-shadow: var(--shadow);

}

.calculator-result.active {

    display: block;

}

.result-card{

    margin-top:30px;

    background:#fff;

    border-radius:20px;

    padding:32px;

    box-shadow:0 15px 40px rgba(15,23,42,.08);

}

.result-amount{

    font-size:48px;

    font-weight:700;

    color:var(--primary);

    margin:15px 0 25px;

}

.result-details{

    display:grid;

    gap:18px;

}

.result-details div{

    display:flex;

    justify-content:space-between;

    padding:12px 0;

    border-bottom:1px solid #e5e7eb;

}

.result-details span{

    color:#64748b;

}

.result-details strong{

    color:#0f172a;

}


/*=========================
HOW IT WORKS
=========================*/

.steps {

    background: #ffffff;

}

.steps .card-grid {

    gap: 22px;

}

.steps article {

    position: relative;

    overflow: hidden;

    transition: .3s;

}

.steps article:hover {

    transform: translateY(-8px);

}

.steps article::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg,
            var(--primary),
            #60a5fa);

}

.steps h3 {

    margin-bottom: 16px;

}


/*=========================
DEBT TYPES
=========================*/

.debt-types {

    background: #f8fafc;

}

.debt-types .card-grid {

    gap: 18px;

}

.debt-types article {

    text-align: center;

    padding: 30px 20px;

    font-weight: 600;

    transition: .3s;

    border: 1px solid var(--border);

}

.debt-types article:hover {

    transform: translateY(-6px);

    border-color: var(--primary);

    background: #eff6ff;

}


/*=========================
GENERIC CARD ICON
(optional)
=========================*/

.icon-circle {

    width: 64px;

    height: 64px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--primary-light);

    color: var(--primary);

    margin-bottom: 22px;

}


/*=========================
SPACING HELPERS
=========================*/

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}


/*=========================
TABLET
=========================*/

@media(min-width:768px) {

    .trust-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .benefits .card-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .steps .card-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .debt-types .card-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .calculator form {

        grid-template-columns: repeat(2, 1fr);

    }

    .calculator .btn {

        grid-column: 1 / -1;

    }

}


/*=========================
DESKTOP
=========================*/

@media(min-width:1024px) {

    .trust-grid {

        grid-template-columns: repeat(4, 1fr);

    }

    .benefits .card-grid {

        grid-template-columns: repeat(4, 1fr);

    }

    .steps .card-grid {

        grid-template-columns: repeat(4, 1fr);

    }

    .debt-types .card-grid {

        grid-template-columns: repeat(4, 1fr);

    }

    .trust article,
    .benefits article,
    .steps article,
    .debt-types article {

        min-height: 230px;

    }

    .calculator .container {

        max-width: 900px;

    }

    .calculator form {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 28px;

    }

    .calculator .btn {

        grid-column: 1/-1;

    }

}


/*=========================
LARGE DESKTOP
=========================*/

@media(min-width:1280px) {

    section {

        padding: 100px 0;

    }

    .trust {

        padding-top: 40px;

    }

}


/*==================================================
ATTTAINERS COMMUNICATION
Mobile First CSS
Part 3
FAQ • CTA • Footer • Icons • Animations
==================================================*/


/*=========================
REUSABLE ICON SYSTEM
=========================*/

.card-icon {

    width: 72px;

    height: 72px;

    border-radius: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    margin-bottom: 24px;

    transition: .35s;

}

.icon {

    width: 34px;

    height: 34px;

    stroke-width: 1.8;

}

article:hover .card-icon {

    background: var(--primary);

    color: #fff;

    transform: translateY(-4px);

}


/*=========================
FAQ
=========================*/

.faq {

    background: #fff;

}

.faq .container {

    max-width: 900px;

}

.faq details {

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 18px;

    margin-bottom: 18px;

    transition: .3s;

    overflow: hidden;

}

.faq details[open] {

    border-color: var(--primary);

    box-shadow: var(--shadow);

}

.faq summary {

    list-style: none;

    cursor: pointer;

    padding: 22px;

    font-weight: 700;

    position: relative;

    padding-right: 60px;

}

.faq summary::-webkit-details-marker {

    display: none;

}

.faq summary::after {

    content: "+";

    position: absolute;

    right: 24px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 1.6rem;

    color: var(--primary);

    transition: .25s;

}

.faq details[open] summary::after {

    transform: translateY(-50%) rotate(45deg);

}

.faq details p {

    padding: 0 22px 22px;

}


/*=========================
CTA
=========================*/

.cta {

    background: linear-gradient(135deg,
            var(--primary),
            #4f8dfd);

    color: #fff;

    text-align: center;

}

.cta h2 {

    color: #fff;

    margin-bottom: 18px;

}

.cta p {

    color: rgba(255, 255, 255, .9);

    max-width: 620px;

    margin: 0 auto 32px;

}

.cta .btn {

    min-width: 230px;

}


/*=========================
FOOTER
=========================*/

.site-footer {

    background: #0f172a;

    color: #cbd5e1;

    padding-top: 70px;

}

.footer-grid {

    display: grid;

    gap: 50px;

}

.footer-grid h3 {

    color: #fff;

    margin-bottom: 18px;

    font-size: 1.1rem;

}

.footer-grid ul {

    display: grid;

    gap: 14px;

}

.footer-grid a {

    color: #94a3b8;

    transition: .25s;

}

.footer-grid a:hover {

    color: #fff;

}

.site-footer img {

    width: 180px;

    margin-bottom: 18px;

}

.legal {

    border-top: 1px solid rgba(255, 255, 255, .08);

    margin-top: 60px;

    padding: 36px 0;

}

.legal p {

    color: #94a3b8;

    font-size: .9rem;

    margin-bottom: 14px;

}


/*=========================
FORM HELPERS
=========================*/

.error {

    border-color: #ef4444 !important;

}

.success {

    border-color: #16a34a !important;

}

.form-note {

    font-size: .85rem;

    color: #64748b;

    margin-top: 10px;

}


/*=========================
LOADING BUTTON
=========================*/

.btn.loading {

    pointer-events: none;

    opacity: .8;

}

.btn.loading::after {

    content: "";

    width: 18px;

    height: 18px;

    border: 2px solid rgba(255, 255, 255, .4);

    border-top-color: #fff;

    border-radius: 50%;

    margin-left: 12px;

    animation: spin .8s linear infinite;

}


/*=========================
ANIMATIONS
=========================*/

.fade-up {

    opacity: 0;

    transform: translateY(30px);

}

.fade-up.show {

    opacity: 1;

    transform: none;

    transition: .8s;

}

@keyframes spin {

    to {

        transform: rotate(360deg);

    }

}

@keyframes float {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-8px);

    }

    100% {

        transform: translateY(0);

    }

}


/*=========================
SCROLLBAR
=========================*/

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-thumb {

    background: #cbd5e1;

    border-radius: 20px;

}

::-webkit-scrollbar-thumb:hover {

    background: var(--primary);

}


/*=========================
TABLET
=========================*/

@media (min-width:768px) {

    .footer-grid {

        grid-template-columns:
            2fr 1fr 1fr;

    }

    .cta {

        padding: 90px 0;

    }

}


/*=========================
DESKTOP
=========================*/

@media (min-width:1024px) {

    .footer-grid {

        gap: 80px;

    }

    .faq summary {

        font-size: 1.05rem;

    }

    .card-icon {

        width: 78px;

        height: 78px;

    }

    .icon {

        width: 38px;

        height: 38px;

    }

}


/*=========================
LARGE DESKTOP
=========================*/

@media (min-width:1280px) {

    .site-footer {

        padding-top: 90px;

    }

}