﻿/* Enquiry Form Styling (matches provided mockup) */

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #2b2b2b;
    background: #f9fafc;
    min-height: 100vh;
}

.admissions-section {
    padding: 100px 8%;
    background: #f9fafc;
}

.admissions-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.admissions-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.admissions-left {
    padding: 60px 50px;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
}

.admissions-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0d1b2a;
    font-weight: 700;
}

.school-name-input {
    display: inline;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 20px;
    font-size: 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid #1e4fa3;
    width: auto;
    min-width: 280px;
    padding: 5px 10px;
}

.school-name-input:focus {
    outline: none;
    border-bottom: 3px solid #fca311;
}

.admissions-left p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.class-selection {
    margin-bottom: 30px;
}

.class-selection label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

.class-selection input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1e4fa3;
}

.get-in-touch-btn {
    background: #fca311;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.get-in-touch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.22);
}

.admissions-right {
    padding: 60px 50px;
    background: #ffffff;
}

.form-header {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

input,
select,
textarea {
    appearance: none;
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(0, 0, 0, 0.45);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    font-size: 14px;
    font-family: Poppins, sans-serif;
    color: #111;
    transition: 0.2s ease;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1e4fa3;
    box-shadow: 0 0 0 3px rgba(30, 79, 163, 0.1);
}

.form-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ffb703, #fb8500);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.22);
}

@media (max-width: 768px) {
    .admissions-section {
        padding: 60px 4%;
    }

    .admissions-container {
        max-width: 100%;
        /* margin: 0 1px; */
    }

    .admissions-wrapper {
        grid-template-columns: 1fr;
    }

    .admissions-left,
    .admissions-right {
        padding: 10px 10px;
    }

    .admissions-left .school-name-input {
        width: 100%;
    }

    .admissions-left p {
        width: 90%;
    }

    .school-name-input {
        font-size: 22px;
        min-width: 220px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit-btn {
        font-size: 15px;
        padding: 14px;
    }
}

.enquiry-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    width: 100%;
    max-width: 520px;
}

.enquiry-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    padding: 32px 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.enquiry-card__header {
    margin-bottom: 24px;
}

.enquiry-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #0f1b35;
}

.enquiry-card__subtitle {
    margin: 0;
    color: #5f6b7a;
    line-height: 1.5;
    font-size: 0.95rem;
}

.enquiry-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-size: 0.9rem;
    color: #505f75;
    margin-bottom: 6px;
    font-weight: 600;
}

input,
select,
textarea {
    appearance: none;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(74, 85, 104, 0.3);
    border-radius: 12px;
    background: #ffffff;
    font-size: 0.95rem;
    color: #1f2c3a;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4f9cff;
    box-shadow: 0 0 0 3px rgba(79, 156, 255, 0.18);
}

.submit-btn {
    width: 100%;
    margin-top: 18px;
    padding: 14px 0;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, #ff9b00 0%, #ff7a00 100%);
    cursor: pointer;
    box-shadow: 0 12px 20px rgba(255, 129, 0, 0.25);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 24px rgba(255, 129, 0, 0.35);
}

@media (max-width: 520px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-card {
        padding: 26px 20px;
    }
}