/* ==========================================================================
   Civil Care LMS Redesign - Premium EdTech Aesthetic
   ========================================================================== */

:root {
  --primary-gradient: linear-gradient(135deg, #0b1f33 0%, #152d47 100%);
  --accent-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --primary: #084b83;
  --accent: #ea580c;
  --white: #ffffff;
}

.premium-theme, 
.premium-theme h1, 
.premium-theme h2, 
.premium-theme h3, 
.premium-theme h4, 
.premium-theme h5, 
.premium-theme h6, 
.premium-theme p, 
.premium-theme a, 
.premium-theme span, 
.premium-theme button, 
.premium-theme input, 
.premium-theme textarea,
.premium-theme select {
  font-family: 'Outfit', 'Hind Siliguri', system-ui, -apple-system, sans-serif !important;
}

body.premium-theme {
  background-color: #fafbfc;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Premium Header */
.site-header.premium {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 10px rgba(0,0,0,0.02);
}

.site-header.premium .nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-header.premium .nav-links a {
  font-weight: 600;
  color: #475569;
  font-size: 14.5px;
  padding: 8px 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header.premium .nav-links a:hover {
  color: var(--primary);
}

.site-header.premium .nav-links a.btn {
  font-weight: 700;
  border-radius: 8px;
}

/* Header Action Buttons Visibility Fixes */
.site-header.premium .nav-links a.btn-primary {
  background-color: var(--primary) !important;
  color: white !important;
}

.site-header.premium .nav-links a.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary) !important;
  background: transparent;
}

.site-header.premium .nav-links a.btn-outline:hover {
  background: var(--primary);
  color: white !important;
}

.hero-mobile-logo {
  display: none;
}

/* Hero Section */
.hero.premium-hero {
  background: var(--primary-gradient);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  color: white;
  text-align: left;
}

.hero.premium-hero .container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
}

.hero.premium-hero h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  text-align: left;
}

.hero.premium-hero h1 span.gradient-text {
  background: linear-gradient(135deg, #fed7aa 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero.premium-hero p {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 0 36px 0 !important;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffedd5;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-actions .btn-accent {
  background: var(--accent-gradient);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.hero-actions .btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.hero-actions .btn-border {
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-actions .btn-border:hover {
  background: rgba(255,255,255,0.05);
  border-color: white;
}

.hero-graphic {
  display: flex;
  justify-content: flex-end;
}

.hero-mentors-showcase {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 380px;
}

.hero-mentor-card {
  position: absolute;
  width: 200px;
  height: 350px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
  background: #0b1f33;
}

.hero-mentor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-mentor-card.img-1 {
  left: 0;
  top: 15px;
  z-index: 2;
}

.hero-mentor-card.img-2 {
  right: 0;
  top: 15px;
  z-index: 3;
}

.hero-mentor-card:hover {
  transform: translateY(-10px) scale(1.02);
  z-index: 10 !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.mentor-meta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.95) 100%);
  padding: 24px 16px 16px;
  color: white;
  text-align: center;
}

.mentor-meta-overlay h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px 0 !important;
  color: #ffffff !important;
  line-height: 1.2;
}

.mentor-meta-overlay p {
  font-size: 11px !important;
  color: #f97316 !important; /* Premium orange accent */
  margin: 0 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Sections Global Styling */
.courses-section, .previous-courses-section, .testimonials-section, .instructors-section, .faq-section, .inquiry-section, .about-section {
  padding: 90px 0;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 56px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  background: #e0f2fe;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.section-title-wrapper h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.section-title-wrapper p {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 8px;
}

/* Course Cards Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.premium-course-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.premium-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.course-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f1f5f9;
}

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

.premium-course-card:hover .course-thumbnail img {
  transform: scale(1.03);
}

.course-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-gradient);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.course-card-details {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card-details h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.course-card-details p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.course-highlights li {
  font-size: 13.5px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.course-highlights li i {
  color: #10b981;
  font-size: 14px;
}

.instructor-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
}

.instructor-avatar {
  width: 38px;
  height: 38px;
  background: #f0f9ff;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid #bae6fd;
}

.instructor-info h5 {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.instructor-info p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

/* Completed Course Card UI */
.completed-course-card .btn-outline {
  border: 1.5px solid #cbd5e1;
  color: #475569;
}

.completed-course-card .btn-outline:hover {
  background: #f8fafc;
  color: var(--text-dark) !important;
  border-color: #94a3b8;
}

/* Previous Course Showcase Section (Fallback section) */
.previous-course-display-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.previous-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
}

.topics-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  background: #f8fafc;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
}

.topic-item i {
  color: #0284c7;
  font-size: 14px;
}

.success-badge-card {
  box-shadow: 0 4px 15px rgba(21, 128, 61, 0.05);
}

/* Interactive Previous Course Modal Layout styling */
.premium-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.premium-modal.open {
  display: flex;
}

.premium-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.premium-modal-content {
  position: relative;
  background: white;
  width: 100%;
  max-width: 820px;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  z-index: 1010;
  overflow: hidden;
  animation: modalAppear 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalAppear {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.premium-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 36px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1;
  z-index: 20;
}

.premium-modal-close:hover {
  color: white;
}

.premium-modal-header-block {
  background: var(--primary-gradient);
  color: white;
  padding: 40px;
}

.premium-modal-header-block h2 {
  color: white !important;
  font-size: 26px;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 0;
}

.premium-modal-header-block .modal-tag {
  font-size: 11px;
  font-weight: 700;
  color: #fed7aa;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.premium-modal-body-block {
  padding: 40px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
}

.student-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

/* Mentors - Outstanding Edtech Cards */
.premium-theme .mentors-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.premium-theme .mentor-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.02);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 280px;
  max-width: 440px;
  position: relative;
  overflow: hidden;
}

.premium-theme .mentor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-gradient);
  opacity: 0.15;
}

.premium-theme .mentor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.premium-theme .mentor-avatar-img {
  width: 200px;
  height: 260px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 24px;
  border: 4px solid white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  background: #f1f5f9;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-theme .mentor-card:hover .mentor-avatar-img {
  transform: scale(1.04) translateY(-6px);
}

.premium-theme .mentor-card h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.premium-theme .mentor-card p.designation {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.premium-theme .mentor-card p.edu {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

/* FAQs */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  font-size: 15.5px;
  color: var(--text-dark);
}

.faq-question i {
  transition: transform 0.2s ease;
  color: #0284c7;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 28px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.65;
}

.faq-item.active {
  border-color: #bae6fd;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.03);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}

/* Inquiry Form Section Styling */
.inquiry-section form input.form-control,
.inquiry-section form textarea.form-control {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.inquiry-section form input.form-control:focus,
.inquiry-section form textarea.form-control:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
  outline: none;
}

/* Footer Hover Overrides & Color Fixes */
.site-footer .social-links a:hover {
  background-color: var(--accent) !important;
  color: white !important;
}

.site-footer .social-links a:hover i {
  color: white !important;
}

/* Buttons */
.btn-accent {
  background: var(--accent-gradient);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-accent:hover {
  box-shadow: 0 4px 12px rgba(240, 109, 36, 0.2);
}

/* Responsive Grid and Flex */
@media (max-width: 992px) {
  .hero-mobile-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
  }
  .hero-mobile-logo img {
    width: 110px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background-color: #ffffff;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
  }
  .hero.premium-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-graphic {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
  }
  .hero-mentors-showcase {
    max-width: 320px;
    height: 280px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
  }
  .hero-mentor-card {
    width: 145px;
    height: 250px;
    border-radius: 16px;
  }
  .hero-mentor-card.img-1 {
    left: 0;
    top: 10px;
  }
  .hero-mentor-card.img-2 {
    right: 0;
    top: 10px;
  }
  .mentor-meta-overlay {
    padding: 12px 8px 8px;
  }
  .mentor-meta-overlay h4 {
    font-size: 13px;
  }
  .mentor-meta-overlay p {
    font-size: 11px;
    margin-top: 2px !important;
  }
  
  .previous-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .inquiry-section .container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

@media (max-width: 640px) {
  .topics-checklist {
    grid-template-columns: 1fr;
  }

  .previous-course-display-card {
    padding: 24px;
  }

  .inquiry-section div {
    padding: 24px !important;
  }
  
  .premium-modal-content {
    max-height: 90vh;
  }
  
  .premium-modal-body-block {
    padding: 24px;
  }
}

/* ==========================================================================
   Live Stats & Why Choose Sections (Screenshots Redesign)
   ========================================================================== */
.live-stats-section {
  background-color: #0b1f33 !important; /* Premium Dark Navy from screenshot */
  padding: 80px 0 !important;
  color: white;
}

.live-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.live-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.live-stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}

.live-stat-card .live-stat-icon-wrap {
  font-size: 36px;
  color: #f97316; /* Orange icons to match design */
  margin-bottom: 24px;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.live-stat-card:hover .live-stat-icon-wrap {
  transform: scale(1.1);
}

.live-stat-card h3 {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: #ffffff;
  line-height: 1;
}

.live-stat-card .label {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0 0 16px 0 !important;
  font-weight: 500;
  line-height: 1.5;
  min-height: 42px; /* aligns text blocks */
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-stat-card .sub {
  font-size: 11px;
  font-weight: 700;
  color: #f97316;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 !important;
}

/* Why Choose Section */
.why-choose-section {
  background-color: #ffffff !important;
  padding: 100px 0 !important;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.02);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -15px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.why-card .why-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 28px;
  transition: transform 0.3s ease;
}

.why-card:hover .why-icon-wrap {
  transform: scale(1.08) rotate(2deg);
}

.why-card .why-icon-wrap.orange {
  background: #fff7ed;
  color: #ea580c;
}
.why-card .why-icon-wrap.blue {
  background: #eff6ff;
  color: #2563eb;
}
.why-card .why-icon-wrap.green {
  background: #f0fdf4;
  color: #16a34a;
}
.why-card .why-icon-wrap.purple {
  background: #faf5ff;
  color: #9333ea;
}
.why-card .why-icon-wrap.red {
  background: #fef2f2;
  color: #dc2626;
}
.why-card .why-icon-wrap.yellow {
  background: #fefce8;
  color: #ca8a04;
}

.why-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 !important;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .live-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .live-stats-grid {
    grid-template-columns: 1fr;
  }
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .live-stat-card {
    padding: 32px 20px;
  }
  .why-card {
    padding: 36px 24px;
  }
}

/* Ostad Style Navbar rules */
.site-header.premium.ostad-style {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.site-header.premium.ostad-style .nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo-container img {
  width: auto;
  height: 52px;
  object-fit: contain;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.logo-container img:hover {
  transform: scale(1.03);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-special-offer {
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.2);
}
.btn-special-offer:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}
.btn-special-offer i {
  color: #ffedd5;
  font-size: 14px;
}
.nav-link-item {
  color: #334155 !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 12px;
  transition: all 0.2s ease;
}
.nav-link-item:hover {
  color: #ea580c !important;
}
.nav-link-item.course-badge {
  background: #f1f5f9;
  border-radius: 6px;
  padding: 6px 12px;
}
.nav-link-item.course-badge:hover {
  background: #e2e8f0;
}
.btn-brand-login {
  background-color: #084b83 !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(8, 75, 131, 0.2);
}
.btn-brand-login:hover {
  background-color: #063c69 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(8, 75, 131, 0.3);
}
.btn-brand-accent {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-brand-accent:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}
.menu-toggle {
  background: none;
  border: none;
  font-size: 20px;
  color: #334155;
  cursor: pointer;
  padding: 8px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.menu-toggle:hover {
  color: #ea580c;
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  box-shadow: -4px 0 15px rgba(0,0,0,0.1);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.mobile-sidebar.open {
  right: 0;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.sidebar-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.sidebar-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}
.sidebar-close:hover {
  color: #ea580c;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-link-item {
  color: #334155 !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.sidebar-link-item:hover {
  background: #f8fafc;
  color: #ea580c !important;
}
.sidebar-link-item i {
  width: 20px;
  color: #ea580c;
}
.sidebar-btn-login {
  background-color: #084b83 !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(8, 75, 131, 0.2);
}
.sidebar-btn-login:hover {
  background-color: #063c69 !important;
}
.sidebar-btn-register {
  background-color: #ea580c !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2);
}
.sidebar-btn-register:hover {
  background-color: #d95b18 !important;
}
.sidebar-btn-logout {
  background-color: #ef4444 !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1050;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.open {
  display: block;
  opacity: 1;
}

/* Precise mobile sizing to fit everything inline on a single line */
@media (max-width: 600px) {
  .site-header.premium.ostad-style .nav-flex {
    padding: 0 8px;
    height: 56px;
  }
  .logo-container img {
    width: auto;
    height: 42px;
  }
  .nav-right {
    gap: 4px;
  }
  .btn-special-offer {
    padding: 5px 6px;
    font-size: 11px;
    gap: 3px;
    border-radius: 6px;
  }
  .btn-special-offer i {
    font-size: 11px;
  }
  .nav-link-item {
    display: none !important;
  }
  .btn-brand-login {
    padding: 6px 12px;
    font-size: 11.5px;
    border-radius: 6px;
  }
  .menu-toggle {
    display: flex !important;
    font-size: 18px;
    padding: 6px;
    margin-left: 4px;
  }
  .hero-actions .btn-brand-accent,
  .hero-actions .btn-brand-login,
  .hero-actions .btn-border {
    width: 100% !important;
    margin-bottom: 12px;
    display: flex !important;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 992px) {
  .qb-mobile-btn {
    display: inline-block !important;
  }
  .login-desktop-btn {
    display: none !important;
  }
}
@media (min-width: 993px) {
  .qb-mobile-btn {
    display: none !important;
  }
  .login-desktop-btn {
    display: inline-block !important;
  }
}

/* Center-align footer elements on mobile screens */
@media (max-width: 768px) {
  .site-footer {
    text-align: center !important;
  }
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 30px !important;
  }
  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .footer-col ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .brand-col .footer-desc {
    margin: 0 auto 24px auto !important;
    text-align: center !important;
  }
  .social-links {
    justify-content: center !important;
  }
  .contact-info li {
    justify-content: center !important;
  }
}
