/* ================================================================
   UV PLAY KIDS SCHOOL — Forms, Admission & CTA Styles
   forms.css — All form UI components
   ================================================================ */

/* ===== FORM LAYOUT ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* ===== INPUTS, SELECTS, TEXTAREAS ===== */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

/* Reset appearance for checkboxes so they are clickable & visible */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: auto;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.04);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.07);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='2' stroke-linecap='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
}

.form-group select option {
    background: #1a0f3c;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.65;
}

.form-group input[type="date"] {
    color-scheme: dark;
}

/* Required asterisk */
.req {
    color: #f87171;
}

/* ===== FORM ALERTS ===== */
.form-alert {
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 28px;
    line-height: 1.65;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-success {
    background: rgba(74, 222, 128, 0.07);
    border: 1px solid rgba(74, 222, 128, 0.22);
    color: #4ade80;
}

.form-error {
    background: rgba(248, 113, 113, 0.07);
    border: 1px solid rgba(248, 113, 113, 0.22);
    color: #f87171;
}

/* ===== ADMISSION FORM WRAPPER ===== */
.admission-form-wrap {
    position: relative;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 28px;
    padding: 52px 48px;
    backdrop-filter: blur(12px);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 1px 0 rgba(255, 215, 0, 0.08) inset;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    transform-style: preserve-3d;
}

.admission-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.25), transparent);
    border-radius: 50%;
}

.admission-form-wrap:hover {
    box-shadow:
        0 48px 90px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(100, 60, 220, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transform: translateY(-2px);
}

.admission-form {
    display: flex;
    flex-direction: column;
}

/* Form sections */
.form-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.form-header h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.2;
}

.form-header p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 8px;
}

.form-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 205, 80, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 22px;
    padding: 8px 12px;
    background: rgba(251, 191, 36, 0.05);
    border-radius: 8px;
    border-left: 3px solid rgba(251, 191, 36, 0.35);
}

.form-submit-area {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.form-submit-area>p {
    width: 100%;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    line-height: 1.65;
    margin-bottom: 4px;
}

/* ===== ADMISSION HIGHLIGHTS ===== */
.admission-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 44px;
}

.adm-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.adm-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.0), rgba(251, 191, 36, 0.6), rgba(251, 191, 36, 0.0));
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.adm-highlight:hover {
    border-color: rgba(251, 191, 36, 0.22);
    background: rgba(251, 191, 36, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.adm-highlight:hover::after {
    transform: scaleX(1);
}

.adm-highlight>div:first-child {
    font-size: 2.2rem;
    flex-shrink: 0;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.adm-highlight strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3px;
    font-family: 'Fredoka One', cursive;
}

.adm-highlight small {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

/* ===== CTA BOX (above footer) ===== */
.cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 72px 60px;
    text-align: center;
    background: linear-gradient(135deg,
            rgba(14, 28, 80, 0.92) 0%,
            rgba(8, 18, 55, 0.96) 50%,
            rgba(18, 8, 55, 0.92) 100%);
    border: 1px solid rgba(255, 215, 0, 0.16);
    box-shadow:
        0 48px 90px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 215, 0, 0.18) inset;
    backdrop-filter: blur(20px);
    transform: perspective(1400px) rotateX(0.8deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.cta-box:hover {
    transform: perspective(1400px) rotateX(0deg) translateY(-6px);
    box-shadow:
        0 70px 120px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 215, 0, 0.28) inset,
        0 0 80px rgba(100, 60, 220, 0.1);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.13) 0%, transparent 65%);
    pointer-events: none;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(120, 60, 255, 0.18) 0%, transparent 65%);
    pointer-events: none;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
    margin-bottom: 30px;
}

.cta-phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-phones a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Fredoka One', cursive;
    font-size: 0.98rem;
    font-weight: 800;
    color: #fbbf24;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 9px 18px;
    border-radius: 50px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.18);
}

.cta-phones a:hover {
    color: #fff;
    background: rgba(251, 191, 36, 0.16);
    border-color: rgba(251, 191, 36, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.18);
}

.cta-phones span {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.3rem;
}

/* ===== CONTACT FORM SPECIFIC ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .admission-highlights {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .admission-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .admission-form-wrap {
        padding: 32px 22px;
    }

    .cta-box {
        padding: 52px 28px;
        transform: none;
        border-radius: 22px;
    }

    .cta-box:hover {
        transform: translateY(-4px);
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .form-header h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .admission-highlights {
        grid-template-columns: 1fr;
    }

    .adm-highlight {
        padding: 16px 14px;
    }

    .form-submit-area {
        flex-direction: column;
    }

    .form-submit-area .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-phones {
        flex-direction: column;
        gap: 10px;
    }

    .cta-phones span {
        display: none;
    }
}