/* ================================================
   style.css - Chinkara English Academy Sayla
   Admission Enquiry Form
   ================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #e6f0fa);
    color: #2c3e50;
    line-height: 1.6;
    padding: 15px;
    min-height: 100vh;
}

/* Main Container */
.form-container {
    max-width: 760px;
    margin: 30px auto;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.logo-container img {
    max-height: 95px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Headings */
h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.1rem;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: #34495e;
    font-size: 1.15rem;
    margin-bottom: 35px;
}

/* Form Labels */
label {
    display: block;
    margin: 18px 0 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.98rem;
}

/* Form Inputs */
input, select, textarea {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid #dfe6e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus, 
select:focus, 
textarea:focus {
    border-color: #27ae60;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.15);
    outline: none;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 85px;
}

/* Submit Button */
button {
    background: #27ae60;
    color: white;
    padding: 16px;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
    width: 100%;
    margin-top: 30px;
    transition: all 0.3s ease;
}

button:hover {
    background: #219653;
    transform: translateY(-2px);
}

/* Required Field */
.required {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 576px) {
    .form-container {
        padding: 25px 18px;
        margin: 15px auto;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .logo-container img {
        max-height: 75px;
    }
    
    input, select, textarea {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Success Message Styles (if needed later) */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}