* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #f8fafc;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.25rem 0;
}

.brand {
    text-decoration: none;
    color: #1e293b;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand small {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

.nav-links .cta a {
    background: #2563eb;
    color: #fff;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(37,99,235,0.25);
    transition: background 0.2s, transform 0.15s;
}

.nav-links .cta a:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.menu-close,
.menu-brand {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1e40af;
    cursor: pointer;
}

main {
    min-height: 70vh;
}

.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #1e40af;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 0.25rem;
    transition: background 0.2s;
}

.btn:hover {
    background: #e3f2fd;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
}

.features {
    padding: 3rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature {
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.feature h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.content-section {
    padding: 3rem 0;
    background: #fff;
}

.content-section h2 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1rem;
}

.login-section {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.login-visual {
    display: none;
    text-align: center;
    color: #1e293b;
    padding: 1rem;
}

.login-visual img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08));
}

.login-visual h2 {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-visual p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

.form-card {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.form-header h2 {
    color: #1e40af;
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.form-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 2.5rem;
}

.toggle-eye-apply {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #64748b;
    cursor: pointer;
}

.form-group.remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-group.remember input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-group.remember label {
    margin: 0;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
}

.form-footer {
    text-align: center;
    margin-top: 1.25rem;
    color: #64748b;
    font-size: 0.9rem;
}

.form-footer a {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: #1e40af;
    color: #fff;
    border: none;
    padding: 0.95rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background: #3b82f6;
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

.login-card {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 2.75rem 2.25rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.login-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-header h2 {
    color: #2563eb;
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.login-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.login-input {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.2rem 0.2rem 0.2rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input:focus-within {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(165,180,252,0.2);
}

.login-icon {
    font-size: 1rem;
    color: #64748b;
    margin-right: 0.6rem;
    user-select: none;
}

.login-input input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.8rem 0.75rem;
    font-size: 0.95rem;
    outline: none;
    color: #1e293b;
}

.login-input input::placeholder {
    color: #94a3b8;
}

.toggle-eye {
    background: none;
    border: none;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    padding: 0 0.75rem;
    line-height: 1;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    margin: 0.25rem 0;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
    cursor: pointer;
    font-weight: 500;
}

.login-remember input[type="checkbox"] {
    accent-color: #2563eb;
    cursor: pointer;
}

.login-forgot {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.login-forgot:hover {
    text-decoration: underline;
}

.login-submit {
    width: 100%;
    border: none;
    padding: 0.95rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(37,99,235,0.35);
    transition: transform 0.1s, box-shadow 0.2s;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.4);
}

.login-submit:active {
    transform: translateY(0);
}

.login-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

.login-signup {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.login-signup p {
    margin: 0;
}

.login-signup-btn {
    display: inline-block;
    background: #fff;
    color: #1e40af;
    border: 1px solid #e2e8f0;
    padding: 0.65rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: transform 0.1s, box-shadow 0.2s;
}

.login-signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.alert-success { background: #d1fae5; color: #15803d; }
.alert-error { background: #fee2e2; color: #b91c1c; }

.register-section {
    padding: 2rem 0;
}

.register-container {
    max-width: 1100px;
}

.register-container h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.register-subtitle {
    text-align: center;
    color: #475569;
    margin-bottom: 1.5rem;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.form-section h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.sig-label {
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-weight: 500;
}

.signature-wrap {
    width: 100%;
    max-width: 500px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

#signature-pad {
    display: block;
    width: 100%;
    height: 150px;
    cursor: crosshair;
}

.btn-clear {
    margin-top: 0.75rem;
    background: #94a3b8;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.btn-clear:hover {
    background: #64748b;
}

.btn-register {
    margin-top: 0.5rem;
}

.contact-section h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.contact-subtitle {
    text-align: center;
    color: #475569;
    margin-bottom: 1.5rem;
}

.contact-info h3 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contact-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-card h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.contact-form-wrap {
    margin-top: 2rem;
}

.contact-form-wrap h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.why-choose-section {
    padding: 3rem 0;
    background: #fff;
}

.why-choose-section h2,
.process-section h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.why-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fff;
    transition: box-shadow 0.2s;
}

.why-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.why-card h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: #475569;
    margin-bottom: 0.75rem;
}

.link-arrow {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
}

.link-arrow:hover {
    text-decoration: underline;
}

.process-section {
    padding: 3rem 0;
    background: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.step-number {
    display: inline-block;
    background: #1e40af;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

footer {
    background: #0f172a;
    color: #fff;
    padding: 0;
    font-size: 0.9rem;
}

.footer-content {
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    gap: 1rem;
    align-items: start;
    max-width: 560px;
}

.footer-brand strong {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.brand-icon {
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 420px;
}

.info-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: none;
    transition: background 0.2s, border-color 0.2s;
}

.info-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.info-icon {
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.info-card strong {
    display: block;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.info-card p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 45px;
    height: 3px;
    background: #3b82f6;
    margin-top: 0.5rem;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.85rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.15s, padding-left 0.15s;
}

.footer-col ul li a:hover {
    color: #60a5fa;
    padding-left: 0.25rem;
}

.link-icon {
    font-size: 1rem;
    width: 1.2rem;
    text-align: center;
}

.copyright {
    text-align: center;
    padding: 1.25rem 0;
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 1.5rem;
}

.bottom-nav {
    background: #fff;
    display: flex;
    width: 100%;
    padding: 0.85rem 0;
    border-top: 1px solid #e2e8f0;
    margin: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.bottom-nav a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.55rem;
    line-height: 1.2;
    padding: 0.2rem 0.05rem;
    border-radius: 0;
    transition: color 0.2s;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    overflow: visible;
}

.bottom-nav a .nav-icon {
    font-size: 1.25rem;
}

.bottom-nav a:hover,
.bottom-nav a.active {
    color: #1e40af;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        width: 75%;
        bottom: 60px;
        height: auto;
        background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
        flex-direction: column;
        padding: 0.75rem 1rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.12);
        gap: 0.15rem;
        z-index: 10001;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        border-radius: 0;
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links {
        align-items: stretch;
    }

    .nav-links li {
        text-align: left;
        width: 100%;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        gap: 0.6rem;
        width: 100%;
        padding: 0.55rem 0.75rem;
        border-radius: 6px;
        color: #fff;
        font-size: 0.9rem;
        border-bottom: none;
        text-align: left;
    }

    .nav-links a:hover {
        background: rgba(255,255,255,0.08);
        color: #fff;
    }

    .nav-links a.active {
        color: #fff;
        background: rgba(255,255,255,0.12);
        border-radius: 8px;
    }

    .nav-links a .nav-icon {
        width: 1.1rem;
        height: 1.1rem;
        flex-shrink: 0;
    }

    .nav-links .logout a {
        background: #dc2626;
        justify-content: center !important;
        text-align: center;
        margin-top: 0.5rem;
    }

    .nav-links .logout a:hover {
        background: #b91c1c;
    }

    .nav-links .cta a {
        display: flex;
        justify-content: center !important;
        gap: 0.5rem;
    }

    .nav-links .cta.apply a {
        background: #dc2626;
    }

    .nav-links .cta.apply a:hover {
        background: #b91c1c;
    }

    .menu-close {
        display: list-item;
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }

    .menu-close button {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        line-height: 1;
    }

    .menu-brand {
        display: list-item;
        padding: 1.25rem 0 0.75rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        margin-bottom: 0.75rem;
    }

    .menu-brand img {
        max-height: 50px;
        max-width: 100%;
    }

    .menu-brand strong {
        color: #fff;
        font-size: 1.1rem;
    }

    .drawer-logos {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .drawer-logos img {
        max-height: 45px;
        max-width: 80px;
        object-fit: contain;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .footer-grid,
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-info-grid {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-template-rows: auto;
        max-width: 100%;
    }

    .info-card {
        max-width: 100%;
    }
}

.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    max-width: 320px;
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    background: #22c55e;
}

.toast.error {
    background: #ef4444;
}

.toast.info {
    background: #3b82f6;
}

.partners-section {
    padding: 1.5rem 0;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.partners-section h2 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.partners-carousel-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.partners-viewport {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.partners-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.partner-card {
    flex: 0 0 25%;
    padding: 0.25rem;
    box-sizing: border-box;
}

.partner-card a,
.partner-card > img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 75px;
    max-height: 100px;
    padding: 0.4rem;
    box-sizing: border-box;
    text-decoration: none;
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partners-btn {
    background: #1e40af;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.partners-btn:hover {
    background: #3b82f6;
}

.partners-prev,
.partners-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.partners-prev {
    left: 0;
}

.partners-next {
    right: 0;
}

.partners-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.partners-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s;
}

.partners-dot.active {
    background: #1e40af;
}

.state-section {
    padding: 3rem 0;
    background: #fff;
    text-align: center;
}

.state-section h2 {
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.state-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.state-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1rem;
    text-align: center;
}

.state-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.state-card p {
    color: #1e40af;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 1023px) {
    .partner-card {
        flex: 0 0 25%;
    }
}

@media (max-width: 639px) {
    .partner-card {
        flex: 0 0 25%;
    }
}

.id-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.id-upload-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.id-upload-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.id-upload-card .card-header h4 {
    color: #1e3a8a;
    font-size: 1rem;
    font-weight: 600;
}

.id-upload-card .card-subtitle {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.id-upload-card .example-badge {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.id-upload-card .example-box {
    min-height: 140px;
    border: 2px dashed #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0;
    overflow: hidden;
}

.id-upload-card .example-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.id-upload-card .example-box .example-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.id-upload-card .example-box .example-label {
    font-size: 0.8rem;
    font-weight: 500;
}

.id-upload-card input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Modern theme enhancements */
.nav-links .cta a { border-radius: 10px; }
.login-submit { border-radius: 10px; background: linear-gradient(90deg, #2563eb, #1d4ed8); box-shadow: 0 6px 18px rgba(37,99,235,0.25); }
.login-submit:hover { box-shadow: 0 8px 22px rgba(37,99,235,0.35); }
.login-signup-btn { border-radius: 10px; }
.form-card, .login-card { box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08); }
.why-card { transition: transform 0.25s, box-shadow 0.25s; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08); }
.step { transition: transform 0.25s, box-shadow 0.25s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); }
.contact-card { transition: transform 0.25s, box-shadow 0.25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); }
.calc-form-card, .calc-result-card { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }
.partners-viewport { background: #f8fafc; padding: 1.25rem 0.75rem; }
.footer-info-grid { grid-auto-flow: row; grid-template-rows: auto; }

/* ===== Professional public-facing refresh ===== */
:root {
    --color-primary-50: #eff6ff;
    --color-primary-100: #dbeafe;
    --color-primary-200: #bfdbfe;
    --color-primary-600: #2563eb;
    --color-primary-700: #1d4ed8;
    --color-primary-800: #1e40af;
    --color-primary-900: #1e3a8a;
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, .05);
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, .07), 0 2px 4px -2px rgba(15, 23, 42, .07);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .08), 0 4px 6px -4px rgba(15, 23, 42, .08);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, .08), 0 8px 10px -6px rgba(15, 23, 42, .08);
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.65;
    color: var(--color-slate-700);
    background: var(--color-slate-50);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-slate-900);
    line-height: 1.25;
}

.container {
    width: 92%;
    max-width: 1140px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, .08);
    border-bottom: 1px solid var(--color-slate-200);
    padding: 0;
}

.navbar {
    min-height: 70px;
}

.brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary-800);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    letter-spacing: -0.02em;
}

.brand img {
    max-height: 36px;
}

.brand small,
.brand-text small {
    display: block;
    font-size: .75rem;
    font-weight: 500;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.nav-links {
    gap: .5rem 1.75rem;
}

.nav-links a {
    font-size: .95rem;
    font-weight: 600;
    color: var(--color-slate-600);
    padding: .5rem .25rem;
    border-radius: var(--radius-sm);
    position: relative;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary-700);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-600);
    border-radius: 2px;
    transition: width .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links .cta a::after,
.nav-links .logout a::after {
    display: none;
}

.nav-links .cta a {
    background: var(--color-primary-700);
    color: #fff;
    padding: .6rem 1.35rem;
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-weight: 700;
    font-size: .88rem;
    transition: transform .15s, box-shadow .2s, background .2s;
}

.nav-links .cta a:hover {
    background: var(--color-primary-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.menu-toggle {
    color: var(--color-primary-800);
    font-size: 1.6rem;
    padding: .25rem .5rem;
    border-radius: var(--radius-sm);
    transition: background .2s;
}

.menu-toggle:hover {
    background: var(--color-slate-100);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-700) 50%, var(--color-primary-600) 100%);
    padding: 6rem 0 5.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, .12) 0%, transparent 35%), radial-gradient(circle at 85% 30%, rgba(255, 255, 255, .08) 0%, transparent 40%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 800;
    max-width: 820px;
    margin: 0 auto .75rem;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    max-width: 620px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, .95);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}

.btn,
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .85rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .15s, box-shadow .2s, background .2s, color .2s;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
}

.btn,
.btn-primary {
    background: #fff;
    color: var(--color-primary-800);
}

.btn:hover,
.btn-primary:hover {
    background: var(--color-slate-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .2);
}

/* Content sections */
.content-section {
    padding: 4rem 0;
    background: #fff;
}

.content-section h2 {
    color: var(--color-slate-900);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: .25rem;
}

.contact-section h2 {
    text-align: center;
}

.contact-subtitle {
    text-align: center;
    color: var(--color-slate-500);
    margin-bottom: 1.5rem;
}

/* Why Choose Us */
.why-choose-section {
    padding: 5rem 0;
    background: #fff;
}

.why-choose-section h2,
.process-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--color-slate-900);
    margin-bottom: 2.5rem;
}

.why-grid {
    gap: 1.75rem;
}

.why-card {
    background: var(--color-slate-50);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .2s;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-200);
}

.why-card h3 {
    color: var(--color-primary-800);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.why-card p {
    color: var(--color-slate-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.link-arrow {
    color: var(--color-primary-700);
    font-weight: 700;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.link-arrow:hover {
    color: var(--color-primary-900);
}

/* How It Works */
.process-section {
    padding: 5rem 0;
    background: var(--color-slate-50);
}

.process-steps {
    gap: 2rem;
    position: relative;
}

.step {
    background: #fff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform .25s, box-shadow .25s;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    background: var(--color-primary-600);
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 1.05rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    box-shadow: var(--shadow);
}

.step h3 {
    color: var(--color-slate-900);
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.step p {
    color: var(--color-slate-600);
}

/* Forms */
.form-card,
.login-card {
    background: #fff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
}

.form-header h2,
.login-header h2 {
    color: var(--color-slate-900);
    font-weight: 800;
    font-size: 1.75rem;
}

.form-header p,
.login-header p {
    color: var(--color-slate-500);
}

.form-group label {
    color: var(--color-slate-700);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    border: 1px solid var(--color-slate-300);
    border-radius: var(--radius);
    padding: .9rem 1rem;
    font-size: 1rem;
    color: var(--color-slate-800);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.login-input:focus-within {
    border-color: var(--color-primary-600);
    box-shadow: 0 0 0 3px var(--color-primary-100);
    outline: none;
}

.btn-submit,
.login-submit {
    width: 100%;
    background: var(--color-primary-700);
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .2s, transform .1s, box-shadow .2s;
    box-shadow: var(--shadow);
}

.btn-submit:hover,
.login-submit:hover {
    background: var(--color-primary-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.form-footer a,
.login-forgot,
.login-signup a {
    color: var(--color-primary-700);
    text-decoration: none;
}

.form-footer a:hover,
.login-forgot:hover,
.login-signup a:hover {
    text-decoration: underline;
}

/* Footer */
.footer-content {
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    grid-template-columns: 1.25fr 1.5fr;
    gap: 3rem;
}

.footer-brand strong {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: .75rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, .75);
    line-height: 1.65;
    max-width: 460px;
}

.footer-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
}

.info-card:hover {
    background: rgba(255, 255, 255, .1);
}

.info-card strong {
    color: rgba(255, 255, 255, .65);
}

.info-card p {
    color: rgba(255, 255, 255, .9);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: end;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-col ul li {
    margin-bottom: .75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: color .15s, padding-left .15s;
}

.footer-col ul li span {
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
    display: block;
    line-height: 1.5;
    transition: color .15s;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: .25rem;
}

.copyright {
    color: rgba(255, 255, 255, .5);
    padding: 1.5rem 0;
    font-size: .8rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 2rem;
}

.bottom-nav {
    background: #fff;
    border-top: 1px solid var(--color-slate-200);
    box-shadow: 0 -2px 10px rgba(15, 23, 42, .05);
}

.bottom-nav a {
    color: var(--color-slate-500);
    font-weight: 600;
    transition: color .2s;
}

.bottom-nav a:hover,
.bottom-nav a.active {
    color: var(--color-primary-700);
}

/* Mobile refinements */
@media (max-width: 768px) {
    .nav-links {
        background: var(--color-primary-900);
        width: 300px;
    }

    .nav-links a {
        color: #fff;
        padding: .85rem 1rem;
        border-radius: var(--radius);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, .1);
        color: #fff;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links .cta a,
    .nav-links .logout a {
        background: var(--color-primary-600);
        color: #fff;
        text-align: center;
        justify-content: center;
    }

    .nav-links .logout a {
        background: #dc2626;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
}


/* Blue header theme matching reference */
header {
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.brand,
.brand small,
.nav-links a {
    color: #fff;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    opacity: 0.9;
}

.nav-links .cta a[href*="login"] {
    background: #fff;
    color: #1e40af;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-links .cta a[href*="login"]:hover {
    background: #e2e8f0;
    color: #1e40af;
    transform: translateY(-2px);
}

.nav-links .cta a[href*="apply"] {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-links .cta a[href*="apply"]:hover {
    background: #b91c1c;
    color: #fff;
    transform: translateY(-2px);
}

.menu-toggle {
    color: #fff;
}

/* Footer design polish */
footer {
    background: #0f172a;
    border-top: 3px solid #2563eb;
    padding: 3.5rem 0 1.25rem;
    color: #e2e8f0;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.footer-content {
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-brand strong {
    display: block;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid #2563eb;
    display: inline-block;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.65rem;
}

.footer-col a,
.footer-col span {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-block;
}

.footer-col a:hover {
    color: #60a5fa;
    transform: translateX(2px);
}

.copyright {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    margin: 0;
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer layout fix */
.footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Alternative light footer theme */
footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 3.5rem 0 1.25rem;
    color: #475569;
    box-shadow: none;
}

.footer-brand strong {
    color: #1e293b;
}

.footer-brand p {
    color: #64748b;
}

.footer-col h4 {
    color: #1e293b;
    border-bottom: 2px solid #2563eb;
}

.footer-col a,
.footer-col span {
    color: #475569;
}

.footer-col a:hover {
    color: #2563eb;
    transform: translateX(2px);
}

.copyright {
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
}

/* Reference blue footer theme */
footer {
    background: #2b95d9;
    padding: 2.5rem 0 1rem;
    color: #fff;
    border-top: none;
    box-shadow: none;
}

.footer-content {
    padding-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto 1.2fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-logo img {
    max-height: 65px;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.footer-logo strong {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.1;
}

.company-details h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 2px solid #fbbf24;
    display: inline-block;
    padding-bottom: 0.25rem;
}

.detail-row {
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
}

.detail-label {
    color: #fbbf24;
    font-size: 0.85rem;
    font-weight: 600;
}

.detail-value {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.55rem;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fbbf24;
}

.copyright {
    text-align: center;
    color: #fff;
    font-size: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 0;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Match footer background to header */
footer {
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
}

/* Decrease footer height */
footer {
    padding: 1.5rem 0 0.5rem;
}

.footer-content {
    padding-bottom: 0.75rem;
}

.company-details h4 {
    margin-bottom: 0.5rem;
}

.detail-row {
    margin-bottom: 0.35rem;
}

.footer-col li {
    margin-bottom: 0.3rem;
}

.copyright {
    padding-top: 0.5rem;
    margin-top: 0;
}

/* Tighten footer height and vertically center content */
footer {
    padding: 0.75rem 0 0.5rem;
}

.footer-content {
    padding-bottom: 0.25rem;
}

.footer-grid {
    align-items: center;
}

.company-details h4 {
    margin-bottom: 0.35rem;
    padding-bottom: 0.15rem;
}

.detail-row {
    margin-bottom: 0.2rem;
}

.footer-col li {
    margin-bottom: 0.15rem;
}

.copyright {
    padding-top: 0.35rem;
    margin-top: 0;
}

/* Taller header */
header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* Our Partners heading size */
.partners-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #1e40af;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* User & mobile friendly enhancements */
html {
    scroll-behavior: smooth;
}

*:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

a, button {
    touch-action: manipulation;
}

button, .btn, .nav-links a, .bottom-nav a {
    min-height: 44px;
    min-width: 44px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Mobile footer spacing fixes */
.footer-logo {
    margin-bottom: 1.25rem;
}

.company-details h4 {
    margin-top: 0.5rem;
}

.detail-value {
    word-break: break-word;
    line-height: 1.5;
}

.footer-col li {
    margin-bottom: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        gap: 1.5rem;
    }
    .partners-section h2,
    .why-choose-section h2,
    .process-section h2 {
        font-size: 1.75rem;
    }
}

/* Force 4 partner logos visible at once on all screens */
.partners-viewport {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
}

.partners-track {
    display: flex;
    width: 100%;
    min-width: 0;
}

.partner-card {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    min-width: 0;
    box-sizing: border-box;
}

/* Bottom nav layout handled inline in footer.php */
/* Professional frontend polish */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    line-height: 1.6;
    color: #334155;
    background: #f8fafc;
    padding-bottom: 85px;
}

h1, h2, h3, h4 {
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1rem;
}

a {
    transition: color 0.2s ease, background-color 0.2s ease;
}

img {
    display: block;
    max-width: 100%;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

input, textarea, select, button {
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
}

input:focus, textarea:focus, select:focus, button:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn, .cta a, button[type="submit"] {
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover, .cta a:hover, button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 3rem 0;
}

.card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    padding: 1.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    transform: translateY(-2px);
}

/* Mobile hamburger / off-canvas navigation */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 10001;
    transition: right 0.3s ease;
    padding: 1rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
    overflow-y: auto;
    box-sizing: border-box;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav .menu-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #1e293b;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-bottom: 1rem;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.mobile-nav a.active,
.mobile-nav a:hover {
    color: #2563eb;
}

.mobile-nav svg.nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header-nav {
        display: none !important;
    }
    .menu-toggle {
        display: block;
    }

    .partners-viewport {
        background: transparent;
        padding: 0;
        width: 100%;
    }

    .partners-btn {
        display: none;
    }

    .partners-dots {
        margin-top: 0.75rem;
    }

    .partner-card a,
    .partner-card > img {
        width: 100%;
        max-width: 90px;
        height: 90px;
        min-height: auto;
        max-height: 90px;
        margin: 0 auto;
        padding: 0.1rem;
    }

    .login-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .login-visual {
        display: none;
    }

    .login-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .login-card {
        max-width: 100%;
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .login-header h2 {
        font-size: 1.4rem;
    }

    .login-header p {
        font-size: 0.9rem;
    }

    .login-input {
        padding: 0.15rem 0.15rem 0.15rem 0.5rem;
    }

    .bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10002 !important;
    }

    body {
        padding-bottom: 85px !important;
    }
}

@media (min-width: 769px) {
    .partners-carousel-wrap {
        max-width: 520px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .partners-viewport {
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .partner-card a,
    .partner-card > img {
        width: 100%;
        min-width: auto;
        max-width: 90px;
        height: 90px;
        min-height: auto;
        max-height: 90px;
        margin: 0 auto;
        padding: 0.1rem;
    }
}
