/* ==========================================================================
   EDUPRIME ACADEMY - Main Stylesheet
   Modern, Professional, and Premium Educational HTML Template
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --primary: #0F172A;          /* Deep Navy */
  --primary-light: #1E293B;    /* Lighter Navy */
  --accent: #2563EB;           /* Royal Electric Blue */
  --accent-hover: #1D4ED8;     /* Darker Royal Blue */
  --accent-soft: #EFF6FF;      /* Soft Light Blue Tint */
  --secondary: #0D9488;        /* Deep Teal */
  --secondary-soft: #CCFBF1;   /* Soft Teal Tint */
  --amber: #F59E0B;            /* Warm Amber Gold */
  --amber-soft: #FEF3C7;       /* Soft Amber Tint */
  --rose: #E11D48;             /* Accent Rose */
  --rose-soft: #FFE4E6;        /* Soft Rose Tint */

  /* Neutral Tones */
  --bg-body: #F8FAFC;          /* Off-white Body Background */
  --bg-card: #FFFFFF;          /* Pure White Card Background */
  --bg-subtle: #F1F5F9;        /* Subtle Gray Background */
  --text-main: #1E293B;        /* Primary Body Text */
  --text-muted: #64748B;       /* Muted / Secondary Text */
  --text-light: #94A3B8;       /* Light Gray Text */
  --border: #E2E8F0;           /* Subtle Border Line */
  --border-dark: #334155;      /* Dark Border Line */

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.16);

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1280px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

/* --------------------------------------------------------------------------
   3. REUSABLE UTILITIES & COMPONENTS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section-title-wrapper {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.sub-badge.sub-badge-amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.sub-badge.sub-badge-teal {
  background: var(--secondary-soft);
  color: var(--secondary);
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--primary);
  color: #ffffff;
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-light {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
}

/* Form controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 0.925rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Rating Stars */
.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--amber);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   4. TOP BAR & NAVBAR HEADER
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--primary);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-dark);
}

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

.top-bar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-info item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-info a:hover {
  color: #ffffff;
}

.top-bar-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.top-bar-social a {
  color: #94A3B8;
}

.top-bar-social a:hover {
  color: var(--amber);
}

/* Header Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.25rem 0;
}

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

.site-header.scrolled .navbar {
  height: 70px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.brand-text span {
  color: var(--accent);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Search Modal Trigger */
.search-btn {
  font-size: 1.1rem;
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--accent);
  background: var(--bg-subtle);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  padding: 0.5rem;
}

@media (max-width: 991px) {
  .top-bar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem 2rem;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s ease;
    z-index: 1100;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }
  .mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-muted);
  }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #ffffff;
  padding: 6rem 0 7rem 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(15, 23, 42, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.hero-content .sub-badge {
  background: rgba(37, 99, 235, 0.2);
  color: #60A5FA;
}

.hero-title {
  font-size: 3rem;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-title span {
  color: #38BDF8;
  background: linear-gradient(135deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  max-width: 540px;
}

@media (max-width: 991px) {
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .hero-btns {
    justify-content: center;
  }
}

.hero-stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .hero-stats-row {
    justify-content: center;
  }
}

.stat-item h4 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.stat-item p {
  color: #94A3B8;
  font-size: 0.875rem;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1E293B;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Floating Badge overlays on hero visual */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--primary);
  z-index: 10;
}

.badge-top-right {
  top: 2rem;
  right: -1.5rem;
}

.badge-bottom-left {
  bottom: 2rem;
  left: -1.5rem;
}

@media (max-width: 576px) {
  .floating-badge {
    display: none;
  }
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
}

.badge-icon.badge-green { background: #10B981; }
.badge-icon.badge-amber { background: #F59E0B; }

.badge-text h5 {
  font-size: 1.1rem;
  color: var(--primary);
}

.badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. FEATURE HIGHLIGHTS / WHY CHOOSE US
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  top: 0;
}

.feature-card:hover {
  top: -6px;
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.2);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   7. COURSE CATEGORIES & CARDS
   -------------------------------------------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.category-card:hover .category-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.category-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.category-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Course Filters & Grid */
.course-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.2);
}

.course-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-thumb img {
  transform: scale(1.06);
}

.course-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-price-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.course-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.course-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.course-title a:hover {
  color: var(--accent);
}

.course-instructor {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

.instructor-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.course-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. VIDEO / STATS BANNER
   -------------------------------------------------------------------------- */
.video-banner-section {
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 6rem 0;
  text-align: center;
}

.play-modal-btn {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #ffffff;
  font-size: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(37, 99, 235, 0.3);
  margin-bottom: 2rem;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.play-modal-btn:hover {
  transform: scale(1.1);
  background: var(--amber);
}

.video-banner-title {
  color: #ffffff;
  font-size: 2.5rem;
  max-width: 700px;
  margin: 0 auto 1.25rem auto;
}

/* --------------------------------------------------------------------------
   9. EVENTS & UPCOMING WORKSHOPS
   -------------------------------------------------------------------------- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: var(--transition);
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.event-date-box {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 90px;
  flex-shrink: 0;
}

.event-date-box .day {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.event-date-box .month {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-content {
  flex-grow: 1;
}

.event-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.event-title a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   10. TESTIMONIALS & REVIEWS
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  font-size: 2.25rem;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.author-info h5 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

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

/* --------------------------------------------------------------------------
   11. BLOG & NEWS SECTION
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-thumb {
  height: 200px;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-title a:hover {
  color: var(--accent);
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   12. PAGE BREADCRUMB HEADER (FOR INNER PAGES)
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.page-banner-title {
  font-size: 2.75rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #94A3B8;
}

.breadcrumb a {
  color: #ffffff;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-separator {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   13. COURSE DETAILS SPECIFIC STYLES
   -------------------------------------------------------------------------- */
.course-details-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 991px) {
  .course-details-layout {
    grid-template-columns: 1fr;
  }
}

.course-details-main {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.course-overview-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.details-tab-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
}

.details-tab-btn {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  bottom: -2px;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.details-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem;
  background: var(--bg-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  text-align: left;
}

.accordion-header:hover {
  background: var(--accent-soft);
}

.accordion-header .icon-toggle {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header .icon-toggle {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 1.25rem;
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.accordion-item.active .accordion-content {
  display: block;
}

.lesson-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.925rem;
}

.lesson-list li:last-child {
  border-bottom: none;
}

/* Sticky Sidebar Widget */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.widget-price {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.widget-price span.old-price {
  font-size: 1.25rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 500;
}

.widget-features-list {
  margin: 1.5rem 0;
}

.widget-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.widget-features-list i {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   14. CONTACT PAGE & FAQ STYLES
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card-box {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.map-placeholder {
  width: 100%;
  height: 320px;
  background: #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 600;
  position: relative;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--primary);
  color: #94A3B8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin: 1.25rem 0 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.25rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.newsletter-form .form-input {
  background: var(--primary-light);
  border-color: var(--border-dark);
  color: #ffffff;
}

.newsletter-form .form-input::placeholder {
  color: #64748B;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   16. SEARCH MODAL & OVERLAYS
   -------------------------------------------------------------------------- */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.search-modal-overlay.active {
  display: flex;
}

.search-modal-card {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.35rem;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  color: var(--rose);
}

.search-modal-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.75rem;
  margin-top: 1rem;
}

.search-modal-input-wrap i {
  font-size: 1.35rem;
  color: var(--accent);
}

.search-modal-input {
  width: 100%;
  font-size: 1.25rem;
  color: var(--primary);
}
