:root {
   /* Colors */
  /* --primary-color: #581C87;
  --primary-rgb: 88, 28, 135;
  --secondary-color: #FB7185;
  --accent-color: #F1F5F9;
  --highlight-color: #8B5CF6; */

  --primary-color: #0F172A;
  --primary-rgb: 15, 23, 42;
  --secondary-color: #06B6D4;
  --accent-color: #F8FAFC;
  --highlight-color: #3B82F6;
  
  /* Text Colors */
  --dark-text: #1A2B36;
  --text-color: #4A5568;
  --text-muted: #718096;
  
  /* Background Colors */
  --light-bg: #F8FAFC;
  --dark-bg: #1A2B36;
  --card-bg: #FFFFFF;
  
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --transition-base: all 0.3s ease;
  
  /* Typography */
  --body-font: 'Inter', sans-serif;
  --heading-font: 'Inter', sans-serif;
  --success-color: #059669;
  --success-hover: #047857;
  --dark-color: #111827;
  --light-color: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.5;
  --transition-base: all 0.2s ease-in-out;

  --primary-linear-gradient: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
}

/* General Styles */
body {
  font-family: var(--font-sans) !important;
  color: var(--gray-800) !important;
  line-height: var(--line-height-base) !important;
  background-color: var(--light-color) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600 !important;
  color: var(--gray-900) !important;
  margin-bottom: 1rem !important;
}

h1 {
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
}

h2 {
  font-size: 2rem !important;
  line-height: 1.3 !important;
}

h3 {
  font-size: 1.75rem !important;
  line-height: 1.4 !important;
}

.lead {
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: var(--gray-600) !important;
}

/* Buttons */
.btn {
  font-weight: 500 !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--border-radius) !important;
  transition: var(--transition-base) !important;
}

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: white !important;
}

.btn-primary-linear {
  background: var(--primary-linear-gradient) !important;
  border-color: var(--primary-linear-gradient) !important;
  color: white !important;
}

.btn-primary-linear:hover {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

.btn-success {
  background-color: var(--success-color) !important;
  border-color: var(--success-color) !important;
}

.btn-success:hover {
  background-color: var(--success-hover) !important;
  border-color: var(--success-hover) !important;
}

.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  background-color: transparent !important;
  transition: all 0.3s ease !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
}

/* Cards */
.card {
  border: none !important;
  border-radius: var(--border-radius) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: var(--transition-base) !important;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px) !important;
}

.card-body {
  padding: 1.5rem !important;
}

/* Navigation */

.navbar-brand {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 20px;
    overflow: visible;
}

.logo-marquee {
    width: 220px;
    overflow: hidden;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
}

.logo-track {
    display: flex;
    align-items: center;
    animation: scroll-logos 20s linear infinite;
    padding-left: 100%;
    white-space: nowrap;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-marquee-item {
    width: auto;
    max-width: 120px;
    margin-right: 10px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    aspect-ratio: 3/2;
    object-fit: contain;
}

.navbar-brand img {
    max-height: 70px;
    width: auto;
    filter: none;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 30px;
    height: 100%;
    z-index: 2;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.dark-mode .logo-marquee::before {
    background: linear-gradient(to right, rgba(33,37,41,1), rgba(33,37,41,0));
}

.dark-mode .logo-marquee::after {
    background: linear-gradient(to left, rgba(33,37,41,1), rgba(33,37,41,0));
}

.navbar {
  padding: 0.75rem 0 !important;
  background-color: white !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease;
  height: 80px;
}

.container {
  max-width: 1280px;
  width: 95%;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  margin-right: 2rem;
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.navbar-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 10px;
}

.nav-link {
  font-weight: 600 !important;
  color: var(--gray-700) !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease !important;
  position: relative;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-divider {
  height: 24px;
  width: 1px;
  background-color: var(--gray-200);
  margin: 0 10px;
}

.nav-action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
}

.navbar .btn {
  padding: 0.6rem 1.25rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border-radius: 50px !important;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar .btn-primary {
  background: linear-gradient(145deg, var(--primary-color), var(--secondary-color)) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25) !important;
}

.navbar .btn-outline-secondary {
  border: 1px solid var(--gray-300) !important;
  color: var(--gray-700) !important;
  background: transparent !important;
  transition: all 0.3s ease !important;
}

.navbar .btn-outline-secondary:hover {
  background: var(--gray-100) !important;
  border-color: var(--gray-400) !important;
  color: var(--gray-800) !important;
  transform: translateY(-2px);
}

.navbar .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3) !important;
}

.btn-mode {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-100) !important;
  color: var(--gray-700) !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  margin: 0 5px;
}

.btn-mode:hover {
  background-color: var(--gray-200) !important;
  color: var(--gray-900) !important;
  transform: rotate(15deg);
}

/* Hero Section Revamped */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle at 70% 60%, rgba(var(--primary-rgb), 0.07) 0%, rgba(var(--primary-rgb), 0) 70%);
    z-index: 0;
}

/* Decorative elements */
.hero-bg-shape-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    z-index: 0;
}

.hero-bg-shape-2 {
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.02) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    z-index: 0;
}

/* Floating Mentors */
.floating-mentors-container {
    position: relative;
    width: 100%;
    height: 550px;
}

.floating-mentor {
    position: absolute;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-mentor:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 10;
}

.floating-mentor-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 250px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.floating-mentor-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.floating-mentor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.floating-mentor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-mentor-info {
    flex: 1;
}

.floating-mentor-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.floating-mentor-title {
    font-size: 0.85rem;
    color: #666;
    margin: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-mentor-rating {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.floating-mentor-rating i {
    margin-right: 4px;
}

/* Pulse animation for some cards */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.floating-mentor:nth-child(2n) {
    animation: pulse 6s infinite ease-in-out;
    animation-delay: 1s;
}

.floating-mentor:nth-child(3n) {
    animation: pulse 8s infinite ease-in-out;
    animation-delay: 2s;
}

/* Responsive styles */
@media (max-width: 1199.98px) {
    .floating-mentors-container {
        height: 500px;
    }
    
    .floating-mentor-card {
        width: 220px;
    }
    
    .floating-mentor-avatar {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .floating-mentors-container {
        display: none;
    }
    
    .hero-bg-shape-1, 
    .hero-bg-shape-2 {
        display: none;
    }
}

/* Improved toggle switch */
.toggle-wrapper {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.toggle-handle {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toggle-input:checked + .toggle-label .toggle-handle {
    transform: translateX(100%);
}

/* Animation for toggle text */
.toggle-text {
    transition: all 0.3s ease;
}

.toggle-text.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Content toggle animation */
.toggle-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.toggle-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInContent 0.5s ease forwards;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhance search button animation */
.hero-search-btn {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--primary-hover-color) 100%);
    transition: all 0.3s ease;
}

.hero-search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(var(--primary-rgb), 0.3);
}

.mentor-categories {
  gap: 8px;
}

.mentor-category-pill {
  display: inline-block;
  padding: 8px 18px;
  background-color: #f5f7fa;
  border-radius: 50px;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.03);
}

.mentor-category-pill:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.15);
}

.stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 24px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle-top {
    font-size: 1rem;
  }
  
  .stats-bar {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-divider {
    width: 60px;
    height: 1px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 80px 0 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-search-container {
    max-width: 100%;
  }
  
  .hero-search-form .d-flex {
    flex-direction: column;
  }
  
  .hero-search-input {
    border-radius: 8px;
  }
  
  .hero-search-btn {
    border-radius: 8px;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .hero-search-wrapper {
    flex-direction: column;
    border-radius: 20px;
    background: transparent;
    box-shadow: none;
    border: none;
  }
  
  .hero-search-icon {
    left: 20px;
    top: 33px;
    display: none;
  }
  
  .hero-search-input {
    height: 60px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    background-color: #fff;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    margin-bottom: 0;
    border-radius: 15px 15px 0 0;
  }
  
  .hero-search-btn {
    height: 60px;
    border-radius: 15px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.15);
    margin-top: 0;
  }
}

/* Search Section */
.search-section {
  background-color: #f8f9fa;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.search-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 1.5rem;
}

.search-form {
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 0;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 14px;
}

.search-input {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.search_category {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

@media (max-width: 767.98px) {
  .search-input-wrapper {
    margin-bottom: 15px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .search-box {
    padding: 1rem;
  }
}

/* Mentor Cards */
.mentor-card {
  transition: all 0.3s ease;
  margin: 10px;
  min-width: 280px;
  border: none !important;
  border-radius: var(--border-radius) !important;
  overflow: hidden !important;
  background-color: transparent !important;
}

.mentor-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
}

.mentor-card:hover {
  transform: translateY(-4px) !important;
}

.mentor-avatar-wrapper {
  width: 70px !important;
  height: 70px !important;
  flex-shrink: 0 !important;
}

.mentor-avatar {
  width: 70px !important;
  height: 70px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.mentor-info {
  flex: 1 !important;
  min-width: 0 !important;
}

.mentor-name {
  font-weight: 600 !important;
  color: var(--gray-900) !important;
  margin: 0 0 0.25rem !important;
  font-size: 1.125rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mentor-title {
  color: var(--gray-600) !important;
  font-size: 0.875rem !important;
  margin-bottom: 0.5rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mentor-rating {
  display: flex !important;
  align-items: center !important;
}

.mentor-price {
  font-weight: 600 !important;
  color: var(--primary-color) !important;
  font-size: 1.25rem !important;
}

.mentor-skills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin-top: 1rem !important;
}

.mentor-skill-tag {
  background-color: var(--gray-100) !important;
  color: var(--gray-700) !important;
  padding: 0.4rem 0.75rem !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  transition: var(--transition-base) !important;
}

.view-profile-btn {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--primary-color) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: var(--transition-base) !important;
}

.view-profile-btn i {
  font-size: 0.75rem !important;
  transition: transform 0.2s ease !important;
}

.mentor-card:hover .view-profile-btn i {
  transform: translateX(4px) !important;
}

/* Star Rating */
.star-rating-display {
  font-size: 1rem !important;
  unicode-bidi: bidi-override !important;
  color: #e5e7eb !important;
  display: inline-block !important;
  position: relative !important;
  margin-right: 0.25rem !important;
}

.star-rating-display:after,
.star-rating-display:before {
  content: "★★★★★" !important;
  display: block !important;
  white-space: nowrap !important;
}

.star-rating-display:before {
  color: #f59e0b !important;
  position: absolute !important;
  z-index: 1 !important;
  left: 0 !important;
  overflow: hidden !important;
}

.star-rating-display:after {
  z-index: 0 !important;
}

.star-rating-display[data-rating="1"]:before {
  width: 20% !important;
}

.star-rating-display[data-rating="2"]:before {
  width: 40% !important;
}

.star-rating-display[data-rating="3"]:before {
  width: 60% !important;
}

.star-rating-display[data-rating="4"]:before {
  width: 80% !important;
}

.star-rating-display[data-rating="5"]:before {
  width: 100% !important;
}

.rating-display {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #f59e0b !important;
}

/* Categories Section */
.categories-section,
.featured-mentors-section {
  background-color: var(--light-bg);
  padding: 60px 0;
}

.categories-section h2 .text-primary,
.featured-mentors-section h2 .text-primary {
  position: relative;
}

.categories-section h2 .text-primary:after,
.featured-mentors-section h2 .text-primary:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 8px;
  background-color: rgba(var(--primary-rgb), 0.2);
  bottom: 0;
  left: 0;
  z-index: -1;
}

.category-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.category-card {
  padding: 25px 20px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon-wrapper {
  background-color: var(--primary-color);
  color: #fff;
}

.category-icon {
  font-size: 24px;
}

.category-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-text);
  margin: 10px 0 5px;
  transition: color 0.3s ease;
}

.category-count {
  font-size: 0.85rem;
  color: white!important;
  margin-bottom: 0;
  background: var(--primary-linear-gradient);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light-bg);
  position: relative;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 25px;
}

.testimonial-rating {
  color: #ffb400;
  margin-bottom: 15px;
  font-size: 18px;
}

.testimonial-rating .fa-star {
  margin-right: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
}

.testimonial-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.testimonial-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
}

.testimonial-author-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--dark-text);
}

.testimonial-author-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.testimonial-prev-btn,
.testimonial-next-btn {
  width: 45px;
  height: 45px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Testimonial Carousel Responsive */
@media (max-width: 767px) {
  .testimonial-card {
    padding: 25px 20px;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
}

/* Features Section */
.feature-card {
  text-align: center !important;
  padding: 2rem !important;
  background-color: white !important;
  border-radius: var(--border-radius) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: var(--transition-base) !important;
}

.feature-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 1rem !important;
  color: var(--primary-color) !important;
  font-size: 2rem !important;
}

.feature-title {
  font-weight: 600 !important;
  color: var(--gray-900) !important;
  margin-bottom: 0.5rem !important;
}

.feature-text {
  color: var(--gray-600) !important;
  font-size: 0.875rem !important;
}

/* Footer Styles */
.footer {
  background-color: var(--dark-bg);
  color: #fff;
  padding: 80px 0 40px;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
}

.footer-heading:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

.newsletter-form {
  margin-top: 20px;
  border: none;
}

.newsletter-input-group {
  display: flex;
  position: relative;
}

.newsletter-input {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
  position: absolute;
  right: 5px;
  top: 5px;
  border: none;
  background-color: var(--primary-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-button:hover {
  background-color: var(--secondary-color);
  transform: scale(1.05);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.footer-bottom-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom-links li a:hover {
  color: var(--primary-color);
}

@media (max-width: 767px) {
  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }
  
  .footer-heading {
    margin-top: 30px;
  }
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* Badges */
.badge {
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 2rem !important;
}

.bg-primary-soft {
  background-color: rgba(37, 99, 235, 0.1) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Utility Classes */
.py-8 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .navbar-collapse {
    background-color: white !important;
    padding: 1rem !important;
    border-radius: var(--border-radius) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 6rem 0 !important;
  }
  
  .search-section {
    margin-top: -2rem !important;
  }
  
  .mentor-card {
    margin-bottom: 1.5rem !important;
  }
}

/* Dark Mode */
.dark-mode {
  background-color: var(--gray-900) !important;
  color: var(--gray-300) !important;
}

.dark-mode .navbar,
.dark-mode .card,
.dark-mode .search-box,
.dark-mode .testimonial-card,
.dark-mode .feature-card {
  background-color: var(--gray-800) !important;
}

.dark-mode .nav-link {
  color: var(--gray-300) !important;
}

.dark-mode .nav-link:hover,
.dark-mode .nav-link.active {
  color: var(--primary-color) !important;
}

.dark-mode .card-title,
.dark-mode .mentor-name,
.dark-mode .category-name,
.dark-mode .feature-title {
  color: white !important;
}

.dark-mode .card-text,
.dark-mode .mentor-title,
.dark-mode .category-count,
.dark-mode .feature-text {
  color: var(--gray-400) !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Process Cards (How It Works) */
.how-it-works {
  position: relative !important;
  overflow: hidden !important;
  background-color: white !important;
}

.process-card {
  position: relative !important;
  background-color: white !important;
  padding: 2.5rem 2rem !important;
  border-radius: var(--border-radius) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  transition: var(--transition-base) !important;
}

.process-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.process-icon-wrapper {
  position: relative !important;
  width: 80px !important;
  height: 80px !important;
  background-color: var(--gray-100) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1.5rem !important;
  transition: var(--transition-base) !important;
}

.process-card:hover .process-icon-wrapper {
  background-color: rgba(37, 99, 235, 0.1) !important;
}

.process-number {
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background-color: var(--primary-color) !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.process-icon {
  font-size: 2rem !important;
  color: var(--primary-color) !important;
}

.process-title {
  font-weight: 600 !important;
  color: var(--gray-900) !important;
  margin-bottom: 1rem !important;
  font-size: 1.25rem !important;
}

.process-text {
  color: var(--gray-600) !important;
  font-size: 0.925rem !important;
  line-height: 1.5 !important;
}

@media (max-width: 767.98px) {
  .process-card {
    margin-bottom: 1.5rem !important;
    padding: 2rem 1.5rem !important;
  }
}

/* Call to Action Section */
.cta-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px;
    padding: 50px;
    color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-card:before {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta-card:after {
    content: '';
    position: absolute;
    left: -30px;
    bottom: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.cta-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.cta-stat {
    position: relative;
    z-index: 1;
}

.cta-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.cta-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.cta-buttons {
    position: relative;
    z-index: 1;
}

.cta-buttons .btn-outline-primary {
    color: #fff;
    border-color: #fff;
}

.cta-buttons .btn-outline-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .cta-card {
        padding: 40px 30px;
    }
    
    .cta-stats {
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin: 0 !important;
    }
}

/* Mentor Categories Navigation */
.mentor-categories-nav {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: all 0.3s ease;
}

.mentor-nav-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mentor-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.mentor-nav-list {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mentor-nav-item {
    display: inline-block;
    margin-right: 5px;
}

.mentor-nav-link {
    display: inline-block;
    padding: 10px 20px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.mentor-nav-link:hover {
    color: var(--primary-color);
}

.mentor-nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: transparent;
    transition: all 0.2s ease;
}

.mentor-nav-link:hover:after,
.mentor-nav-link.active:after {
    background-color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .mentor-nav-link {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
}

/* Mentor Profile Card */
.mentor-profile-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.mentor-profile-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.2);
}

.mentor-profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mentor-profile-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin-right: 1rem;
}

.mentor-profile-avatar::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mentor-profile-card:hover .mentor-profile-avatar::before {
    opacity: 1;
}

.mentor-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    transition: transform 0.3s ease;
}

.mentor-profile-card:hover .mentor-profile-img {
    transform: scale(1.08);
}

.mentor-profile-info {
    flex: 1;
}

.mentor-profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.mentor-profile-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.mentor-profile-rating i {
    color: #ffc107;
    font-size: 0.875rem;
}

.mentor-profile-rating span {
    font-size: 0.875rem;
    color: #718096;
}

.mentor-profile-title {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0;
}

.mentor-profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mentor-profile-skill {
    background: #f7fafc;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mentor-profile-card:hover .mentor-profile-skill {
    background: #ff6b00;
    color: #fff;
}

.mentor-profile-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #edf2f7;
}

.mentor-profile-price {
    display: flex;
    align-items: baseline;
}

.mentor-profile-rate {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

.mentor-profile-period {
    font-size: 0.875rem;
    color: #718096;
    margin-left: 0.25rem;
}

@media (max-width: 991.98px) {
    .mentor-profile-card {
        padding: 1.25rem;
    }
    
    .mentor-profile-avatar {
        width: 70px;
        height: 70px;
    }
    
    .mentor-profile-name {
        font-size: 1.125rem;
    }
}

@media (max-width: 767.98px) {
    .mentor-profile-card {
        padding: 1rem;
    }
    
    .mentor-profile-avatar {
        width: 60px;
        height: 60px;
    }
    
    .mentor-profile-name {
        font-size: 1rem;
    }
    
    .mentor-profile-skills {
        margin-bottom: 1rem;
    }
}

/* Hero Toggle Switch */
.toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.toggle-wrapper {
    position: relative;
    display: inline-flex;
    background-color: #fff;
    border-radius: 50px;
    padding: 5px;
    min-width: 320px;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    margin: 0;
    width: 100%;
    justify-content: space-between;
}

.toggle-text {
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle-text.active {
    color: #fff;
    font-weight: 700;
}

.toggle-handle {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: calc(50% - 5px);
    background: var(--primary-linear-gradient);
    border-radius: 45px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
    box-shadow: 0 3px 8px rgba(var(--primary-rgb), 0.25);
}

.toggle-input:checked + .toggle-label .toggle-handle {
    transform: translateX(100%);
}

.toggle-input:checked + .toggle-label .toggle-mentee {
    color: var(--text-muted);
    font-weight: 600;
}

.toggle-input:checked + .toggle-label .toggle-mentor {
    color: #fff;
    font-weight: 700;
}

.toggle-input:not(:checked) + .toggle-label .toggle-mentee {
    color: #fff;
    font-weight: 700;
}

.toggle-input:not(:checked) + .toggle-label .toggle-mentor {
    color: var(--text-muted);
    font-weight: 600;
}

/* Toggle Content Sections */
.toggle-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toggle-content.active {
    display: block;
    opacity: 1;
}

@media (max-width: 767px) {
    .toggle-wrapper {
        min-width: 280px;
    }
    
    .toggle-text {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .toggle-wrapper {
        min-width: 400px;
    }
}

/* Mentor Benefits */
.mentor-benefits {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.benefit-item h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.benefit-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* Mentor CTA button */
.mentor-cta-btn {
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 40px;
    background: var(--primary-linear-gradient) !important;
    border-color: var(--primary-linear-gradient) !important;
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.25);
    transition: all 0.4s ease;
    text-decoration: none !important;
}

.mentor-cta-btn:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 200px;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg) translate(-300px, -200px);
    animation: btnSweep 3s infinite linear;
    transition: all 0.4s ease;
}

@keyframes btnSweep {
    0% {
        transform: rotate(45deg) translate(-300px, -200px);
    }
    100% {
        transform: rotate(45deg) translate(300px, 200px);
    }
}

.mentor-cta-btn:hover,
.mentor-cta-btn:focus,
.mentor-cta-btn:active {
    transform: translateY(-5px);
    background: var(--primary-linear-gradient) !important;
    border-color: var(--primary-linear-gradient) !important;
    color: white !important;
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.3);
    text-decoration: none !important;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-bottom: 50px;
    }
    
    .hero-search-container,
    .mentor-categories,
    .mentor-benefits {
        margin-left: auto;
        margin-right: auto;
    }
    
    .mentor-cta-btn {
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .mentor-benefits {
        flex-direction: column;
    }
    
    .benefit-item {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 15px;
    }
}

@media (max-width: 575.98px) {
    .hero-search-wrapper {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .hero-search-input {
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .hero-search-btn {
        border-radius: 0 0 15px 15px;
        width: 100%;
        height: 50px;
    }
}

/* Hero Content Styles */
.hero-subtitle-top {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #333 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-search-container {
    max-width: 550px;
    margin: 0 auto 0 0;
}

.hero-search-wrapper {
    display: flex;
    position: relative;
    background-color: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.hero-search-wrapper:hover {
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.2);
    transform: translateY(-2px);
}

.hero-search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 18px;
    z-index: 2;
}

.hero-search-input {
    height: 60px;
    padding: 10px 25px 10px 60px;
    font-size: 16px;
    border: none;
    background-color: transparent;
    color: var(--text-color);
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
}

.hero-search-input::placeholder {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.hero-search-input:focus::placeholder {
    opacity: 0.7;
}

.hero-search-btn {
    min-width: 160px;
    border: none;
    background: var(--primary-linear-gradient);
    color: #fff;
    font-weight: 600;
    padding: 0 30px;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mentor Category Pills */
.mentor-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.mentor-category-pill {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.mentor-category-pill:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    text-decoration: none;
}

/* Mentor Benefits styling */
.mentor-benefits {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.benefit-item h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.benefit-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-bottom: 50px;
    }
    
    .hero-search-container,
    .mentor-categories,
    .mentor-benefits {
        margin-left: auto;
        margin-right: auto;
    }
    
    .mentor-cta-btn {
        margin: 0 auto;
    }

    .navbar-nav {
      align-items: start;
      margin-top: 10px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .mentor-benefits {
        flex-direction: column;
    }
    
    .benefit-item {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 15px;
    }
}

@media (max-width: 575.98px) {
    .hero-search-wrapper {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .hero-search-input {
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .hero-search-btn {
        border-radius: 0 0 15px 15px;
        width: 100%;
        height: 50px;
    }
}

/* Featured Mentors Section */
.featured-mentors-section {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
    padding: 6rem 0;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.featured-mentors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZjZiMDAiIGZpbGwtb3BhY2l0eT0iMC4wMiI+PGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMiI+PC9jaXJjbGU+PC9nPjwvZz48L3N2Zz4=');
    opacity: 0.8;
    z-index: 0;
}

.featured-mentors-section .section-header {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

.featured-mentors-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    background-image: linear-gradient(45deg, #1e293b, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.2);
}

@keyframes colorPulse {
    0% {
        text-shadow: 0 0 5px rgba(255,107,0,0.1);
    }
    100% {
        text-shadow: 0 0 15px rgba(255,107,0,0.3);
    }
}

@keyframes underlineGrow {
    0% {
        transform: scaleX(0.8);
        opacity: 0.7;
    }
    100% {
        transform: scaleX(1.05);
        opacity: 1;
    }
}

.featured-mentors-section .section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.featured-mentors-section .section-subtitle::before,
.featured-mentors-section .section-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,0.3), transparent);
}

.featured-mentors-section .section-subtitle::before {
    left: -70px;
}

.featured-mentors-section .section-subtitle::after {
    right: -70px;
}

.mentor-card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff6b00, #ff8c00);
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
    transform-origin: left;
    transform: scaleX(0.6);
}

.mentor-profile-card:hover .mentor-card-top-bar {
    transform: scaleX(1);
}

.mentor-profile-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.mentor-profile-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.2);
}

.mentor-profile-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b00, #ff8c00);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.mentor-profile-card:hover::after {
    transform: scaleX(1);
}

.mentor-profile-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.mentor-profile-avatar {
    position: relative;
    width: 90px;
    height: 90px;
    margin-right: 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 3px solid #fff;
    transition: all 0.3s ease;
}

.mentor-profile-card:hover .mentor-profile-avatar {
    border-color: #ff6b00;
    transform: scale(1.02);
}

.mentor-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    margin-top: 0px;
}

.mentor-profile-card:hover .mentor-profile-img {
    transform: scale(1.08);
}

.mentor-profile-info {
    flex: 1;
    padding-top: 0.25rem;
}

.mentor-profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
    transition: color 0.3s ease;
}

.mentor-profile-card:hover .mentor-profile-name {
    color: #ff6b00;
}

.mentor-profile-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.mentor-profile-rating i {
    font-size: 0.85rem;
    margin-right: 2px;
}

.mentor-profile-rating i.rated {
    color: #ffc107;
}

.mentor-profile-rating i.unrated {
    color: #e2e8f0;
}

.mentor-profile-rating span {
    font-size: 0.8rem;
    color: #64748b;
    margin-left: 5px;
}

.mentor-profile-title {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.4;
}

.mentor-profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mentor-profile-skill {
    background: #f7fafc;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mentor-profile-card:hover .mentor-profile-skill {
    background: #ff6b00;
    color: #fff;
}

.mentor-profile-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    margin: 0.5rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.mentor-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.mentor-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mentor-stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.attendance-meter {
    width: 80px;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.attendance-bar {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #10b981);
    border-radius: 3px;
}

.mentor-stat-divider {
    width: 1px;
    height: 40px;
    background-color: #f1f5f9;
    margin: 0 0.5rem;
}

.mentor-profile-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
}

.mentor-profile-price {
    display: flex;
    flex-direction: column;
}

.mentor-price-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.mentor-profile-rate {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.mentor-profile-period {
    font-size: 0.85rem;
    color: #64748b;
    margin-left: 0.25rem;
}

.country-flag {
    width: 24px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.6);
}

.verified-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    font-weight: 600;
    color: #4361ee;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.verified-badge i {
    color: #4361ee;
    font-size: 16px;
}

.mentor-profile-card:hover .verified-badge {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.15);
}

.available-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25) !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    font-weight: 600;
    color: white;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.available-badge i {
    color: white;
    font-size: 16px;
}

.mentor-profile-card:hover .available-badge {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25) !important;
}

.verified-badge.hovered,
.available-badge.hovered {
    transform: translateY(-5px);
}

.available-badge.hovered {
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25) !important;
}

.verified-badge.hovered {
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.15);
}

@media (max-width: 991.98px) {
    .featured-mentors-section .section-title {
        font-size: 2rem;
    }
    
    .mentor-profile-card {
        padding: 1.5rem;
    }
    
    .mentor-profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .mentor-profile-name {
        font-size: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .featured-mentors-section .section-title {
        font-size: 1.75rem;
    }
    
    .featured-mentors-section .section-subtitle {
        font-size: 1rem;
    }
    
    .mentor-profile-card {
        padding: 1.25rem;
    }
    
    .mentor-profile-avatar {
        width: 70px;
        height: 70px;
    }
    
    .mentor-profile-name {
        font-size: 1.1rem;
    }
    
    .mentor-profile-stats {
        padding: 1rem 0;
    }
    
    .mentor-stat-divider {
        height: 35px;
    }
    
    .mentor-profile-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mentor-profile-price {
        margin-bottom: 1rem;
    }
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 767.98px) {
    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.mentor-badges {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

.mentor-profile-bio {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0.75rem 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mentor-profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mentor-profile-skill {
    background: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-skills {
    background: #e2e8f0;
    color: #64748b;
}

.mentor-profile-card:hover .mentor-profile-skill {
    background: #fdba74;
    color: #7c2d12;
}

.mentor-profile-card:hover .more-skills {
    background: #fb923c;
    color: #7c2d12;
}

.mentor-experience-section {
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-top: 1px solid #f1f5f9;
}

.experience-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.experience-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

@media (max-width: 767.98px) {
    .mentor-profile-bio {
        -webkit-line-clamp: 2;
    }
    
    .mentor-profile-skills {
        gap: 0.35rem;
    }
    
    .mentor-profile-skill {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
}

.custom-mentor-carousel {
    position: relative;
    margin: 0 auto;
    overflow: visible;
    padding: 0 20px;
}

.custom-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 10px 5px;
}

.custom-carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    margin: 0;
    padding: 0;
}

.custom-carousel-track > * {
     flex: 0 0 calc(25% - 20px);
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    min-width: 0;
    background-color: transparent !important;
}

.custom-carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 15px;
    gap: 15px;
    padding: 0;
    position: relative;
    z-index: 10;
}

.custom-carousel-prev,
.custom-carousel-next {
    background: #ffffff;
    color: #3d5170;
    border: 1px solid #e6e9ec;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 10;
    min-width: 40px;
    position: relative;
    overflow: visible;
}

.custom-carousel-prev i,
.custom-carousel-next i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    line-height: 1;
}

.custom-carousel-prev:hover,
.custom-carousel-next:hover {
    background-color: #3d5170;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.custom-carousel-prev:focus,
.custom-carousel-next:focus {
    outline: none;
}

.custom-carousel-prev:disabled,
.custom-carousel-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.custom-carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.custom-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #dce0e5;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.custom-carousel-dot.active {
    background-color: #3d5170;
    transform: scale(1.2);
}

@media (max-width: 767.98px) {
    .custom-carousel-track {
        padding: 0;
    }
    
    .custom-carousel-track > * {
        width: 100% !important;
        padding: 10px 5px;
    }
    
    .custom-carousel-container {
        padding: 0;
        margin: 0 -10px;
    }
    
    .custom-carousel-prev,
    .custom-carousel-next {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    
    .custom-mentor-carousel {
        padding: 0 15px;
        overflow: visible;
        margin-bottom: 15px;
    }
    
    .custom-carousel-nav {
        margin-top: 20px;
        margin-bottom: 10px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 0 25px;
    }
    
    .custom-carousel-dots {
        justify-content: center;
        flex: 1;
    }
}

.mentor-card {
    position: relative;
    margin-bottom: 20px;
    margin: 0 auto;
    max-width: 100%;
}

.mentor-card .cards {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    height: 100%;
    transform: none !important;
}

.mentor-card .cards:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.mentor-card {
    transition: all 0.3s ease;
    margin: 0;
    border: none !important;
    border-radius: var(--border-radius) !important;
    overflow: visible !important;
    background-color: transparent !important;
}

.mentor-card .cards {
    background: #ffffff;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.03) 0px 8px 32px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    position: relative;
    margin: 0;
}

.mentor-card .cards:hover {
    transform: translateY(-10px);
    box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.05) 0px 16px 56px !important;
    border-color: rgba(78, 83, 224, 0.1) !important;
    animation: cardHighlight 1.5s ease-in-out;
}

.mentor-card .uitem-bg {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    position: relative;
    background-color: #f0f2f5;
    overflow: hidden;
}

.mentor-card .uitem-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mentor-card .cards:hover .uitem-bg:before {
    opacity: 1;
}

.mentor-card .verified-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    font-weight: 600;
    color: #4361ee;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.mentor-card .verified-badge i {
    color: #4361ee;
    font-size: 16px;
}

.mentor-card .cards:hover .verified-badge {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.15);
}

.mentor-card .available-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25) !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    font-weight: 600;
    color: white;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.mentor-card .available-badge i {
    color: white;
    font-size: 16px;
}

.mentor-card .cards:hover .available-badge {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25) !important;
}

.mentor-card .verified-badge.hovered,
.mentor-card .available-badge.hovered {
    transform: translateY(-5px);
}

.mentor-card .available-badge.hovered {
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25) !important;
}

.mentor-card .verified-badge.hovered {
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.15);
}

.mentor-card .card-body {
    padding: 20px !important;
    position: relative;
    z-index: 2;
}

.mentor-card .card-body:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(78, 83, 224, 0.2), rgba(78, 83, 224, 0));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.mentor-card .cards:hover .card-body:after {
    transform: scaleX(1);
}

.mentor-card .mentor_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    line-height: 1.3;
}

.mentor-card .flag-cimg {
    width: 24px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mentor-card .fs-13 {
    font-size: 13px !important;
    line-height: 1.5;
    color: #666;
}

.mentor-card .fs-13 i {
    color: #4e53e0;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.mentor-card .cards:hover .fs-13 i {
    transform: translateY(-2px);
}

.mentor-card .brr-1 {
    width: 1px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
}

.mentor-card .fs-16 {
    font-size: 16px !important;
    font-weight: 600;
    color: #333;
}

.mentor-card .text-muted {
    color: #888 !important;
}

.mentor-card .mb-3 {
    margin-bottom: 15px !important;
}

.mentor-card .fw-500 {
    font-weight: 500;
}

/* Highlight animation on hover */
@keyframes cardHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 83, 224, 0.2);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(78, 83, 224, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(78, 83, 224, 0);
    }
}

@supports (-webkit-touch-callout: none) {
    .custom-carousel-track {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .mentor-card .cards {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .custom-carousel-track > * {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

.slider-item {
    box-sizing: border-box;
    padding: 10px;
}

.custom-carousel-track .slider-item {
    flex-shrink: 0;
}

.custom-carousel-track .uitem-bg {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    position: relative;
    background-color: #f0f2f5;
    overflow: hidden;
}

.custom-carousel-track .mentor-card {
    transition: all 0.3s ease;
    height: 100%;
}

.custom-carousel-track .cards {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.custom-carousel-track .verified-badge,
.custom-carousel-track .available-badge {
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.custom-carousel-track .verified-badge {
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #4361ee;
}

.custom-carousel-track .available-badge {
    top: 10px;
    left: 10px;
    background: linear-gradient(145deg, #4361ee, #2a4df4);
    color: white;
}

@media screen and (max-width: 767.98px) {
    .custom-carousel-track .uitem-bg {
        height: 220px;
    }
    
    .slider-item {
        padding: 10px 5px;
    }
    
    .custom-carousel-track {
        will-change: transform;
        -webkit-overflow-scrolling: touch;
    }
    
    .custom-carousel-container {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

@media screen and (max-width: 575.98px) {
    .custom-carousel-track .uitem-bg {
        height: 180px;
    }
}

@media (min-width: 1200px) {
    .slider-item {
        padding: 10px 8px;
    }
    
    .custom-carousel-track > * {
        flex: 0 0 25%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .slider-item {
        padding: 10px 8px;
    }
    
    .custom-carousel-track > * {
        flex: 0 0 33.333%;
    }
}

.custom-carousel-prev i.bi,
.custom-carousel-next i.bi {
    display: inline-block;
    width: auto;
    height: auto;
    position: static;
    transform: none;
    line-height: 1;
    font-size: 20px;
}

@media (max-width: 767.98px) {
    .custom-carousel-prev i.bi,
    .custom-carousel-next i.bi {
        font-size: 18px;
    }
    
    .custom-carousel-nav {
        position: relative;
        overflow: visible;
        width: 100%;
        padding: 10px 0;
    }
    
    .custom-carousel-nav {
        gap: 10px;
    }
}