/* Marvel School - Main Website Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --marvel-red: #E63946;
  --learning-blue: #457B9D;
  --success-green: #2A9D8F;
  --innovation-orange: #F77F00;
  --school-gold: #F4A261;
  --tech-purple: #8E44AD;
  --joy-yellow: #FFD60A;
  --calm-teal: #264653;
  --clean-white: #FFFFFF;
  --light-gray: #F8F9FA;
  --dark-gray: #2C3E50;
  --text-black: #1A1A1A;
  --gradient-red-orange: linear-gradient(135deg, #E63946, #F77F00);
  --gradient-blue-purple: linear-gradient(135deg, #457B9D, #8E44AD);
  --gradient-green-teal: linear-gradient(135deg, #2A9D8F, #264653);
  --gradient-gold-yellow: linear-gradient(135deg, #F4A261, #FFD60A);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 12px 60px rgba(0,0,0,0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Open Sans', sans-serif; color: var(--dark-gray); background: var(--clean-white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.page { display: none; }
.page.active { display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--marvel-red); margin-bottom: 15px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--gradient-red-orange); border-radius: 2px; }
.section-header p { font-size: 1.1rem; color: var(--dark-gray); max-width: 600px; margin: 10px auto 0; }

#admission-form-section { scroll-margin-top: 100px; }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 15px 0; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.navbar:not(.scrolled) .nav-logo { color: white; }
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.9); }
.navbar:not(.scrolled) .nav-links a:hover { color: white; }
.navbar:not(.scrolled) .nav-links a::after { background: white; }
.navbar:not(.scrolled) .hamburger span { background: white; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--marvel-red); transition: var(--transition); }
.nav-logo .logo-icon { width: 45px; height: 45px; background: var(--gradient-red-orange); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; font-weight: 800; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.9rem; color: var(--dark-gray); padding: 8px 0; position: relative; transition: var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--marvel-red); transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--marvel-red); }
.nav-cta { background: var(--gradient-red-orange); color: white !important; padding: 10px 24px !important; border-radius: 50px; font-weight: 600 !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(230,57,70,0.4); }
.navbar:not(.scrolled) .nav-cta { background: white; color: var(--marvel-red) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { width: 28px; height: 3px; background: var(--dark-gray); border-radius: 3px; transition: var(--transition); }

.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); padding-top: 110px; padding-bottom: 60px; }
#hero-3d-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(230,57,70,0.7) 0%, rgba(69,123,157,0.7) 50%, rgba(142,68,173,0.7) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; color: white; max-width: 850px; margin: 0 auto; padding: 0 20px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 8px 24px; border-radius: 50px; font-size: 0.9rem; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.3); }
.hero h1 { font-size: 4rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -1px; }
.hero h1 span { background: var(--gradient-gold-yellow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero .tagline { font-size: 1.4rem; font-weight: 300; margin-bottom: 15px; opacity: 0.9; }
.hero .motto { font-size: 1.1rem; font-weight: 600; margin-bottom: 35px; opacity: 0.8; letter-spacing: 1px; }
.hero-logos { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 30px; }
.hero-logos img { height: 150px; width: 150px; background: #fff; padding: 8px 14px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.25); object-fit: contain; transition: var(--transition); }
.hero-logos img:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn { padding: 14px 32px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 10px; }
.btn-primary { background: var(--clean-white); color: var(--marvel-red); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; transform: translateY(-3px); }
.btn-gold { background: var(--gradient-gold-yellow); color: var(--dark-gray); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(244,162,97,0.4); }
.hero-trust { display: flex; gap: 30px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); padding: 10px 20px; border-radius: 12px; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.2); }
.trust-badge i { color: var(--joy-yellow); font-size: 1.2rem; }

.stats-section { padding: 60px 0; background: var(--clean-white); position: relative; z-index: 3; margin-top: -40px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat-card { text-align: center; padding: 30px 20px; background: var(--clean-white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); transition: var(--transition); }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.stat-icon { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 1.5rem; color: white; }
.stat-number { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; margin-bottom: 5px; }
.stat-label { font-size: 0.95rem; color: #666; }

.highlights { background: var(--light-gray); overflow: hidden; padding: 60px 0; }
.highlights h2 { text-align: center; margin-bottom: 40px; }
.highlights-track { display: flex; gap: 30px; padding: 20px 0; }
@keyframes scrollLoop { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.highlight-card { min-width: 280px; padding: 30px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); text-align: center; border-top: 4px solid var(--marvel-red); }
.highlight-card i { font-size: 2.5rem; margin-bottom: 15px; color: var(--marvel-red); }
.highlight-card h4 { font-size: 1.1rem; margin-bottom: 8px; }

.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.program-card { padding: 35px 25px; border-radius: var(--radius-md); text-align: center; background: var(--clean-white); box-shadow: var(--shadow-sm); border-bottom: 4px solid transparent; transition: var(--transition); }
.program-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.program-card:nth-child(1) { border-color: var(--marvel-red); } .program-card:nth-child(1):hover { background: linear-gradient(135deg, #fff5f5, #fff); }
.program-card:nth-child(2) { border-color: var(--learning-blue); } .program-card:nth-child(2):hover { background: linear-gradient(135deg, #f0f7ff, #fff); }
.program-card:nth-child(3) { border-color: var(--success-green); } .program-card:nth-child(3):hover { background: linear-gradient(135deg, #f0faf8, #fff); }
.program-card:nth-child(4) { border-color: var(--innovation-orange); } .program-card:nth-child(4):hover { background: linear-gradient(135deg, #fff8f0, #fff); }
.program-card:nth-child(5) { border-color: var(--tech-purple); } .program-card:nth-child(5):hover { background: linear-gradient(135deg, #f8f0ff, #fff); }
.program-icon { width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: white; }
.program-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.program-card p { font-size: 0.9rem; color: #666; line-height: 1.6; }

.testimonials { background: var(--dark-gray); color: white; }
.testimonials .section-header h2 { color: white; }
.testimonials .section-header h2::after { background: var(--gradient-gold-yellow); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.testimonial-card { padding: 30px; background: rgba(255,255,255,0.08); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition); }
.testimonial-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-5px); }
.testimonial-stars { color: var(--joy-yellow); margin-bottom: 15px; font-size: 1.1rem; }
.testimonial-card p { font-size: 0.95rem; line-height: 1.7; opacity: 0.9; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--gradient-blue-purple); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }

.timeline { position: relative; padding: 40px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: var(--gradient-red-orange); transform: translateX(-50%); border-radius: 2px; }
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 50px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content { width: 45%; padding: 25px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-md); transition: var(--transition); }
.timeline-content:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.timeline-node { position: absolute; left: 50%; top: 30px; width: 50px; height: 50px; background: var(--gradient-red-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.9rem; transform: translateX(-50%); z-index: 2; box-shadow: 0 0 0 6px rgba(230,57,70,0.15); }
.timeline-content h3 { color: var(--marvel-red); margin-bottom: 8px; }
.timeline-content p { font-size: 0.9rem; color: #666; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.value-card { padding: 30px 20px; text-align: center; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-card i { font-size: 2.5rem; margin-bottom: 15px; }
.value-card h4 { font-size: 1.1rem; }

.facilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.facility-card { padding: 30px; border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); transition: var(--transition); }
.facility-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.facility-card i { font-size: 2rem; margin-bottom: 15px; }
.facility-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.facility-card p { font-size: 0.9rem; color: #666; line-height: 1.6; }

.grade-accordion { max-width: 800px; margin: 0 auto; }
.grade-item { margin-bottom: 15px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.grade-header { padding: 18px 25px; background: white; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; transition: var(--transition); }
.grade-header:hover { background: var(--light-gray); }
.grade-header i { transition: var(--transition); }
.grade-item.active .grade-header i { transform: rotate(180deg); }
.grade-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; background: white; padding: 0 25px; }
.grade-item.active .grade-body { max-height: 200px; padding: 0 25px 18px; }
.grade-body p { font-size: 0.9rem; color: #666; line-height: 1.7; }

.subject-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
.subject-item { padding: 20px; text-align: center; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); cursor: default; }
.subject-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.subject-item i { font-size: 2rem; margin-bottom: 10px; color: var(--marvel-red); }
.subject-item h4 { font-size: 0.95rem; }

.festival-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.festival-card { padding: 30px 25px; border-radius: var(--radius-md); color: white; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; transition: var(--transition); }
.festival-card i { font-size: 2.5rem; margin-bottom: 10px; }
.festival-card h3 { font-size: 1.2rem; margin-bottom: 5px; }
.festival-card p { font-size: 0.85rem; opacity: 0.9; }
.festival-card:nth-child(1) { background: linear-gradient(135deg, #E63946, #F77F00); }
.festival-card:nth-child(2) { background: linear-gradient(135deg, #8E44AD, #457B9D); }
.festival-card:nth-child(3) { background: linear-gradient(135deg, #2A9D8F, #264653); }
.festival-card:nth-child(4) { background: linear-gradient(135deg, #F77F00, #E63946); }
.festival-card:nth-child(5) { background: linear-gradient(135deg, #457B9D, #8E44AD); }
.festival-card:nth-child(6) { background: linear-gradient(135deg, #264653, #2A9D8F); }
.festival-card:nth-child(7) { background: linear-gradient(135deg, #F4A261, #FFD60A); }
.festival-card:nth-child(8) { background: linear-gradient(135deg, #E63946, #264653); }
.festival-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-xl); }

.activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.activity-card { padding: 25px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); text-align: center; }
.activity-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.activity-card i { font-size: 2rem; margin-bottom: 12px; color: var(--marvel-red); }
.activity-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.activity-card p { font-size: 0.85rem; color: #666; line-height: 1.6; }

.admission-form { max-width: 700px; margin: 0 auto; background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.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-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--dark-gray); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0; border-radius: var(--radius-sm); font-family: 'Open Sans', sans-serif; font-size: 0.95rem; transition: var(--transition); background: var(--light-gray); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--marvel-red); background: white; box-shadow: 0 0 0 4px rgba(230,57,70,0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; padding: 16px; background: var(--gradient-red-orange); color: white; border: none; border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: var(--transition); }
.form-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(230,57,70,0.4); }
.form-success { text-align: center; padding: 14px; margin-bottom: 20px; background: #e3f7ee; color: #1c8a5a; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-success.show { display: block; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.contact-card { padding: 25px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); text-align: center; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card i { font-size: 2rem; margin-bottom: 15px; color: var(--marvel-red); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: #666; line-height: 1.6; }
.contact-card a:hover { color: var(--marvel-red); }

.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-header { padding: 16px 20px; background: white; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.faq-header:hover { background: var(--light-gray); }
.faq-header i { transition: var(--transition); color: var(--marvel-red); }
.faq-item.active .faq-header i { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; background: white; padding: 0 20px; }
.faq-item.active .faq-body { max-height: 300px; padding: 0 20px 16px; }
.faq-body p { font-size: 0.9rem; color: #666; line-height: 1.7; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; transition: var(--transition); aspect-ratio: 16/10; background-size: cover; background-position: center; }
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item .gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay i { color: white; font-size: 2rem; }

.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: var(--radius-sm); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 2rem; cursor: pointer; }

.footer { background: var(--dark-gray); color: white; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 15px; }
.footer-brand h3 span { color: var(--joy-yellow); }
.footer-brand p { font-size: 0.9rem; opacity: 0.7; line-height: 1.7; }
.footer h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--joy-yellow); }
.footer a { display: block; font-size: 0.9rem; opacity: 0.7; margin-bottom: 10px; }
.footer a:hover { opacity: 1; color: var(--joy-yellow); }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.85rem; opacity: 0.6; }
.footer-social { display: flex; gap: 15px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; opacity: 1; margin-bottom: 0; transition: var(--transition); }
.footer-social a:hover { background: var(--marvel-red); transform: translateY(-3px); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes confettiFall { to { transform: translateY(100vh) rotate(720deg); opacity: 0; } }
@keyframes glowPulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.3); } }
.float-anim { animation: float 3s ease-in-out infinite; }
.pulse-anim { animation: pulse 2s ease-in-out infinite; }

.floating-elements { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.floating-char { position: absolute; font-weight: 700; opacity: 0.1; }

.cta-section { background: var(--gradient-blue-purple); padding: 80px 0; text-align: center; color: white; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; }

/* ============ SECTION: ACTIVITY BASED LEARNING & HOLISTIC APPROACH STYLES ============ */
.robotics-showcase { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: white; }
.robotics-showcase .section-header h2 { color: #00d2ff; }
.robotics-showcase .section-header h2::after { background: linear-gradient(135deg, #00d2ff, #3a7bd5); }
.robotics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.robotic-card { padding: 30px; background: rgba(255,255,255,0.05); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.1); text-align: center; transition: var(--transition); }
.robotic-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-8px); }
.robotic-card i { font-size: 2.5rem; margin-bottom: 15px; color: #00d2ff; }
.robotic-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.robotic-card p { font-size: 0.85rem; opacity: 0.7; line-height: 1.6; }

.loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--dark-gray); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.8s ease; gap: 20px; }
.loading-screen.hidden { opacity: 0; pointer-events: none; }
.loading-spinner { width: 60px; height: 60px; border: 4px solid rgba(255,255,255,0.1); border-top-color: var(--marvel-red); border-radius: 50%; animation: spin 1s linear infinite; }
.loading-text { color: white; font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 300; letter-spacing: 2px; }

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--gradient-red-orange); color: white; border: none; cursor: pointer; font-size: 1.2rem; z-index: 999; box-shadow: var(--shadow-lg); transition: var(--transition); opacity: 0; visibility: hidden; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); }

.map-placeholder { width: 100%; height: 300px; background: var(--light-gray); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 1.1rem; color: #666; }
.map-placeholder i { font-size: 3rem; color: var(--marvel-red); }

.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.download-btn { display: flex; align-items: center; gap: 12px; padding: 15px 20px; background: white; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; border: 2px solid transparent; }
.download-btn:hover { border-color: var(--marvel-red); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.download-btn i { font-size: 1.5rem; color: var(--marvel-red); }
.download-btn .dl-info h4 { font-size: 0.95rem; }
.download-btn .dl-info span { font-size: 0.8rem; color: #666; }

.whatsapp-float { position: fixed; bottom: 30px; left: 30px; width: 55px; height: 55px; border-radius: 50%; background: #25D366; color: white; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; z-index: 999; box-shadow: var(--shadow-lg); transition: var(--transition); cursor: pointer; }
.whatsapp-float:hover { transform: scale(1.1); }

.achievement-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: white; border-radius: 50px; box-shadow: var(--shadow-sm); margin: 5px; font-size: 0.9rem; transition: var(--transition); }
.achievement-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.achievement-badge i { color: var(--joy-yellow); }

.parent-portal-link { position: fixed; bottom: 30px; right: 96px; z-index: 999; background: var(--gradient-blue-purple); color: white; padding: 12px 20px; border-radius: 50px; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.parent-portal-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

@media (max-width: 1024px) {
  .timeline-content { width: 42%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 2.5rem; }
  .hero .tagline { font-size: 1.1rem; }
  .section-header h2 { font-size: 2rem; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; }
  .timeline-content { width: calc(100% - 60px); margin-left: 60px; }
  .timeline-node { left: 20px; width: 40px; height: 40px; font-size: 0.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .stat-number { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Campus Visit Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.modal-overlay.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-container {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #fef5f5, #fff);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-header h3 { font-size: 1.15rem; font-weight: 700; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; border: none; background: #f0f0f0; color: #666; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { background: var(--marvel-red); color: white; }

.modal-body { padding: 25px; }
.modal-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.modal-form .form-group { margin-bottom: 15px; }
.modal-form label { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--dark-gray); }
.modal-form .required { color: var(--marvel-red); }
.modal-form input, .modal-form select, .modal-form textarea { width: 100%; padding: 10px 14px; border: 2px solid #e0e0e0; border-radius: var(--radius-sm); font-family: 'Open Sans', sans-serif; font-size: 0.9rem; transition: var(--transition); background: var(--light-gray); }
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { outline: none; border-color: var(--marvel-red); background: white; box-shadow: 0 0 0 4px rgba(230,57,70,0.1); }
.modal-form textarea { min-height: 80px; resize: vertical; }
.modal-form .form-submit-wrapper { margin-top: 10px; }
.modal-form .btn-full { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

.modal-form .form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #e3f7ee;
  color: #1c8a5a;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}
.modal-form .form-success.show {
  display: flex;
}
.form-success i { color: #2A9D8F; font-size: 1.1rem; }

@media (max-width: 480px) {
  .modal-form .form-row { grid-template-columns: 1fr; }
  .modal-container { margin: 10px; max-height: calc(100vh - 20px); }
}
