/* Simple, clean, and minimal theme for Admission page */
:root {
    --accent-blue: #3498db;
    --light-gray: #f7f9fa;
    --border-gray: #e1e4e8;
    --heading-font: 'Fredoka One', Arial, sans-serif;
    --body-font: 'Comic Neue', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #87ceeb 0%, #e0ffff 100%);
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #222;
}

.admission-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 12px;
}

.section-divider {
    border: none;
    border-top: 1.5px solid var(--border-gray);
    margin: 40px 0 32px 0;
    width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--accent-blue);
    margin-top: 0;
    margin-bottom: 0.5em;
    letter-spacing: 0.5px;
}
h1 {
    font-size: 2.2em;
}
h2 {
    font-size: 1.5em;
    text-align: center;
}
h3 {
    font-size: 1.1em;
}

.hero-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(52,152,219,0.06);
    margin-bottom: 24px;
    padding: 40px 16px 24px 16px;
    text-align: center;
}
.hero-section p {
    font-size: 1.1em;
    color: #555;
    font-family: var(--body-font);
}

.process-section, .importance-section, .form-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(52,152,219,0.06);
    margin-bottom: 24px;
    padding: 32px 16px;
}

.process-steps, .importance-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.step, .card {
    background: #f7f9fa;
    border: 1.5px solid var(--border-gray);
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    box-shadow: 0 1px 4px rgba(52,152,219,0.04);
    transition: box-shadow 0.2s, border-color 0.2s;
    margin: 0 6px;
    padding: 18px 8px;
}
.step:hover, .card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 16px rgba(52,152,219,0.10);
}
.step i, .card i {
    font-size: 1.7em;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.admission-form {
    max-width: 500px;
    margin: 0 auto;
    border: 1.5px solid var(--border-gray);
    background: #fff;
    box-shadow: 0 2px 8px rgba(52,152,219,0.06);
    border-radius: 10px;
    padding: 24px;
}
.form-group {
    position: relative;
    margin-bottom: 24px;
}
.form-group input,
.form-group select {
    width: 80%;
    padding: 10px;
    border: 1.5px solid var(--border-gray);
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    font-family: var(--body-font);
    background: #f7f9fa;
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-blue);
    outline: none;
}
.form-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    transition: all 0.2s;
    pointer-events: none;
    background: #fff;
    padding: 0 4px;
    font-size: 0.98em;
}
.form-group input:focus + label,
.form-group input:valid + label {
    top: 0;
    font-size: 12px;
    color: var(--accent-blue);
}
.form-group select {
    appearance: none;
    background: #f7f9fa;
    cursor: pointer;
}
.form-group select + label {
    display: none;
}
.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-family: var(--heading-font);
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 4px rgba(52,152,219,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 8px;
    cursor: pointer;
}
.submit-btn:hover {
    background: #217dbb;
    box-shadow: 0 2px 8px rgba(52,152,219,0.13);
}

/* Loader styles */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader.show {
    display: flex;
}

.loader-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    width: 90%;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-family: var(--body-font);
    color: #555;
    font-size: 1.1em;
    margin: 0;
}

.submit-btn.loading {
    background: #95a5a6;
    cursor: not-allowed;
    pointer-events: none;
}

.submit-btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}
.form-intro {
    text-align: center;
    color: #555;
    margin-bottom: 18px;
    font-size: 1.05em;
    font-weight: 500;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--body-font);
}
.privacy-note {
    font-size: 0.98em;
    color: #888;
    text-align: center;
    margin-top: 12px;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    font-family: var(--body-font);
}
@media (max-width: 900px) {
    .process-steps,
    .importance-cards {
        flex-direction: column;
        align-items: center;
    }
    .step,
    .card {
        width: 100%;
        max-width: 350px;
        margin-bottom: 14px;
    }
    .hero-section h1 {
        font-size: 1.5em;
    }
    section h2 {
        font-size: 1.1em;
    }
}
@media (max-width: 600px) {
    .admission-container {
        padding: 6px;
    }
    .hero-section, .process-section, .importance-section, .form-section {
        padding: 10px 2px;
    }
    .admission-form {
        padding: 8px;
    }
    h1 {
        font-size: 1.1em;
    }
    h2 {
        font-size: 1em;
    }
}
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}
.animate__fadeIn {
    animation-name: fadeIn;
}
.animate__fadeInUp {
    animation-name: fadeInUp;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 100%, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.success-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}
.success-content i {
    color: #4CAF50;
    font-size: 4rem;
    margin-bottom: 1rem;
}
.success-content h2 {
    color: #333;
    margin-bottom: 1rem;
}
.success-content p {
    margin: 0.5rem 0;
    color: #666;
}
.success-content button {
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}
.success-content button:hover {
    background: #45a049;
}

/* ------------------- Mobile (≤600px) ------------------- */
@media only screen and (max-width: 600px) {
    .container {
      padding: 20px;
    }
  
    .header h1 {
      font-size: 26px;
    }
  
    .step h2 {
      font-size: 18px;
    }
  
    .card {
      padding: 20px;
      border-radius: 10px;
    }
  
    .form-group input,
    .form-group select {
      font-size: 14px;
      padding: 10px;
    }
  
    .form-group label {
      font-size: 12px;
    }
  
    .button-container {
      flex-direction: column;
      gap: 10px;
    }
  
    .submit-button,
    .back-button {
      width: 100%;
      font-size: 14px;
      padding: 10px;
    }
  
    .progress-container {
      height: 6px;
    }

    .process-steps,
    .importance-cards {
      flex-direction: column;
      align-items: center;
    }
  
    .step,
    .card {
      width: 90%;
      max-width: 100%;
      box-sizing: border-box;
    }
  }
  
  /* ------------------- Tablet (601px to 900px) ------------------- */
  @media only screen and (min-width: 601px) and (max-width: 900px) {
    .container {
      padding: 40px;
    }
  
    .header h1 {
      font-size: 30px;
    }
  
    .step h2 {
      font-size: 22px;
    }
  
    .form-group input,
    .form-group select {
      font-size: 15px;
      padding: 12px;
    }
  
    .form-group label {
      font-size: 13px;
    }
  
    .submit-button,
    .back-button {
      font-size: 15px;
      padding: 12px 18px;
    }
  }
  
  /* ------------------- Laptop (901px to 1199px) ------------------- */
  @media only screen and (min-width: 901px) and (max-width: 1199px) {
    .container {
      padding: 60px;
    }
  
    .header h1 {
      font-size: 34px;
    }
  
    .step h2 {
      font-size: 24px;
    }
  
    .form-group input,
    .form-group select {
      font-size: 16px;
      padding: 14px;
    }
  
    .form-group label {
      font-size: 14px;
    }
  
    .submit-button,
    .back-button {
      font-size: 16px;
      padding: 12px 20px;
    }
  }
  
  /* ------------------- Desktop (≥1200px) ------------------- */
  @media only screen and (min-width: 1200px) {
    .container {
      padding: 80px;
    }
  
    .header h1 {
      font-size: 40px;
    }
  
    .step h2 {
      font-size: 26px;
    }
  
    .form-group input,
    .form-group select {
      font-size: 18px;
      padding: 16px;
    }
  
    .form-group label {
      font-size: 15px;
    }
  
    .submit-button,
    .back-button {
      font-size: 17px;
      padding: 14px 24px;
    }
  }
  