:root {
  --primary: #6C63FF;
  --primary-dark: #554fd8;
  --secondary: #FF6584;
  --accent: #36D1DC;
  --dark: #1a1a2e;
  --light: #f8f9ff;
  --gray: #6c757d;
  --success: #00b894;
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  overflow-x: hidden;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 10000;
  display: flex !important; /* Force flex when shown */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
  animation: pulse 2s infinite;
}

.preloader-logo i {
  font-size: 48px;
  color: white;
}

.preloader-text {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.preloader-subtext {
  color: var(--gray);
  margin-top: 10px;
  font-size: 14px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  transition: all 0.4s ease;
  z-index: 1000;
  position: sticky;
  top: 0;
}

.navbar.scrolled {
  padding: 8px 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.navbar-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: 0 8px 15px rgba(108, 99, 255, 0.2);
  transition: all 0.3s;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.1) rotate(5deg);
}

.navbar-logo i {
  font-size: 22px;
  color: white;
}

.location-indicator {
  background: rgba(108, 99, 255, 0.1);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 14px;
  margin-left: 20px;
  color: var(--dark);
  display: flex;
  align-items: center;
}

.location-indicator i {
  color: var(--primary);
  margin-right: 8px;
}

.nav-search {
  border-radius: 50px;
  border: 2px solid #e2e8f0;
  padding: 10px 20px;
  width: 350px;
  transition: all 0.3s;
}

.nav-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
  width: 400px;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon {
  position: relative;
  color: var(--dark);
  font-size: 20px;
  transition: all 0.3s;
}

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

.nav-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary);
  color: white;
  font-size: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
}

/* Premium Buttons */
.btn-ayudoo {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border: none;
  color: white;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ayudoo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
  color: white;
}

.btn-vendor {
  background: linear-gradient(90deg, var(--secondary), #ff4757);
  box-shadow: 0 4px 15px rgba(255, 101, 132, 0.2);
}

.btn-vendor:hover {
  box-shadow: 0 10px 20px rgba(255, 101, 132, 0.4);
}

/* Form Styles */
.form-section {
  padding: 40px;
  margin-bottom: 30px;
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control {
  border-radius: 12px;
  padding: 12px 20px;
  border: 2px solid #eee;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

/* Selection Cards */
.selection-card {
  cursor: pointer;
  transition: all 0.4s;
  height: 100%;
  text-align: center;
  padding: 40px;
}

.selection-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.selection-icon {
  font-size: 50px;
  margin-bottom: 20px;
  color: var(--primary);
}

/* Section Header */
.premium-title {
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

/* Footer Styling */
footer {
  background: var(--dark);
  color: white;
  padding: 80px 0 30px;
}

footer h6 {
  font-weight: 700;
  margin-bottom: 25px;
  color: white;
  font-size: 1.1rem;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: all 0.3s;
}

footer a:hover {
  color: white;
  transform: translateX(5px);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s;
  color: white;
  font-size: 16px;
}

/* Facebook */
.social-icons a:nth-child(1) {
  background: #1877F2;
}

/* Instagram (gradient) */
.social-icons a:nth-child(2) {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

/* Twitter */
.social-icons a:nth-child(3) {
  background: #1DA1F2;
}

/* LinkedIn */
.social-icons a:nth-child(4) {
  background: #0A66C2;
}

/* YouTube */
.social-icons a:nth-child(5) {
  background: #FF0000;
}

/* Hover effect */
.social-icons a:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

/* Page Specific Helpers */
.form-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.form-header.vendor {
    background: linear-gradient(135deg, var(--secondary), #ff4757);
}

.step-card { margin-bottom: 30px; }
.step-number {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.form-header.vendor .step-number {
    background: var(--secondary);
}

.category-checkbox {
    display: none;
}
.category-label {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #eee;
    border-radius: 50px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.category-checkbox:checked + .category-label {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.header-bg {
    background: linear-gradient(135deg, var(--dark), #2d2d4a);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.selection-section {
    padding: 60px 0 100px;
}

.login-page-wrapper {
    background: linear-gradient(135deg, #f8f9ff 0%, #e2e8f0 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-container {
    max-width: 450px;
    width: 100%;
}

.auth-toggle {
    cursor: pointer;
    color: var(--primary);
    font-weight: 600;
}

.hidden { display: none; }

/* Live Chat Button */
.live-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
  z-index: 1000;
  transition: all 0.3s;
}

.live-chat:hover {
  transform: scale(1.1);
  color: white;
}

/* Responsive adjustments for navbar */
@media (max-width: 992px) {
  .navbar-collapse {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
  }
  .nav-search {
    width: 100% !important;
    margin-bottom: 15px;
  }
}

.navbar-brand img {
    object-fit: contain;
}
/* Hero Section */
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-title span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.location-highlight {
  display: inline-flex;
  align-items: center;
  background: rgba(108, 99, 255, 0.1);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 30px;
}

.location-highlight i {
  margin-right: 8px;
}

/* Category Cards */
.category-card {
  border-radius: 20px;
  padding: 25px 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  background: white;
  border: 2px solid #f1f5f9;
  text-align: center;
  height: 100%;
}

.category-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  border-color: var(--primary);
}

.category-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 28px;
  transition: all 0.3s;
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
}

.category-card p {
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.category-card small {
  color: var(--gray);
  font-size: 0.85rem;
}

/* Hero Carousel */
.hero-carousel {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.carousel-item {
  height: 500px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 20px;
  bottom: 40px;
  left: 20px;
  right: 20px;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 5px;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Service Cards */
.service-card {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.12);
}

.service-card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

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

.rating {
  color: #ffc107;
  font-size: 0.9rem;
}

.price {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.badge-popular {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--secondary);
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
}

/* Packages Section */
.package-card {
  border-radius: 24px;
  padding: 45px 35px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid #f1f5f9;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(108, 99, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.2);
}

.package-card.popular {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fff 0%, #f9f9ff 100%);
}

.package-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--secondary);
  color: white;
  padding: 6px 40px;
  font-size: 0.8rem;
  font-weight: 700;
  transform: rotate(45deg);
}

.package-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 20px 0;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.package-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.package-features li i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 0.9rem;
}

/* Promo Banner */
.promo-banner {
  border-radius: 25px;
  padding: 60px;
  background: linear-gradient(135deg, var(--dark), #2d2d4a);
  color: white;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=800');
  background-size: cover;
  opacity: 0.15;
}

.promo-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.promo-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.promo-image {
  max-width: 350px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Why Choose Us */
.feature-card {
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  background: white;
  border: 2px solid #f1f5f9;
  transition: all 0.3s;
  height: 100%;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}



section {
  padding: 60px 0;
}

.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}

/* Additional Home Page Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .promo-banner {
    padding: 40px 30px;
    text-align: center;
  }
  .promo-image {
    margin-top: 30px;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .category-card {
    padding: 20px 10px;
  }
}

/* ============================
   Policy / Legal Pages
   ============================ */

/* Page Hero (shared across policy, terms, cancellation, refund) */
.page-hero {
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--dark);
}

.page-hero h1 span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.last-updated {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Page Sub-Navigation (policy tabs) */
.page-nav {
  background: white;
  padding: 20px 0;
  border-bottom: 2px solid rgba(108, 99, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 50px;
  transition: all 0.3s;
  margin: 0 5px;
}

.page-nav-link:hover,
.page-nav-link.active {
  background: var(--primary);
  color: white;
}

/* Page Content Sections */
.page-content {
  padding: 60px 0;
}

.page-section {
  margin-bottom: 40px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  border: 2px solid #f1f5f9;
  transition: all 0.3s;
}

.page-section:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.page-section h2 {
  color: var(--primary);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(108, 99, 255, 0.2);
}

.page-section h3 {
  color: var(--dark);
  margin: 25px 0 15px;
  font-size: 1.4rem;
}

.page-section p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.8;
}

.page-section ul {
  margin: 15px 0 15px 20px;
  color: #555;
}

.page-section li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 10px;
  line-height: 1.6;
}

.page-section li:before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: -15px;
}

/* Highlight & Warning Boxes */
.highlight-box {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(54, 209, 220, 0.05));
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 10px;
}

.warning-box {
  background: linear-gradient(135deg, rgba(255, 101, 132, 0.05), rgba(255, 193, 7, 0.05));
  border-left: 4px solid var(--secondary);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 10px;
}

/* Back Home Button */
.back-home {
  background: var(--primary);
  color: white;
  padding: 12px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
}

.back-home:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  color: white;
}

/* Cancellation Page — Timeline */
.timeline {
  position: relative;
  padding: 30px 0;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: translateX(-50%);
  border-radius: 10px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 45%;
  padding: 25px;
  background: white;
  border-radius: 15px;
  border: 2px solid #f1f5f9;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-item:nth-child(odd)  { margin-left: auto; }
.timeline-item:nth-child(even) { margin-right: auto; }

.timeline-item:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  top: 30px;
}

.timeline-item:nth-child(odd):before  { right: -60px; }
.timeline-item:nth-child(even):before { left:  -60px; }

.timeline-time {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Cancellation — Charge Badges */
.no-charge {
  background: linear-gradient(135deg, #4CAF50, #8BC34A);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.partial-charge {
  background: linear-gradient(135deg, #FF9800, #FFC107);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.full-charge {
  background: linear-gradient(135deg, #F44336, #E91E63);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

/* Refund Page — Flow Steps */
.refund-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  position: relative;
}

.refund-step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.refund-step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 40px;
  right: -50%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 32px;
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

/* Refund Page — Table */
.refund-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.refund-table th {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: left;
  padding: 15px 20px;
  font-weight: 600;
}

.refund-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eef1ff;
}

.refund-table tr:nth-child(even) { background: #f8f9ff; }
.refund-table tr:hover           { background: #eef1ff; }

.refund-badge {
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.full-refund    { background: rgba(76, 175, 80, 0.1);  color: #2E7D32; }
.partial-refund { background: rgba(255, 152, 0, 0.1);  color: #EF6C00; }
.no-refund      { background: rgba(244, 67, 54, 0.1);  color: #C62828; }

/* Refund Page — Payment Method Cards */
.payment-method {
  background: white;
  border: 2px solid #eef1ff;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.payment-method:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.payment-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 15px;
}

.refund-timeline {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 10px;
}

/* Refund Page — FAQ */
.faq-item {
  border: 2px solid #f1f5f9;
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  padding: 20px;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  background: #f8f9ff;
}

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

.faq-item.active .faq-question {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(54, 209, 220, 0.05));
}

/* Legal Pages — Responsive */
@media (max-width: 992px) {
  .page-hero h1 {
    font-size: 2.8rem;
  }
  .timeline:before {
    left: 30px;
  }
  .timeline-item {
    width: calc(100% - 60px);
    margin-left: 60px !important;
    margin-right: 0 !important;
  }
  .timeline-item:before {
    left: -45px !important;
    right: auto !important;
  }
  .refund-flow {
    flex-direction: column;
  }
  .refund-step {
    margin-bottom: 40px;
    width: 100%;
  }
  .refund-step:not(:last-child):after {
    top: auto;
    bottom: -40px;
    right: 50%;
    width: 3px;
    height: 40px;
    transform: translateX(50%);
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.2rem;
  }
  .page-section {
    padding: 25px;
  }
  .refund-table {
    display: block;
    overflow-x: auto;
  }
  .timeline-item {
    padding: 20px;
  }
}

/* ========== Services Button & Mega Dropdown ========== */
.btn-services-nav {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-services-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.35);
  color: white !important;
}

/* Mega Dropdown Wrapper */
.navbar,
.navbar > .container,
.navbar .navbar-collapse,
.navbar .navbar-nav {
  overflow: visible !important;
}

.mega-dropdown-wrapper {
  position: relative;
}

.mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 520px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  padding: 8px;
  pointer-events: none;
}

.mega-dropdown-wrapper:hover .mega-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
  pointer-events: auto;
}

/* Arrow on top */
.mega-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 3px;
}

.mega-dropdown-inner {
  display: flex;
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
}

/* Left panel - Categories */
.mega-cat-list {
  width: 220px;
  min-width: 220px;
  background: linear-gradient(180deg, #f8f9ff 0%, #f1f3ff 100%);
  padding: 10px 0;
  border-right: 1px solid #eef0ff;
}

.mega-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.mega-cat-item:hover,
.mega-cat-item.active {
  background: white;
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

.mega-cat-item i {
  font-size: 10px;
  color: #ccc;
  transition: all 0.2s;
}

.mega-cat-item:hover i,
.mega-cat-item.active i {
  color: var(--primary);
  transform: translateX(3px);
}

/* Right panel - Subcategories */
.mega-subcat-panel {
  flex: 1;
  padding: 20px;
  position: relative;
  background: white;
}

.mega-subcat-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #bbb;
  text-align: center;
}

.mega-subcat-placeholder i {
  font-size: 32px;
  margin-bottom: 10px;
  color: #ddd;
}

.mega-subcat-placeholder p {
  font-size: 14px;
  margin: 0;
}

.mega-subcat-group {
  display: none;
}

.mega-subcat-group.active {
  display: block;
  animation: fadeInSubcat 0.25s ease;
}

@keyframes fadeInSubcat {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.mega-subcat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eef0ff;
}

.mega-subcat-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #444;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-subcat-link:hover {
  background: rgba(108, 99, 255, 0.08);
  color: var(--primary);
  transform: translateX(4px);
}

.mega-subcat-link i {
  color: #ccc;
  font-size: 11px;
  transition: color 0.2s;
}

.mega-subcat-link:hover i {
  color: var(--primary);
}

/* Responsive: hide mega dropdown on mobile, show simple link */
@media (max-width: 991.98px) {
  .mega-dropdown-menu {
    display: none !important;
  }
}
