/* =========================================
   CAREER EXCELLENCE ACADEMY - MAIN STYLESHEET
   =========================================
   TABLE OF CONTENTS:
   1. Variables & Base Theme
   2. Resets & Typography
   3. Global Layout (Header/Footer)
   4. Core Components (Buttons, Cards, Badges)
   5. Homepage Styles
   6. Courses Page Styles (Z-Layout)
   7. Admin & Auth Pages
   8. Media Queries & Responsive Overrides
   ========================================= */

/* =========================================
   VARIABLES & DESIGN SYSTEM
   ========================================= */

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   TOP BANNER & FLOATING WIDGET
   ========================================= */
.top-banner {
  background-color: #e11d48; /* Urgency Red */
  color: var(--white);
  padding: 12px 0;
  position: relative;
  z-index: 1001;
  font-size: 0.95rem;
}

.banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  text-align: center;
}

.close-banner {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform var(--transition-fast);
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* =========================================
   NAVIGATION (HEADER)
   ========================================= */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  overflow: visible !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: visible !important;
}

.logo h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

.site-logo {
  max-height: 45px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn) {
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--secondary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  position: relative;
  transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  left: 0;
  transition: var(--transition-fast);
}

.hamburger::before {
  top: -8px;
}
.hamburger::after {
  bottom: -8px;
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  background-color: var(--primary-color);
}

.hero-slides-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease-in-out,
    visibility 1s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.6) 100%
  );
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out 0.3s,
    transform 0.8s ease-out 0.3s;
}

.hero-slide.active .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-subtitle {
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-block;
}

.hero-slide-content h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-slide-content p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 35px;
  max-width: 90%;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-slider-controls {
  position: absolute;
  bottom: 50px;
  right: 50px;
  z-index: 10;
  display: flex;
  gap: 15px;
}

.hero-btn {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--primary-color);
}

.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--secondary-color);
}

/* =========================================
   COURSES SECTION
   ========================================= */
.courses {
  padding: 80px 0;
  background-color: #f8fafc;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.premium-course-card {
  background: var(--white);
  border-radius: 16px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.premium-course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.course-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.badge-text {
  background-color: #f59e0b;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-rating {
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-rating i {
  color: #f59e0b;
}

.course-content {
  padding: 25px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
}

.premium-course-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.course-meta-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
}

.course-meta-details i {
  color: var(--secondary-color);
  margin-right: 5px;
}

.course-features-list {
  list-style: none;
  margin-bottom: 25px;
  flex: 1;
}

.course-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #334155;
  font-size: 0.95rem;
}

.course-features-list i {
  color: #10b981;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.course-price {
  display: flex;
  flex-direction: column;
}

.old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.9rem;
}

.new-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

/* =========================================
   FEATURES (WHY CHOOSE US)
   ========================================= */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.bento-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  padding: 40px 30px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
  border: 1px solid rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  text-align: left;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}

.card-number {
  position: absolute;
  top: -15px;
  right: 15px;
  font-size: 8rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.03);
  line-height: 1;
  transition:
    color var(--transition-normal),
    transform var(--transition-normal);
  z-index: 0;
}

.bento-card:hover .card-number {
  color: rgba(245, 158, 11, 0.08);
  transform: scale(1.05);
}

.bento-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.bento-card p {
  color: #64748b;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

/* =========================================
   FACULTY SECTION
   ========================================= */
.faculty {
  background-color: var(--white);
  padding: 80px 0;
  border-top: 1px solid #e2e8f0;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.faculty-card {
  text-align: center;
  padding: 30px;
  background: var(--bg-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.faculty-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.faculty-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-title {
  display: block;
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* =========================================
   COURSES SECTION
   ========================================= */
.courses {
  background-color: var(--bg-color);
  padding: 80px 0;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.course-content {
  padding: 30px;
}

.course-meta {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

.course-meta-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.course-meta-details i {
  color: var(--secondary-color);
  width: 20px;
}

/* =========================================
   TESTIMONIALS & VIDEO
   ========================================= */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

.video-testimonial {
  max-width: 800px;
  margin: 0 auto 50px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-color);
  padding: 40px 30px;
  border-radius: 8px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: rgba(15, 23, 42, 0.05);
  font-family: serif;
  line-height: 1;
}

.quote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 500;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background-color: var(--primary-color);
  color: #cbd5e1;
  padding: 60px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col h3 span {
  color: var(--secondary-color);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-info li i {
  color: var(--secondary-color);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* =========================================
   MOBILE UX (BOTTOM NAV)
   ========================================= */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  justify-content: space-around;
  padding: 10px 0;
  padding-bottom: env(safe-area-inset-bottom, 10px);
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  gap: 4px;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item:active {
  color: var(--primary-color);
}

/* =========================================
   AUTH PAGES (LOGIN / REGISTER)
   ========================================= */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--bg-color);
  padding: 40px 20px;
}

.auth-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.auth-card .logo {
  margin-bottom: 30px;
  display: block;
}

.auth-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.auth-card p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.auth-links {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.auth-links a {
  color: var(--primary-color);
  font-weight: 600;
}

.auth-links a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* =========================================
   ADMIN DASHBOARD UI
   ========================================= */
.admin-body {
  background-color: #f1f5f9;
  display: flex;
  min-height: 100vh;
  font-family: var(--font-body);
}

.admin-sidebar {
  width: 250px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
}

.admin-sidebar .admin-logo {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.admin-sidebar .admin-logo img {
  max-height: 40px;
  filter: brightness(0) invert(1);
}

.admin-nav {
  flex-grow: 1;
  padding: 20px 0;
}

.admin-nav ul li a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #cbd5e1;
  transition: var(--transition-fast);
}

.admin-nav ul li a i {
  width: 25px;
  font-size: 1.1rem;
}

.admin-nav ul li.active a,
.admin-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-left: 4px solid var(--secondary-color);
}

.admin-sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-footer a {
  color: #cbd5e1;
}

.admin-sidebar-footer a:hover {
  color: var(--white);
}

.admin-main {
  flex-grow: 1;
  margin-left: 250px;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background-color: var(--white);
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  box-shadow: var(--shadow-sm);
}

.admin-search {
  position: relative;
  width: 300px;
}

.admin-search i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.admin-search input {
  width: 100%;
  padding: 10px 15px 10px 40px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
}

.admin-search input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.admin-profile-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
}

.icon-btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #e11d48;
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 10px;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
}

.admin-profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.admin-content {
  padding: 30px;
  flex-grow: 1;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 15px;
}

.metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}

.metric-info h3 {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 5px;
  font-family: var(--font-body);
}

.metric-info p {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dashboard-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.card-header h3 {
  font-size: 1.1rem;
  font-family: var(--font-body);
}

.card-header a {
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 12px;
  background-color: #f8fafc;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status.active {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.status.pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--secondary-color);
}

.status.inactive {
  background-color: rgba(225, 29, 72, 0.1);
  color: #e11d48;
}

.task-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS & PREMIUM UI
   ========================================= */
.navbar {
  transition:
    background-color 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.85); /* Transparent Navy */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding: 10px 0; /* Slimmer padding when scrolled */
  overflow: visible !important;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
.floating-element {
  animation: float 6s ease-in-out infinite;
}

/* Enhanced Card Hovers (Lift and Glow) */
.feature-card,
.course-card,
.faculty-card {
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease;
}
.feature-card:hover,
.course-card:hover,
.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.15),
    0 0 25px rgba(245, 158, 11, 0.15);
}

/* Testimonial Slider CSS */
.testimonial-slider-container {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}
.testimonial-slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}
.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 15px;
  opacity: 0.4;
  transform: scale(0.95);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.testimonial-slide.active-slide {
  opacity: 1;
  transform: scale(1);
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.slider-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.slider-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

/* =========================================
   RESPONSIVE OVERRIDES
   ========================================= */

/* =========================================
   MISSION & VISION SECTION
   ========================================= */
.mission-vision {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  border-radius: 16px;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.mv-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.mv-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff !important;
}

.mv-card p {
  color: #cbd5e1 !important;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

[data-theme="dark"] .mv-card h2 {
  color: #ffffff !important;
}

[data-theme="dark"] .mv-card p {
  color: #cbd5e1 !important;
}

/* =========================================
   DARK MODE OVERRIDES
   ========================================= */
[data-theme="dark"] {
  --bg-color: #0f172a;
  --white: #1e293b;
  --card-bg-dark: #1e293b;
  --text-dark: #f8fafc;
  --text-light: #94a3b8;
  --primary-color: #f8fafc;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .navbar {
  background: rgba(30, 41, 59, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .nav-links a {
  color: var(--text-dark);
}

[data-theme="dark"] .theme-btn {
  color: var(--text-dark);
}

[data-theme="dark"] .bento-card {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .card-number {
  color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .bento-card:hover .card-number {
  color: rgba(245, 158, 11, 0.1);
}

[data-theme="dark"] .features {
  background-color: var(--bg-color);
}

[data-theme="dark"] .premium-course-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .course-badge {
  background-color: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .course-features-list li,
[data-theme="dark"] .course-meta-details {
  color: var(--text-light);
}

[data-theme="dark"] .courses {
  background-color: #020617; /* Even darker for courses section to provide contrast */
}

[data-theme="dark"] .faculty-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .footer {
  background-color: #020617;
}

[data-theme="dark"] .course-price .old-price {
  color: #64748b;
}

/* Google Translate Adjustments */
#google_translate_element select {
  background-color: var(--white);
  color: var(--text-dark);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 4px;
  padding: 5px;
  font-family: var(--font-body);
}

[data-theme="dark"] #google_translate_element select {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide annoying google translate top bar */
.skiptranslate iframe {
  display: none !important;
}
body {
  top: 0px !important;
}

/* =========================================
   MODERN FLUENT REDESIGN & DARK MODE REFINEMENT
   ========================================= */
/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .glass-panel {
  background: rgba(11, 17, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Staggered Animations */
.reveal-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger:nth-child(1) {
  transition-delay: 0.1s;
}
.reveal-stagger:nth-child(2) {
  transition-delay: 0.2s;
}
.reveal-stagger:nth-child(3) {
  transition-delay: 0.3s;
}
.reveal-stagger:nth-child(4) {
  transition-delay: 0.4s;
}
.reveal-stagger:nth-child(5) {
  transition-delay: 0.5s;
}
.reveal-stagger:nth-child(6) {
  transition-delay: 0.6s;
}

/* Refined Dark Mode Colors */
[data-theme="dark"] {
  --bg-color: #0b1120; /* Darker, richer slate */
  --white: #172033; /* Slightly elevated card bg */
  --text-dark: #f1f5f9;
  --text-light: #94a3b8;
}

[data-theme="dark"] .hero-slide-overlay {
  background: linear-gradient(
    to right,
    rgba(11, 17, 32, 0.9),
    rgba(11, 17, 32, 0.4)
  );
}

/* Hero Content Modernization */
.hero-slide-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: 650px;
  margin-left: 5%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes heroFadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
[data-theme="dark"] .hero-slide-content {
  background: rgba(11, 17, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.hero-slide-content h1 {
  color: var(--primary-color);
}
[data-theme="dark"] .hero-slide-content h1 {
  color: var(--text-dark);
}
.hero-slide-content p {
  color: var(--text-light);
}

/* Faculty Modernization */
.faculty-card {
  position: relative;
  overflow: hidden;
  padding-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .faculty-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.faculty-img {
  overflow: hidden;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  margin: 20px auto;
  border: 4px solid var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .faculty-img {
  border-color: #1e293b;
}
.faculty-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.faculty-card:hover .faculty-img img {
  transform: scale(1.1);
}
.faculty-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  background: rgba(15, 23, 42, 0.9);
  padding: 10px;
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faculty-card:hover .faculty-social {
  bottom: 0;
}
.faculty-social a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.faculty-social a:hover {
  color: var(--secondary-color);
}

/* Footer Modernization */
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(to bottom, var(--bg-color), #f1f5f9);
}
[data-theme="dark"] .footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(to bottom, var(--bg-color), #090e1a);
}

/* =========================================
   BETTER GOOGLE TRANSLATE STYLING
   ========================================= */
.goog-te-gadget {
  color: transparent !important; /* Hides the "Powered by Google" text */
  font-size: 0px !important;
}
.goog-te-gadget .goog-te-combo {
  color: var(--text-dark) !important;
  font-size: 14px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(10px);
  outline: none !important;
  cursor: pointer;
  font-family: var(--font-body) !important;
  font-weight: 500;
  transition: all 0.3s ease;
}
.goog-te-gadget .goog-te-combo:hover {
  background-color: rgba(255, 255, 255, 0.8) !important;
}
[data-theme="dark"] .goog-te-gadget .goog-te-combo {
  background-color: rgba(15, 23, 42, 0.5) !important;
  color: var(--text-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
[data-theme="dark"] .goog-te-gadget .goog-te-combo:hover {
  background-color: rgba(30, 41, 59, 0.8) !important;
}
/* Hide the Google logo and extra spacing */
.goog-logo-link,
.goog-logo-link:link,
.goog-logo-link:visited,
.goog-logo-link:hover,
.goog-logo-link:active {
  display: none !important;
}
.goog-te-gadget span {
  display: none !important;
}
.goog-te-gadget img {
  display: none !important;
}

/* Fix for btn-outline and logo size */
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
}
.site-logo {
  max-height: 70px !important; /* Increased logo size */
  width: auto;
}

/* Fix btn-outline visibility for Light Mode */
.btn-outline {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
}
.btn-outline:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
}

/* Fix btn-outline visibility for Dark Mode */
[data-theme="dark"] .btn-outline {
  border: 2px solid var(--secondary-color) !important;
  color: var(--secondary-color) !important;
}
[data-theme="dark"] .btn-outline:hover {
  background: var(--secondary-color) !important;
  color: #0f172a !important; /* Dark text on hover */
}

/* =========================================
   NEW FOOTER STYLING
   ========================================= */
.footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.newsletter-form input {
  flex-grow: 1;
  border: none;
  padding: 12px 15px;
  outline: none;
  font-family: var(--font-body);
}

.newsletter-form button {
  border-radius: 0;
  padding: 12px 20px;
}

[data-theme="dark"] .newsletter-form {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .newsletter-form input {
  background: transparent;
  color: var(--text-dark);
}

.footer-col h4 {
  margin-bottom: 20px;
  color: var(--primary-color);
}
[data-theme="dark"] .footer-col h4 {
  color: var(--text-dark);
}

.footer-col ul li {
  margin-bottom: 12px;
}

/* =========================================
   FOOTER COMPLETE OVERHAUL (LIGHT & DARK FIX)
   ========================================= */
.footer {
  background-color: #0f172a !important; /* Deep Navy always for footer base */
  background-image: none !important;
  color: #cbd5e1 !important; /* Soft grey/blue text */
  padding: 80px 0 20px 0 !important;
  border-top: none !important;
}

[data-theme="dark"] .footer {
  background-color: #020617 !important; /* Even darker in dark mode */
}

.footer-col h4 {
  color: #ffffff !important;
  font-size: 1.2rem !important;
  margin-bottom: 20px !important;
  font-weight: 600 !important;
}

.footer-col p {
  color: #94a3b8 !important;
  line-height: 1.6 !important;
  font-size: 0.95rem !important;
}

.footer-col ul {
  list-style: none !important;
  padding: 0 !important;
}

.footer-col ul li {
  margin-bottom: 12px !important;
}

.footer-col ul li a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.footer-col ul li a:hover {
  color: #f59e0b !important; /* Gold hover */
}

.contact-info li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #cbd5e1 !important;
}

.contact-info li i {
  color: #f59e0b !important;
}

/* Newsletter Fix */
.newsletter-form {
  display: flex !important;
  margin-top: 15px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.newsletter-form input {
  flex-grow: 1 !important;
  border: none !important;
  padding: 12px 15px !important;
  outline: none !important;
  background: transparent !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.newsletter-form button {
  border-radius: 0 !important;
  padding: 12px 20px !important;
  background-color: #f59e0b !important;
  color: #0f172a !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
}

.newsletter-form button:hover {
  background-color: #d97706 !important;
}

/* Copyright */
.footer-bottom {
  text-align: center !important;
  margin-top: 50px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom p {
  color: #64748b !important;
  font-size: 0.9rem !important;
}

/* Logo filter removed to fix white badge issue */

/* =========================================
   LEGAL PAGES STYLING
   ========================================= */
.legal-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 120px 0 60px 0;
  text-align: center;
}
.legal-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.legal-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}
.legal-content {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}
.legal-content h2 {
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.8rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 10px;
}
[data-theme="dark"] .legal-content h2 {
  color: var(--secondary-color);
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}
.legal-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.4rem;
}
.legal-content p {
  margin-bottom: 20px;
}
.legal-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}
.legal-content li {
  margin-bottom: 10px;
}
.legal-commitment {
  background: rgba(15, 23, 42, 0.03);
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
  border-left: 4px solid var(--secondary-color);
}
[data-theme="dark"] .legal-commitment {
  background: rgba(255, 255, 255, 0.03);
}

/* =========================================
   AUTH PAGES SPLIT LAYOUT
   ========================================= */
.auth-split-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.auth-image-side {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.8),
    rgba(245, 158, 11, 0.4)
  );
}

.auth-image-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  border-radius: 16px;
  color: #ffffff;
  max-width: 500px;
  text-align: center;
}

.auth-image-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.auth-image-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.auth-form-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: var(--bg-color);
  position: relative;
}

.auth-form-container {
  width: 100%;
  max-width: 420px;
}

.auth-top-nav {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.auth-top-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.auth-top-nav a:hover {
  color: var(--primary-color);
}

.auth-form-container .site-logo {
  height: 60px;
  margin-bottom: 30px;
}

.auth-form-container h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}
[data-theme="dark"] .auth-form-container h3 {
  color: var(--text-dark);
}

.auth-form-container p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.auth-form-container .form-group label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: block;
}

.auth-form-container .form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--text-dark);
}
[data-theme="dark"] .auth-form-container .form-group input {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.auth-form-container .form-group input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  outline: none;
}

.auth-form-container .btn {
  padding: 14px;
  font-size: 1.1rem;
  margin-top: 10px;
  width: 100%;
}

.auth-links {
  margin-top: 25px;
  text-align: center;
  color: var(--text-light);
}

.auth-links a {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
}

/* =========================================
   ADMIN DASHBOARD OVERHAUL
   ========================================= */
.admin-body {
  display: flex;
  min-height: 100vh;
  background-color: #f1f5f9;
  color: var(--text-dark);
}
[data-theme="dark"] .admin-body {
  background-color: var(--bg-color);
  color: var(--text-dark);
}

.admin-sidebar {
  width: 280px;
  background-color: #0f172a; /* Deep Navy */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.admin-logo {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}
.admin-logo .site-logo {
  max-height: 50px;
}

.admin-nav {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.admin-nav ul {
  list-style: none;
}

.admin-nav ul li a {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}
.admin-nav ul li a i {
  width: 25px;
  font-size: 1.1rem;
}

.admin-nav ul li.active a,
.admin-nav ul li a:hover {
  color: #f59e0b;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #f59e0b;
}

.admin-sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-sidebar-footer a {
  color: #cbd5e1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}
.admin-sidebar-footer a:hover {
  color: #ef4444;
}

.admin-main {
  flex: 1;
  margin-left: 280px;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 90;
}
[data-theme="dark"] .admin-topbar {
  background: rgba(30, 41, 59, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-search {
  position: relative;
  width: 300px;
}
.admin-search i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.admin-search input {
  width: 100%;
  padding: 10px 10px 10px 40px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f8fafc;
  outline: none;
  transition: all 0.3s;
}
.admin-search input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}
[data-theme="dark"] .admin-search input {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.admin-profile-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
}
.icon-btn .badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  padding: 2px 5px;
  border-radius: 10px;
  font-weight: bold;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.admin-profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.admin-profile span {
  font-weight: 500;
}

.admin-content {
  padding: 30px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.admin-header h2 {
  font-size: 1.8rem;
}

.admin-actions {
  display: flex;
  gap: 15px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.02);
}
[data-theme="dark"] .metric-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.metric-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.metric-info h3 {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.metric-info p {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
}

.dashboard-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 25px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}
[data-theme="dark"] .dashboard-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 15px;
}
[data-theme="dark"] .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h3 {
  font-size: 1.2rem;
}
.card-header a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .admin-table th,
[data-theme="dark"] .admin-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-table th {
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.status.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.status.inactive {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.task-list {
  list-style: none;
}
.task-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .task-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.task-list li:last-child {
  border-bottom: none;
}

/* =========================================
   PREMIUM MOBILE RESPONSIVE DESIGN
   ========================================= */

/* Premium Auth Pages on Mobile */

/* Admin Sidebar Overlay */
.admin-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.admin-sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

#admin-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--text-dark);
  cursor: pointer;
  margin-right: 15px;
}
[data-theme="dark"] #admin-menu-toggle {
  color: #ffffff;
}

/* Fix visibility when navbar is scrolled (Dark Background) */
.navbar.scrolled .nav-links > a:not(.btn),
.navbar.scrolled .nav-links .nav-dropdown > a,
.navbar.scrolled .theme-btn,
.navbar.scrolled .mobile-menu-toggle {
  color: #ffffff;
}

.navbar.scrolled .nav-links .dropdown-menu a {
  color: var(--text-dark);
}

/* In dark mode, if they scroll, the text is already white, but let's ensure it stays white */
[data-theme="dark"] .navbar.scrolled .nav-links > a:not(.btn),
[data-theme="dark"] .navbar.scrolled .nav-links .nav-dropdown > a,
[data-theme="dark"] .navbar.scrolled .theme-btn,
[data-theme="dark"] .navbar.scrolled .mobile-menu-toggle {
  color: var(--primary-color);
}

[data-theme="dark"] .navbar.scrolled .nav-links .dropdown-menu a {
  color: var(--text-dark);
}

/* =========================================
   LOGO FIX FOR DARK BACKGROUNDS (WHITE PLAQUE)
   ========================================= */
[data-theme="dark"] .auth-form-container .site-logo,
.footer .site-logo,
.admin-logo .site-logo,
.navbar.scrolled .site-logo {
  filter: none !important;
  mix-blend-mode: normal !important;
  background-color: #ffffff !important;
  border-radius: 8px !important;
  padding: 5px 10px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Desktop-only links */

/* =========================================
   PREMIUM MICRO-INTERACTIONS & BRANDING
   ========================================= */

/* Custom Text Selection */
::selection {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}
::-moz-selection {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
  border: 3px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Dark Mode Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0b1120;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #1e293b;
  border: 3px solid #0b1120;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Gold Glow on Course Cards */
.premium-course-card {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.premium-course-card:hover {
  box-shadow:
    0 15px 35px rgba(245, 158, 11, 0.15),
    0 5px 15px rgba(245, 158, 11, 0.1) !important;
  transform: translateY(-10px) scale(1.02) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}
[data-theme="dark"] .premium-course-card:hover {
  box-shadow:
    0 15px 35px rgba(245, 158, 11, 0.25),
    0 5px 15px rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
}

/* Ensure magnetic buttons have smooth snapping */
.btn-primary {
  will-change: transform;
}

/* =========================================
   PAGE LOADING ANIMATION
   ========================================= */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

[data-theme="dark"] .loader-wrapper {
  background: #0b1120;
}

.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo {
  height: 80px;
  animation: pulseGlow 1.5s infinite alternate ease-in-out;
}

[data-theme="dark"] .loader-logo {
  filter: invert(1) brightness(2); /* Make logo white in dark mode loader */
}

.loader-bar {
  width: 150px;
  height: 4px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .loader-bar {
  background: rgba(255, 255, 255, 0.1);
}

.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--secondary-color);
  border-radius: 4px;
  animation: loadingBar 1s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.2));
  }
  100% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8));
  }
}

@keyframes loadingBar {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

/* =========================================
   PARALLAX FIXES
   ========================================= */
.hero-slider {
  perspective: 1px;
  overflow: hidden;
}
.hero-slides-container {
  will-change: transform;
}

/* Adjustments for the shorter Hero Slider */
.hero-slide-content h1 {
  font-size: 3rem !important;
  margin-bottom: 15px !important;
}
.hero-slide-content p {
  font-size: 1.1rem !important;
  margin-bottom: 25px !important;
}
.slide-subtitle {
  font-size: 0.9rem !important;
  margin-bottom: 10px !important;
}
.hero-slide-content {
  padding: 30px !important;
}

/* =========================================
   VIDEO HERO BACKGROUND
   ========================================= */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.8); /* Slight dimming to help text pop */
}

/* =========================================
   LEAD MAGNET MODAL
   ========================================= */
.lead-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lead-modal-content {
  background: var(--white);
  border-radius: 20px;
  display: flex;
  max-width: 800px;
  width: 90%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-modal-overlay.active .lead-modal-content {
  transform: scale(1) translateY(0);
}

[data-theme="dark"] .lead-modal-content {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lead-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color 0.3s ease;
}

.lead-modal-close:hover {
  color: #e11d48;
}

.lead-modal-left {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-color), #1e293b);
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.lead-modal-left::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.1) 0%,
    transparent 60%
  );
}

.lead-modal-left h3 {
  color: var(--secondary-color);
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}
.lead-modal-left p {
  color: #cbd5e1;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

.lead-modal-right {
  flex: 1.2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lead-modal-right h4 {
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: var(--text-dark);
}
[data-theme="dark"] .lead-modal-right h4 {
  color: white;
}

.lead-modal-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.lead-modal-right input {
  padding: 15px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.3s ease;
}
.lead-modal-right input:focus {
  border-color: var(--secondary-color);
}
[data-theme="dark"] .lead-modal-right input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}
.lead-modal-spam {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 15px;
  text-align: center;
}

/* =========================================
   COURSES PAGE STYLES
   ========================================= */
.courses-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.course-detail-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

[data-theme="dark"] .course-detail-card {
  background: #1e293b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.course-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-detail-card:hover .course-img-wrapper img {
  transform: scale(1.05);
}

.z-course-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.z-course-badge.bestseller {
  background: #f59e0b;
}
.z-course-badge.new {
  background: #ef4444;
  color: white;
}

.course-content {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

[data-theme="dark"] .course-content h3 {
  color: var(--secondary-color);
}

.course-desc {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
}

.course-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="dark"] .course-features {
  border-color: rgba(255, 255, 255, 0.1);
}

.course-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

[data-theme="dark"] .course-features span {
  color: #cbd5e1;
}

.course-features i {
  color: var(--secondary-color);
  width: 20px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.new-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

[data-theme="dark"] .new-price {
  color: white;
}

.course-actions {
  flex-grow: 1;
  margin-left: 30px;
}

/* =========================================
   ULTRA PREMIUM COURSES PAGE
   ========================================= */
.premium-courses-section {
  background-color: #f8fafc;
  padding: 80px 0;
}

[data-theme="dark"] .premium-courses-section {
  background-color: #0b1120;
}

.premium-course-row {
  display: flex;
  align-items: center;
  margin-bottom: 120px;
  position: relative;
}

.premium-course-row.reverse {
  flex-direction: row-reverse;
}

.premium-course-img {
  width: 55%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  z-index: 1;
}

.premium-course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-course-row:hover .premium-course-img img {
  transform: scale(1.05);
}

.premium-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  color: var(--secondary-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-badge.hot {
  color: #ef4444;
}

.premium-course-row.reverse .premium-badge {
  left: auto;
  right: 30px;
}

.premium-badge.star {
  color: #fbbf24;
}

.glass-panel-strong {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .glass-panel-strong {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.z-layout-card {
  width: 55%;
  padding: 60px;
  border-radius: 24px;
  z-index: 2;
  margin-left: -10%;
  position: relative;
}

.premium-course-row.reverse .z-layout-card {
  margin-left: 0;
  margin-right: -10%;
}

.course-category {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 15px;
}

.z-layout-card h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

[data-theme="dark"] .z-layout-card h2 {
  color: white;
}

.z-layout-card p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 30px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.feature-pills span {
  background: #f1f5f9;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .feature-pills span {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-pills i {
  color: var(--secondary-color);
}

.premium-price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="dark"] .premium-price-box {
  border-color: rgba(255, 255, 255, 0.1);
}

.premium-price-box .strike-price {
  display: block;
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.premium-price-box .real-price {
  display: block;
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

[data-theme="dark"] .premium-price-box .real-price {
  color: var(--secondary-color);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================
   PREMIUM CONTACT PAGE
   ========================================= */
.contact-split-layout {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

.contact-form-side {
  flex: 1;
  padding: 50px;
  border-radius: 24px;
}

.contact-form-side h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

[data-theme="dark"] .contact-form-side h2 {
  color: white;
}

.form-subtitle {
  color: var(--text-light);
  margin-bottom: 30px;
}

.premium-form .form-group {
  margin-bottom: 20px;
}

.premium-form .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.premium-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

[data-theme="dark"] .premium-form label {
  color: #cbd5e1;
}

.premium-form input,
.premium-form select,
.premium-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text-dark);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}

[data-theme="dark"] .premium-form input,
[data-theme="dark"] .premium-form select,
[data-theme="dark"] .premium-form textarea {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
}

.contact-info-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

[data-theme="dark"] .info-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.15);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.info-card h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

[data-theme="dark"] .info-card h4 {
  color: white;
}

.info-card p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

.map-container {
  flex: 1;
  min-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  padding: 10px;
}

.map-container iframe {
  border-radius: 10px;
}
/* =========================================
   PREMIUM UI: SCROLL PROGRESS & TOAST
   ========================================= */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), #fcd34d, #f59e0b);
  z-index: 10000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  pointer-events: none;
}

.glass-toast {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.4s ease;
  font-weight: 600;
  color: var(--text-dark);
}

[data-theme="dark"] .glass-toast {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.glass-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.glass-toast.toast-success i {
  color: #10b981;
  font-size: 1.2rem;
}
.glass-toast.toast-info i {
  color: #3b82f6;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .toast-container {
    top: 20px;
    right: 15px;
    left: 15px;
  }
  .glass-toast {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   INFINITE LOGO MARQUEE
   ========================================= */
.logo-marquee-section {
  background: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .logo-marquee-section {
  background: #0b1120;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.marquee-wrapper {
  display: flex;
  width: 200%; /* For two tracks */
  animation: marqueeScroll 25s linear infinite;
}

.marquee-wrapper:hover {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.marquee-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.6;
  padding: 0 40px;
}

.marquee-logo i {
  font-size: 2rem;
}

.marquee-logo:hover {
  color: var(--primary-color);
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

[data-theme="dark"] .marquee-logo:hover {
  color: var(--secondary-color);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .marquee-logo {
    font-size: 1.2rem;
    padding: 0 20px;
  }
  .marquee-logo i {
    font-size: 1.5rem;
  }
  .marquee-wrapper {
    animation-duration: 15s;
  }
}

/* =========================================
   CHECKOUT PAGE STYLES
   ========================================= */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkout-box {
  background: var(--white);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .checkout-box {
  background: var(--card-bg-dark);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.checkout-box h3 {
  margin-bottom: 25px;
  color: var(--primary-color);
  font-size: 1.4rem;
}

[data-theme="dark"] .checkout-box h3 {
  color: white;
}

.checkout-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.checkout-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.checkout-form .form-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  transition: 0.3s;
}

[data-theme="dark"] .checkout-form .form-input {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.checkout-form .form-input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Payment Methods Accordion */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-option {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

[data-theme="dark"] .payment-option {
  border-color: rgba(255, 255, 255, 0.1);
}

.payment-option.active {
  border-color: var(--primary-color);
  background: rgba(37, 99, 235, 0.02);
}

[data-theme="dark"] .payment-option.active {
  background: rgba(37, 99, 235, 0.05);
}

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
}

.payment-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.payment-icons i {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-left: 5px;
}

.payment-option.active .payment-icons i {
  color: var(--primary-color);
}

.payment-details {
  padding: 0 20px 20px 20px;
  border-top: 1px solid transparent;
}

.payment-option.active .payment-details {
  border-top-color: rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .payment-option.active .payment-details {
  border-top-color: rgba(255, 255, 255, 0.05);
}

/* Order Summary */
.order-summary-card {
  background: var(--white);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 100px;
}

[data-theme="dark"] .order-summary-card {
  background: var(--card-bg-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.order-summary-card h3 {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="dark"] .order-summary-card h3 {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.order-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.order-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.order-info h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  line-height: 1.3;
}

.order-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.order-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--primary-color);
}

[data-theme="dark"] .order-price {
  color: #60a5fa;
}

.promo-box {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 500;
}

.discount-line {
  color: #10b981;
}

.grand-total {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

[data-theme="dark"] .grand-total {
  color: white;
}

@media (max-width: 992px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .order-summary-card {
    position: static;
  }
}

@media (max-width: 576px) {
  .checkout-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   LMS STUDENT DASHBOARD STYLES
   ========================================= */
.lms-section {
  padding: 100px 0 50px 0; /* Clear header */
  background: #f8fafc;
  min-height: 100vh;
}

[data-theme="dark"] .lms-section {
  background: #0b1120;
}

.lms-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
}

/* Video Player */
.video-player-wrapper {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80")
      center/cover;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.video-placeholder:hover {
  transform: scale(1.02);
}

.play-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.5));
  transition: 0.3s;
}

.video-placeholder:hover .play-icon {
  transform: scale(1.1);
  color: #60a5fa;
}

.video-placeholder p {
  font-size: 1.2rem;
  font-weight: 500;
}

/* Lesson Details */
.lesson-details {
  margin-top: 25px;
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .lesson-details {
  background: var(--card-bg-dark);
}

.lesson-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.lesson-header h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

[data-theme="dark"] .lesson-header h2 {
  color: white;
}

.lesson-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  margin-bottom: 20px;
}

[data-theme="dark"] .lesson-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
}

.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px 3px 0 0;
}

/* Curriculum Sidebar */
.course-progress-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .course-progress-card {
  background: var(--card-bg-dark);
}

.progress-bar-container {
  height: 8px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 15px;
}

[data-theme="dark"] .progress-bar-container {
  background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
  height: 100%;
  background: var(--primary-color);
  border-radius: 4px;
}

.curriculum-accordion {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .curriculum-accordion {
  background: var(--card-bg-dark);
}

.module-header {
  padding: 15px 20px;
  background: rgba(15, 23, 42, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .module-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.module-header h4 {
  margin: 0;
  font-size: 1rem;
}

.module-header span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.module-toggle {
  transition: 0.3s;
}

.module-item.expanded .module-toggle {
  transform: rotate(180deg);
}

.module-lessons {
  display: flex;
  flex-direction: column;
}

.lesson-link {
  padding: 12px 20px 12px 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
  transition: 0.2s;
}

[data-theme="dark"] .lesson-link {
  color: var(--text-color);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.lesson-link:hover {
  background: rgba(37, 99, 235, 0.05);
}

.lesson-link.active {
  background: rgba(37, 99, 235, 0.1);
  border-left: 4px solid var(--primary-color);
  padding-left: 36px; /* Adjust for border */
}

.lesson-link i {
  font-size: 1rem;
}

.lesson-link.completed i {
  color: #10b981;
}

.lesson-link.locked i {
  color: var(--text-light);
}

.lesson-link.locked {
  opacity: 0.6;
  cursor: not-allowed;
}

.lesson-time {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .lms-container {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   404 ERROR PAGE STYLES
   ========================================= */
.error-section {
  padding: 150px 0 100px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-code {
  font-size: 10rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 20px;
}

.error-title {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

[data-theme="dark"] .error-title {
  color: white;
}

.error-msg {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 6rem;
  }
  .error-title {
    font-size: 1.8rem;
  }
  .error-actions {
    flex-direction: column;
  }
}

/* =========================================
   DROPDOWN NAVIGATION STYLES
   ========================================= */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 100;
  padding: 10px 0;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .dropdown-menu {
  background: var(--card-bg-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-dark);
  font-weight: 500;
}

.dropdown-menu a:hover {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.05);
}

/* Mobile fix for dropdown */
@media (max-width: 992px) {
  .nav-dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
    border: none;
    padding-left: 20px;
  }
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }
}

/* =========================================
   JOB BOARD STYLES
   ========================================= */
.job-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 10px 25px;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--white);
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

[data-theme="dark"] .filter-btn {
  background: var(--card-bg-dark);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.job-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: 0.3s;
}

[data-theme="dark"] .job-card {
  background: var(--card-bg-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.job-header {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.job-org-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.job-header h3 {
  margin: 5px 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.job-header p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.job-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.1);
  color: var(--text-color);
}

.job-badge.active {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}
.job-badge.warning {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.job-badge.info {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
  padding-bottom: 12px;
}

[data-theme="dark"] .detail-row {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.detail-row:last-child {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.detail-row span {
  color: var(--text-light);
}

/* =========================================
   RESOURCES LIBRARY STYLES
   ========================================= */
.resources-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.resources-sidebar {
  position: sticky;
  top: 100px;
}

.resource-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .resource-nav {
  background: var(--card-bg-dark);
}

.resource-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  text-align: left;
  transition: 0.2s;
}

.resource-tab:hover {
  background: rgba(37, 99, 235, 0.05);
}

.resource-tab.active {
  background: var(--primary-color);
  color: white;
}

.resource-panel {
  display: none;
  animation: fadeSlideUp 0.4s ease forwards;
}

.resource-panel.active {
  display: block;
}

.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.pdf-card {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: 0.3s;
}

[data-theme="dark"] .pdf-card {
  background: var(--card-bg-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.pdf-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.pdf-icon {
  font-size: 2.5rem;
  color: #ef4444; /* PDF Red */
}

.pdf-info {
  flex-grow: 1;
}

.pdf-info h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  line-height: 1.3;
}

.pdf-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .resources-layout {
    grid-template-columns: 1fr;
  }
  .resources-sidebar {
    position: static;
    margin-bottom: 30px;
  }
  .resource-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .resource-tab {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ========================================= */
/* PREMIUM COURSES GRID REDESIGN             */
/* ========================================= */
.courses-premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.course-premium-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.05);
}
[data-theme="dark"] .course-premium-card {
  background: var(--card-bg-dark);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.05);
}
.course-premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}
[data-theme="dark"] .course-premium-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}
.course-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.course-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.course-premium-card:hover .course-card-img {
  transform: scale(1.08);
}
.course-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.8) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.course-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.course-card-category {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.course-card-body {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.course-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.course-card-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.course-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.course-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.course-card-features li i {
  color: var(--primary-color);
  font-size: 1rem;
}
.course-card-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
[data-theme="dark"] .course-card-footer {
  border-color: rgba(255, 255, 255, 0.08);
}
.course-card-price-wrap {
  display: flex;
  flex-direction: column;
}
.course-card-old-price {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.course-card-new-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}
.course-card-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-card-btn i {
  transition: transform 0.3s ease;
}
.course-premium-card:hover .course-card-btn i {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .courses-premium-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================= */
/* COMPACT ACCORDION COURSES LAYOUT          */
/* ========================================= */
.course-accordion-container {
  max-width: 1000px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.course-accordion-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}
[data-theme="dark"] .course-accordion-item {
  background: var(--card-bg-dark);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.course-accordion-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}
.course-accordion-header:hover {
  background: rgba(37, 99, 235, 0.02);
}
[data-theme="dark"] .course-accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}
.course-accordion-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.course-accordion-info {
  flex-grow: 1;
}
.course-accordion-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.course-accordion-meta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.course-accordion-category {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  text-transform: uppercase;
}
.course-accordion-price-wrap {
  text-align: right;
  margin-right: 20px;
}
.course-accordion-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
}
.course-accordion-old-price {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
  display: block;
}
.course-accordion-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.3s ease;
}
[data-theme="dark"] .course-accordion-toggle {
  background: rgba(255, 255, 255, 0.05);
}
.course-accordion-item.active .course-accordion-toggle {
  background: var(--primary-color);
  color: white;
  transform: rotate(180deg);
}

.course-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(248, 250, 252, 0.5);
}
[data-theme="dark"] .course-accordion-body {
  background: rgba(15, 23, 42, 0.3);
}
.course-accordion-content {
  padding: 30px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  gap: 30px;
}
[data-theme="dark"] .course-accordion-content {
  border-top-color: rgba(255, 255, 255, 0.05);
}
.course-accordion-desc {
  flex: 2;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}
.course-accordion-features {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.course-accordion-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.course-accordion-features li i {
  color: #10b981;
}
.course-accordion-actions {
  display: flex;
  align-items: flex-end;
}
@media (max-width: 768px) {
  .course-accordion-header {
    flex-wrap: wrap;
  }
  .course-accordion-price-wrap {
    margin: 10px 0 0 80px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .course-accordion-toggle {
    position: absolute;
    right: 20px;
    top: 25px;
  }
  .course-accordion-content {
    flex-direction: column;
    padding: 20px;
  }
}

/* ========================================= */
/* HIGH-DENSITY GRID & MODAL                 */
/* ========================================= */
.course-dense-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.course-dense-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .course-dense-card {
  background: var(--card-bg-dark);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.course-dense-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}
[data-theme="dark"] .course-dense-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.course-dense-thumb-wrap {
  position: relative;
  height: 140px;
  width: 100%;
  overflow: hidden;
}
.course-dense-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-dense-card:hover .course-dense-thumb {
  transform: scale(1.1);
}
.course-dense-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.course-dense-cat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 2;
}
.course-dense-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.course-dense-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.course-dense-price-wrap {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 10px;
}
[data-theme="dark"] .course-dense-price-wrap {
  border-color: rgba(255, 255, 255, 0.05);
}
.course-dense-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
}
.course-dense-old-price {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.course-dense-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  padding: 5px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.course-dense-card:hover .course-dense-btn {
  background: var(--primary-color);
  color: white;
}

/* Modal Styles */
.course-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.course-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.course-modal {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .course-modal {
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.course-modal-overlay.active .course-modal {
  transform: translateY(0);
}
.course-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 10;
  transition: background 0.2s ease;
}
.course-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}
.course-modal-header {
  height: 250px;
  width: 100%;
  position: relative;
}
.course-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course-modal-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9) 0%,
    transparent 80%
  );
}
.course-modal-title-wrap {
  position: absolute;
  bottom: 20px;
  left: 30px;
  right: 30px;
}
.course-modal-title {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 5px;
}
.course-modal-body {
  padding: 30px;
  display: flex;
  gap: 30px;
}
.course-modal-left {
  flex: 2;
}
.course-modal-right {
  flex: 1;
  background: rgba(15, 23, 42, 0.03);
  padding: 20px;
  border-radius: 12px;
}
[data-theme="dark"] .course-modal-right {
  background: rgba(255, 255, 255, 0.03);
}
@media (max-width: 768px) {
  .course-modal-body {
    flex-direction: column;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  visibility: visible;
}
.reveal-up {
  transform: translateY(50px);
}
.reveal-up.active {
  transform: translateY(0);
}
.reveal-left {
  transform: translateX(-50px);
}
.reveal-left.active {
  transform: translateX(0);
}
.reveal-right {
  transform: translateX(50px);
}
.reveal-right.active {
  transform: translateX(0);
}
/* Skeleton Loader */
.skeleton-box {
  display: inline-block;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #e2e8f0;
}
.skeleton-box::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.4) 20%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 2s infinite;
  content: "";
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
.skeleton-img {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.skeleton-img.loaded {
  opacity: 1;
}

/* === LMS MOBILE FIXES === */
@media (max-width: 992px) {
  .lms-section {
    padding-top: 80px;
  }
  .lms-content {
    order: 1;
  }
  .lms-sidebar {
    order: 2;
    margin-top: 20px;
  }
  .video-container {
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
  }
  .qa-message {
    flex-direction: column;
    gap: 5px;
  }
  .qa-replies {
    margin-left: 15px !important;
  }
  .qa-message img {
    width: 30px;
    height: 30px;
  }
}

/* === PREMIUM UI OVERRIDES === */

/* 1. Ken Burns Effect */
.hero-slide-bg {
  transform: scale(1);
  transition: transform 8s ease-out; /* Slower, more cinematic */
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1.1); /* Slow zoom in */
}

/* 2. Gradient Typography */
.section-header h2 {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
[data-theme="dark"] .section-header h2 {
  background: linear-gradient(135deg, var(--white) 0%, var(--text-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header h2 strong {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 3. Advanced Micro-Interactions (Hover Glow & Lift) */
.feature-card,
.course-card,
.faculty-card,
.testimonial-card {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.feature-card:hover,
.course-card:hover,
.faculty-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow:
    0 20px 40px rgba(37, 99, 235, 0.12),
    0 8px 15px rgba(37, 99, 235, 0.05) !important;
  z-index: 2;
}

[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .course-card:hover,
[data-theme="dark"] .faculty-card:hover,
[data-theme="dark"] .testimonial-card:hover {
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 8px 15px rgba(245, 158, 11, 0.1) !important;
}

/* Soft Image Zoom on Hover */
.course-card .course-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.course-card:hover .course-img-wrapper img {
  transform: scale(1.08);
}

/* =========================================
   PREMIUM COURSES REDESIGN (courses.php)
   ========================================= */

/* Hero Section */
.premium-page-header {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e1b4b 100%);
  padding: 160px 0 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.premium-title {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.premium-title .gradient-text {
  background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.premium-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Premium Course Grid */
.course-premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Premium Card Design (Glassmorphism & Micro-animations) */
.course-premium-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.course-premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.5), rgba(139, 92, 246, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
  pointer-events: none;
}
.course-premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(56, 189, 248, 0.15);
}
.course-premium-card:hover::before {
  opacity: 1;
}
[data-theme="dark"] .course-premium-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .course-premium-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Card Image Wrapper */
.card-image-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.course-premium-card:hover .card-image {
  transform: scale(1.08);
}
.card-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0) 60%);
  z-index: 1;
}

/* Badges & Categories */
.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  letter-spacing: 0.5px;
}
.card-category-pill {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Card Content */
.card-content-wrapper {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--text-dark);
}
.card-features-micro {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.card-features-micro span {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.03);
  padding: 4px 10px;
  border-radius: 6px;
}
[data-theme="dark"] .card-features-micro span {
  background: rgba(255, 255, 255, 0.05);
}
.card-footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 20px;
}
[data-theme="dark"] .card-footer-flex {
  border-top-color: rgba(255, 255, 255, 0.05);
}
.price-block {
  display: flex;
  flex-direction: column;
}
.old-price {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.current-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
}
[data-theme="dark"] .current-price {
  color: #38bdf8;
}
.btn-enroll-micro {
  background: transparent;
  color: var(--primary-color);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}
[data-theme="dark"] .btn-enroll-micro {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}
.btn-enroll-micro i {
  transition: transform 0.3s ease;
}
.course-premium-card:hover .btn-enroll-micro {
  background: var(--primary-color);
  color: white;
}
[data-theme="dark"] .course-premium-card:hover .btn-enroll-micro {
  background: #38bdf8;
  color: #0f172a;
}
.course-premium-card:hover .btn-enroll-micro i {
  transform: translateX(4px);
}

/* =========================================
   PREMIUM CONTACT REDESIGN (contact.php)
   ========================================= */

/* Contact Hero Specifics */
.contact-hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 27, 75, 0.95) 100%), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.contact-particles {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(244, 63, 94, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}
.contact-gradient {
  background: linear-gradient(90deg, #f43f5e, #8b5cf6, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Wrapper */
.premium-contact-wrapper {
  background-color: var(--bg-light);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .premium-contact-wrapper {
  background-color: var(--bg-color);
}
.premium-contact-wrapper::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Split Layout Adjustments */
.contact-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
@media (max-width: 991px) {
  .contact-split-layout {
    grid-template-columns: 1fr;
  }
}

/* Premium Form Panel */
.premium-glass-panel {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
  z-index: 2;
}
[data-theme="dark"] .premium-glass-panel {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.form-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

/* Animated Form Inputs */
.premium-animated-form .input-container {
  position: relative;
  margin-bottom: 25px;
}
.premium-input,
.premium-textarea,
.premium-select {
  width: 100%;
  padding: 15px 20px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  color: var(--text-dark);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}
[data-theme="dark"] .premium-input,
[data-theme="dark"] .premium-textarea,
[data-theme="dark"] .premium-select {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}
.premium-select option {
  background: var(--white);
  color: var(--text-dark);
}
[data-theme="dark"] .premium-select option {
  background: var(--bg-color);
}

/* Floating Label Magic */
.premium-label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--text-light);
  font-size: 1rem;
  pointer-events: none;
  transition: 0.3s ease all;
}
.premium-input:focus ~ .premium-label,
.premium-input:not(:placeholder-shown) ~ .premium-label,
.premium-textarea:focus ~ .premium-label,
.premium-textarea:not(:placeholder-shown) ~ .premium-label {
  top: -10px;
  left: 15px;
  font-size: 0.8rem;
  background: var(--white);
  padding: 0 8px;
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 4px;
}
[data-theme="dark"] .premium-input:focus ~ .premium-label,
[data-theme="dark"] .premium-input:not(:placeholder-shown) ~ .premium-label,
[data-theme="dark"] .premium-textarea:focus ~ .premium-label,
[data-theme="dark"] .premium-textarea:not(:placeholder-shown) ~ .premium-label {
  background: #1e293b; /* Fallback */
}

/* Bottom Glow Highlight */
.input-highlight {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #8b5cf6);
  transition: 0.4s ease all;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
}
.premium-input:focus ~ .input-highlight,
.premium-textarea:focus ~ .input-highlight,
.premium-select:focus ~ .input-highlight {
  width: 100%;
}

/* Submit Button */
.btn-premium-submit {
  width: 100%;
  padding: 15px 25px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}
.btn-premium-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(37, 99, 235, 0.4);
}
.btn-icon-circle {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-premium-submit:hover .btn-icon-circle {
  transform: translateX(5px) rotate(15deg);
}
.btn-premium-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.7s ease;
}
.btn-premium-submit:hover::before {
  left: 150%;
}

/* Info Cards */
.premium-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.p-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}
[data-theme="dark"] .p-info-card {
  background: rgba(30, 41, 59, 0.4);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.p-info-card:hover {
  transform: translateX(10px);
  border-color: rgba(37, 99, 235, 0.3);
}
.p-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
[data-theme="dark"] .p-info-icon {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}
.p-info-card:hover .p-info-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--primary-color);
  color: white;
}
.p-info-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.p-info-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Premium Map */
.premium-map-container {
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
}
[data-theme="dark"] .premium-map-container {
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.map-overlay-glow {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 3;
}

/* =========================================
   PREMIUM ABOUT REDESIGN (about.php)
   ========================================= */

/* About Hero Specifics */
.about-hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.about-particles {
  background-image: 
    radial-gradient(circle at 10% 60%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
}
.about-gradient {
  background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Wrapper */
.premium-about-wrapper {
  background-color: var(--bg-light);
  padding: 100px 0;
  position: relative;
}
[data-theme="dark"] .premium-about-wrapper {
  background-color: var(--bg-color);
}
.premium-about-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Bento Grid System */
.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 30px;
  margin-bottom: 50px;
}
.bento-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 2;
}
[data-theme="dark"] .bento-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .bento-card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Grid Placement */
.bento-large {
  grid-column: span 12;
}
.bento-quote {
  grid-column: span 12;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(139, 92, 246, 0.03));
}
[data-theme="dark"] .bento-quote {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(139, 92, 246, 0.05));
}
.bento-mission {
  grid-column: span 6;
}
.bento-vision {
  grid-column: span 6;
}
@media (max-width: 991px) {
  .bento-mission, .bento-vision {
    grid-column: span 12;
  }
}

/* Card Typography & Styling */
.bento-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.bento-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 15px;
}
.bento-text:last-child {
  margin-bottom: 0;
}

/* Quote Specifics */
.quote-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 20px;
}
.quote-text {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 30px;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.author-name {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
}
.author-title {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Mission / Vision Cards */
.card-icon-wrapper {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}
.bento-card:hover .card-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}
.mission-icon {
  background: rgba(244, 63, 94, 0.1);
  color: #f43f5e;
}
.vision-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.card-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.card-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* CTA */
.about-cta-wrapper {
  text-align: center;
  margin-top: 50px;
}
.btn-premium-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--primary-color);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}
.btn-premium-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
  color: white;
}
.btn-premium-cta i {
  transition: transform 0.3s ease;
}
.btn-premium-cta:hover i {
  transform: translateX(5px);
}

/* =========================================
   PREMIUM JOB ALERTS (job_alerts.php)
   ========================================= */

/* Alerts Hero Specifics */
.job-alerts-hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%), url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.alerts-particles {
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(250, 204, 21, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 45%);
}
.alerts-gradient {
  background: linear-gradient(90deg, #facc15, #38bdf8, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Wrapper & Layout */
.premium-alerts-wrapper {
  background-color: var(--bg-light);
  padding: 80px 0;
  min-height: 60vh;
}
[data-theme="dark"] .premium-alerts-wrapper {
  background-color: var(--bg-color);
}
.job-alerts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* Job Alert Card */
.job-alert-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}
.job-alert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border-top-color: var(--primary-color);
}
[data-theme="dark"] .job-alert-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Header (Org & Badge) */
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.job-org-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.04);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}
[data-theme="dark"] .job-org-badge {
  background: rgba(255, 255, 255, 0.05);
}
.job-org-icon {
  color: var(--primary-color);
}

/* Dynamic Status Badges */
.job-status-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
.badge-active, .badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.badge-info, .badge-primary {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.badge-inactive, .badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Card Content */
.job-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Detail Rows */
.job-card-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}
.job-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
  font-size: 0.95rem;
}
[data-theme="dark"] .job-detail-row {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.job-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.job-detail-label {
  color: var(--text-light);
  font-weight: 500;
}
.job-detail-value {
  color: var(--text-dark);
  font-weight: 700;
  text-align: right;
  max-width: 60%;
}

/* Footer / Apply Button */
.job-card-footer {
  margin-top: auto;
}
.btn-job-apply {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px 20px;
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary-color);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
[data-theme="dark"] .btn-job-apply {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.2);
}
.btn-job-apply:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* =========================================
   PREMIUM NOTICES (notices.php)
   ========================================= */

/* Notices Hero Specifics */
.notices-hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(127, 29, 29, 0.8) 100%), url('https://images.unsplash.com/photo-1540910419892-4a36d2c3266c?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.notices-particles {
  background-image: 
    radial-gradient(circle at 10% 50%, rgba(239, 68, 68, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 90% 40%, rgba(245, 158, 11, 0.15) 0%, transparent 45%);
}
.notices-gradient {
  background: linear-gradient(90deg, #ef4444, #f59e0b, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Wrapper & Layout */
.premium-notices-wrapper {
  background-color: var(--bg-light);
  padding: 80px 0;
  min-height: 60vh;
}
[data-theme="dark"] .premium-notices-wrapper {
  background-color: var(--bg-color);
}
.notices-timeline {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Notice Card */
.notice-card {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
[data-theme="dark"] .notice-card {
  background: rgba(30, 41, 59, 0.6);
  border-left-color: #38bdf8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.notice-card:hover {
  transform: translateX(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .notice-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Urgent Styling */
.notice-card.notice-urgent {
  border-left-color: #ef4444;
  background: linear-gradient(to right, rgba(239, 68, 68, 0.05), transparent);
}
[data-theme="dark"] .notice-card.notice-urgent {
  background: linear-gradient(to right, rgba(239, 68, 68, 0.1), rgba(30, 41, 59, 0.6));
}

/* Date Column */
.notice-date-col {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.02);
  min-width: 120px;
  border-right: 1px dashed rgba(15, 23, 42, 0.1);
}
[data-theme="dark"] .notice-date-col {
  background: rgba(255, 255, 255, 0.02);
  border-right-color: rgba(255, 255, 255, 0.1);
}
.notice-urgent .notice-date-col {
  background: rgba(239, 68, 68, 0.05);
}
.n-month {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 1px;
}
[data-theme="dark"] .n-month { color: #38bdf8; }
.notice-urgent .n-month { color: #ef4444; }

.n-day {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin: 5px 0;
}
.n-year {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Content Column */
.notice-content-col {
  padding: 30px;
  flex-grow: 1;
}
.notice-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}
.notice-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}
.urgent-badge {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.notice-body {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .notice-card {
    flex-direction: column;
  }
  .notice-date-col {
    flex-direction: row;
    padding: 15px 20px;
    border-right: none;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
    min-width: auto;
    gap: 10px;
    justify-content: flex-start;
  }
  [data-theme="dark"] .notice-date-col {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .n-day {
    font-size: 1.2rem;
    margin: 0;
  }
  .n-month, .n-year {
    font-size: 1rem;
  }
  .notice-header-row {
    flex-direction: column;
  }
  .urgent-badge {
    align-self: flex-start;
  }
}

/* =========================================
   CONTACT PAGE DARK MODE FIXES
   ========================================= */

/* Fix input text color in dark mode */
[data-theme="dark"] .premium-input,
[data-theme="dark"] .premium-textarea,
[data-theme="dark"] .premium-select {
    color: var(--bg-color); /* Note: var(--bg-color) is actually light in dark mode if not properly swapped, wait. Actually, let's just use white. */
    color: #f8fafc;
}

/* Fix form header text color */
[data-theme="dark"] .form-header h2 {
    color: #f8fafc;
}

[data-theme="dark"] .form-subtitle {
    color: #cbd5e1;
}

/* Fix Info Cards text colors */
[data-theme="dark"] .p-info-content h4 {
    color: #f8fafc;
}

[data-theme="dark"] .p-info-content p,
[data-theme="dark"] .p-info-content p a {
    color: #cbd5e1;
}

/* Fix the floating labels to be readable when floated */
[data-theme="dark"] .premium-input:focus ~ .premium-label,
[data-theme="dark"] .premium-input:not(:placeholder-shown) ~ .premium-label,
[data-theme="dark"] .premium-textarea:focus ~ .premium-label,
[data-theme="dark"] .premium-textarea:not(:placeholder-shown) ~ .premium-label {
    color: #38bdf8;
    background: #1e293b; 
}

/* =========================================
   CONTACT PAGE DARK MODE - FORCED VISIBILITY FIXES
   ========================================= */

/* Hero text must stay white even if global dark mode tries to make headers dark */
[data-theme="dark"] .premium-title,
[data-theme="dark"] .premium-subtitle {
    color: #ffffff !important;
}

/* The badge glass text and icon */
[data-theme="dark"] .badge-glass {
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
[data-theme="dark"] .badge-glass i {
    color: #38bdf8 !important;
}

/* Submit Button text and icon */
[data-theme="dark"] .btn-premium-submit {
    color: #0f172a !important;
}
[data-theme="dark"] .btn-icon-circle i {
    color: #0f172a !important;
}

/* Contact Info Icons */
[data-theme="dark"] .p-info-icon {
    color: #38bdf8 !important;
}
[data-theme="dark"] .p-info-icon i {
    color: #38bdf8 !important;
}

/* =========================================
   HOVER JITTER/STUTTER FIX FOR WHY CHOOSE US
   ========================================= */

/* The combination of feature-card and bento-card had conflicting !important transitions and scale transforms 
   that caused an infinite hover jitter loop. This standardizes it and enables hardware acceleration. */
.feature-card.bento-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
    will-change: transform, box-shadow;
    /* Hardware acceleration to prevent flicker */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0); 
}

.feature-card.bento-card:hover {
    /* Removed the scale() which causes edge-jitter, using only smooth translateY */
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12), 0 8px 15px rgba(37, 99, 235, 0.05) !important;
    z-index: 10 !important;
}

[data-theme="dark"] .feature-card.bento-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 8px 15px rgba(245, 158, 11, 0.1) !important;
}
