* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #f4f7fb; color: #1d2939; overflow-x: hidden; }

/* Navigation */
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: #0b2d67; color: #fff; position: sticky; top: 0; z-index: 100; }
.logo { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
.logo span { color: #ffb400; }

nav ul { display: flex; gap: 28px; list-style: none; }
nav a { text-decoration: none; color: #fff; font-weight: 600; transition: color 0.3s ease; }
nav a:hover { color: #ffb400; }

.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }

/* Hero Section */
.hero { min-height: 88vh; background: url('https://picsum.photos/1600/900?blur=1') center/cover; position: relative; display: flex; align-items: center; padding: 40px 5%; }
.overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,23,58,.95), rgba(4,23,58,.5)); }
.hero-content { position: relative; z-index: 2; color: #fff; width: 100%; max-width: 800px; }
.badge { display: inline-block; background: #ffb400; color: #111; padding: 8px 16px; border-radius: 40px; font-weight: 700; margin-bottom: 20px; font-size: 14px; }
.hero h1 { font-size: clamp(2.5rem, 5vw + 1rem, 68px); line-height: 1.1; font-weight: 800; margin-bottom: 25px; }
.hero p { font-size: clamp(16px, 2vw, 22px); line-height: 1.7; margin-bottom: 35px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; text-decoration: none; font-weight: 700; border: none; cursor: pointer; text-align: center; transition: transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.primary { background: #ffb400; color: #111; }
.secondary { background: #fff; color: #0b2d67; }

/* Ticker */
.ticker { background: #0b2d67; color: #fff; padding: 14px; overflow: hidden; white-space: nowrap; }
.track { display: inline-block; animation: move 20s linear infinite; }
.track span { margin-right: 80px; }
@keyframes move { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* Stats (Auto-fit Grid) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; padding: 60px 5%; text-align: center; }
.stats h2 { font-size: clamp(36px, 5vw, 52px); color: #0b2d67; }
.stats p { font-size: clamp(16px, 2vw, 22px); font-weight: 600; }

/* Cards (Auto-fit Grid) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 0 5% 70px; }
.card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 240px; object-fit: cover; }
.card h3 { font-size: clamp(24px, 3vw, 32px); padding: 20px 20px 10px; }
.card p { padding: 0 20px 30px; font-size: 16px; color: #555; }

/* Quiz & Footer */
.quiz-section, footer { padding: 80px 5%; text-align: center; }
.quiz-section h2, footer h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 25px; color: #0b2d67; }
footer { background: #0b2d67; color: #fff; }
footer h2 { color: #ffb400; margin-bottom: 15px; }

/* ----------------------------------
   Media Queries for Responsiveness
----------------------------------- */
@media(max-width: 900px) {
    /* Mobile Navigation */
    .menu-toggle { display: block; }
    nav { position: absolute; top: 100%; left: 0; width: 100%; background: #0b2d67; padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; }
    nav.active { max-height: 400px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
    nav ul { flex-direction: column; gap: 0; text-align: center; }
    nav ul li a { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

    .hero { min-height: auto; padding: 80px 5%; }
}

@media(max-width: 480px) {
    .btn { width: 100%; } /* Full width buttons on small screens */
    .cards { grid-template-columns: 1fr; }
}