/* Import Poppins font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Landing page container */
body {
    font-family: 'Poppins', Arial, sans-serif;
    color: #fff;
    background: #111;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Unified landing section for form and scorecard */
.landing-section {
    border-radius: 22px;
    box-shadow: 0 8px 40px rgba(70,128,214,0.10), 0 2px 8px rgba(0,0,0,0.06);
    padding: 2.7rem 2.2rem;
    margin: 3rem 0;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    align-items: stretch;
}

/* Remove individual backgrounds for form and scorecard */
form, #scorecard {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: unset;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Form fields */
form input[type="text"],
form input[type="email"],
form textarea,
form select {
    width: 90%;
    padding: 0.7em 1.3em;
    border: 1.5px solid #c7d7f3;
    border-radius: 8px;
    font-size: 1em;
    background: #f9fafb;
    color: #222;
    transition: border 0.2s;
    margin-top: 0.3em;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: #4680d6;
    outline: none;
}

form button[type="submit"] {
    background: linear-gradient(90deg, #4680d6 60%, #3560a8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9em 0;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5em;
    box-shadow: 0 2px 8px rgba(70,128,214,0.10);
    transition: background 0.2s;
}

form button[type="submit"]:hover {
    background: linear-gradient(90deg, #3560a8 60%, #4680d6 100%);
}

/* Scorecard styling */
#scorecard {
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

#scorecard label {
    font-size: 1em;
    margin-left: 0.6em;
    color:white;
    vertical-align: middle;
}

#scorecard input[type="checkbox"] {
    flex-shrink: 0; /* prevent shrinking */
    accent-color: #4680d6;
    width: 1.4em;
    height: 1.4em;
    vertical-align: middle;
    margin-right: 0.2em;
}

#scorecard .scorecard-row {
    display: flex;
    align-items: flex-start; /* changed from center to flex-start */
    margin-bottom: 0.5em;
    gap: 0.4em; /* add a gap for spacing */
}

#scorecard p#score {
    font-size: 1.2em;
    font-weight: 600;
    color: #4680d6;
    margin-top: 1.2em;
    background: #e7f0fb;
    padding: 0.7em 1em;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(70,128,214,0.07);
    width: fit-content;
}

/* Style for the Check Score button to match the contact form submit */
#scorecard button#check-score-btn[type="button"] {
    background: linear-gradient(90deg, #4680d6 60%, #3560a8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9em 0;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5em;
    box-shadow: 0 2px 8px rgba(70,128,214,0.10);
    transition: background 0.2s;
    width: 100%;
}

#scorecard button#check-score-btn[type="button"]:hover {
    background: linear-gradient(90deg, #3560a8 60%, #4680d6 100%);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    min-height: 320px;
    max-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.hero-img {
    width: 100vw;
    min-height: 320px;
    max-height: 380px;
    object-fit: cover;
    display: block;
    filter: brightness(0.55) blur(0.5px);
    object-position: 0% 55%;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    margin: 0 0 1.2rem 0;
    text-shadow: 0 4px 32px rgba(0,0,0,0.22);
}

.hero-tagline {
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 16px rgba(70,128,214,0.25), 0 1px 4px rgba(0,0,0,0.18);
}

/* Section Titles */
.section-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: #4680d6;
    margin-bottom: 1.1rem;
    margin-top: 0;
    letter-spacing: 0.01em;
    text-align: left;
}

/* Responsive */
@media (max-width: 600px) {
    .landing-section {
        max-width: 98vw;
        padding: 1.2rem 0.7rem;
    }
    body {
        margin: 0;
    }
}

/* Responsive for hero */
@media (max-width: 700px) {
    .hero-section, .hero-img {
        min-height: 180px;
        max-height: 220px;
    }
    .hero-logo {
        font-size: 2rem;
    }
    .hero-tagline {
        font-size: 1.1rem;
    }
}

#message {
    resize: vertical;
}