/* ============================================================
   NAVBAR — Professional Design System
   Primary: #5c35b0  |  Accent: #7c5cda  |  Surface: #ffffff
   ============================================================ */

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  --nav-bg:              #ffffff;
  --nav-border:          rgba(92, 53, 176, 0.12);
  --nav-shadow:          0 1px 0 var(--nav-border), 0 4px 24px rgba(0, 0, 0, 0.06);

  --brand-primary:       #5c35b0;
  --brand-accent:        #7c5cda;
  --brand-light:         rgba(92, 53, 176, 0.08);
  --brand-mid:           rgba(92, 53, 176, 0.14);

  --text-primary:        #1a1a2e;
  --text-secondary:      #64657a;
  --text-muted:          #9799a7;

  --radius-sm:           6px;
  --radius-md:           10px;
  --radius-lg:           14px;
  --radius-full:         999px;

  --ease-out:            cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:         cubic-bezier(0.34, 1.56, 0.64, 1);

  --transition-fast:     150ms var(--ease-out);
  --transition-base:     220ms var(--ease-out);
  --transition-slow:     350ms var(--ease-out);
}


/* ============================================================
   HEADER FIX PATCH
   Drop this into styles.css or header.php <style> block.
   Fixes: chunky nav pill backgrounds, bleeding content,
          spacing, button contrast, z-index layering.
   ============================================================ */

/* ── Navbar Shell ──────────────────────────────────────────── */
.custom-navbar-wrapper {
  position:      fixed;
  inset-block-start: 0;
  inset-inline:  0;
  z-index:       1030;
  background:    #ffffff;
  border-bottom: 1px solid #e8e5f0;
  box-shadow:    0 1px 0 #e8e5f0, 0 2px 16px rgba(0, 0, 0, 0.05);
  /* Remove any backdrop blur that lets content bleed through */
  backdrop-filter: none;
}

.navbar-custom {
  padding-block: 0;
  min-height:    64px;
  background:    #ffffff !important;
  margin:        0 !important;        /* kill the rogue margin:-10px */
}

/* ── Brand / Logo ──────────────────────────────────────────── */
.navbar-brand {
  margin-inline-end: 2rem;
  padding-block:     0;
}

.navbar-brand img {
  height:     40px;
  width:      auto;
  display:    block;
  transition: opacity 150ms;
}
.bg-pending  { background-color: #ffc107 !important; color: #000; padding: 5px 10px; border-radius: 20px; }
.bg-approved { background-color: #198754 !important; color: #fff; padding: 5px 10px; border-radius: 20px; }
.bg-rejected { background-color: #dc3545 !important; color: #fff; padding: 5px 10px; border-radius: 20px; }
.navbar-brand:hover img { opacity: 0.85; }

/* ── Nav Links — REMOVE the pill box backgrounds ───────────── */
.navbar-nav .nav-link {
  color:          #1a1a2e !important;
  font-size:      0.875rem;
  font-weight:    500;
  padding:        0.45rem 0.75rem !important;
  margin-inline:  0.1rem;
  border-radius:  6px;
  /* Reset: no background, no heavy bottom border animation */
  background:     transparent !important;
  transition:     color 150ms, background 150ms;
  white-space:    nowrap;
}

.navbar-nav .nav-link:hover {
  color:      #5c35b0 !important;
  background: rgba(92, 53, 176, 0.07) !important;
}

.navbar-nav .nav-link.active {
  color:      #5c35b0 !important;
  background: rgba(92, 53, 176, 0.09) !important;
  font-weight: 600;
}

/* Kill the animated underline ::after on nav links
   (it looked fine in isolation but clashes here) */
.navbar-nav .nav-link::after {
  display: none !important;
}

/* Icons inside nav links */
.navbar-nav .nav-link i {
  font-size:         0.85rem;
  margin-inline-end: 0.35rem;
  color:             #5c35b0;
  opacity:           0.85;
}

/* ── Search Bar ────────────────────────────────────────────── */
.search-container {
  min-width: 260px;
  max-width: 340px;
}

.input-group {
  border-radius: 8px;
  overflow:      hidden;
  box-shadow:    0 0 0 1.5px #e0dcea;
  transition:    box-shadow 180ms;
}

.input-group:focus-within {
  box-shadow: 0 0 0 2px #5c35b0;
}

.input-group-text {
  background: #ffffff;
  border:     none;
  padding:    0.5rem 0.75rem;
  color:      #9896a4;
  font-size:  0.9rem;
}

.search-input {
  border:      none;
  padding:     0.5rem 0.75rem;
  font-size:   0.875rem;
  color:       #1a1a2e;
  background:  #ffffff;
  box-shadow:  none !important;
  outline:     none;
}

.search-input::placeholder { color: #b0adb8; }

/* ── Utility Icon Buttons (cart, wishlist) ─────────────────── */
#cartBtn,
.wishlist-btn {                /* add your wishlist button selector */
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           38px;
  height:          38px;
  border-radius:   50%;
  background:      transparent;
  border:          none;
  cursor:          pointer;
  color:           #4a4760;
  font-size:       1.2rem;
  transition:      background 150ms, color 150ms;
  margin-inline:   0.125rem;
}

#cartBtn:hover,
.wishlist-btn:hover {
  background: rgba(92, 53, 176, 0.08);
  color:      #5c35b0;
}

/* Cart count badge */
#cartCount {
  position:      absolute;
  top:           -3px;
  right:         -3px;
  min-width:     17px;
  min-height:    17px;
  font-size:     0.6rem;
  font-weight:   700;
  background:    #e53e3e;
  color:         #ffffff;
  border:        2px solid #ffffff;
  border-radius: 999px;
  display:       flex;
  align-items:   center;
  justify-content: center;
  padding:       0 3px;
  pointer-events: none;
}

/* ── Login / Register Button ───────────────────────────────── */
.btn-purple,
.btn-login {
  display:         inline-flex;
  align-items:     center;
  gap:             0.4rem;
  background:      #5c35b0;
  color:           #ffffff !important;
  border:          none;
  border-radius:   8px;
  padding:         0.5rem 1.1rem;
  font-size:       0.875rem;
  font-weight:     600;
  white-space:     nowrap;
  cursor:          pointer;
  text-decoration: none;
  box-shadow:      0 2px 8px rgba(92, 53, 176, 0.25);
  transition:      background 150ms, transform 150ms, box-shadow 150ms;
}

.btn-purple:hover,
.btn-login:hover {
  background: #4a28a0;
  transform:  translateY(-1px);
  box-shadow: 0 4px 14px rgba(92, 53, 176, 0.34);
  color:      #ffffff !important;
}

.btn-purple:active,
.btn-login:active {
  transform:  translateY(0);
  box-shadow: 0 1px 4px rgba(92, 53, 176, 0.2);
}

/* ── Body offset so content never hides behind fixed navbar ── */
body {
  padding-block-start: 64px !important;
}

/* ── Mobile collapse ───────────────────────────────────────── */
@media (max-width: 991.98px) {
  .navbar-custom {
    min-height: 56px;
  }

  body {
    padding-block-start: 56px !important;
  }

  .search-container {
    min-width: 100%;
    max-width: 100%;
    margin-block: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.55rem 0.875rem !important;
  }

  .btn-purple,
  .btn-login {
    width:            100%;
    justify-content:  center;
    margin-block-start: 0.5rem;
  }
}

/* ── Hamburger ─────────────────────────────────────────────── */
.navbar-toggler {
  border:        none;
  padding:       0.35rem;
  border-radius: 6px;
  transition:    background 150ms;
}

.navbar-toggler:hover  { background: rgba(92, 53, 176, 0.08); }
.navbar-toggler:focus  { box-shadow: 0 0 0 2px #5c35b0; outline: none; }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(92,53,176,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Accessibility ─────────────────────────────────────────── */
.nav-link:focus-visible,
.btn-purple:focus-visible,
#cartBtn:focus-visible {
  outline:        2px solid #5c35b0;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 1ms !important;
    animation-duration:  1ms !important;
  }
}

/* ============================================================
   NAVBAR EXTENDED — Professional Design System
   Extends: navbar.css
   ============================================================ */


/* ── User Dropdown Toggle ────────────────────────────────── */
.dropdown-toggle.nav-link {
  padding-inline-end: 0.875rem !important;
}

/* Hide Bootstrap's default caret arrow */
.dropdown-toggle.nav-link::after {
  display: none;
}

.dropdown-toggle.nav-link i {
  display:           inline-block;
  margin-inline-end: 6px;
  color:             var(--brand-accent);
  transition:        color var(--transition-fast);
}

.dropdown-toggle.nav-link:hover i {
  color: var(--brand-primary);
}


/* ── Responsive — Collapsed Menu ─────────────────────────── */
@media (max-width: 992px) {
  .search-container {
    min-width:   100%;
    margin-block: 0.75rem;
  }

  .nav-link {
    padding: 0.625rem 0.875rem !important;
  }

  .navbar-collapse {
    padding-block: 0.75rem;
  }

  /* Flat, readable dropdown on mobile */
  .dropdown-menu {
    box-shadow:    none;
    border-radius: 0;
    border:        none;
    padding-inline-start: 1rem;
    animation:    none;
  }
}


/* ── Floating Toast Notification ─────────────────────────── */
.floating-notification {
  position:   fixed;
  inset-block-start:  76px;
  inset-inline-end:   20px;
  background: var(--brand-primary);
  color:      #ffffff;
  padding:    0.875rem 1.375rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(92, 53, 176, 0.28),
              0 2px 8px  rgba(92, 53, 176, 0.16);
  z-index:    9999;
  display:    none;
  max-width:  320px;
  font-size:  0.9rem;
  font-weight: 500;
  line-height: 1.4;
  animation:  toast-enter 0.4s var(--ease-spring),
              toast-exit  0.4s var(--ease-out) 2.6s forwards;
}

@keyframes toast-enter {
  from {
    opacity:   0;
    transform: translateX(calc(100% + 20px));
  }
  to {
    opacity:   1;
    transform: translateX(0);
  }
}

@keyframes toast-exit {
  to {
    opacity:   0;
    transform: translateX(calc(100% + 20px));
  }
}


/* ── Body Offset (fixed navbar clearance) ────────────────── */
body {
  padding-block-start: 76px;
}


/* ── Hamburger Toggler ───────────────────────────────────── */
.navbar-toggler {
  border:     none;
  padding:    0.4rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.navbar-toggler:hover {
  background: var(--brand-light);
}

.navbar-toggler:focus {
  outline:    none;
  box-shadow: 0 0 0 2px var(--brand-primary);
}

/* Purple hamburger lines */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(92,53,176,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ── Container Fluid ─────────────────────────────────────── */
.container-fluid {
  display:         flex;
  flex-wrap:       nowrap;
  align-items:     center;
  justify-content: space-between;
  background:      var(--nav-bg);
}


/* ── Scoped Overrides (high-specificity resets) ──────────── */
.custom-navbar-wrapper .navbar-custom {
  background-color: transparent;
  margin:           0;
}

.custom-navbar-wrapper .btn-purple {
  background-color: var(--brand-primary);
  color:            #ffffff;
  border-radius:    var(--radius-md);
  font-weight:      600;
  padding:          0.5rem 1rem;
  transition:       background var(--transition-fast),
                    box-shadow  var(--transition-fast),
                    transform   var(--transition-fast);
}

.custom-navbar-wrapper .btn-purple:hover {
  background-color: var(--brand-accent);
}

.custom-navbar-wrapper .nav-link {
  color:             var(--text-primary);
  font-weight:       500;
  margin-inline-end: 0.5rem;
}

.custom-navbar-wrapper .nav-link:hover {
  color: var(--brand-primary);
}

.custom-navbar-wrapper .dropdown-item:hover {
  background-color: var(--brand-light);
  color:            var(--brand-primary);
}


/* ── Hero Section with Smooth Animated Transitions ────────── */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding-block: 90px;
    margin-bottom: 2rem;
    overflow: hidden;
    background: #1a1a2e;
}

/* Image Slider - No overlay, pure images with animation */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.8s ease-in-out, transform 1.8s ease-in-out;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Active slide - fully visible with gentle zoom */
.slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1.05);
    transition: opacity 1.8s ease-in-out, transform 8s ease-in-out;
}

/* Previous slide - fading out */
.slide.fade-out {
    opacity: 0;
    z-index: 0;
    transform: scale(1);
    transition: opacity 1.8s ease-in-out, transform 1.8s ease-in-out;
}

/* All other slides hidden */
.slide:not(.active):not(.fade-out) {
    opacity: 0;
    z-index: 0;
    transform: scale(1);
}

/* Hero Content - Sits above images */
.hero-section .container {
    position: relative;
    z-index: 5;
}

.hero-content {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    padding: 30px 0;
}

.hero-content .btn-light {
    background: white;
    color: #1e2a3e;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-content .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-content .btn-outline-light {
    border: 1px solid white;
    color: white;
    background: transparent;
}

.hero-content .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-badge {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    padding: 6px 18px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-content .lead {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Typing text styles */
.typing-text {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    min-height: calc(clamp(2.25rem, 5vw, 3.5rem) * 1.1 * 2);
    color: #ffffff;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    vertical-align: text-bottom;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    margin-inline-start: 3px;
    animation: cursor-blink 1.1s step-start infinite;
}

@keyframes cursor-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Slider Indicators - Simple dots */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-indicators .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.slider-indicators .dot.active {
    background: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.slider-indicators .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-block: 60px;
        min-height: 400px;
    }
    
    .typing-text {
        font-size: 2rem;
        min-height: 90px;
    }
    
    .typing-cursor {
        height: 28px;
    }
    
    .slider-indicators .dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-content {
        padding: 20px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slide {
        transition: opacity 0.5s ease-in-out !important;
        transform: none !important;
    }
    
    .slide.active {
        transition: opacity 0.5s ease-in-out !important;
        transform: none !important;
    }
    
    .slide.fade-out {
        transition: opacity 0.5s ease-in-out !important;
        transform: none !important;
    }
    
    .typing-cursor {
        animation: none !important;
    }
}


/* ── Typing Headline ─────────────────────────────────────── */
.typing-text {
  font-size:     clamp(2.25rem, 5vw, 3.5rem);
  font-weight:   800;
  line-height:   1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  min-height:    calc(clamp(2.25rem, 5vw, 3.5rem) * 1.1 * 2);
}

.typing-cursor {
  display:          inline-block;
  width:            3px;
  height:           0.9em;
  vertical-align:   text-bottom;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius:    2px;
  margin-inline-start: 3px;
  animation:        cursor-blink 1.1s step-start infinite;
}

@keyframes cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}


/* ── Hero Badge ──────────────────────────────────────────── */
.hero-badge {
  display:         inline-flex;
  align-items:     center;
  gap:             0.375rem;
  background:      rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border:          1px solid rgba(255, 255, 255, 0.2);
  padding:         0.4rem 1.1rem;
  border-radius:   var(--radius-full);
  font-size:       0.85rem;
  font-weight:     500;
  letter-spacing:  0.03em;
  margin-bottom:   1.25rem;
}


/* ── Stats Section ───────────────────────────────────────── */
.stats-section {
  background:    #f7f6fb;
  border:        1px solid rgba(92, 53, 176, 0.08);
  padding-block: 3.5rem;
  margin-block:  2.5rem;
  border-radius: var(--radius-lg);
}

.stat-item {
  text-align:   center;
  padding:      1.25rem 1rem;
}

.stat-number {
  display:       block;
  font-size:     clamp(2rem, 4vw, 3rem);
  font-weight:   800;
  line-height:   1;
  color:         var(--brand-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  color:       var(--text-secondary);
  font-size:   0.9rem;
  font-weight: 500;
  margin-block-start: 0.5rem;
}


/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .typing-cursor,
  .floating-notification {
    animation: none !important;
  }
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 15px;
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

/* Why Choose Us */
.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6f42c1, #8a63d2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
}

/* Trending Courses */
.trending-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Certificate Badge */
.certificate-badge {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff9a00, #ff5e00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
    text-decoration: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6f42c1, #8a63d2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(111, 66, 193, 0.3);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
}

/* Enhanced Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel full width */
.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Features Section */
.features-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 1100px;
    margin: 30px auto;
}

.feature-card {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: -20px auto 30px auto;
    /* 50px top margin added */
    /* added shadow */
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:last-child {
    border-right: none;
}


/* Hover effect for desktop */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 5px 0;
    color: #222;
}

.feature-card p {
    font-size: 14px;
    color: #666;
}

/* Responsive adjustments - keep same layout but scale down */
@media (max-width: 768px) {
    .features-container {
        padding: 10px 20px;
    }

    .feature-card {
        padding: 5px 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        /* smaller shadow on mobile */
    }

    .feature-card img {
        width: 36px;
        height: 36px;
        margin-bottom: 6px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 12px;
    }
}



.category-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #000;
    /* black border on hover */
}

/* Right-side background circle */
.category-bg {
    position: absolute;
    right: -40px;
    top: 20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f9f3ff;
    z-index: 0;
}

/* Icon/Image inside */
.category-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 50px;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* Enlarge icon/image on hover */
.category-card:hover .category-icon {
    transform: scale(1.15);
}

.category-tags span {
    display: inline-block;
    margin: 5px 5px 0 0;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}


/* Explore button */
.explore-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    font-weight: 500;
    color: #000;
    /* keep text black */
    text-decoration: none;
    position: relative;
    z-index: 1;
}

/* Add underline effect on hover */
.explore-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    /* distance from text */
    width: 0%;
    height: 2px;
    /* thickness of underline */
    background-color: #4f46e5;
    /* purple underline */
    transition: width 0.3s ease;
}

.explore-btn:hover::after {
    width: 100%;
    /* underline expands on hover */
}




.explore-btn span {
    background: #000;
    /* black oval normally */
    color: #fff;
    border-radius: 50%;
    padding: 6px 10px;
    margin-left: 8px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.explore-btn:hover span {
    background: #4f46e5;
    /* purple oval on hover */
}


.category-tags {
    max-width: calc(100% - 145px);
}

.category-icon {
    top: 32px;
}

/* ===========================
        Skills Section
        =========================== */
.skills-section {
    background: transparent;
    /* Removed black background */
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 30px 30px;
    /* Reduced section height */
    position: relative;
    overflow: hidden;
}

.skills-section h2 {
    font-size: 32px;
    /* Smaller title */
    font-weight: 800;
    color: #000;
    /* Black text */
    margin: 0;
    position: relative;
    z-index: 2;
}

.skills-section p {
    font-size: 16px;
    /* Smaller paragraph */
    color: #000;
    /* Black text */
    margin: 15px 0 0 0;
    position: relative;
    z-index: 2;
}

/* === Tags Common Style === */
.skills-tags-left,
.skills-tags-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Reduced gap */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.skills-tags-left {
    left: 5%;
}

.skills-tags-right {
    right: 5%;
}

.skills-tags-left span,
.skills-tags-right span {
    color: #000;
    /* Black text */
    padding: 8px 14px;
    /* Smaller padding */
    border-radius: 8px;
    font-size: 12px;
    /* Smaller font */
    font-weight: bold;
    white-space: nowrap;
    transform: translateX(0);
    opacity: 0;
    transition: all 0.25s ease;
    /* Reduced from 0.4s to 0.25s */
}

/* Colors + start positions */
.skills-tags-left span:nth-child(1) {
    background: #a55eea;
    transform: translateX(-200px);
}

.skills-tags-left span:nth-child(2) {
    background: #ffa502;
    transform: translateX(-200px);
}

.skills-tags-left span:nth-child(3) {
    background: #ff4757;
    transform: translateX(-200px);
}

.skills-tags-left span:nth-child(4) {
    background: #ff6b81;
    transform: translateX(-200px);
}

.skills-tags-right span:nth-child(1) {
    background: #1e90ff;
    transform: translateX(200px);
}

.skills-tags-right span:nth-child(2) {
    background: #2ed573;
    transform: translateX(200px);
}

.skills-tags-right span:nth-child(3) {
    background: #5352ed;
    transform: translateX(200px);
}

/* Hover effect */
.skills-section:hover .skills-tags-left,
.skills-section:hover .skills-tags-right {
    opacity: 1;
    pointer-events: auto;
}

.skills-section:hover .skills-tags-left span,
.skills-section:hover .skills-tags-right span {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation */
.skills-tags-left span:nth-child(1),
.skills-tags-right span:nth-child(1) {
    transition-delay: 0.05s;
    /* Reduced from 0.1s */
}

.skills-tags-left span:nth-child(2),
.skills-tags-right span:nth-child(2) {
    transition-delay: 0.1s;
    /* Reduced from 0.2s */
}

.skills-tags-left span:nth-child(3),
.skills-tags-right span:nth-child(3) {
    transition-delay: 0.15s;
    /* Reduced from 0.3s */
}

.skills-tags-left span:nth-child(4) {
    transition-delay: 0.2s;
    /* Reduced from 0.4s */
}


/* ........................... video section...................... */


.immersive-section {
    background-color: #f8f9fa;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    margin-bottom: 50px;
}

.immersive-text {
    padding: 40px 30px;
}

.immersive-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

.immersive-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
}

.immersive-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    /* optional for better contrast */
}

@media (max-width: 768px) {
    .immersive-text {
        padding: 20px 15px;
    }

    .immersive-text h2 {
        font-size: 1.5rem;
    }

    .immersive-text p {
        font-size: 1rem;
    }

    .typing-text {
        font-size: 2rem;
        min-height: 90px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

:root {
    --primary-color: #6f42c1;
    --primary-light: #8b5ceb;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --secondary-color: #6c757d;
    --light-bg: #eef1f7;
}

body {
    background: #eef1f7;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.container-py-4 {
    padding: 2rem 0;
}

.wrapper {
    display: flex;
    padding-top: 15px;
}

.sidebar {
    width: 240px;
    background: #6f42c1;
    color: #fff;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    position: sticky;
    top: 95px;
}

.sidebar h4 {
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.sidebar a {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 7px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(255, 255, 255, 0.2);
}

.main-content {
    flex: 1;
    padding: 25px;
}

.main-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.card-header-custom {
    background: linear-gradient(135deg, #6f42c1, #8b5ceb);
    color: white;
    padding: 2rem;
    border-bottom: none;
    text-align: center;
}

.card-header-custom h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-body-custom {
    padding: 2rem;
}

.section-title {
    color: #6f42c1;
    border-bottom: 3px solid #6f42c1;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}


.request-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    transition: .3s;
    margin-bottom: 1.5rem;
    border: none;
}

.request-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.request-card.approved {
    border-left: 5px solid var(--success-color);
}

.request-card.rejected {
    border-left: 5px solid var(--danger-color);
}

.request-card.pending {
    border-left: 5px solid var(--warning-color);
}


.badge {
    font-size: 0.75em;
    padding: 0.5em 0.75em;
    border-radius: 50px;
    font-weight: 600;
}

.bg-pending {
    background-color: var(--warning-color);
    color: #000;
}

.bg-approved {
    background-color: var(--success-color);
    color: #fff;
}



.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-pending {
    background-color: var(--warning-color);
}

.status-approved {
    background-color: var(--success-color);
}

.status-rejected {
    background-color: var(--danger-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.info-item i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--primary-color);
}


.meeting-link-box {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border: 2px dashed var(--info-color);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.admin-comment-box {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}


.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), #8b5ceb);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.meeting-link-btn {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.meeting-link-btn:hover {
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.stats-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    transition: .3s;
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--secondary-color);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}


.filter-buttons {
    margin-bottom: 2rem;
}

.filter-btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #8b5ceb);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:not(.active):hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}


.animate-fade-in {
    animation: fadeIn 0.6s ease-in;
}

.animate-zoomIn {
    animation: zoomIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


@media (max-width: 992px) {
    .wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
        border-radius: 0 0 10px 10px;
        margin-bottom: 1rem;
    }

    .main-content {
        padding: 15px;
    }

    .card-body-custom {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .card-header-custom {
        padding: 1.5rem;
    }

    .card-header-custom h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .stats-number {
        font-size: 2rem;
    }

    .filter-buttons {
        text-align: center;
    }

    .filter-btn {
        display: inline-block;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 10px;
    }

    .card-body-custom {
        padding: 1rem;
    }

    .request-card {
        padding: 15px;
    }

    .btn-custom,
    .meeting-link-btn {
        width: 100%;
        justify-content: center;
    }
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6f42c1, #8b5ceb);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a2d91, #6f42c1);
}

body {
    background: #eef1f7;
    font-family: 'Segoe UI', sans-serif;
}

.wrapper {
    display: flex;
    padding-top: 15px;
}

.sidebar {
    width: 240px;
    background: #6f42c1;
    color: #fff;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    position: sticky;
    top: 95px;
}

.sidebar h4 {
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.sidebar a {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 7px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(255, 255, 255, 0.2);
}

.main-content {
    flex: 1;
    padding: 25px;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-4px);
}

.course-img {
    height: 600px;
    object-fit: cover;
    width: 100%;
}

.price-tag {
    font-size: 17px;
    font-weight: 600;
    color: #6f42c1;
}

body {
    background: #eef1f7;
    font-family: 'Segoe UI', sans-serif;
}

.wrapper {
    display: flex;
    padding-top: 15px;
}

.sidebar {
    width: 240px;
    background: #6f42c1;
    color: #fff;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    position: sticky;
    top: 95px;
}

.sidebar h4 {
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.sidebar a {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 7px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(255, 255, 255, 0.2);
}

.main-content {
    flex: 1;
    padding: 25px;
}

.slot-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    transition: .3s;
    height: 100%;
}

.slot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.btn-book {
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
}

.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
}

.modal-content {
    border-radius: 20px;
    padding: 10px;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.6;
}

/* Layout */
.wrapper {
    display: flex;
    padding-top: 15px;
}

.sidebar {
    width: 240px;
    background: #6f42c1;
    color: #fff;
    padding: 20px;
    border-radius: 0 10px 10px 0;

    position: sticky;
    /* ✅ ADD THIS */
    top: 100px;

    height: calc(100vh - 120px);
    overflow: visible;
    /* ✅ KEEP THIS */
    z-index: 1;
    /* ✅ LOW z-index */
}



/* Sidebar headings */
.sidebar h4 {
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

/* Sidebar Links */
.sidebar a {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 7px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Main content */
.main-content {
    flex: 1;
    padding: 25px;
}

/* Profile Card New Design */
.profile-card {
    max-width: 700px;
    margin: auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    animation: fadeIn .4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Avatar */
.avatar-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #6f42c1, #9f6bf2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    font-weight: bold;
    margin: auto;
}

/* Profile Info Row */
.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 12px 15px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
}

.info-row i {
    font-size: 22px;
    margin-right: 12px;
    color: #6f42c1;
}

.label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.value {
    font-size: 17px;
    color: #222;
}



/* Role colors */
.role-admin {
    color: #0d6efd;
    font-weight: 600;
}

.role-teacher {
    color: #28a745;
    font-weight: 600;
}

.role-student {
    color: #ff9800;
    font-weight: 600;
}

/* FIX dropdown going behind sidebar */
.dropdown-menu {
    z-index: 3000 !important;
}

/* Navbar must be above everything */
.custom-navbar-wrapper,
.navbar {
    z-index: 2000;
}


body {
    background: #eef1f7;
    font-family: 'Segoe UI', sans-serif;
}

.wrapper {
    display: flex;
    padding-top: 15px;
}

.sidebar {
    width: 240px;
    background: #6f42c1;
    color: #fff;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    position: sticky;
    top: 95px;
}

.sidebar h4 {
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.sidebar a {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 7px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

.main-content {
    flex: 1;
    padding: 25px;
}

.profile-card {
    max-width: 1650px;
    margin: auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.avatar-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #6f42c1, #9f6bf2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    font-weight: bold;
    margin: auto;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

:root {
    --bg: #ffffff;
    --bg-soft: #f7f8fa;
    --text: #1f2328;
    --muted: #6b7280;
    --brand: #5624d0;
    --brand-contrast: #ffffff;
    --border: #e5e7eb;
    --focus: #3b82f6;
    --btn-secondary-bg: #f3f4f6;
    --btn-secondary-text: #111827;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #ffffff;
        --bg-soft: #f7f9fc;
        --text: #0b0d12;
        --muted: #6b7280;
        --brand: #7c5cff;
        --brand-contrast: #ffffff;
        --border: #d1d5db;
        --btn-secondary-bg: #e5e7eb;
        --btn-secondary-text: #0b0d12;
    }
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
    line-height: 1.45;
}


.ud-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.auth-layout--auth-grid-layout--E7OfM {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width:980px) {
    .auth-layout--auth-grid-layout--E7OfM {
        grid-template-columns: 1.1fr 1fr;
        min-height: calc(100vh - 140px);
    }
}

.auth-layout--auth-form-image-col--gE0hR {
    display: block
}

.auth-layout--auth-form-image-wrapper--OwRnP {
    background: radial-gradient(1100px 600px at -10% -10%, var(--bg-soft) 0, transparent 60%),
        radial-gradient(800px 500px at 120% 120%, var(--bg-soft) 0, transparent 60%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-layout--auth-form-image--aISx9 img {
    width: 100%;
    height: auto;
    max-width: 680px;
    display: block
}

/* Form column */
.auth-layout--auth-form-col--LnbX2 {
    display: block
}

.auth-form-row--large--tUoO2 {
    margin-bottom: 8px
}

.ud-heading-xxl {
    font-size: clamp(22px, 2.2vw, 32px);
    margin: 0 0 6px
}

.auth-form-row--small--Byo8R {
    margin: 12px 0
}

.auth-form-row--medium--T7wIs {
    margin: 16px 0
}

/* Panel look */
.auth-panel {
    border: 1px solid var(--border);
    background: var(--bg-soft);
    border-radius: 16px;
    padding: 28px;
}

/* Inputs */
.ud-compact-form-group.ud-form-group {
    display: block
}

.ud-compact-form-control-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 6px
}

.ud-form-label.ud-heading-sm {
    font-size: 14px;
    font-weight: 600
}

.ud-text-input {
    border: 1px solid var(--border);
    background: #fff;
    color: #111827;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    width: 100%;
}

.ud-text-input:focus {
    border-color: var(--focus);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--focus) 20%, transparent);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #ffffff;

    }
}

/* Buttons */
.ud-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .02s ease-in, box-shadow .15s ease;
}

.ud-btn:active {
    transform: translateY(1px)
}

.ud-btn-large {
    width: 100%
}

.ud-btn-brand {
    background: var(--brand);
    color: var(--brand-contrast);
    box-shadow: 0 6px 16px rgba(86, 36, 208, .25)
}

.ud-btn-brand:hover {
    filter: brightness(1.05)
}

.ud-btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 1px solid var(--border)
}

.ud-btn-icon {
    padding: 10px 14px
}

.ud-btn-icon-large {
    width: auto
}

/* Separator */
.separator-module--separator--qtyh7 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 6px
}

.auth-option-separator--separator-text--ZP1wD {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase
}

/* Social row */
.social-icon-row--social-icons-list--3de3w {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.social-icon-row--social-icons-list--3de3w li {
    display: block
}

/* Links */
.other-options-button-module--other-options-button--ZXQ1m {
    padding: 10px 0
}

.ud-text-bold {
    font-weight: 700
}

.ud-link-underline {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent
}

.ud-link-underline:hover {
    border-color: currentColor
}

/* Small helper text */
.small {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px
}

/* For sign in with google  */
.google-signin-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 42px;
    background-color: white;
    border: #d1d1d3;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: #4a4a4a;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.google-signin-btn:hover {
    background-color: #f3e8ff;
    box-shadow: 0 0 10px rgba(107, 70, 193, 0.3);
}

.google-icon {
    width: 24px;
    height: 24px;
    display: block;
}


.toast-message {
    min-width: 250px;
    margin-bottom: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
    cursor: default;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast-success {
    background-color: #28a745;
}

.toast-error {
    background-color: #dc3545;
}

.google-login-button {
    background-color: #b73232;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%
}

.google-login-button:hover {
    background-color: #8d1212ff
}

.google-login-button img {
    width: 20px;
    height: 20px
}

:root {
    --brand: #5624d0;
    --text: #1c1d1f;
    --muted: #6a6f73;
    --border: #d1d7dc;
    --bg: #fff;
    --chip: #f7f9fa;
    --field: #f7f7f7;
    --danger: #d03030;
    --focus: #2d2f31;
    --radius: 8px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
    color: var(--text);
    background: #fff;



}


.navbar-left,
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-weight: 800;
    font-size: 22px;
    color: #000;
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: .2px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--brand)
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--field);
    padding: 8px 12px;
    border-radius: 999px;
    width: min(48vw, 420px);
    border: 1px solid transparent;
}

.search-box:focus-within {
    border-color: #1c1d1f33;
    box-shadow: 0 0 0 4px #5624d014;
    background: #fff;
}

.search-box i {
    color: #888
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 14px;
    color: var(--text);
}

.icon-button {
    color: #333;
    text-decoration: none;
    font-size: 18px
}

.icon-button:hover {
    color: var(--brand)
}

/* .btn {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
} */

.btn.login {
    background: none;
    color: var(--brand);
    border-color: var(--brand)
}

.btn.signup {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand)
}

/* Stack right-side links a bit tighter on small screens */
@media (max-width: 980px) {
    .nav-link.hide-sm {
        display: none
    }

    .search-box {
        width: 52vw
    }
}

@media (max-width: 640px) {
    .navbar {
        gap: 8px
    }

    .navbar-right .btn.login {
        display: none
    }

    .search-box {
        display: none
    }
}

/* ===================== Auth Layout ===================== */
.auth-wrap {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 20px;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 980px) {
    .auth-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }
}

.auth-illustration {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-illustration picture,
.auth-illustration img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.auth-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    margin: 42px 1px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .04);
}

.auth-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.2px;
}

.auth-sub {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
}

/* Form */
.form-row {
    margin-bottom: 16px
}

.field {
    position: relative;
    background: var(--field);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 12px 10px;
    transition: .15s border, .15s background, .15s box-shadow;
}

.field:focus-within {
    background: #fff;
    border-color: #babcbe;
    box-shadow: 0 0 0 4px #5624d014;
}

.field input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    padding: 0;
    margin: 0;
    color: var(--text);
}

/* Floating label */
.label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #6a6f73;
    pointer-events: none;
    transition: .12s;
}

.field input:focus+.label,
.field input:not(:placeholder-shown)+.label {
    top: 8px;
    font-size: 11px;
    color: #6a6f73;
}

/* Toggle / checkbox */
.toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2d2f31;
    user-select: none;
    cursor: pointer;
}

.toggle input {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: #fff;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.toggle input:checked {
    background: var(--brand);
    border-color: var(--brand);
}

.toggle input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: 2px solid #fff;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
}

.submit-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
}

.submit-btn:focus {
    outline: 4px solid #5624d026
}

/* Separator */
.sep {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
}

.sep hr {
    border: none;
    border-top: 1px solid var(--border)
}

.sep p {
    margin: 0;
    font-size: 18px;
    color: var(--muted)
}

/* Social buttons */
.socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.social-btn {
    flex: 1 1 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.social-btn i {
    font-size: 18px
}


.legal {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 16px;
}

.legal a {
    color: inherit
}

.auth-footer {
    margin-top: 16px;
    font-size: 14px;
}

.auth-footer a {
    text-decoration: none;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid #d1d7dc;
}

.auth-footer a:hover {
    color: var(--brand);
    border-color: var(--brand)
}

.error .field {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px #d0303014
}

.error .help {
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px
}


/* sign in with google */

.google-login-button {
    background-color: #b73232;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%
}

.google-login-button:hover {
    background-color: #8d1212ff
}

.google-login-button img {
    width: 20px;
    height: 20px
}



/* Basic styling for the form */
.field {
    position: relative;
    width: 100%;
}

/* Style for the select dropdown */
select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    appearance: none;
    /* Remove default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: left;
    background-image: none;
    /* Remove default background image */
    background-color: transparent;
    /* Make background transparent */
    cursor: pointer;
}

/* Add a custom dropdown arrow */
select::-ms-expand {
    display: none;
    /* Remove default arrow in Internet Explorer */
}

select:focus {
    border-color: #007BFF;
    outline: none;
}

/* Custom dropdown arrow */
select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M6 0L0 6h12L6 0z" fill="%23999" /></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    /* Position the arrow */
    background-size: 12px;
    /* Size of the arrow */
}

/* Hide the help message box */
.help {
    display: none;
}

/* Social Icons Enhancement */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;

    opacity: 0.9;
    transition: transform 0.3s ease;
}

.social-icons a i {
    position: relative;
    z-index: 1;
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover::before {
    transform: scale(1.1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* body {
  background: url("https://images.pexels.com/photos/325185/pexels-photo-325185.jpeg") center/cover no-repeat;
  min-height: 100vh;
} */

/* Section 
.contact-section {
    background: rgba(255, 255, 255, 0.92);
    background: url("https://images.pexels.com/photos/325185/pexels-photo-325185.jpeg") center/cover no-repeat;
    padding: 60px 0;
}
*/
/* Header */
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: #555;
}

/* Contact Info */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 28px;
    width: 60px;
    height: 60px;
    background: #5c35b0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-info-item h4 {
    margin-bottom: 5px;
    color: #5c35b0;
}
.btn-info{
	background: #5c35b0 !important;
	border: 1px solid #5c35b0 !important;
}
/* Form */
.contact-form {
    background: #fff;
    padding: 35px;
    border-radius: 37px;
    box-shadow: 5px 0 31px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: none;
    border-bottom: 2px solid #333;
    padding: 10px 5px;
    outline: none;
    background: transparent;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 5px;
    color: #777;
    pointer-events: none;
    transition: 0.3s;
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:valid+label,
.form-group textarea:valid+label {
    top: -10px;
    font-size: 12px;
    color: #1da5a9;
}

button {
    font-size: 18px;
}
/* =========================
   MEETING CARDS LAYOUT
========================= */

.meeting-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

/* =========================
   SLOT CARD
========================= */

.slot-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 280px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* =========================
   ICON
========================= */

.slot-card i.fs-3 {
    font-size: 38px !important;
    margin-bottom: 12px;
}

/* =========================
   DATE
========================= */

.slot-card h5,
.slot-card h6 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

/* =========================
   TIME
========================= */

.slot-card p {
    margin-bottom: 8px;
    color: #555;
}

/* =========================
   TEACHER
========================= */

.slot-card .text-muted {
    font-size: 14px;
    min-height: 38px;
}

/* =========================
   BUTTONS
========================= */

.btn-book,
.slot-card .btn {
    border-radius: 30px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
}

/* =========================
   REQUEST CARD
========================= */

.slot-card.request-card {
    border: 2px dashed #6c63ff;
    background: #faf8ff;
}

/* =========================
   SECTION SPACING
========================= */

.main-content .row {
    margin-bottom: 30px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .slot-card {
        min-height: auto;
    }

    .slot-card h5,
    .slot-card h6 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {

    .meeting-grid {
        gap: 18px;
    }

    .slot-card {
        padding: 18px;
    }
}


.required-star {
    color: red;
    font-weight: bold;
    font-size: 14px;

    /* 🔥 FIX POSITION */
    display: inline-block;
    transform: translateY(1px);
    margin-left: 4px;
    vertical-align: middle;
}