/* ===========================================
   THE COURSE COMPASS - PREMIUM CSS
   White + Navy Blue + Gold Theme
=========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root{
  --primary:#0F3D91;
  --primary-light:#2563EB;
  --gold:#D4AF37;
  --gold-light:#F5D76E;
  --white:#ffffff;
  --background:#F8FAFC;
  --text:#1F2937;
  --gray:#64748B;
  --border:#E5E7EB;
  --shadow:0 10px 25px rgba(15,61,145,.08);
}

/* Reset */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--background);
  color:var(--text);
  line-height:1.7;
}

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
}

/* ===========================
 NAVBAR
=========================== */

.navbar{
  position:sticky;
  top:0;
  background:#fff;
  padding:16px 7%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:999;
  box-shadow:0 2px 18px rgba(0,0,0,.05);
}

.logo{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo img{
  width:55px;
  height:55px;
  object-fit:contain;
}

.logo h2{
  color:var(--primary);
  font-size:28px;
  font-weight:700;
}

.logo p{
  color:var(--gold);
  font-size:13px;
  font-weight:600;
}

nav{
  display:flex;
  gap:32px;
}

nav a{
  color:var(--text);
  font-weight:600;
  position:relative;
  transition:.3s;
}

nav a:hover{
  color:var(--primary);
}

nav a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-8px;
  width:0%;
  height:3px;
  background:var(--gold);
  transition:.3s;
}

nav a:hover::after{
  width:100%;
}

/* ===========================
 HERO
=========================== */

.hero{
  padding:90px 7%;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  align-items:center;
  gap:50px;
  background:
  radial-gradient(circle at top right,#F5D76E22,transparent 35%),
  linear-gradient(135deg,#0F3D91,#2563EB);
}

.tag{
  display:inline-block;
  background:#ffffff20;
  color:#fff;
  border:1px solid #ffffff30;
  padding:8px 18px;
  border-radius:30px;
  font-weight:600;
  margin-bottom:20px;
}

.hero h1{
  color:white;
  font-size:56px;
  line-height:1.15;
  margin-bottom:20px;
  font-weight:800;
}

.hero h1 span{
  color:var(--gold-light);
}

.hero p{
  color:#E8F0FF;
  font-size:18px;
  margin-bottom:30px;
  max-width:620px;
}

.hero-buttons{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

button{
  cursor:pointer;
  border:none;
  padding:15px 28px;
  border-radius:12px;
  font-size:15px;
  font-weight:600;
  transition:.3s;
}

.hero button{
  background:var(--gold);
  color:#111827;
}

.hero button:hover{
  background:var(--gold-light);
  transform:translateY(-3px);
}

.outline{
  background:transparent !important;
  color:white !important;
  border:2px solid white;
}

.outline:hover{
  background:white !important;
  color:var(--primary)!important;
}

.hero-logo{
  display:flex;
  justify-content:center;
}

.hero-logo img{
  width:360px;
  max-width:100%;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,.25);
}

/* ===========================
 STATS
=========================== */

.stats{
  padding:60px 7%;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.stats div{
  background:white;
  border-radius:18px;
  padding:30px;
  text-align:center;
  box-shadow:var(--shadow);
  transition:.3s;
}

.stats div:hover{
  transform:translateY(-6px);
}

.stats h2{
  font-size:34px;
  color:var(--primary);
}

.stats p{
  color:var(--gray);
  font-weight:500;
}

/* ===========================
 SECTIONS
=========================== */

section{
  padding:80px 7%;
}

section h2{
  text-align:center;
  font-size:40px;
  color:var(--primary);
  margin-bottom:12px;
}

.section-subtitle{
  text-align:center;
  color:var(--gray);
  margin-bottom:45px;
}

/* ===========================
 CATEGORY GRID
=========================== */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:25px;
}

.card{
  background:white;
  padding:30px;
  border-radius:20px;
  box-shadow:var(--shadow);
  transition:.35s;
  border-top:5px solid transparent;
}

.card:hover{
  transform:translateY(-10px);
  border-top:5px solid var(--gold);
}

.card-icon{
  width:60px;
  height:60px;
  border-radius:50%;
  background:#FFF8E1;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:28px;
  margin-bottom:20px;
}

.card h3{
  color:var(--primary);
  margin-bottom:10px;
  font-size:22px;
}

.card p{
  color:var(--gray);
  font-size:15px;
}

/* ===========================
 WHY CHOOSE US
=========================== */

.career{
  background:white;
}

.career-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.career-grid div{
  background:var(--background);
  padding:28px;
  border-radius:18px;
  border-left:5px solid var(--gold);
  transition:.3s;
}

.career-grid div:hover{
  transform:translateY(-8px);
}

.career-grid h3{
  color:var(--primary);
  margin-bottom:10px;
}

/* ===========================
 FEATURED COURSES
=========================== */

.course-card{
  background:white;
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:.3s;
}

.course-card:hover{
  transform:translateY(-8px);
}

.course-image{
  background:linear-gradient(135deg,#FFF7E0,#FDF3C2);
  height:140px;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:52px;
}

.course-content{
  padding:24px;
}

.course-content h3{
  color:var(--primary);
}

.badge{
  display:inline-block;
  padding:6px 14px;
  border-radius:20px;
  background:#EFF6FF;
  color:var(--primary);
  font-size:12px;
  margin-bottom:12px;
}

.read-more{
  color:var(--gold);
  font-weight:600;
  margin-top:12px;
  display:inline-block;
}

/* ===========================
 UPDATES
=========================== */

.updates{
  background:#F1F5F9;
}

.updates-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.update-card{
  background:white;
  padding:28px;
  border-radius:18px;
  box-shadow:var(--shadow);
  transition:.3s;
}

.update-card:hover{
  transform:translateY(-8px);
}

.update-card span{
  color:var(--gold);
  font-weight:600;
  font-size:13px;
}

.update-card h3{
  color:var(--primary);
  margin:10px 0;
}

/* ===========================
 CTA
=========================== */

.contact{
  background:linear-gradient(135deg,#0F3D91,#143F84);
  border-radius:28px;
  color:white;
  text-align:center;
}

.contact h2{
  color:white;
}

.contact p{
  color:#E8F0FF;
  margin-bottom:25px;
}

.contact button{
  background:var(--gold);
  color:#111;
}

.contact button:hover{
  background:var(--gold-light);
}

/* ===========================
 FOOTER
=========================== */

footer{
  background:#0B1B3B;
  color:white;
  padding:60px 7% 30px;
}

.footer-logo{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:20px;
}

.footer-logo img{
  width:60px;
}

.footer-logo h3{
  color:white;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:35px;
  margin:35px 0;
}

.footer-grid h4{
  color:var(--gold);
  margin-bottom:15px;
}

.footer-grid a{
  color:#DCE7FF;
  display:block;
  margin-bottom:10px;
  transition:.3s;
}

.footer-grid a:hover{
  color:var(--gold-light);
}

footer hr{
  border:none;
  border-top:1px solid rgba(255,255,255,.15);
  margin:30px 0;
}

.copyright{
  text-align:center;
  color:#CBD5E1;
  font-size:14px;
}

/* ===========================
 WHATSAPP FLOAT BUTTON
=========================== */

.whatsapp{
  position:fixed;
  right:20px;
  bottom:20px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#25D366;
  display:flex;
  justify-content:center;
  align-items:center;
  color:white;
  font-size:28px;
  box-shadow:0 10px 25px rgba(0,0,0,.2);
}

/* ===========================
 ANIMATION
=========================== */

.card,
.update-card,
.course-card,
.stats div{
  animation:fadeUp .8s ease;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ===========================
 RESPONSIVE
=========================== */

@media(max-width:992px){

.hero{
grid-template-columns:1fr;
text-align:center;
}

.hero-logo img{
width:260px;
}

.hero-buttons{
justify-content:center;
}

.stats{
grid-template-columns:repeat(2,1fr);
}

nav{
display:none;
}

}

@media(max-width:600px){

.hero h1{
font-size:38px;
}

section h2{
font-size:30px;
}

.stats{
grid-template-columns:1fr;
}

.logo h2{
font-size:20px;
}

.hero{
padding:60px 6%;
}

section{
padding:60px 6%;
}

}