/* ===== GLOBAL STYLES ===== */
:root {
  /* Color Scheme */
  --primary: #0284C7;
  --primary-dark: #0369A1;
  --primary-light: #38BDF8;
  --secondary: #64748B;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --dark: #0F172A;
  --light: #F8FAFC;
  --gray-50: #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;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Animations */
  --transition-fast: 150ms;
  --transition-base: 250ms;
  --transition-slow: 350ms;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --light: #0F172A;
    --dark: #F8FAFC;
  }
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, var(--gray-50) 0%, #FFFFFF 100%);
  color: var(--gray-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* ===== HEADER STYLES ===== */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all var(--transition-base) ease;
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform var(--transition-fast) ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-icon {
  position: relative;
  transition: all var(--transition-fast) ease;
}

.header-icon:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.header-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast) ease;
}

.header-icon:hover::after {
  width: 100%;
}

/* ===== FOOTER STYLES ===== */
.main-footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--gray-300);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--primary);
}

.footer-link {
  color: var(--gray-400);
  transition: all var(--transition-fast) ease;
  display: inline-block;
}

.footer-link:hover {
  color: white;
  transform: translateX(4px);
}

/* Mobile Bottom Navigation */
.mobile-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
  position: relative;
  transition: all var(--transition-fast) ease;
}

.mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

/* ===== CARD STYLES ===== */
.course-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  position: relative;
}

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

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition-base) ease;
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.course-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow) ease;
}

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

.course-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== SEARCH BAR ===== */
.search-container {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  font-size: 1rem;
  transition: all var(--transition-fast) ease;
  background: white;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

/* ===== BANNER SLIDER ===== */
.banner-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.banner-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
  flex: 0 0 100%;
  position: relative;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 2rem;
  color: white;
}

.banner-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.banner-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast) ease;
}

.banner-dot.active {
  background: white;
  width: 1.5rem;
  border-radius: 0.25rem;
}

/* ===== CATEGORY GRID ===== */
.category-card {
  background: white;
  padding: 1rem;
  border-radius: var(--radius);
  transition: all var(--transition-base) ease;
  border: 1px solid var(--gray-200);
  cursor: pointer;
}

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

.category-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(2, 132, 199, 0.05));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.category-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

/* ===== ADMIN SIDEBAR ===== */
.admin-sidebar {
  background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--gray-300);
  overflow-y: auto;
  scrollbar-width: thin;
}

.admin-sidebar::-webkit-scrollbar {
  width: 4px;
}

.admin-sidebar::-webkit-scrollbar-track {
  background: var(--gray-800);
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: all var(--transition-fast) ease;
  position: relative;
  overflow: hidden;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform var(--transition-fast) ease;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateX(4px);
}

.sidebar-link.active {
  background: rgba(2, 132, 199, 0.2);
  color: white;
}

.sidebar-link.active::before {
  transform: scaleY(1);
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition-fast) ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.slide-in {
  animation: slideIn 0.3s ease forwards;
}

/* ===== LOADING STATES ===== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .course-card {
    width: 280px;
    flex-shrink: 0;
  }
  
  .banner-overlay {
    padding: 1rem;
  }
  
  .banner-overlay h3 {
    font-size: 1rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.3);
}

.hover-scale {
  transition: transform var(--transition-fast) ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* ===== DESKTOP CREATIVE ADD-ONS (Only for screens > 768px) ===== */
@media (min-width: 769px) {
  /* Floating Gradient Blobs (Background decoration) */
  body {
    position: relative;
    overflow-x: hidden;
  }
  
  .desktop-blob {
    position: fixed;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(2,132,199,0.08) 0%, rgba(56,189,248,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
  }
  
  .blob-1 {
    top: -10vh;
    left: -10vw;
    animation-duration: 25s;
  }
  
  .blob-2 {
    bottom: -20vh;
    right: -5vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, rgba(16,185,129,0) 70%);
    animation-duration: 30s;
    animation-direction: alternate-reverse;
  }
  
  @keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
  }
  
  /* 3D Hover Effect on Course Cards (Desktop only) */
  .course-card {
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
  }
  
  .course-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(1deg);
    box-shadow: var(--shadow-xl), 0 20px 35px -12px rgba(2,132,199,0.3);
  }
  
  /* Glassmorphism for Header (Desktop only) */
  .main-header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
  }
  
  /* Animated Gradient Border on Category Cards */
  .category-card {
    position: relative;
    overflow: hidden;
    background: white;
  }
  
  .category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), #a855f7, var(--primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .category-card:hover::after {
    opacity: 1;
  }
  
  /* Glowing Icon Animation */
  .category-icon i {
    transition: all 0.2s ease;
  }
  
  .category-card:hover .category-icon i {
    text-shadow: 0 0 8px var(--primary-light);
    transform: scale(1.1);
  }
  
  /* Creative Scrollbar (Desktop) */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }
  
  /* Banner Slider Creative Overlay Enhancements */
  .banner-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    padding: 2rem 2.5rem;
  }
  
  .banner-overlay h3 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
  
  /* Floating Search Bar effect */
  .search-container {
    transition: transform 0.2s ease;
  }
  
  .search-container:focus-within {
    transform: scale(1.01);
  }
  
  .search-input {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
  }
  
  .search-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(2,132,199,0.15);
  }
  
  /* Animated "View All" link */
  a.text-primary {
    position: relative;
    font-weight: 600;
  }
  
  a.text-primary::after {
    content: '→';
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.2s ease;
  }
  
  a.text-primary:hover::after {
    transform: translateX(4px);
  }
  
  /* Footer creative gradient line animation */
  .main-footer::before {
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), #a855f7, var(--primary));
    background-size: 200% auto;
    animation: gradientMove 3s linear infinite;
  }
  
  @keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
  }
}

/* ===== DESKTOP: Remove side spaces and reduce heights (>=769px) ===== */
@media (min-width: 769px) {
  /* ----- Navbar (Header) full width, no horizontal padding ----- */
  .main-header .max-w-7xl {
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Reduce header height on desktop */
  .main-header .py-3 {
    
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  /* Optional: logo size adjust if needed */
  .header-logo {
    font-size: 1.25rem; /* slight reduction */
  }
  
  /* ----- Banner slider full width, remove side padding ----- */
  .banner-slider + div,  /* parent div with px-4 */
  .px-4.mb-6:has(.banner-slider) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Ensure the slider itself touches edges */
  .banner-slider {
    border-radius: 0 !important; /* removes rounded corners on desktop */
  }
  
  /* Reduce banner height on desktop (smaller than 16:9) */
  .banner-slider .aspect-video {
    aspect-ratio: 21 / 9 !important; /* shorter height */
    max-height: 400px; /* optional: control max height */
  }
  
  /* Adjust overlay text size and padding for smaller banner */
  .banner-overlay {
    padding: 1rem 1.5rem !important;
  }
  .banner-overlay h3 {
    font-size: 1.25rem !important;
  }
  .banner-overlay p {
    font-size: 0.75rem !important;
  }
}

/* ===== DESKTOP NAVBAR & SEARCH BAR ADJUSTMENTS ===== */
@media (min-width: 769px) {
  /* Navbar height और भी कम */
  .main-header .py-3 {
   
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  /* Logo font size बढ़ाया */
  .header-logo {
    font-size: 1.75rem !important; /* 28px */
  }
  /* Search input छोटा और साफ */
  .search-input {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
  }
  .search-container button {
    padding: 0.25rem 0.75rem;
  }
}

/* ===== BANNER FULL WIDTH (desktop) - कोई साइड स्पेस नहीं ===== */
@media (min-width: 769px) {
  /* Banner के parent div से padding हटाओ */
  .px-4.mb-6:has(.banner-slider) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .banner-slider {
    border-radius: 0 !important;
  }
  /* Video/image full width and height adjust */
  .banner-slider .aspect-video {
    aspect-ratio: 21 / 9 !important;
    max-height: 450px;
  }
  /* Overlay text thoda adjust */
  .banner-overlay {
    padding: 1rem 2rem !important;
  }
  .banner-overlay h3 {
    font-size: 1.5rem !important;
  }
}

/* ===== FULL WIDTH BANNER ===== */
@media (min-width: 769px) {
  .banner-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0 !important;
  }
  .banner-slider .aspect-video {
    aspect-ratio: 24 / 8 !important;
    max-height: 520px;
  }
  .banner-slide video,
  .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* =========================================
   PREMIUM CREATIVE NAVBAR
========================================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 40px rgba(2,132,199,0.08);
}

/* ===== NAV CONTAINER ===== */
.main-header .w-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  background: linear-gradient(90deg, #062a41 0%, #0a4d6e 100%);
}

/* ===== LOGO ===== */
.header-logo {
  font-size: 2.4rem !important;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #0284C7, #38BDF8, #7C3AED);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: logoGradient 6s ease infinite;
  transition: all 0.3s ease;
}
.header-logo:hover {
  transform: scale(1.05) rotate(-1deg);
}
@keyframes logoGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== PREMIUM SEARCH ===== */
.premium-search {
  width: 100%;
  max-width: 760px;
  position: relative;
}
.premium-search .search-input {
  height: 68px;
  border-radius: 999px;
  padding-left: 70px;
  padding-right: 160px;
  font-size: 1.05rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}
.premium-search .search-input:focus {
  transform: scale(1.02);
  border-color: rgba(2,132,199,0.35);
  box-shadow: 0 10px 40px rgba(2,132,199,0.18);
}
.premium-search .search-icon {
  left: 28px;
  font-size: 1.1rem;
  color: #0284C7;
}
.premium-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  background: linear-gradient(135deg, #0284C7, #0EA5E9);
  color: white;
  box-shadow: 0 10px 20px rgba(2,132,199,0.25);
  transition: all 0.3s ease;
}
.premium-search button:hover {
  transform: translateY(-50%) scale(1.06);
}

/* ===== LOGIN BUTTON ===== */
.premium-login-btn {
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #0284C7, #0EA5E9);
  color: white;
  box-shadow: 0 10px 30px rgba(2,132,199,0.25);
  transition: all 0.3s ease;
}
.premium-login-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 40px rgba(2,132,199,0.32);
}

/* ===== PROFILE ===== */
.premium-profile {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.premium-profile:hover {
  transform: translateY(-2px) scale(1.08);
  color: #0284C7;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .main-header .w-full {
    min-height: 72px;
  }
  .header-logo {
    font-size: 1.8rem !important;
  }
}

/* =========================================
   CLEAN PREMIUM NAVBAR FIX
========================================= */
.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

/* ===== SEARCH WRAPPER ===== */
.desktop-search-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 10px;
}

/* ===== SEARCH BAR ===== */
.premium-search {
  width: 100%;
  max-width: 620px;
}

/* ===== SEARCH INPUT ===== */
.premium-search .search-input {
  height: 54px !important;
  border-radius: 999px;
  padding-left: 58px;
  padding-right: 130px;
  font-size: 0.95rem;
}

/* ===== SEARCH ICON ===== */
.premium-search .search-icon {
  left: 22px;
  font-size: 1rem;
}

/* ===== SEARCH BUTTON ===== */
.premium-search button {
  height: 42px !important;
  right: 7px;
  padding: 0 22px;
  font-size: 0.9rem;
}

/* ===== PROFILE ===== */
.premium-profile {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

/* ===== LOGIN BUTTON ===== */
.premium-login-btn {
  height: 50px;
  padding: 0 22px;
  flex-shrink: 0;
}

/* ===== LOGO ===== */
.header-logo {
  flex-shrink: 0;
}

/* ===== DESKTOP ===== */
@media (min-width: 769px) {
  .main-header .w-full {
    min-height: 78px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .navbar-wrapper {
    gap: 10px;
  }
}

/* ====== FINAL RESPONSIVE FIXES (CORRECTED) ====== */
/* 1. Navbar – height & spacing for all devices */
.main-header .w-full {
  min-height: 70px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
@media (min-width: 769px) {
  .main-header .w-full {
    min-height: 80px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

/* 2. Logo – perfect responsive size */
.header-logo {
  font-size: 1.6rem !important;
}
@media (min-width: 769px) {
  .header-logo {
    font-size: 2.2rem !important;
  }
}

/* 3. Desktop search bar – LEFT ALIGNED (fix) */
@media (min-width: 769px) {
  .desktop-search-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-start !important;  /* Left align */
    margin-left: 20px !important;
    margin-right: 0 !important;
  }
  .premium-search {
    max-width: 520px;
    width: 100%;
  }
  .premium-search .search-input {
    height: 48px !important;
    padding-left: 52px !important;
    padding-right: 110px !important;
    font-size: 0.95rem;
  }
  .premium-search button {
    height: 38px !important;
    padding: 0 20px !important;
  }
}

/* 4. Mobile search bar (in main content) – full width */
.block.md\:hidden .search-input {
  height: 48px;
  font-size: 1rem;
}
.block.md\:hidden .search-container button {
  height: 38px;
  padding: 0 18px;
}

/* 5. Banner – full width on desktop, NO left/right gap */
@media (min-width: 769px) {
  .banner-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    border-radius: 0 !important;
  }
  .banner-slider .aspect-video {
    aspect-ratio: 24 / 8 !important;
    max-height: 460px;
  }
  .banner-slide video,
  .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Remove any parent padding that could cause gap */
  .mb-6:has(.banner-slider) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* 6. Mobile navbar icons – properly sized */
@media (max-width: 768px) {
  .navbar-wrapper {
    gap: 12px;
  }
  .premium-profile {
    width: 44px !important;
    height: 44px !important;
  }
  .premium-login-btn {
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 0.85rem;
  }
  .header-icon .fa-search {
    font-size: 1.2rem;
    color: white;
  }
}
/* ===== FINAL DESKTOP NAVBAR FIX ===== */

@media (min-width: 769px) {

  .navbar-wrapper {

    display: flex;
    align-items: center;
    justify-content: flex-start !important;

    gap: 28px;

  }

  /* SEARCH BAR LEFT */
  .desktop-search-wrapper {

    flex: unset !important;

    width: 540px;

    margin-left: 0 !important;

    margin-right: auto !important;

    justify-content: flex-start !important;

  }

  /* SEARCH WIDTH */
  .premium-search {

    width: 540px !important;
    max-width: 540px !important;

  }

  /* PROFILE RIGHT */
  .navbar-wrapper > .flex.items-center.gap-3 {

    margin-left: auto !important;

  }

}
/* =====================================
   FINAL DESKTOP FIX
===================================== */

@media (min-width: 769px) {

  /* NAVBAR */
  .navbar-wrapper{

    display:flex !important;
    align-items:center !important;
    width:100% !important;

  }

  /* LOGO LEFT */
  .header-logo{

    margin-right:auto !important;

  }

  /* SEARCHBAR RIGHT */
  .desktop-search-wrapper{

    flex:none !important;

    width:560px !important;

    margin-left:auto !important;

    margin-right:18px !important;

    display:flex !important;
    justify-content:flex-end !important;

  }

  .premium-search{

    width:560px !important;
    max-width:560px !important;

  }

  /* PROFILE RIGHT EDGE */
  .navbar-wrapper > .flex.items-center.gap-3,
  .navbar-wrapper > .flex.items-center.gap-3.md\:gap-4{

    margin-left:0 !important;

  }

  /* ===== FULL WIDTH BANNER ===== */

  .mb-6{

    width:100vw !important;

    margin-left:calc(50% - 50vw) !important;

    margin-right:calc(50% - 50vw) !important;

    padding:0 !important;

  }

  .banner-slider{

    width:100vw !important;

    border-radius:0 !important;

    margin:0 !important;

  }

  .banner-slide,
  .banner-track{

    width:100% !important;

  }

  .banner-slide img,
  .banner-slide video{

    width:100% !important;
    height:100% !important;

    object-fit:cover !important;

  }

  .banner-slider .aspect-video{

    aspect-ratio:24 / 8 !important;

    max-height:520px !important;

    border-radius:0 !important;

  }

}

/* ===== FINAL FULL WIDTH BANNER FIX ===== */

html,
body {
  overflow-x: hidden;
}

main {
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

/* banner wrapper */
.mb-6 {
  width: 100vw !important;
  max-width: 100vw !important;

  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  padding: 0 !important;
}

/* slider */
.banner-slider {
  width: 100vw !important;
  max-width: 100vw !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 0 !important;
  overflow: hidden;
}

/* track */
.banner-track {
  width: 100% !important;
}

/* slide */
.banner-slide {
  width: 100vw !important;
  min-width: 100vw !important;
}

/* image/video */
.banner-slide img,
.banner-slide video,
.banner-slider .aspect-video {
  width: 100% !important;
  height: 520px !important;
  object-fit: cover !important;

  border-radius: 0 !important;
}

/* mobile responsive */
@media (max-width: 768px) {
  .banner-slide img,
  .banner-slide video,
  .banner-slider .aspect-video {
    height: 220px !important;
  }
}

/* ===== FINAL SEARCHBAR HEIGHT FIX ===== */

.premium-search{
  height: 48px !important;
  width: 420px !important;
}

.premium-search .search-input{

  height: 48px !important;
  min-height: 42px !important;

  padding-top: 0 !important;
  padding-bottom: 0 !important;

  line-height: 48px !important;

  padding-left: 45px !important;
  padding-right: 105px !important;

  font-size: 14px !important;

}

.premium-search button{

  height: 32px !important;

  top: 50% !important;
  transform: translateY(-50%) !important;

  padding: 0 14px !important;

  font-size: 13px !important;

}

.premium-search .search-icon{

  left: 16px !important;

  font-size: 13px !important;

}
