/* --- Google Fonts & Variables --- */
:root {
  --primary-color: #D52B1E;
  --primary-dark: #A32117;
  --accent-dark: #0f172a;
  --accent-light: #F8F9FA;
  --text-color: #334155;
  --heading-color: #0F172A;
  --light-bg: #F8F9FA;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { color: var(--text-color); line-height: 1.6; overflow-x: hidden; background-color: var(--white); }
html { scroll-behavior: smooth; }

/* --- Top Bar --- */
.top-bar { background-color: var(--accent-dark); color: var(--white); padding: 8px 5%; display: flex; justify-content: space-between; align-items: center; position: fixed; top: 0; width: 100%; z-index: 1100; font-size: 0.9rem; height: 50px; }
.top-bar-left { display: flex; align-items: center; gap: 15px; flex-wrap: wrap;}
.btn-admission { background-color: var(--primary-color); color: var(--white); padding: 4px 18px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 0.85rem; animation: pulseHeader 2s infinite; box-shadow: 0 4px 10px rgba(213, 43, 30, 0.3); }
.btn-admission:hover { background-color: var(--primary-dark); color: var(--white); }
@keyframes pulseHeader { 0% { box-shadow: 0 0 0 0 rgba(213, 43, 30, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(213, 43, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(213, 43, 30, 0); } }

/* Globals */
.section-title { font-size: 2.5rem; color: var(--heading-color); margin-bottom: 20px; font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 32px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; font-size: 1.05rem; }
.btn-primary { background: var(--primary-color); color: var(--white); box-shadow: 0 4px 15px rgba(213, 43, 30, 0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(213, 43, 30, 0.4); }

/* --- Navbar --- */
.navbar { position: fixed; top: 50px; width: 100%; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: 0 2px 15px rgba(0,0,0,0.05); z-index: 1000; transition: var(--transition); border-bottom: 4px solid var(--primary-color); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 55px; }
.nav-links { display: flex; align-items: center; }
.nav-links a { text-decoration: none; color: var(--accent-dark); margin-left: 30px; font-weight: 600; position: relative; transition: var(--transition); padding-bottom: 5px; }
.nav-links > a::after { content: ''; position: absolute; width: 0; height: 3px; background: var(--primary-color); bottom: 0; left: 0; transition: var(--transition); }
.nav-links > a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary-color); }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-color); }

/* --- Standard Forms & UI --- */
.page-header { background: var(--light-bg); color: var(--heading-color); padding: 180px 5% 80px; text-align: center; border-bottom: 1px solid #E2E8F0; }
.page-header h1 { font-size: 3.5rem; color: var(--primary-color); margin-bottom: 15px; font-weight: 800;}
.page-header p { font-size: 1.2rem; color: var(--text-color); max-width: 600px; margin: 0 auto;}
.contact-page-content { max-width: 1200px; margin: 80px auto; padding: 0 5%; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 16px; border: 1px solid #CBD5E1; border-radius: 8px; font-size: 1rem; transition: var(--transition); background: var(--light-bg); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary-color); outline: none; background: var(--white); box-shadow: 0 0 0 4px rgba(213, 43, 30, 0.1); }

/* --- ADMISSION FORM UI STYLES --- */
.form-section-card { background: var(--white); padding: 40px; border-radius: 16px; border: 1px solid #E2E8F0; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.form-section-title { font-size: 1.3rem; color: var(--heading-color); margin-bottom: 25px; display: flex; align-items: center; gap: 15px; border-bottom: 2px dashed #E2E8F0; padding-bottom: 15px; font-weight: 700; }
.form-section-title i { color: var(--primary-color); font-size: 1.5rem; background: rgba(213, 43, 30, 0.1); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; color: var(--heading-color); font-size: 0.95rem; }
.pill-group { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-group input[type="radio"] { display: none; }
.pill-label { padding: 12px 25px; background: var(--white); border: 2px solid #CBD5E1; border-radius: 50px; cursor: pointer; transition: var(--transition); font-size: 0.95rem; font-weight: 600; color: var(--text-color); display: flex; align-items: center; gap: 8px;}
.pill-group input[type="radio"]:checked + .pill-label { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); box-shadow: 0 6px 15px rgba(213, 43, 30, 0.25); transform: translateY(-2px); }
.file-upload-box { position: relative; border: 2px dashed #CBD5E1; border-radius: 12px; padding: 40px 20px; text-align: center; background: var(--light-bg); transition: var(--transition); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.file-upload-box:hover { border-color: var(--primary-color); background: rgba(213, 43, 30, 0.03); transform: translateY(-3px); }
.file-upload-box i { font-size: 3rem; color: var(--primary-color); margin-bottom: 15px; }
.file-upload-box h4 { color: var(--heading-color); font-size: 1.1rem; }
.file-upload-box input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* --- Footer --- */
footer { background: var(--accent-dark); color: #E2E8F0; padding: 70px 5% 20px; border-top: 4px solid var(--primary-color); }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; max-width: 1200px; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; }
.footer-col h3 { font-size: 1.3rem; margin-bottom: 20px; color: var(--white); font-weight: 700; display: inline-block; position: relative; padding-bottom: 8px;}
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--primary-color); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; color: #CBD5E1; }
.footer-col ul li i { margin-right: 12px; color: var(--primary-color); width: 15px;}

/* Responsive Tablets */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .form-row { grid-template-columns: 1fr; gap: 15px; margin-bottom: 15px; }
}