﻿
:root {
    --primary: #17b7c7;
    --primary-dark: #0b6d86;
    --accent: #6f63f6;
    --text: #1d3557;
    --text-soft: #5f6f85;
    --bg: #f4f9fc;
    --white: #ffffff;
    --border: #dce8f0;
    --shadow: 0 18px 48px rgba(22, 58, 90, 0.12);
    --radius: 24px;
    --radius-sm: 16px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Quicksand', Arial, sans-serif !important;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(23, 183, 199, 0.12), transparent 32%), linear-gradient(180deg, #f7fcff 0%, #eef6fb 100%) !important;
    line-height: 1.6 !important;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none !important;
}

.small-text {
    font-family: 'Quicksand', Arial, sans-serif;
    color: #000000;
    font-size: small;
    line-height: 1.2;
}

.container {
    width: min(calc(100% - 32px), var(--max)) !important;
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(220, 232, 240, 0.9);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0 !important;
}

.brand img {
    width: 210px;
    max-width: 44vw;
    height: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 15px 24px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    min-height: 52px;
}

    .login-btn:hover {
        transform: translateY(-1px);
    }

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 24px rgba(11, 109, 134, 0.22);
    text-decoration: none;
}

.btn-secondary {
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(30, 66, 98, 0.08);
    text-decoration: none;
}

.hero {
    padding: 26px 0 22px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: clamp(24px, 3vw, 34px);
    min-height: 420px;
    box-shadow: var(--shadow);
    background: #d8eef3;
    isolation: isolate;
}

    .hero-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(10, 32, 54, 0.18) 0%, rgba(10, 32, 54, 0.38) 55%, rgba(10, 32, 54, 0.62) 100%), linear-gradient(90deg, rgba(11, 109, 134, 0.18) 0%, rgba(111, 99, 246, 0.08) 100%);
        z-index: 1;
    }

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: clamp(24px, 4vw, 44px);
}

.hero-copy {
    max-width: 760px;
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 4.8vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: bold !important;
}

.hero-copy p {
    margin: 14px 0 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.94);
}

.main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: start;
    padding: 18px 0 44px;
}

.login-form {
    padding: 22px 24px 26px;
    display: grid;
    gap: 14px;
}

.panel,
.login-form-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(220, 232, 240, 0.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel {
    padding: clamp(24px, 3vw, 38px);
}

.intro-lead {
    font-size: clamp(1.12rem, 1.8vw, 1.35rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 18px;
}

.body-copy p {
    margin: 0 0 14px;
    font-size: 1.06rem;
    color: var(--text);
}

.body-copy strong {
    color: var(--text);
}

.stack {
    display: grid;
    gap: 20px;
    margin-top: 26px;
}

.sub-card {
    background: linear-gradient(180deg, rgba(247, 252, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px 20px;
}

h2 {
    margin: 0 0 10px !important;
    font-size: clamp(1.3rem, 2vw, 1.65rem) !important;
    line-height: 1.2 !important;
    font-weight: bold !important;
}

.sub-card p,
.sub-card li {
    color: var(--text-soft);
    font-size: 1rem;
}

.bullet-list,
.check-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

    .bullet-list li,
    .check-list li {
        position: relative;
        padding-left: 18px;
        font-weight: 600;
    }

        .bullet-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            top: -1px;
            color: var(--primary);
            font-size: 1.2rem;
            line-height: 1;
        }

    .check-list li {
        padding-left: 30px;
    }

        .check-list li::before {
            content: "✔";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--primary);
            font-weight: 700;
        }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.trust-section {
    margin-top: 8px;
}

.trust-copy {
    margin: 0 0 18px;
    color: var(--text-soft);
    max-width: 62ch;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.logo-tile {
    min-height: 78px;
    border-radius: 16px;
    border: 1px dashed #c7d7e3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    color: #8091a6;
    font-weight: 700;
    font-size: 0.95rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.audience-card {
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, #f8fcff 0%, #eef8fb 100%);
    border: 1px solid var(--border);
    font-weight: 700;
    color: var(--text);
}

.login-form-panel {
    /*position: sticky;*/
    top: 104px;
    overflow: hidden;
}

.form-head {
    padding: 26px 24px 18px;
    background: linear-gradient(135deg, rgba(23, 183, 199, 0.13), rgba(111, 99, 246, 0.12));
    border-bottom: 1px solid rgba(220, 232, 240, 0.95);
}

    .form-head h2 {
        margin-bottom: 8px;
    }

    .form-head p {
        margin: 0;
        color: var(--text-soft);
        font-weight: 600;
    }

form {
    padding: 22px 24px 26px;
    display: grid;
    gap: 14px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field {
    display: grid;
    gap: 8px;
}

label {
    font-weight: 700;
    font-size: 0.96rem;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 14px;
    padding: 14px 15px;
    font: inherit;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(23, 183, 199, 0.12);
    }

textarea {
    min-height: 110px;
    resize: vertical;
}

.helper {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.form-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 15px;
    border-radius: 14px;
    background: #f4fbfd;
    border: 1px solid #d6eef2;
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.form-actions {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.micro-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    text-align: center;
    font-size: 0.94rem;
    color: var(--text-soft);
    margin-top: 6px;
}

.footer-space {
    height: 36px;
}

/* Added form enhancements */
.google-btn {
    width: 100%;
    justify-content: center;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(30, 66, 98, 0.08);
}

.google-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 2px;
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: lowercase;
}

    .form-divider::before,
    .form-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--border);
    }

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 2px;
}

    .checkbox-row input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin: 3px 0 0;
        padding: 0;
        border-radius: 4px;
        accent-color: var(--primary);
        flex-shrink: 0;
    }

    .checkbox-row label {
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.45;
        font-weight: 600;
        color: var(--text-soft);
    }

    .checkbox-row a {
        color: var(--primary-dark);
        font-weight: 700;
        text-decoration: underline;
    }

#termsModal {
    z-index: 10000 !important;
}
.term-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    padding: 20px;
}

.forget-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    padding: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.terms-header h2 {
    font-size: 1.25rem !important;
    margin: 0;
}
.form-group-sign input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    display: flex;
}
.modal-header, .modal-footer, .search-box {
    padding: 15px 20px;
    z-index: 1;
    position: relative;
}

.terms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.close-terms {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}
/*.modal-body {
    padding: 15px 20px;
    overflow-y: auto;
    flex: 1;
}*/
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
}
.error-msg {
    color: red;
    font-size: 13px;
    margin-top: 2px;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}
.form-group-sign {
    position: relative;
    margin-bottom: 15px;
    text-align: left;
}
    .form-group-sign i {
        position: absolute;
        /* left: 10px; */
        margin-left: 10px;
        top: 12px;
        color: #888;
    }
.modal-header, .modal-footer, .search-box {
    padding: 15px 20px;
    z-index: 1;
    position: relative;
}
    .modal-footer button {
        padding: 8px 18px;
        border-radius: 8px;
        font-size: 14px;
        border: none;
        cursor: pointer;
    }
.forget-btns {
    display: flex;
    gap: 20px;
}
.cancelButton {
    font-size: 16px;
    color: white;
    background-color: gray !important;
    border-radius: 8px;
   /* height: 32px;*/
    width: 100px;
    padding: 0;
}

.login-button {
    margin-top: 10px;
    border: none;
    border-radius: 8px;
}



.terms-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 650px;
    width: 100%;
    padding: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.terms-body {
    text-align: justify;
    padding: 5px 5px 5px 5px;
    font-size: 14px;
    line-height: 1.75;
    max-height: 60vh;
    overflow-y: auto;
}
.term-btn {
    padding: 10px;
}

.term-privacy-btn {
    padding: 10px;
    background-color: #1485ba;
    color: white;
    border: none;
    border-radius: 8px !important;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}
.term-privacy-btn:hover {
    background-color: #1bb1f8;
}

.modal-video {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}
.modal-video-content {
    position: relative;
    width: 50% !important;
    margin: 80px auto;
}
.video-close-btn {
    position: absolute;
    right: -30px;
    top: -30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.modal-video-content iframe {
    width: 100%;
    height: 400px;
}
.invalid-login {
    color: #d93025;
    font-size: 14px;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .form-panel {
        position: relative;
        top: 0;
    }

    .logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .header-inner {
        min-height: 72px;
    }

    .brand img {
        width: 168px;
    }

    .header-actions {
        display: none;
    }

    .hero-card,
    .hero-content {
        min-height: 360px;
    }

    .panel,
    .form-head,
    form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .field-row,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-row {
        flex-direction: column;
    }

        .cta-row .btn {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .container {
        width: min(calc(100% - 20px), var(--max));
    }

    .logo-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .hero-content {
        min-height: 320px;
    }

    h1 {
        font-size: 2.1rem;
    }
}


