/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1f2937;
    overflow-x: hidden;
}

.logo {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    height: 60vh;

    background:
        linear-gradient(rgba(7, 20, 40, 0.78),
            rgba(7, 20, 40, 0.78)),
        url('../images/placeholder2.jpg') center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 20px;
}

.hero-content h1 {
    color: white;
    font-size: 3.8rem;
    line-height: 1.3;
    letter-spacing: 2px;
}

/* =========================
   FORM SECTION
========================= */

.form-section {
    max-width: 900px;
    margin: -80px auto 100px;
    background: white;
    padding: 60px;
    border-radius: 28px;

    position: relative;
    z-index: 5;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

.form-section p {
    text-align: center;
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 45px;
}

/* =========================
   FORM
========================= */

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

label {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.required {
    color: #2563eb;
}

.name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input,
textarea {
    width: 100%;
    padding: 18px 20px;

    border: 1px solid #dbe2ea;
    border-radius: 16px;

    background: #f8fafc;

    font-family: inherit;
    font-size: 1rem;
    color: #1f2937;

    transition: 0.3s ease;
}

textarea {
    resize: vertical;
    min-height: 160px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;

    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* =========================
   BUTTON
========================= */

button {
    margin-top: 15px;
    padding: 18px;

    border: none;
    border-radius: 16px;

    background: #2563eb;
    color: white;

    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;

    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* =========================
   POPUP
========================= */

.popup {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;

    z-index: 9999;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-box {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;

    width: 90%;
    max-width: 500px;

    text-align: center;

    transform: translateY(20px);
    transition: 0.3s ease;
}

.popup.active .popup-box {
    transform: translateY(0);
}

.popup-box h2 {
    color: #0f172a;
    font-size: 1.6rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.popup-box button {
    width: 100%;
}



/* =========================
   RESPONSIVE
========================= */

@media(max-width: 768px) {

    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .form-section {
        margin: -50px 20px 80px;
        padding: 40px 25px;
        border-radius: 22px;
    }

    .name-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    input,
    textarea {
        padding: 16px;
    }

    .popup-box {
        padding: 40px 25px;
    }

    .popup-box h2 {
        font-size: 1.3rem;
    }
}