@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

:root {
  --primary-gold: #EBD683;
  --dark-gold: #C9A84E;
  --light-gold: #F5E5A5;
  --bg-color: #0f172a; /* Deep mature slate/navy */
  --text-on-gold: #0f172a;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --card-bg: #1e293b;
  --border-color: #334155;
  
  --nav-bg: rgba(15, 23, 42, 0.95);
  --nav-bg-mobile: rgba(15, 23, 42, 0.98);
  --glass-bg-strong: rgba(30, 41, 59, 0.7);
  --glass-bg-medium: rgba(30, 41, 59, 0.6);
  --glass-bg-light: rgba(30, 41, 59, 0.3);
  --brand-color: #f8fafc;
  --card-shadow: 0 4px 15px rgba(0,0,0,0.2);
  --card-shadow-hover: 0 10px 40px rgba(0,0,0,0.3);
  --course-img-bg: #1e293b;

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Oswald', sans-serif;
}

html.light-mode {
  --bg-color: #fbf8f1; /* Beautiful warm cream/ivory */
  --text-light: #2d2a26; /* Deep charcoal/brown */
  --text-muted: #736c64; /* Warm grey/taupe */
  --card-bg: #ffffff; /* Crisp white for contrast */
  --border-color: #ebe5d5; /* Soft warm border */
  
  --nav-bg: rgba(251, 248, 241, 0.95);
  --nav-bg-mobile: rgba(251, 248, 241, 0.98);
  --glass-bg-strong: rgba(255, 255, 255, 0.85); /* Frosty elegant glass */
  --glass-bg-medium: rgba(255, 255, 255, 0.75);
  --glass-bg-light: rgba(243, 233, 214, 0.3);
  --brand-color: #2d2a26;
  --card-shadow: 0 4px 15px rgba(201, 168, 78, 0.08);
  --card-shadow-hover: 0 15px 40px rgba(201, 168, 78, 0.18);
  --course-img-bg: #f5f2eb; /* Beautiful light box color */
}

.logo img {
  transition: filter 0.3s ease;
}

html.light-mode .logo img {
  filter: invert(1) hue-rotate(180deg) brightness(0.2);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.text-gold { color: var(--primary-gold); }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-gold);
  color: var(--text-on-gold);
}

.btn-primary:hover {
  background-color: var(--light-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(235, 214, 131, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
}

.btn-outline:hover {
  background-color: rgba(235, 214, 131, 0.1);
  transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-gold);
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-on-gold);
  font-weight: 500;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}

.top-bar-left {
  display: flex;
  gap: 20px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-left i {
  color: var(--text-on-gold);
}

.top-bar-right {
  display: flex;
  gap: 15px;
}

.top-bar-right a {
  color: var(--text-on-gold);
  transition: opacity 0.3s ease;
}

.top-bar-right a:hover {
  opacity: 0.7;
}

/* Navbar */
.navbar {
  background-color: var(--nav-bg);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo, .logo a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover, .logo a:hover {
  transform: translateY(-2px);
  text-shadow: 0px 4px 15px rgba(235, 214, 131, 0.15);
}

.logo span, .logo a span {
  background: linear-gradient(135deg, var(--light-gold), var(--primary-gold), var(--dark-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  text-shadow: 0px 2px 15px rgba(235, 214, 131, 0.3);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

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

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 24px;
  cursor: pointer;
}

/* Grid Utility Classes */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.grid-2-col-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid-2-col-contact {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 170px);
  padding: 20px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background-color: var(--dark-bg);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Animated Golden grid lines */
  background-image: 
    linear-gradient(90deg, rgba(235, 214, 131, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(201, 168, 78, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: moveGoldenLines 15s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Original glow + mask to fade lines at the edges */
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(235,214,131,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,78,0.05) 0%, transparent 50%),
    radial-gradient(circle at center, transparent 30%, var(--dark-bg) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

@keyframes moveGoldenLines {
  0% { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

/* Two-column inner layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  flex: 1;
  padding-bottom: 20px;
}

/* Left column: image */
.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.hero-student-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  filter: drop-shadow(0 20px 50px rgba(235,214,131,0.2));
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Student Image Slider */
.student-slider {
  position: relative;
  width: 100%;
}

.student-slide {
  display: none;
  animation: slideFadeIn 0.6s ease;
}

.student-slide.active {
  display: block;
}

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

/* Slider dots */
.student-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.sdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.sdot.active {
  background: var(--primary-gold);
  width: 28px;
  border-radius: 5px;
}

/* Floating stat badge cards on image */
.hero-badge-card {
  position: absolute;
  background: rgba(30,31,36,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(235,214,131,0.25);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-badge-card.badge-top {
  top: 10%;
  right: -20px;
  animation-delay: 1s;
}

.hero-badge-card.badge-bottom {
  bottom: 12%;
  left: -20px;
  animation-delay: 2.5s;
}

.hero-badge-card i {
  font-size: 22px;
  color: var(--primary-gold);
}

.hero-badge-card strong {
  display: block;
  font-size: 16px;
  color: var(--text-light);
  font-weight: 700;
}

.hero-badge-card span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Right column: text */
.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-text-col h1 {
  font-size: clamp(14px, 1.6vw, 22px);
  line-height: 1.25;
  white-space: nowrap;
  background: linear-gradient(to right, var(--text-light), var(--primary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

.hero-text-col p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Inline stats row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hstat strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-gold);
  font-family: var(--font-heading);
}

.hstat span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.hstat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-color);
}

/* Hero Category Marquee */
.hero-carousel-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0 30px;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.hero-cat-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: catMarquee 50s linear infinite;
}

.hero-cat-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes catMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Category Card Box */
.hero-cat-card {
  width: 180px;
  flex-shrink: 0;
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.hero-cat-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 35px rgba(235, 214, 131, 0.2);
}

.cat-card-img {
  height: 110px;
  overflow: hidden;
  position: relative;
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-cat-card:hover .cat-card-img img {
  transform: scale(1.1);
}

.cat-card-label {
  padding: 14px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
  white-space: normal;
}


/* Golden Bubbles Animation */
.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #FFF;
}

.bubble {
  position: absolute;
  bottom: -150px;
  background: radial-gradient(circle, rgba(235, 214, 131, 0.2) 0%, rgba(201, 168, 78, 0.05) 80%, transparent 100%);
  border-radius: 50%;
  animation: floatUp 30s infinite ease-in;
  filter: blur(2px);
}

.bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 16s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 80px; height: 80px; left: 25%; animation-duration: 24s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 30px; height: 30px; left: 45%; animation-duration: 14s; animation-delay: 5s; }
.bubble:nth-child(4) { width: 60px; height: 60px; left: 65%; animation-duration: 28s; animation-delay: 1s; }
.bubble:nth-child(5) { width: 50px; height: 50px; left: 85%; animation-duration: 20s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 90px; height: 90px; left: 15%; animation-duration: 32s; animation-delay: 7s; }
.bubble:nth-child(7) { width: 35px; height: 35px; left: 55%; animation-duration: 18s; animation-delay: 4s; }
.bubble:nth-child(8) { width: 70px; height: 70px; left: 75%; animation-duration: 26s; animation-delay: 8s; }

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 0.8; }
  100% { transform: translateY(calc(-100vh - 200px)) scale(1.5); opacity: 0; }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(235, 214, 131, 0.1);
  color: var(--primary-gold);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(235, 214, 131, 0.2);
}

.hero h1 {
  font-size: 64px;
  margin-bottom: 24px;
  background: linear-gradient(to right, var(--text-light), var(--primary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 30px;
  width: 100%;
}

.hero-btns .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: max-content;
  flex: 1;
  max-width: 200px;
}

.hero-btns .btn-primary {
  background-color: var(--primary-gold, #D4AF37);
  color: #000;
  border: 2px solid var(--primary-gold, #D4AF37);
}

.hero-btns .btn-primary:hover {
  background-color: #b8972e;
  border-color: #b8972e;
  color: #fff;
}

.hero-btns .btn-outline {
  background-color: #1e293b;
  color: #fff;
  border: 2px solid #1e293b;
}

.hero-btns .btn-outline:hover {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.hero-course-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 0 20px 0;
  animation: scrollLeftToRight 60s linear infinite;
}

.hero-course-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollLeftToRight {
  0% { transform: translateX(calc(-50% - 10px)); }
  100% { transform: translateX(0); }
}

.hero-course-marquee-track .course-card {
  width: calc(20vw - 20px); /* Exactly 5 courses visible at once (5 * 20vw = 100vw) */
  flex-shrink: 0;
  background-color: var(--glass-bg-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.hero-course-marquee-track .course-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-course-marquee-track .course-image {
  height: 140px;
  border-bottom: 1px solid rgba(235, 214, 131, 0.2);
}

.hero-course-marquee-track .course-content {
  padding: 20px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 30px;
  margin-top: auto; /* Forcefully pushes stats to the bottom */
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background-color: var(--card-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 20px;
}

.stat-text h4 {
  font-size: 18px;
  color: var(--text-light);
}

.stat-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Floating Course Cards in Hero */
.floating-card {
  position: absolute;
  background: var(--glass-bg-medium);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(235, 214, 131, 0.2);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 10;
  transition: transform 0.3s ease, border-color 0.3s ease;
  animation: float 12s ease-in-out infinite;
}

.floating-card:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--primary-gold);
  z-index: 20;
  animation-play-state: paused;
}

.floating-card img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.fc-info {
  display: flex;
  flex-direction: column;
}

.fc-info span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 2px;
}

.fc-rating {
  font-size: 12px;
  color: var(--primary-gold);
}

/* Positions */
.fc-top-left { top: 25%; left: 5%; animation-delay: 0s; }
.fc-bottom-left { bottom: 30%; left: 10%; animation-delay: 1.5s; }
.fc-top-right { top: 30%; right: 5%; animation-delay: 3s; }
.fc-bottom-right { bottom: 25%; right: 10%; animation-delay: 4.5s; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* News Ticker */
.news-ticker-container {
  background-color: var(--primary-gold);
  color: var(--text-on-gold);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  display: flex;
  white-space: nowrap;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.news-ticker {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  animation: ticker 35s linear infinite;
}

.news-ticker:hover {
  animation-play-state: paused;
}

.news-ticker span {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-separator {
  color: rgba(18, 19, 21, 0.4);
  font-weight: 900;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.3333%);
  }
}

/* Trust Section */
.trust {
  padding: 40px 0;
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.trust p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.brands {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  opacity: 1;
}

.brands span {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-color);
  transition: color 0.3s ease;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Why Choose Us */
.why-us {
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.why-card {
  background: linear-gradient(145deg, #fdf8e7, #f3e9c6);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid var(--primary-gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  border-color: var(--dark-gold);
  box-shadow: 0 15px 40px rgba(235, 214, 131, 0.15);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 168, 78, 0.15);
  color: #121315;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.why-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #121315;
  font-weight: 700;
}

.why-card p {
  color: #444850;
  font-weight: 500;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.company-stat h3 {
  font-size: 48px;
  color: var(--primary-gold);
  margin-bottom: 8px;
}

.company-stat p {
  color: var(--text-muted);
  font-weight: 500;
}

/* Featured Courses */
.courses {
  padding: 100px 0;
  background-color: var(--glass-bg-light);
}

.courses-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.courses-header .section-header {
  text-align: left;
  margin-bottom: 0;
}

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

.course-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(235, 214, 131, 0.3);
}

.course-image {
  height: 200px;
  background-color: var(--course-img-bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 48px;
  border-bottom: 1px solid var(--border-color);
}

.course-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-gold);
  color: var(--text-on-gold);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.course-rating {
  color: var(--primary-gold);
}

.course-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.course-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.course-details {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 12px;
  color: var(--text-muted);
}

.detail-val {
  font-weight: 500;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-gold);
}

/* Instructors */
.instructors {
  padding: 100px 0;
}

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

.instructor-card {
  text-align: center;
  background-color: var(--card-bg);
  padding: 40px 20px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}

.instructor-card:nth-child(1) { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.instructor-card:nth-child(2) { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.instructor-card:nth-child(3) { background: linear-gradient(135deg, #059669, #0d9488); }
.instructor-card:nth-child(4) { background: linear-gradient(135deg, #e11d48, #ea580c); }

.instructor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.instructor-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.instructor-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #fff;
}

.instructor-card .role {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.instructor-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background-color: var(--glass-bg-light);
}

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

.testi-card {
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.quote-icon {
  color: rgba(235, 214, 131, 0.2);
  font-size: 40px;
  margin-bottom: 20px;
}

.testi-text {
  font-size: 16px;
  margin-bottom: 30px;
  font-style: italic;
  color: var(--text-light);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-initials {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(235, 214, 131, 0.1);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.author-info p {
  color: var(--text-muted);
  font-size: 14px;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, #1e40af 0%, #312e81 100%);
  padding: 80px 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
  position: relative;
  overflow: hidden;
}

/* Optional: Add a subtle overlay graphic effect to the colorful background */
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-btns .btn {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
}

.cta-btns .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.cta-btns .btn-outline:hover {
  background-color: #ffffff;
  color: #312e81;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0a0f18 0%, #111a28 100%);
  padding: 80px 0 30px;
  border-top: 4px solid var(--primary-gold);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 70px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-heading {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  font-family: var(--font-heading);
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-gold);
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-gold);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-contact i {
  color: var(--primary-gold);
  margin-top: 5px;
  font-size: 16px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary-gold);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 48px; }
  .floating-card { display: none; }
  .company-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-course-marquee-track .course-card { width: calc(33.333vw - 20px); } /* Show 3 on tablet */
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .mobile-menu-toggle { display: block; }
  .nav-links { 
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg-mobile);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .hero { padding: 140px 0 80px; }
  .hero h1 { font-size: 40px; }
  .courses-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-box h2 { font-size: 32px; }
  .cta-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .hero-course-marquee-track .course-card { width: calc(75vw - 20px); } /* Show ~1.5 on mobile for swipeability */
  .grid-2-col, .grid-2-col-contact, .grid-2-col-form { grid-template-columns: 1fr !important; gap: 30px !important; }
  .brands { gap: 30px; }
  .brands span { font-size: 20px; }
}

/* Trust Section */
.trust {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(to right, rgba(18, 19, 21, 1), rgba(30, 31, 36, 1), rgba(18, 19, 21, 1));
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.trust p {
  color: var(--text-muted);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.brands {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.brands span {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #444850;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  cursor: default;
}

.brands span:hover {
  color: var(--primary-gold);
  transform: scale(1.1);
  text-shadow: 0px 5px 15px rgba(235, 214, 131, 0.2);
}

/* Internal Pages Header */
.page-header {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--card-bg) 100%);
  position: relative;
  border-bottom: 1px solid var(--border-color);
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(235, 214, 131, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  font-size: 48px;
  color: var(--primary-gold);
  margin-bottom: 15px;
  position: relative;
}
.page-header p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Workshop List Layout */
.workshop-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.workshop-card {
  display: flex;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.workshop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary-gold);
}

.workshop-img {
  width: 250px;
  min-width: 250px;
  background-size: cover;
  background-position: center;
  border-right: 1px solid var(--border-color);
  position: relative;
}

.workshop-date-box {
  background: var(--primary-gold);
  color: var(--text-on-gold);
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.workshop-month {
  color: var(--text-on-gold);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.workshop-day {
  font-family: var(--font-heading);
  color: var(--text-on-gold);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin: 2px 0;
}

.workshop-details {
  flex-grow: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workshop-title {
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.workshop-meta {
  display: flex;
  gap: 25px;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.workshop-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.workshop-meta i {
  color: var(--primary-gold);
}

.workshop-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 0;
}

.workshop-action {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border-color);
}

/* Past Workshop Styling */
.workshop-card.past {
  opacity: 0.7;
}
.workshop-card.past .workshop-month, .workshop-card.past .workshop-meta i {
  color: var(--text-muted);
}
.workshop-card.past:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border-color);
}

@media (max-width: 768px) {
  .workshop-card {
    flex-direction: column;
  }
  .workshop-date-box {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    flex-direction: row;
    gap: 15px;
    padding: 15px 20px;
    justify-content: flex-start;
    align-items: baseline;
  }
  .workshop-day {
    font-size: 28px;
  }
  .workshop-details {
    padding: 20px;
  }
  .workshop-action {
    border-left: none;
    border-top: 1px solid var(--border-color);
    justify-content: flex-start;
    padding: 20px;
  }
}

/* --- ADMIN PANEL SPECIFIC STYLES --- */
:root {
    --admin-sidebar-bg: #0f172a; /* Slate 900 */
    --admin-sidebar-text: #cbd5e1;
    --admin-sidebar-hover: #1e293b;
    --admin-sidebar-active: #334155;
    --admin-gold: #d4af37; /* Stronger gold */
    
    --admin-main-bg: #f8fafc; /* Slate 50 */
    --admin-card-bg: #ffffff;
    --admin-text-dark: #0f172a;
    --admin-text-muted: #64748b;
    --admin-border: #e2e8f0;
    --admin-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --admin-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.admin-body-wrapper { display: flex; min-height: 100vh; margin: 0; overflow-x: hidden; font-family: 'Inter', sans-serif; background-color: var(--admin-main-bg); color: var(--admin-text-dark); }

/* Sidebar Styling */
.sidebar { width: 280px; background-color: var(--admin-sidebar-bg); color: var(--admin-sidebar-text); display: flex; flex-direction: column; flex-shrink: 0; box-shadow: 4px 0 15px rgba(0,0,0,0.05); z-index: 10; height: 100vh; position: sticky; top: 0; }
.sidebar-header { padding: 35px 30px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: center; background-color: rgba(0,0,0,0.2); }
.sidebar-header .logo { color: white; text-decoration: none; font-size: 26px; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 12px; letter-spacing: 0.5px; }
.sidebar-header .logo span { color: var(--admin-gold); font-weight: 300; }
.sidebar-header img { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }

.sidebar-nav { padding: 25px 0; flex-grow: 1; overflow-y: auto; }
.sidebar-nav ul { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li a { 
    display: flex; align-items: center; gap: 16px; 
    padding: 14px 30px; color: var(--admin-sidebar-text); 
    text-decoration: none; font-weight: 500; font-size: 15px;
    transition: all 0.2s ease; border-left: 4px solid transparent; 
}
.sidebar-nav li a:hover { 
    background: var(--admin-sidebar-hover); 
    color: white; 
}
.sidebar-nav li a.active {
    background: var(--admin-sidebar-active);
    color: var(--admin-gold);
    border-left-color: var(--admin-gold);
}
.sidebar-nav li a i { font-size: 18px; width: 24px; text-align: center; }
.sidebar-footer { padding: 25px; border-top: 1px solid rgba(255,255,255,0.05); }

/* Main Content Styling */
.main-content { flex-grow: 1; display: flex; flex-direction: column; background: var(--admin-main-bg); min-height: 100vh; }
.admin-topbar { 
    background-color: var(--admin-card-bg); padding: 20px 45px; 
    display: flex; justify-content: space-between; align-items: center; 
    border-bottom: 1px solid var(--admin-border); 
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    position: sticky; top: 0; z-index: 5;
}
.admin-topbar h2 { font-size: 24px; font-weight: 700; margin: 0; color: var(--admin-text-dark); letter-spacing: -0.5px; }
.topbar-actions { display: flex; align-items: center; gap: 25px; }
.topbar-actions a { color: var(--admin-text-muted); text-decoration: none; font-weight: 500; font-size: 15px; transition: color 0.2s; }
.topbar-actions a:hover { color: var(--admin-gold); }
.admin-user { display: flex; align-items: center; gap: 12px; background: var(--admin-main-bg); padding: 8px 18px; border-radius: 30px; border: 1px solid var(--admin-border); }
.admin-user span { font-weight: 600; color: var(--admin-text-dark); font-size: 15px; }

.admin-body { padding: 45px; flex-grow: 1; max-width: 100%; margin: 0 auto; width: 100%; box-sizing: border-box; }

/* Cards & Components */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-bottom: 45px; }
.stat-card {
    background: var(--admin-card-bg); padding: 30px; border-radius: 20px; 
    border: 1px solid var(--admin-border); box-shadow: var(--admin-shadow); 
    display: flex; align-items: center; gap: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--admin-shadow-hover); }
.stat-icon { background: rgba(212, 175, 55, 0.12); width: 70px; height: 70px; border-radius: 18px; display: flex; align-items: center; justify-content: center; }
.stat-icon i { color: var(--admin-gold); font-size: 28px; }
.stat-content h4 { color: var(--admin-text-muted); font-size: 15px; font-weight: 500; margin: 0 0 8px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-content span { font-size: 32px; font-weight: 700; color: var(--admin-text-dark); line-height: 1; }

.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 40px; }
.module-card {
    text-align: center; background-color: var(--admin-card-bg); padding: 45px 35px; 
    border-radius: 20px; border: 1px solid var(--admin-border); box-shadow: var(--admin-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column; align-items: center;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--admin-shadow-hover); border-color: var(--admin-gold); }
.module-card i { color: var(--admin-gold); font-size: 46px; margin-bottom: 25px; transition: transform 0.3s ease; }
.module-card:hover i { transform: scale(1.1); }
.module-card h3 { margin: 0 0 12px 0; color: var(--admin-text-dark); font-size: 22px; font-weight: 600; }
.module-card p { color: var(--admin-text-muted); margin: 0 0 25px 0; font-size: 15px; line-height: 1.5; flex-grow: 1; }

.btn-outline {
    border: 2px solid var(--admin-gold); color: var(--admin-gold); background: transparent;
    padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none;
    transition: all 0.2s ease; cursor: pointer; width: 100%; display: inline-block; text-align: center; box-sizing: border-box;
}
.btn-outline:hover { background: var(--admin-gold); color: white; box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3); }

/* CRUD Specific Overrides for Light Mode Admin */
.admin-body-wrapper .crud-card { background: var(--admin-card-bg); border-radius: 16px; border: 1px solid var(--admin-border); padding: 30px; box-shadow: var(--admin-shadow); margin-bottom: 30px; }
.admin-body-wrapper .form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--admin-text-dark); font-size: 14px; }
.admin-body-wrapper .form-control { width: 100%; padding: 12px 15px; border-radius: 8px; border: 1px solid var(--admin-border); background: #f9fafb; color: var(--admin-text-dark); font-family: 'Inter', sans-serif; transition: border-color 0.2s; }
.admin-body-wrapper .form-control:focus { outline: none; border-color: var(--admin-gold); background: #ffffff; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1); }
        
.admin-body-wrapper .data-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.admin-body-wrapper .data-table th, .admin-body-wrapper .data-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--admin-border); color: var(--admin-text-dark); }
.admin-body-wrapper .data-table th { font-weight: 600; color: var(--admin-text-muted); text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; background: rgba(243, 244, 246, 0.5); }
.admin-body-wrapper .data-table th:first-child { border-top-left-radius: 8px; }
.admin-body-wrapper .data-table th:last-child { border-top-right-radius: 8px; }
.admin-body-wrapper .data-table tr:hover td { background-color: rgba(249, 250, 251, 1); }

/* Mobile handling */
@media (max-width: 900px) {
    .admin-body-wrapper { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: static; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .main-content { min-height: auto; }

    .admin-topbar { padding: 20px; flex-direction: column; gap: 20px; align-items: flex-start; position: static; }
    .admin-body { padding: 20px; }
}

/* Admin Buttons & Alerts & Modals */
.admin-body-wrapper .btn-primary { background-color: var(--admin-gold); color: white; border: none; transition: all 0.2s; cursor: pointer; }
.admin-body-wrapper .btn-primary:hover { background-color: #b8972e; box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3); }
.admin-body-wrapper .btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 6px; cursor: pointer; border: none; font-weight: 500; transition: all 0.2s; }
.admin-body-wrapper .btn-danger { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.admin-body-wrapper .btn-danger:hover { background-color: #ef4444; color: white; }
.admin-body-wrapper .btn-warning { background-color: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.admin-body-wrapper .btn-warning:hover { background-color: #f59e0b; color: white; }

.admin-body-wrapper .alert { padding: 16px; border-radius: 8px; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.admin-body-wrapper .alert-success { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.admin-body-wrapper .alert-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }

.admin-body-wrapper .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.7); align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.admin-body-wrapper .modal-content { background-color: var(--admin-card-bg); padding: 35px; border-radius: 16px; width: 100%; max-width: 600px; border: 1px solid var(--admin-border); box-shadow: var(--admin-shadow-hover); max-height: 90vh; overflow-y: auto; }
.admin-body-wrapper .close { float: right; font-size: 24px; cursor: pointer; color: var(--admin-text-muted); transition: color 0.2s; line-height: 1; }
.admin-body-wrapper .close:hover { color: var(--admin-text-dark); }

/* ── Admin Tab Styles ── */
.admin-body-wrapper .tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color, #334155);
    margin-bottom: 30px;
}
.admin-body-wrapper .tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 12px 24px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-family: var(--font-body, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}
.admin-body-wrapper .tab-btn:hover {
    color: #f8fafc;
}
.admin-body-wrapper .tab-btn.active {
    color: var(--primary-gold, #EBD683);
    border-bottom-color: var(--primary-gold, #EBD683);
}
.admin-body-wrapper .tab-content {
    display: none;
}
.admin-body-wrapper .tab-content.active {
    display: block;
}

/* Mobile Responsiveness for Header Navigation */
@media (max-width: 900px) {
    .top-bar {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; /* Below navbar */
        left: 0;
        width: 100%;
        background-color: var(--nav-bg-mobile);
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links li a {
        display: block;
        padding: 10px 20px;
    }
    .nav-links li a.btn {
        display: inline-block;
        margin-top: 10px;
        width: auto;
    }
    
    /* Hero Responsiveness - Mature & Zero Padding */
    .hero {
        padding: 0 !important;
        min-height: auto;
    }
    .hero-inner {
        display: flex !important;
        flex-direction: column-reverse; /* Text on top, image below */
        text-align: center;
        gap: 20px;
        padding: 20px 0 0 0; /* Minimal padding */
    }
    .hero-text-col {
        align-items: center;
    }
    .hero-text-col h1 {
        white-space: normal !important;
        font-size: 32px !important;
        line-height: 1.25 !important;
        margin-bottom: 16px !important;
    }
    .hero-text-col p {
        margin: 0 auto 20px;
        font-size: 16px;
        line-height: 1.6;
    }
    .hero-stats-row {
        justify-content: center;
        margin-bottom: 20px;
        gap: 15px;
    }
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin: 0 auto 20px;
    }
    .hero-btns .btn {
        width: 100%;
        max-width: none;
    }
    .hero-badge-card {
        transform: scale(0.8);
    }
    .hero-badge-card.badge-top {
        right: -10px;
        top: 0;
    }
    .hero-badge-card.badge-bottom {
        left: -10px;
        bottom: 10px;
    }
}
