* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
body { background: #f8fafc; color: #0f172a; line-height: 1.6; }

/* ==================== UPGRADED PREMIUM NAVIGATION BAR ==================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.logo {
  font-size: 21px;
  font-weight: 800;
  color: #1e40af;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}
.logo-icon {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.logo span { color: #0f172a; }

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 99px;
  transition: all 0.2s ease;
}
.nav-links a:not(.btn):hover {
  color: #1e40af;
  background: rgba(255, 255, 255, 0.7);
}
.nav-links a:not(.btn).active {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn { padding: 9px 18px; border-radius: 9px; font-weight: 600; font-size: 14px; text-decoration: none; border: none; cursor: pointer; display: inline-block; transition: 0.2s; }
.btn-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35); }
.btn-success { background: #10b981; color: #fff; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25); }
.btn-success:hover { background: #059669; transform: translateY(-1px); }
.btn-dark { background: #0f172a; color: #fff; }
.btn-outline { border: 1px solid #cbd5e1; color: #0f172a; background: #fff; }
.btn-outline:hover { background: #f1f5f9; }
.btn-glass { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); }

/* ==================== HOME PAGE PREMIUM DESIGN ==================== */
.home-hero {
  background: radial-gradient(circle at top right, #1e40af, #0f172a 70%);
  color: #fff;
  padding: 75px 6%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.hero-badge { display: inline-block; background: rgba(56, 189, 248, 0.18); border: 1px solid rgba(56, 189, 248, 0.35); color: #38bdf8; padding: 6px 14px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; }
.home-hero h1 { font-size: 44px; line-height: 1.18; margin: 16px 0; font-weight: 800; }
.home-hero h1 span { color: #38bdf8; }
.home-hero p { color: #cbd5e1; font-size: 16px; margin-bottom: 26px; max-width: 580px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-metrics { display: flex; gap: 32px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; }
.hero-metrics strong { display: block; font-size: 24px; color: #38bdf8; }
.hero-metrics span { font-size: 12px; color: #94a3b8; }

.hero-banner-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.banner-visual {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 18px;
}
.banner-visual h3 { font-size: 20px; margin-bottom: 6px; }
.banner-visual p { font-size: 13px; color: #e0e7ff; margin: 0; }
.feature-pill-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-pill { background: rgba(15, 23, 42, 0.65); padding: 10px 12px; border-radius: 10px; font-size: 12px; color: #e2e8f0; border: 1px solid rgba(255,255,255,0.08); }

/* Interactive Category Filter Strip */
.category-strip { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 18px 6%; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cat-chip {
  background: #f1f5f9;
  color: #334155;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: 0.2s;
}
.cat-chip:hover { background: #e2e8f0; }
.cat-chip.active { background: #2563eb; color: #ffffff; border-color: #2563eb; box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25); }

/* Why Choose Us */
.why-section { background: #ffffff; padding: 60px 6%; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.section-title-center { text-align: center; max-width: 650px; margin: 0 auto 36px; }
.section-title-center h2 { font-size: 30px; margin-bottom: 8px; }
.section-title-center p { color: #64748b; }

.features-3col { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feat-card { background: #f8fafc; padding: 26px; border-radius: 14px; border: 1px solid #e2e8f0; transition: 0.2s; }
.feat-card:hover { border-color: #93c5fd; transform: translateY(-3px); }
.feat-icon { width: 46px; height: 46px; background: #dbeafe; color: #2563eb; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }

/* About Us Shared Styles */
.creator-profile-section { max-width: 1100px; margin: -40px auto 40px; padding: 0 20px; }
.creator-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
}
.creator-info h2 { font-size: 28px; color: #0f172a; }
.creator-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0 16px; font-size: 13px; color: #475569; }
.creator-meta span { background: #f1f5f9; padding: 5px 12px; border-radius: 6px; font-weight: 600; }
.about-grid { max-width: 1100px; margin: 30px auto 50px; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* Contact Us Styles */
.contact-banner { background: radial-gradient(circle at top right, #1e40af, #0f172a 70%); color: #fff; padding: 55px 6%; text-align: center; }
.contact-wrapper { max-width: 1050px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; }
.contact-info-card { background: #0f172a; color: #fff; padding: 30px; border-radius: 14px; }
.contact-form-card { background: #fff; padding: 30px; border-radius: 14px; border: 1px solid #e2e8f0; }

/* Equal-Height Course Cards Grid */
.container { max-width: 1200px; margin: 44px auto; padding: 0 20px; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 24px; }
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 17px; margin-bottom: 8px; color: #0f172a; line-height: 1.35; }
.card-body p { font-size: 13.5px; color: #64748b; margin-bottom: 16px; flex: 1; }

/* Forms & Dashboards */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; }
.dash-header { background: #0f172a; color: #fff; padding: 28px 6%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.video-frame { width: 100%; aspect-ratio: 16/9; border-radius: 10px; background: #000; margin-bottom: 12px; }
.comment-box { background: #f1f5f9; padding: 12px; border-radius: 8px; margin-top: 10px; }
.reply-box { background: #dbeafe; padding: 10px; border-left: 4px solid #2563eb; border-radius: 6px; margin-top: 8px; font-size: 13px; }
.alert { padding: 12px; background: #dcfce7; color: #166534; border-radius: 8px; margin-bottom: 16px; font-weight: 600; }

/* Rich Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 40px 6% 24px; margin-top: 60px; }
.footer-grid { max-width: 1180px; margin: 0 auto 24px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; margin-bottom: 10px; font-size: 16px; }
.footer a { color: #94a3b8; text-decoration: none; display: block; margin-bottom: 6px; font-size: 14px; }
.footer a:hover { color: #38bdf8; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 18px; text-align: center; font-size: 13px; }

@media (max-width: 900px) {
  .navbar { flex-direction: column; gap: 12px; }
  .home-hero, .contact-wrapper, .two-col, .creator-card, .footer-grid { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 32px; }

  /* Custom Header Logo Image */
.brand-logo-img { height: 42px; width: auto; display: block; object-fit: contain; }
.brand-icon-img { height: 36px; width: 36px; border-radius: 8px; object-fit: cover; display: block; }
}