/* Header and modal styles extracted from header.php */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(8px); z-index: 3000; justify-content: center; align-items: center; padding: 15px; box-sizing: border-box; }
.modal-overlay.show { display: flex; }

.modal-card { background: white; padding: 30px; border-radius: 40px; width: 100%; max-width: 650px; max-height: 95vh; overflow-y: auto; text-align: center; position: relative; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); border: 4px solid white; box-sizing: border-box; }

.selection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; }

.choice-card { text-decoration: none; padding: 20px 10px; border-radius: 25px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; border: 2px solid transparent; gap: 10px; color: var(--text-dark, #2d3436); }

.choice-icon { font-size: 30px; margin-bottom: 5px; }

.student { background: #eef2ff; color: #6c5ce7; border: 2px solid #eef2ff; }
.parent { background: #fdf2f8; color: #db2777; border: 2px solid #fdf2f8; }
.school { background: #ecfdf5; color: #059669; border: 2px solid #ecfdf5; }

.choice-card:hover { transform: translateY(-8px); background: white; border-color: currentColor; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

@media (max-width: 768px) { .modal-card { padding: 20px 15px; border-radius: 20px; width: 100%; max-width: 350px; } .modal-card h2 { font-size: 1.5rem !important; margin-bottom: 10px !important; margin-top: 15px !important; } .modal-card p { font-size: 0.9rem !important; margin-bottom: 15px !important; } .selection-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 15px; } .choice-card { flex-direction: row; padding: 12px 15px; justify-content: flex-start; gap: 8px; } .choice-icon { margin-bottom: 0; margin-right: 10px; font-size: 20px; } .choice-card span { font-size: 0.9rem; } .choice-card small { display: block; margin-left: auto; text-align: right; } .close-btn { top: 10px !important; right: 10px !important; width: 30px !important; height: 30px !important; font-size: 18px !important; } }

.main-header { height: 75px; display: flex; align-items: center; padding: 0 5%; background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.08); position: fixed; width: 100%; top: 0; z-index: 1500; box-sizing: border-box; }

.close-btn { position: absolute; top: 20px; right: 25px; background: #eee; border: none; font-size: 24px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; }

header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; box-sizing: border-box; }

.header-nav { display: flex; align-items: center; }
.header-nav a { margin-left: 25px; text-decoration: none; font-weight: 700; color: var(--text-dark, #2d3436); display: flex; align-items: center; gap: 8px; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.header-nav a i { color: var(--primary-blue, #6c5ce7); font-size: 1.1rem; }
.header-nav a:hover { color: var(--primary-blue, #6c5ce7); transform: translateY(-2px); }

.login-btn { background: var(--accent-yellow, #fdcb6e); padding: 10px 25px !important; border-radius: 50px; color: #000 !important; box-shadow: 0 4px 0px #d39e00; }
.login-btn i { color: #000 !important; }
.login-btn:active { transform: translateY(2px); box-shadow: 0 2px 0px #d39e00; }

.menu-toggle { display: none; font-size: 26px; cursor: pointer; color: var(--primary-blue, #6c5ce7); }

.mobile-login-details { display: none; }

@media (max-width: 992px) { .faq-contact-container { display: block; } .menu-toggle { display: block; z-index: 99999; } .header-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); flex-direction: column; justify-content: flex-start; padding-top: 20px; padding-bottom: 50px; overflow-y: auto; gap: 12px; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -10px 0 40px rgba(0,0,0,0.1); } .header-nav.active { right: 0; } .header-nav a { margin-left: 0; font-size: 1.1rem; width: 85%; padding: 5px 20px; border-radius: 12px; transition: all 0.3s ease; } .header-nav a:not(.login-btn):hover, .header-nav a:not(.login-btn):active { background: #f0f4ff; color: var(--primary-blue, #6c5ce7); transform: translateX(5px); } .login-btn { width: 85%; justify-content: center; padding: 12px 20px !important; } .desktop-login-btn { display: none !important; } .mobile-login-details { display: flex; flex-direction: column; gap: 15px; width: 85%; align-items: center; padding-top: 10px; border-top: 1px solid #eee; } #installPwaBtn { background: linear-gradient(135deg, #00b894, #00cec9) !important; box-shadow: 0 8px 25px rgba(0, 206, 201, 0.4) !important; border: 2px solid #ffffff; padding: 15px 25px !important; font-weight: 800 !important; margin-top: 10px; } }

.main-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.08); position: fixed; width: 100%; top: 0; left: 0; z-index: 1500; box-sizing: border-box; }

.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: #1e272e; box-shadow: 0 -4px 25px rgba(0,0,0,0.4); z-index: 99999; padding: 12px 0 10px; justify-content: space-around; align-items: center; border-top-left-radius: 25px; border-top-right-radius: 25px; transition: transform 0.3s ease-in-out; }
.mobile-bottom-nav.nav-hidden { transform: translateY(100%); }
.mobile-bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #a4b0be; font-size: 0.75rem; font-weight: 700; transition: all 0.3s ease; flex: 1; }
.mobile-bottom-nav .nav-item i { font-size: 1.4rem; margin-bottom: 4px; transition: all 0.3s ease; padding: 8px; border-radius: 50%; }
.mobile-bottom-nav .nav-item.active i { color: white; background: var(--secondary-teal, #00cec9); box-shadow: 0 5px 15px rgba(0, 206, 201, 0.4); border: 4px solid #1e272e; animation: activeGlowPulse 2s infinite; }

@keyframes activeGlowPulse { 0% { box-shadow: 0 5px 15px rgba(0, 206, 201, 0.4), 0 0 0 0 rgba(0, 206, 201, 0.6); } 70% { box-shadow: 0 5px 15px rgba(0, 206, 201, 0.4), 0 0 0 12px rgba(0, 206, 201, 0); } 100% { box-shadow: 0 5px 15px rgba(0, 206, 201, 0.4), 0 0 0 0 rgba(0, 206, 201, 0); } }

.mobile-bottom-nav .nav-item.active span { color: var(--secondary-teal, #00cec9); transform: translateY(-2px); }
.mobile-bottom-nav .nav-item:hover i { color: var(--secondary-teal, #00cec9); }

@media (max-width: 992px) { .mobile-bottom-nav { display: flex !important; position: fixed !important; bottom: 0px !important; left: 0 !important; width: 100% !important; z-index: 999999 !important; background: #1e272e !important; padding-bottom: 15px !important; padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important; } .mobile-bottom-nav.nav-hidden { transform: translateY(100%) !important; } body { padding-bottom: 110px !important; animation: none !important; transform: none !important; } }

.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); z-index: 1499; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.hero-section { margin-top: 75px; }
.modal-overlay { z-index: 3000 !important; }
.header-nav a.active { color: var(--primary) !important; }
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: none; }
}
