/* ==========================================
   Clear Path Assurance - Main Stylesheet
   ========================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #64748b;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   Header (Desktop)
   ========================================== */
header {
    background: #1a3a52;
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 38px;
    padding: 8px 14px;
    background: #ffffff;
    border-radius: 10px;
    transform: scale(1.08);
    transform-origin: left center;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.7rem;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    white-space: nowrap;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a961;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* ==========================================
   MOBILE HEADER FIX (CRITICAL)
   ========================================== */
@media (max-width: 768px) {

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a3a52;
        display: none;
        z-index: 999;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 14px 0;
        font-size: 1.05rem;
    }

    header {
        position: relative;
    }
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    background: linear-gradient(to right, #1a3a52, #2c8b8b);
    color: white;
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(44, 139, 139, 0.08) 0%, transparent 50%);
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #c9a961;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.3rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Premium logo card */
.hero-logo-card {
    background: #ffffff;
    padding: 34px 42px;
    border-radius: 22px;

    /* Depth & softness */
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15);

    /* Floating animation */
    animation: float 6s ease-in-out infinite;

    /* Smooth edges */
    position: relative;
}

/* Logo image */
.hero-logo-card img {
    max-width: 390px;
    width: 100%;
    height: auto;
    display: block;
}

/* Floating effect */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

/* ==========================================
   Buttons
   ========================================== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #c9a961;
    color: #1a3a52;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    background: #d4b76f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

/* ==========================================
   Trust Badges
   ========================================== */
.trust-section {
    background: #f7fafc;
    padding: 2rem 2rem;
}

.trust-container {
    max-width: 1280px;
    margin: 0 auto;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.badge {
    text-decoration: none;
    color: inherit;
    display: block;
}

.badge {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.badge-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    display: block;
}

.badge h3 {
    font-size: 1rem;
    color: #1a3a52;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.badge p {
    font-size: 0.875rem;
    color: #64748b;
}

/* ==========================================
   Section Styling
   ========================================== */
.section-content {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #1a3a52;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Debt Calculator
   ========================================== */
.calculator-section {
    padding: 5rem 2rem;
    background: white;
}

.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.calculator {
    background: linear-gradient(135deg, #1a3a52 0%, #2c8b8b 100%);
    padding: 3rem;
    border-radius: 16px;
    color: white;
    box-shadow: 0 10px 40px rgba(26, 58, 82, 0.2);
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.calculator-content {
    position: relative;
    z-index: 1;
}

.slider-container {
    margin: 2.5rem 0;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.slider-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.debt-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9a961;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-track {
    position: relative;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin: 1.5rem 0;
}

.slider-progress {
    position: absolute;
    height: 100%;
    background: linear-gradient(to right, #c9a961, #d4b76f);
    border-radius: 10px;
    width: 21%;
    transition: width 0.1s ease;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    cursor: grab;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(0.95);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    cursor: grab;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slider-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

.results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.result-box {
    background: rgba(255,255,255,0.12);
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.result-box:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}

.result-label {
    font-size: 0.875rem;
    opacity: 0.85;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.result-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: #c9a961;
    letter-spacing: -0.02em;
}

.result-subtext {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.calculator-note {
    margin-top: 2.5rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.6;
}

.calculator-note strong {
    font-weight: 600;
}


.services-section {
    width: 100%;
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #f7fafc 0%, #ffffff 60%);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}


.section-header {
    width: 100%;
    margin-bottom: 2.5rem;
    text-align: left;    
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 100%;     
    margin: 0;
    padding: 0;
    text-align: left;   
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}


.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-top: 4px solid #2c8b8b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:nth-child(even) {
    border-top-color: #c9a961;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.service-card h3 {
    color: #1a3a52;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-size: 0.95rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.service-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2c8b8b;
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 1.25rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .service-card {
        padding: 2rem;
    }
}

.services-section,
.services-section * {
    text-align: left !important;
}

.services-section p,
.services-section h2,
.services-section h3,
.services-section ul,
.services-section li {
    text-align: left !important;
}



/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    padding: 5rem 2rem;
    background: #1a3a52;
    color: white;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #c9a961;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.12);
}

.contact-icon {
    font-size: 1.5rem;
    color: #c9a961;
    flex-shrink: 0;
}

.contact-details strong {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0.5rem 0;
}

.contact-details small {
    opacity: 0.85;
    line-height: 1.5;
    display: block;
}

.contact-emails {
    margin-top: 0.75rem;
}

.email-item {
    padding: 0.4rem 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.contact-form h3 {
    color: #1a3a52;
    margin-bottom: 1.75rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #1a3a52;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c8b8b;
    box-shadow: 0 0 0 3px rgba(44, 139, 139, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.825rem;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================
   Footer
   ========================================== */
footer {
    background: #0f2538;
    color: white;
    padding: 4rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 220px;
    margin-bottom: 1.25rem;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #c9a961;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #c9a961;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}


.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 50px 20px 20px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3,
.footer-column h4 {
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-column p,
.footer-column li {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-disclaimer {
    max-width: 900px;
    margin: 8px auto 0;
    color: #94a3b8;
}


.footer-privacy,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.65); /* soft light text */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-privacy:hover,
.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.9); /* slightly brighter on hover */
}



/* ===== LOGIN BUTTON ===== */
.login-btn {
    padding: 8px 18px;
    border-radius: 6px;
    /* background: #0f3d2e; */
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #2bb0a6;
    color: #fff;
}

/* keep login aligned properly */
.nav-login {
    margin-left: 10px;
}

/* ===== MOBILE LOGIN BUTTON ===== */
@media (max-width: 768px) {
    .nav-login {
        margin-top: 10px;
        text-align: center;
    }

    .login-btn {
        display: block;
        width: 100%;
        padding: 12px;
    }
}