/* Global Styles */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* 1. Fix Navbar Layout */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    gap: 8px;
    /* Prevents elements from touching */
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 0;
    /* Allows text inside flex item to shrink properly */
}

.brand-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    /* Prevents buttons from being squished */
}

.btn-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-link:hover {
    color: var(--text-main);
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    /* Controlled padding instead of hardcoded fixed width */
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    /* Forces text like "Sign in" to stay on one line */
    text-decoration: none;
    border-radius: 20px;
    text-align: center;
}

.btn-primary-sm:hover {
    background-color: var(--primary-hover);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
}

.badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid #bfdbfe;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: #0f172a;
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-main {
    background-color: var(--primary);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.btn-main:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--bg-light);
}

.privacy-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Card Display */
.hero-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-header {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
}

.card-status-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.85;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.card-status-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.card-status-sub {
    font-size: 0.95rem;
    opacity: 0.9;
}

.card-list {
    list-style: none;
}

.card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

.card-item:last-child {
    border-bottom: none;
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    color: #10b981;
    width: 20px;
    height: 20px;
}

/* How It Works Section */
.steps-section {
    background-color: var(--bg-light);
    padding: 5rem 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 42px;
    height: 42px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.step-heading {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* CTA Banner Section */
.cta-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.cta-banner {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    color: white;
}

.cta-banner h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-white {
    background-color: white;
    color: var(--primary);
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.btn-white:hover {
    background-color: #f8fafc;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}
/* Grid Layout for Side-by-Side Cards */
.cards-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 40px auto;
    align-items: start;
}

/* Founder Card Styling */
.founder-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: system-ui, -apple-system, sans-serif;
}

.founder-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.founder-avatar-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #2563eb;
    flex-shrink: 0;
}

.founder-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.founder-name {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 4px 0 2px 0;
}

.founder-role {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.founder-bio p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.founder-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.founder-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
}

/* Responsive view for mobile screens */
@media (max-width: 768px) {
    .cards-grid-container {
        grid-template-columns: 1fr;
    }
}
.brand h1 {
    font-size: 1.25rem;
    /* ~20px so it fits nicely on narrow mobile screens */
    white-space: nowrap;
}
/* Card Container */
.about-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Body Text Styling */
.about-text {
    font-size: 15px;
    line-height: 1.6;
    /* Adds breathing room between lines */
    color: #334155;
    margin-bottom: 16px;
    /* Separates paragraphs cleanly */
}

/* Mission Callout Box */
.mission-box {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.mission-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.mission-box p {
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
} /* Section Container Constraints */
.about-section {
    width: 100%;
    padding: 32px 16px;
    box-sizing: border-box;
}

.section-container {
    max-width: 768px;
    margin: 0 auto;
    width: 100%;
}

/* Header Typography & Spacing */
.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.75rem;
    /* ~28px */
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: 0.975rem;
    /* ~15px */
    color: #64748b;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}
/* Responsive Professional Office Address */

.office-address {
    width: 90%;
    max-width: 550px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border-left: 6px solid #0f766e;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    transition: 0.3s ease;
}

.office-address:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

.office-address h3 {
    margin: 0 0 15px;
    color: #0f766e;
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.office-address p {
    margin: 0;
    color: #444;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    word-wrap: break-word;
}

/* Tablets */
@media (max-width: 768px) {
    .office-address {
        width: 92%;
        padding: 22px;
    }

    .office-address h3 {
        font-size: 1.4rem;
    }

    .office-address p {
        font-size: 0.98rem;
        line-height: 1.7;
    }
}

/* Large Phones (iPhone Pro Max, Samsung Ultra) */
@media (max-width: 576px) {
    .office-address {
        width: 94%;
        padding: 20px;
        border-radius: 12px;
    }

    .office-address h3 {
        font-size: 1.3rem;
    }

    .office-address p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Small Phones (iPhone SE, older Android phones) */
@media (max-width: 375px) {
    .office-address {
        width: 96%;
        padding: 18px;
    }

    .office-address h3 {
        font-size: 1.15rem;
    }

    .office-address p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}/* Overlay Background */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    /* Dark semi-transparent backdrop */
    z-index: 99999;
    /* Higher than everything else */
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Active State to Display Modal */
.modal-overlay.active {
    display: flex;
}

/* Modal Content Box */
.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    text-align: left;
}

/* Close (X) Button */
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}

/* Buttons Container */
.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-modal-primary {
    background-color: #2563eb;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    flex: 1;
}

.btn-modal-secondary {
    background-color: #e5e7eb;
    color: #374151;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
}/* Modal Backdrop Overlay */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed !important;
    /* Force top-level positioning */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    /* Dark background overlay */
    z-index: 999999;
    /* Ensure it stays above all other content */
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Class added by JavaScript to display the popup */
.modal-overlay.active {
    display: flex !important;
}

/* Popup Box Styling */
.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}