/* ── TT Firs Neue Font Faces ── */
@font-face {
    font-family: 'TTFirsNeue';
    src: url('../assets/fonts/tt_firs_neue/TT Firs Neue Trial ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'TTFirsNeue';
    src: url('../assets/fonts/tt_firs_neue/TT Firs Neue Trial Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* ── Hero Section ── */
.hero {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 110px 80px 60px;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(0, 147, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 147, 255, 0.07) 1px, transparent 1px),
        linear-gradient(rgba(0, 147, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 147, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    gap: 40px;
    position: relative;
}
/* Radial fade so grid fades out at edges */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 40% 50%, transparent 40%, #ffffff 100%);
    pointer-events: none;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

/* ── Left Content ── */
.hero__content {
    flex: 1;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Heading ── */
.hero__heading {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 800;
    font-size: 52px;
    line-height: 1.15;
    color: #000000;
    margin: 0;
}

.hero__heading span {
    color: #000000;
}

/* ── Paragraph ── */
.hero__text {
    font-family: 'nexa', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555f70;
    margin: 0;
}

/* ── Gradient Line ── */
.hero__line {
    width: 280px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0093ff, #ffffff);
}

/* ── CTA Buttons ── */
.hero__buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #21365c;
    color: #ffffff;
    text-decoration: none;
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.4px;
    padding: 14px 32px;
    border-radius: 0;
    border: 2px solid #21365c;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.hero__btn:hover {
    background-color: #0093ff;
    border-color: #0093ff;
}

/* ── Right Panel ── */
.hero__right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 60px 80px;
}

/* ── Floating Book Images ── */
.hero__book {
    position: absolute;
    border-radius: 0;
    object-fit: cover;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,0.22));
}

.hero__book--2 {
    width: 120px;
    bottom: -20px;
    left: -10px;
    transform: rotate(8deg);
    animation: floatBook2 5s ease-in-out infinite;
    z-index: 3;
}

.hero__book--3 {
    width: 130px;
    top: -20px;
    right: -20px;
    transform: rotate(10deg);
    animation: floatBook3 4.5s ease-in-out infinite;
    z-index: 3;
}

@keyframes floatBook2 {
    0%, 100% { transform: rotate(8deg) translateY(0);    }
    50%       { transform: rotate(8deg) translateY(-10px); }
}
@keyframes floatBook3 {
    0%, 100% { transform: rotate(10deg) translateY(0);    }
    50%       { transform: rotate(10deg) translateY(-14px); }
}

/* ── Form Card ── */
.hero__form-card {
    background: #0093ff;
    border-radius: 0;
    width: 100%;
    max-width: 520px;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.hero__form {
    background: #0093ff;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Inputs ── */
.hero__input {
    width: 100%;
    padding: 13px 16px;
    border: none;
    border-radius: 0;
    background: #ffffff;
    font-family: 'nexa', sans-serif;
    font-size: 14px;
    color: #1a2d5a;
    outline: none;
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.hero__input::placeholder {
    color: #9aa4b8;
}

.hero__input:focus {
    border-color: #0093ff;
    background: #ffffff;
}

.hero__select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa4b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.hero__textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'nexa', sans-serif;
}

/* ── Submit Button ── */
.hero__submit {
    width: 100%;
    padding: 15px;
    background-color: #21365c;
    color: #ffffff;
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
    margin-top: 4px;
}

.hero__submit:hover {
    background-color: #ffffff;
    color: #0093ff;
}

/* ════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
════════════════════════════════ */
@media (max-width: 1024px) {
    .hero {
        padding: 20px 40px 60px 40px;
        gap: 30px;
    }

    .hero__heading {
        font-size: 42px;
    }

    .hero__right {
        padding: 60px 60px;
    }
}

/* ════════════════════════════════
   RESPONSIVE — Mobile (≤ 768px)
════════════════════════════════ */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 50px 20px 50px 20px;
        min-height: auto;
        gap: 40px;
    }

    .hero__content {
        max-width: 100%;
        text-align: left;
        align-items: flex-start;
    }

    .hero__heading {
        font-size: 34px;
    }

    .hero__buttons {
        justify-content: flex-start;
    }

    .hero__right {
        width: 100%;
        padding: 20px 0;
        min-height: auto;
        justify-content: flex-start;
    }

    .hero__form-card {
        max-width: 100%;
        width: 100%;
    }

    .hero__book--2 {
        width: 90px;
        left: -5px;
        bottom: -10px;
    }

    .hero__book--3 {
        width: 95px;
        right: -5px;
        top: -10px;
    }
}

/* ════════════════════════════════
   RESPONSIVE — Small (≤ 480px)
════════════════════════════════ */
@media (max-width: 480px) {
    .hero__heading {
        font-size: 28px;
    }

    .hero__text {
        font-size: 14px;
    }

    .hero__btn {
        padding: 12px 22px;
        font-size: 13px;
    }

    .hero__form {
        padding: 24px 20px;
    }

    .hero__book--2,
    .hero__book--3 {
        display: none;
    }
}
