/* GLOBAL RESET */
:root { --main: #1E3A8A; --accent: #FFD700; --bg: #F1F5F9; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: #fff; color: #333; overflow-x: hidden; }

/* HERO & HEADER */
.hero-viewport { background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%); padding: 0 5% 60px 5%; }
.navbar-brand { padding-top: 0; margin-top: -30px; }
.brand-wrapper { display: flex; align-items: center; gap: 20px; transition: 0.5s; cursor: pointer; }
.glow-effect:hover .ultra-logo { filter: drop-shadow(0 0 40px var(--accent)); transform: scale(1.03); }
.glow-effect:hover .brand-name { text-shadow: 0 0 25px var(--accent); }
.ultra-logo { height: 300px; width: auto; transition: 0.5s; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); }
.brand-name { color: #fff; font-size: 5.5rem; font-weight: 900; letter-spacing: 12px; transition: 0.5s; }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-top: -40px; }
.floating-student { width: 100%; max-width: 500px; animation: floatY 4s infinite ease-in-out; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.glass-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.2); padding: 35px; border-radius: 30px; color: #fff; }
.pill-category { background: var(--accent); color: #000; display: inline-block; padding: 5px 15px; border-radius: 20px; font-weight: 700; margin-bottom: 15px; }
.audit-list { margin: 20px 0; }
.audit-item span { color: var(--accent); font-weight: 900; margin-right: 8px; }

/* BUTTONS & ONLINE CLASSES BADGE */
.cta-wrapper { margin-top: 25px; }
.cta-row { display: flex; gap: 15px; margin-bottom: 20px; }
.btn-primary { background: var(--accent); color: #000; padding: 15px 30px; border-radius: 12px; text-decoration: none; font-weight: 800; display: inline-block; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); text-align: center; flex: 1; }
.btn-secondary { border: 2px solid #fff; color: #fff; padding: 13px 30px; border-radius: 12px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; text-align: center; flex: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }

.online-class-badge { font-size: 0.85rem; color: #FFD700; font-weight: 700; margin-bottom: 8px; text-align: center; letter-spacing: 1px; }
.btn-online { background: #fff; color: var(--main); padding: 15px; border-radius: 12px; text-decoration: none; font-weight: 800; display: block; text-align: center; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); width: 100%; }
.btn-online:hover { background: #f8fafc; transform: translateY(-3px); }

/* AUTO SCROLL CAROUSEL */
.scroll-section { background: #fff; padding: 30px 0; border-bottom: 1px solid #eee; text-align: center; }
.scroll-title { font-size: 1.1rem; color: #888; font-weight: 600; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; }
.marquee-container { overflow: hidden; white-space: nowrap; width: 100%; display: flex; align-items: center; }
.marquee-track { display: inline-block; animation: scrollMarquee 20s linear infinite; }
.scroll-img { height: 150px; width: auto; max-width: 400px; object-fit: contain; border-radius: 10px; margin: 0 25px; display: inline-block; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* VERIFY TUTOR PORTAL */
.verify-portal { padding: 50px 5%; background: var(--bg); display: flex; justify-content: center; }
.verify-box { background: #fff; padding: 40px; border-radius: 20px; width: 100%; max-width: 600px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 5px solid var(--accent); }
.verify-box h2 { color: var(--main); margin-bottom: 10px; }
.verify-box p { color: #555; margin-bottom: 25px; font-size: 0.9rem; }
.verify-input-group { display: flex; gap: 10px; }
.verify-input-group input { flex: 1; padding: 15px; border: 2px solid #e2e8f0; border-radius: 8px; outline: none; font-size: 1rem; font-weight: 600; text-transform: uppercase; }
.verify-input-group button { background: var(--main); color: #fff; padding: 0 25px; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.verify-input-group button:hover { background: #152b65; }
.verify-result { margin-top: 15px; font-weight: 700; font-size: 1.1rem; }

/* HOW IT WORKS TIMELINE */
.timeline-section { padding: 60px 5%; text-align: center; background: #fff; }
.timeline-section h2 { color: var(--main); font-size: 2.2rem; margin-bottom: 40px; }
.timeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.step-card { background: var(--bg); padding: 30px; border-radius: 20px; position: relative; }
.step-num { width: 50px; height: 50px; background: var(--accent); color: #000; font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 15px auto; box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4); }
.step-card h3 { color: var(--main); margin-bottom: 10px; }

/* FEATURES */
.features-section { padding: 60px 5%; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; text-align: center; }
.feat-card { background: var(--bg); padding: 30px; border-radius: 25px; transition: 0.4s; }
.feat-icon { height: 120px; width: auto; margin-bottom: 20px; }
.bounce-on-hover:hover { animation: bounce 0.6s infinite alternate; }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-20px); } }

/* FORM */
.form-section { padding: 40px 5%; background: var(--bg); display: flex; justify-content: center; }
.compact-form { background: #fff; padding: 40px; border-radius: 30px; width: 100%; max-width: 900px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
input { padding: 15px; border: 2px solid #e2e8f0; border-radius: 12px; outline: none; width: 100%; }
.submit-btn { background: var(--main); color: #fff; width: 100%; padding: 18px; border: none; border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.3s; }
.hidden-msg { color: #22c55e; margin-top: 15px; display: none; font-weight: 700; }

/* SPLIT ZONE */
.split-info-zone { padding: 80px 5%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background: #fff; }
.about-half { padding-right: 20px; }
.gold-line { height: 4px; width: 50px; background: var(--accent); margin-bottom: 20px; border-radius: 2px; }
.about-half h2 { font-size: 2.5rem; color: var(--main); margin-bottom: 20px; line-height: 1.2; }
.about-half p { font-size: 1.1rem; color: #555; line-height: 1.8; margin-bottom: 30px; }
.stats-row { display: flex; gap: 30px; }
.stat b { font-size: 1.5rem; color: var(--main); display: block; }
.stat { font-size: 0.9rem; color: #888; }

.test-half h2 { font-size: 2rem; color: var(--main); margin-bottom: 30px; }

/* TESTIMONIAL JS SLIDER */
.testimonial-slider { position: relative; min-height: 250px; }
.slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transition: opacity 0.8s ease-in-out, visibility 0.8s; }
.slide.active { opacity: 1; visibility: visible; z-index: 10; position: relative; }

.testimonial-card { background: #f8fafc; padding: 40px; border-radius: 20px; border-left: 5px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.quote-icon { font-size: 4rem; color: #e2e8f0; position: absolute; top: 20px; right: 30px; line-height: 0; }
.testimonial-card p { font-size: 1.1rem; color: #333; font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.parent-info { display: flex; align-items: center; gap: 15px; }
.avatar { width: 50px; height: 50px; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.details b { display: block; color: var(--main); font-size: 1rem; }
.details span { font-size: 0.8rem; color: #888; }

/* FAQ ZONE */
.faq-zone { padding: 60px 5%; text-align: center; background: #fff; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.faq-item { background: var(--bg); padding: 15px; border-radius: 12px; text-align: left; }
summary { font-weight: 700; color: var(--main); cursor: pointer; outline: none; }

/* FOOTER */
.footer { padding: 50px; text-align: center; border-top: 1px solid #eee; background: #fff; }

.floating-wa { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background-color: #25D366; 
    color: #FFF; 
    border-radius: 50px; 
    text-align: center; 
    font-size: 30px; 
    width: 60px; 
    height: 60px; 
    line-height: 60px; 
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2); 
    z-index: 1000; 
    transition: 0.3s; 
    animation: bounceWA 2s infinite; 
}

.floating-wa:hover { 
    background-color: #128C7E; 
    transform: scale(1.1); 
}

.floating-insta { 
    position: fixed; 
    bottom: 110px; 
    right: 30px; 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #FFF; 
    border-radius: 50px; 
    text-align: center; 
    font-size: 30px; 
    width: 60px; 
    height: 60px; 
    line-height: 60px; 
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2); 
    z-index: 1000; 
    transition: 0.3s; 
    animation: bounceWA 2s infinite; 
}

.floating-insta:hover { 
    transform: scale(1.1); 
    box-shadow: 2px 2px 20px rgba(0,0,0,0.4);
}

.floating-gmail { 
    position: fixed; 
    bottom: 190px; 
    right: 30px; 
    background-color: #EA4335; 
    color: #FFF; 
    border-radius: 50px; 
    text-align: center; 
    font-size: 30px; 
    width: 60px; 
    height: 60px; 
    line-height: 60px; 
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2); 
    z-index: 1000; 
    transition: 0.3s; 
    animation: bounceWA 2s infinite; 
}

.floating-gmail:hover { 
    background-color: #C5221F; 
    transform: scale(1.1); 
}

@keyframes bounceWA { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-10px); } 
}

.animate-pop { 
    opacity: 0; 
    animation: popUp 0.8s forwards; 
}

@keyframes popUp { 
    from { opacity: 0; transform: scale(0.9) translateY(40px); } 
    to { opacity: 1; transform: scale(1) translateY(0); } 
}

@media (max-width: 900px) {
    .brand-wrapper { flex-direction: column; gap: 10px; margin-top: 20px; }
    .ultra-logo { height: 100px; }
    .brand-name { font-size: 3rem; letter-spacing: 5px; line-height: 1; }
    
    .hero-viewport { padding: 0 5% 40px 5%; height: auto; min-height: auto; }
    .hero-grid { display: flex; flex-direction: column; margin-top: 20px; gap: 30px; }
    .floating-student { max-width: 280px; margin: 0 auto; }
    
    .glass-card { padding: 25px; text-align: center; }
    .cta-row { flex-direction: column; gap: 15px; width: 100%; margin-bottom: 15px; }
    .btn-primary, .btn-secondary { display: block; width: 100%; padding: 18px; }
    
    .verify-input-group { flex-direction: column; }
    .verify-input-group button { padding: 15px; margin-top: 10px; }

    .features-section, .timeline-grid { grid-template-columns: 1fr; gap: 20px; padding: 40px 5%; }
    .feat-icon { height: 80px; }
    
    .compact-form { padding: 25px; }
    .form-grid { grid-template-columns: 1fr; }
    
    .split-info-zone, .faq-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 5%; }
    .about-half, .test-half { padding-right: 0; text-align: center; }
    .stats-row, .parent-info { justify-content: center; }
}

.class-selection-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.premium-dropdown {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  color: #333;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin-bottom: 20px;
  outline: none;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.premium-dropdown:focus {
  border-color: #0056b3; /* Vidyasetu Blue */
  background-color: white;
}
