/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#f5f7fa;
    color:#333;
    line-height:1.6;
}

a{
    text-decoration:none;
}

/* =========================
   TOPBAR
========================= */

.topbar{
    background:#0D47A1;
    color:white;
    padding:12px 8%;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    font-size:14px;
}

/* =========================
   HEADER
========================= */

.header{
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 5%;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:sticky;
    top:0;
    z-index:1000;
    flex-wrap:wrap;
    gap:10px;
}

.logo{
    font-size:22px;
    font-weight:700;
    color:#0D47A1;
    display:flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
}

.logo img{
    height:40px;
    border-radius:6px;
}

nav ul{
    list-style:none;
    display:flex;
    gap:20px;
    align-items:center;
}

nav ul li a{
    color:#333;
    font-weight:600;
    transition:0.3s;
}

nav ul li a:hover{
    color:#FF9800;
}

.apply-btn{
    background:#FF9800;
    color:white !important;
    padding:10px 18px;
    border-radius:6px;
}

/* =========================
   HERO
========================= */

.hero{
    height:90vh;
    background:
    linear-gradient(rgba(0,0,0,.6),
    rgba(0,0,0,.6)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero-content h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:24px;
    margin-bottom:30px;
}

.hero-btn{
    background:#FF9800;
    color:white;
    padding:15px 35px;
    border-radius:8px;
    display:inline-block;
    font-weight:bold;
    transition:.3s;
}

.hero-btn:hover{
    background:#e68900;
}

/* =========================
   STATS
========================= */

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    padding:80px 8%;
}

.stat-box{
    background:white;
    padding:35px;
    text-align:center;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.stat-box h2{
    font-size:42px;
    color:#0D47A1;
}

/* =========================
   SECTIONS
========================= */

section{
    padding:80px 8%;
}

section h2{
    text-align:center;
    margin-bottom:35px;
    color:#0D47A1;
    font-size:36px;
}

/* =========================
   ABOUT
========================= */

.about-preview{
    text-align:center;
    max-width:1000px;
    margin:auto;
}

.read-more{
    margin-top:20px;
    display:inline-block;
    background:#0D47A1;
    color:white;
    padding:12px 25px;
    border-radius:6px;
}

/* =========================
   COURSES
========================= */

.course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.course-card{
    background:white;
    padding:35px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.course-card:hover{
    transform:translateY(-8px);
}

.course-card i{
    font-size:45px;
    color:#FF9800;
    margin-bottom:15px;
}

.course-card h3{
    margin-bottom:10px;
}

/* =========================
   FEATURES
========================= */

.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.feature-grid div{
    background:white;
    padding:25px;
    text-align:center;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    font-weight:600;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonial-card{
    max-width:800px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* =========================
   CTA
========================= */

.cta{
    background:#0D47A1;
    color:white;
    text-align:center;
}

.cta h2{
    color:white;
}

.cta p{
    margin-bottom:25px;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:40px 8%;
}

footer hr{
    margin:25px 0;
    border:none;
    border-top:1px solid rgba(255,255,255,.2);
}

/* =========================
   WHATSAPP
========================= */

.whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
    z-index:999;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  header { flex-direction: column; padding: 10px; }
  header .logo { height: 35px; margin-right: 5px; }
  header h1 { font-size: 18px; }
  nav { flex-wrap: wrap; justify-content: center; margin-top: 10px; }
  nav a, .apply-btn { font-size: 13px; padding: 8px 12px; margin: 5px; }
  h1 { font-size: 28px !important; }
  h2 { font-size: 22px !important; }
  input, select, textarea { font-size: 16px !important; padding: 12px !important; }
  button { padding: 12px !important; font-size: 16px !important; }
  .hero-text { padding: 20px; }
  .hero-text h1 { font-size: 24px; }
  .hero-text p { font-size: 14px; }
}

@media (max-width: 480px) {
  header { padding: 8px; }
  header .logo { height: 30px; }
  header h1 { font-size: 14px; }
  nav a, .apply-btn { font-size: 12px; padding: 6px 10px; }
  h1 { font-size: 22px !important; }
  h2 { font-size: 18px !important; }
  input, select, textarea { font-size: 16px !important; padding: 10px !important; }
  .container { padding: 15px; }
}