/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Colour palette for Esimtel brand */
:root {
  --primary: #0066ff;          /* brand blue */
  --primary-dark: #004bbf;     /* darker blue for hover states */
  --secondary: #f5f9ff;        /* subtle pale blue background */
  --white: #ffffff;
  --dark: #041e42;             /* deep navy text */
  --light: #6f7890;            /* muted grey text */
  /* Feature pastel backgrounds */
  --feature-1: #eaf3ff;
  --feature-2: #eef7ff;
  --feature-3: #e7f8f5;
  --feature-4: #fff6e9;
    /* Why‑choose pastel backgrounds */
    --why-1: #eaf2ff;
    --why-2: #eef8ff;
    --why-3: #edf9f6;
    --why-4: #fff5ed;
}

/* Dark Mode Color Palette */
[data-bs-theme="dark"] {
  --primary: #3d8bff;          /* lighter blue for dark mode */
  --primary-dark: #1a73e8;     /* blue for hover states */
  --secondary: #1a1a1a;        /* dark background */
  --white: #2d2d2d;            /* dark card background */
  --dark: #e0e0e0;             /* light text */
  --light: #b0b0b0;            /* muted light text */
  /* Feature dark backgrounds */
  --feature-1: #2a2a3a;
  --feature-2: #2a2a3a;
  --feature-3: #2a3a2a;
  --feature-4: #3a2a2a;
    /* Why‑choose dark backgrounds */
    --why-1: #2a2a3a;
    --why-2: #2a2a3a;
    --why-3: #2a3a2a;
    --why-4: #3a2a2a;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--secondary);
  margin: 0;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--dark);
  transition: color .2s ease;
}

a:hover {
  color: var(--primary);
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: background .3s ease, box-shadow .3s ease;
  background: transparent;
  z-index: 1000;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.navbar-brand img {
  object-fit: contain;
}

/* Dark mode navbar styles */
[data-bs-theme="dark"] .navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 6px rgba(255,255,255,0.1);
}

/* Theme toggle button styles */
#theme-toggle {
  border: 1px solid var(--light);
  color: var(--dark);
  transition: all 0.3s ease;
}

#theme-toggle:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}
.navbar .nav-link {
  font-weight: 500;
  margin-right: 1rem;
  color: var(--dark) !important;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--primary) !important;
}
.brand-text {
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--primary);
}
.btn-primary {
  background: var(--primary);
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-dark {
  background: var(--dark);
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.4rem;
  color: var(--white);
}
.btn-dark:hover {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 30px;
  padding: 0.6rem 1.4rem;
  font-weight: 500;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

/* Badge pill style used across sections */
.badge-pill {
  display: inline-flex;
  align-items: center;
  background: var(--feature-2);
  color: var(--primary-dark);
  font-size: .8rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

/* Hero section */
.hero-section {
  position: relative;
  padding-top: 180px;
  padding-bottom: 140px;
  /* Soft sky gradient for hero. Adjust the colours here to lean into the brand blue while staying light and airy */
  background: linear-gradient(180deg, #eaf3ff 0%, #f5f9ff 60%, #ffffff 100%);
  overflow: hidden;
}

/* Dark mode hero section */
[data-bs-theme="dark"] .hero-section {
  background: linear-gradient(180deg, #1a2a3a 0%, #1f1f1f 60%, #2d2d2d 100%);
}
/* decorative clouds using pseudo elements */
.hero-section::before, .hero-section::after {
  content: "";
  position: absolute;
  background: radial-gradient(circle at center, rgba(0,102,255,0.15), transparent 70%);
  filter: blur(100px);
  z-index: -1;
  animation: cloudMove 30s linear infinite;
}
.hero-section::before {
  top: -120px;
  left: -150px;
  width: 600px;
  height: 600px;
}
.hero-section::after {
  bottom: -120px;
  right: -150px;
  width: 600px;
  height: 600px;
}
@keyframes cloudMove {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(40px);
  }
  100% {
    transform: translateX(0);
  }
}
.hero-section h1 {
  font-weight: 700;
  color: var(--dark);
}
.hero-section .highlight {
  color: var(--primary);
}
.hero-section .lead {
  color: var(--light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
/* Search bar */
.search-wrapper {
  position: relative;
  max-width: 500px;
}
.search-wrapper input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 40px;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  font-size: 1rem;
  background: white;
  color: var(--dark);
}

/* Dark mode search input */
[data-bs-theme="dark"] .search-wrapper input {
  background: #3a3a3a;
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.search-wrapper button {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  width: 44px;
  border: none;
  border-radius: 40px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

/* Add a gentle bounce on hover for the search button */
.search-wrapper button:hover {
  transform: translateY(-3px);
}

/* Search results dropdown dark mode */
[data-bs-theme="dark"] #searchResults {
  background: #3a3a3a;
  border-color: #555;
}

[data-bs-theme="dark"] #searchResults .list-group-item {
  background: #3a3a3a;
  color: var(--dark);
  border-color: #555;
}

[data-bs-theme="dark"] #searchResults .list-group-item:hover {
  background: #4a4a4a;
}

/* Plan cards - Modern Design */
.plan-cards-container {
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 24px;
  padding: 0;
  border: 2px solid rgba(0, 102, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.08);
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  height: 100%;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 102, 255, 0.16);
  border-color: rgba(0, 102, 255, 0.3);
}

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.15);
  position: relative;
}

.plan-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  letter-spacing: 0.5px;
  z-index: 1;
}

.plan-card-header {
  padding: 1.75rem 1.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(0,102,255,0.03) 0%, rgba(0,102,255,0.08) 100%);
  border-bottom: 1px solid rgba(0, 102, 255, 0.08);
}

.plan-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #3d8bff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
  transition: transform .4s ease;
}

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

.plan-title h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.plan-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.plan-features {
  margin-bottom: 1.25rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--dark);
}

.plan-features li i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.plan-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--secondary);
  border-radius: 12px;
  text-align: center;
}

.price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--light);
  font-weight: 600;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

/* Dark mode plan cards */
[data-bs-theme="dark"] .plan-card {
  background: linear-gradient(145deg, #2d2d3a 0%, #1f1f2e 100%);
  border-color: rgba(61, 139, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .plan-card:hover {
  box-shadow: 0 16px 40px rgba(61, 139, 255, 0.25);
  border-color: rgba(61, 139, 255, 0.4);
}

[data-bs-theme="dark"] .plan-card.featured {
  border-color: #3d8bff;
}

[data-bs-theme="dark"] .plan-card-header {
  background: linear-gradient(135deg, rgba(61,139,255,0.08) 0%, rgba(61,139,255,0.15) 100%);
  border-bottom-color: rgba(61, 139, 255, 0.15);
}

[data-bs-theme="dark"] .plan-icon {
  box-shadow: 0 6px 20px rgba(61, 139, 255, 0.4);
}

[data-bs-theme="dark"] .plan-price {
  background: #1a1a2a;
}

/* Rating stars */
.rating-info i {
  color: #fbc02d;
}

/* Intro section */
.intro-section {
  background: var(--white);
}
.intro-text {
  max-width: 700px;
  font-size: 1.125rem;
  color: var(--dark);
}
.intro-text .highlight {
  color: var(--primary);
  font-weight: 600;
}

/* Features section - Horizontal Card Design */
.features-section {
  background: var(--secondary);
  position: relative;
}
.features-section h2 {
  font-size: 2rem;
}

/* Feature Box - Horizontal Layout */
.feature-box {
  border-radius: 24px;
  padding: 2rem;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.08);
  gap: 2rem;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, #3d8bff 50%, var(--primary) 100%);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .4s ease;
}

.feature-box:hover::before {
  transform: scaleY(1);
}

.feature-box:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.16);
  border-left-width: 6px;
}

/* Feature Content Area */
.feature-content {
  flex: 1;
}

.feature-box h5 {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.feature-box p {
  color: var(--light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Feature Icon - Circular Badge */
.feature-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, #3d8bff 50%, #66a3ff 100%);
  box-shadow: 0 8px 28px rgba(0, 102, 255, 0.35),
              inset 0 -3px 12px rgba(0, 0, 0, 0.15),
              inset 0 3px 12px rgba(255, 255, 255, 0.2);
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  margin-right: 2rem;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.3), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity .4s ease;
  filter: blur(16px);
}

.feature-box:hover .feature-icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.5),
              inset 0 -3px 12px rgba(0, 0, 0, 0.2),
              inset 0 3px 12px rgba(255, 255, 255, 0.3);
}

.feature-box:hover .feature-icon::after {
  opacity: 1;
}

/* Dark mode features */
[data-bs-theme="dark"] .feature-box {
  background: linear-gradient(135deg, #2d2d3a 0%, #1f1f2e 100%);
  border-left-color: #3d8bff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .feature-box::before {
  background: linear-gradient(180deg, #3d8bff 0%, #66a3ff 50%, #3d8bff 100%);
}

[data-bs-theme="dark"] .feature-box:hover {
  box-shadow: 0 8px 32px rgba(61, 139, 255, 0.3);
}

[data-bs-theme="dark"] .feature-icon {
  box-shadow: 0 8px 28px rgba(61, 139, 255, 0.5),
              inset 0 -3px 12px rgba(0, 0, 0, 0.3),
              inset 0 3px 12px rgba(255, 255, 255, 0.1);
}

/* Remove old background classes */
.bg-feature-1, .bg-feature-2, .bg-feature-3, .bg-feature-4 {
  background: transparent !important;
}

/* How it works */
.works-section {
  background: var(--white);
}
.step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .9rem;
}
.purchase-card {
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Dark mode purchase card */
[data-bs-theme="dark"] .purchase-card {
  background: linear-gradient(180deg, #2d2d2d 0%, #1f2a3a 100%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.purchase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.07);
}
.purchase-card h6 {
  color: var(--dark);
  font-weight: 600;
}
.purchase-card p {
  color: var(--light);
}
.purchase-card .details span {
  color: var(--dark);
}

/* Destinations */
.destinations-section {
  background: var(--secondary);
}
.dest-card {
  position: relative;
  border: 1px solid rgba(0,102,255,0.08);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}

/* Dark mode destination cards */
[data-bs-theme="dark"] .dest-card {
  background: linear-gradient(135deg, #2d2d2d 0%, #1f2a3a 100%);
  border-color: rgba(61,139,255,0.2);
}
.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  border-color: var(--primary);
}
.dest-card h6 {
  color: var(--dark);
  font-weight: 600;
}
.dest-card .price {
  color: var(--light);
  margin-top: 1rem;
}
.dest-card .price span {
  color: var(--dark);
}
.dest-card .arrow-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.2rem;
  color: var(--primary);
  transition: color .2s ease;
}
.dest-card:hover .arrow-icon {
  color: var(--primary-dark);
}
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,102,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
}

/* Why choose section */
.why-section {
  background: var(--white);
}
.why-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
}
.why-section .why-text {
  max-width: 700px;
  color: var(--light);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* FAQs share similar desc style */
.faq-section .why-text {
  color: var(--light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
/* Why Cards - Modern Neumorphism + Gradient Design */
.why-card {
  border-radius: 32px;
  padding: 2.5rem;
  transition: all .5s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
  position: relative;
  overflow: visible;
  background: linear-gradient(145deg, #ffffff 0%, #f0f4ff 100%);
  box-shadow:
    12px 12px 24px rgba(174, 174, 192, 0.4),
    -12px -12px 24px rgba(255, 255, 255, 0.9),
    inset 0 0 0 rgba(0,102,255,0);
}

.why-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 32px;
  background: linear-gradient(135deg,
    rgba(0,102,255,0) 0%,
    rgba(0,102,255,0.2) 50%,
    rgba(61,139,255,0.3) 100%
  );
  opacity: 0;
  transition: opacity .5s ease;
  z-index: -1;
  filter: blur(20px);
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--primary) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity .5s ease;
}

.why-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    16px 16px 32px rgba(174, 174, 192, 0.5),
    -16px -16px 32px rgba(255, 255, 255, 1),
    inset 0 0 20px rgba(0,102,255,0.08);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover::after {
  opacity: 1;
}

.why-card h5 {
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.why-card p {
  color: var(--light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Why Icon - Gradient Orb Design */
.why-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  margin-bottom: 1.8rem;
  background: linear-gradient(135deg, var(--primary) 0%, #3d8bff 50%, #66a3ff 100%);
  box-shadow:
    0 10px 30px rgba(0,102,255,0.35),
    inset 0 -3px 10px rgba(0,0,0,0.15),
    inset 0 3px 10px rgba(255,255,255,0.2);
  transition: all .5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.why-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0,102,255,0.6), rgba(61,139,255,0.3));
  opacity: 0;
  transition: opacity .5s ease;
  filter: blur(16px);
  z-index: -1;
}

.why-card:hover .why-icon {
  transform: scale(1.12) rotate(8deg);
  box-shadow:
    0 15px 40px rgba(0,102,255,0.5),
    inset 0 -3px 10px rgba(0,0,0,0.2),
    inset 0 3px 10px rgba(255,255,255,0.3);
}

.why-card:hover .why-icon::before {
  opacity: 1;
}

/* Dark mode why cards - Modern Dark Neumorphism */
[data-bs-theme="dark"] .why-card {
  background: linear-gradient(145deg, #2d2d3a 0%, #1f1f2e 100%);
  box-shadow:
    12px 12px 24px rgba(0, 0, 0, 0.6),
    -12px -12px 24px rgba(60, 60, 80, 0.4),
    inset 0 0 0 rgba(61,139,255,0);
}

[data-bs-theme="dark"] .why-card::before {
  background: linear-gradient(135deg,
    rgba(61,139,255,0) 0%,
    rgba(61,139,255,0.3) 50%,
    rgba(102,163,255,0.4) 100%
  );
}

[data-bs-theme="dark"] .why-card:hover {
  box-shadow:
    16px 16px 32px rgba(0, 0, 0, 0.7),
    -16px -16px 32px rgba(60, 60, 80, 0.5),
    inset 0 0 20px rgba(61,139,255,0.15);
}

[data-bs-theme="dark"] .why-icon {
  box-shadow:
    0 10px 30px rgba(61,139,255,0.5),
    inset 0 -3px 10px rgba(0,0,0,0.3),
    inset 0 3px 10px rgba(255,255,255,0.1);
}

/* Remove old background classes */
.bg-why-1, .bg-why-2, .bg-why-3, .bg-why-4 {
  background: transparent !important;
}

/* FAQ section */
.faq-section {
  background: var(--secondary);
}
.faq-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
}
.accordion-item {
  border: none;
  border-radius: 20px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Dark mode accordion */
[data-bs-theme="dark"] .accordion-item {
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.accordion-item .accordion-button {
  background: var(--white);
  color: var(--dark);
  font-weight: 500;
  padding: 1rem 1.5rem;
  border: none;
}
.accordion-button:not(.collapsed) {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: none;
}
/* Customise the accordion arrow: rotate the default caret when open */
.accordion-button::after {
  transition: transform .3s ease;
  filter: invert(27%) sepia(94%) saturate(1818%) hue-rotate(207deg) brightness(95%) contrast(103%);
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}
.accordion-body {
  background: var(--white);
  color: var(--light);
  padding: 1rem 1.5rem;
}

/* Supported Devices Section */
.devices-section {
  background: var(--white);
}

.device-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 24px;
  padding: 2rem;
  border: 2px solid rgba(0, 102, 255, 0.1);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.08);
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  text-align: center;
}

.device-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.25);
}

.device-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  color: white;
  transition: all .4s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.device-icon.apple {
  background: linear-gradient(135deg, #000000 0%, #434343 100%);
}

.device-icon.samsung {
  background: linear-gradient(135deg, #1428A0 0%, #0066B2 100%);
}

.device-icon.google {
  background: linear-gradient(135deg, #4285F4 0%, #34A853 50%, #FBBC05 75%, #EA4335 100%);
}

.device-icon.other {
  background: linear-gradient(135deg, var(--primary) 0%, #3d8bff 100%);
}

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

.device-card h5 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.device-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

.device-list li {
  padding: 0.5rem 0;
  color: var(--light);
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.5rem;
}

.device-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.compatibility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.compatibility-badge i {
  font-size: 1rem;
}

.compatibility-cta {
  background: linear-gradient(135deg, #f8fbff 0%, #eaf3ff 100%);
  border-radius: 24px;
  border: 2px solid rgba(0, 102, 255, 0.15);
  max-width: 600px;
  margin: 0 auto;
}

.compatibility-cta h5 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.compatibility-cta p {
  color: var(--light);
  margin-bottom: 1rem;
}

/* Dark mode devices */
[data-bs-theme="dark"] .device-card {
  background: linear-gradient(135deg, #2d2d3a 0%, #1f1f2e 100%);
  border-color: rgba(61, 139, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .device-card:hover {
  box-shadow: 0 12px 32px rgba(61, 139, 255, 0.25);
  border-color: rgba(61, 139, 255, 0.4);
}

[data-bs-theme="dark"] .device-icon {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

[data-bs-theme="dark"] .compatibility-badge {
  background: rgba(61, 139, 255, 0.2);
}

[data-bs-theme="dark"] .compatibility-cta {
  background: linear-gradient(135deg, #1f2a3a 0%, #2d2d3a 100%);
  border-color: rgba(61, 139, 255, 0.3);
}

/* Testimonials */
.testimonials-section {
  background: var(--white);
}
.testimonial-card {
  border-radius: 20px;
  border: 1px solid rgba(0,102,255,0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Dark mode testimonial cards */
[data-bs-theme="dark"] .testimonial-card {
  background: linear-gradient(180deg, #2d2d2d 0%, #1f2a3a 100%);
  border-color: rgba(61,139,255,0.2);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.07);
}
.testimonial-card .stars i {
  color: #fbc02d;
  margin-right: 2px;
}

/* Avatar placeholder for testimonials */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,102,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}
.rating-summary {
  align-items: baseline;
}
.rating-summary h1 {
  font-size: 1.2rem;
  color: var(--primary);
}
.rating-summary .fw-semibold {
  color: var(--dark);
}

/* Download section */
.download-section {
  background: linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%);
}

/* Dark mode download section */
[data-bs-theme="dark"] .download-section {
  background: linear-gradient(180deg, #1f2a3a 0%, #2a2a2a 100%);
}
.download-section h2 {
  font-size: 2rem;
}
.store-badge {
  height: 52px;
  width: auto;
}

/* Footer */
.footer-section {
  background: linear-gradient(180deg, #021a42 0%, #072e61 100%);
  color: #cfd8e6;
  font-size: 0.94rem;
}
.footer-section img {
  object-fit: contain;
}
.footer-section .brand-text {
  color: var(--white);
}
.footer-section h6 {
  color: var(--white);
  font-size: 1rem;
}
.footer-section a {
  color: #a8b8d8;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
  transition: color .2s ease;
}
.footer-section a:hover {
  color: var(--primary);
}
.footer-section .subscribe-form input {
  border-radius: 30px;
  border: none;
  padding: 0.6rem 1rem;
  flex: 1;
}
.footer-section .subscribe-form button {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.footer-section .social-icons a {
  font-size: 1.2rem;
  color: #a8b8d8;
  transition: color .2s ease;
}
.footer-section .social-icons a:hover {
  color: var(--primary);
}
.footer-section .border-top {
  border-color: rgba(255,255,255,0.1) !important;
}

/* Download App Modal */
.download-modal .modal-content {
  overflow: hidden;
}

.download-modal-header {
  background: linear-gradient(135deg, #f8fbff 0%, #eaf3ff 100%);
  border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.download-modal-body {
  background: var(--white);
}

.store-button {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.store-button:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.qr-card {
  background: var(--secondary);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 102, 255, 0.08);
}

.qr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.2);
}

.qr-code-wrapper {
  display: inline-block;
  padding: 0.75rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qr-image {
  max-width: 160px;
  height: auto;
}

.qr-platform-icon {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal dark mode */
[data-bs-theme="dark"] .modal-content {
  background: #2d2d2d;
  color: var(--dark);
}

[data-bs-theme="dark"] .download-modal-header {
  background: linear-gradient(135deg, #1f2a3a 0%, #2d2d3a 100%);
  border-bottom-color: rgba(61, 139, 255, 0.2);
}

[data-bs-theme="dark"] .download-modal-body {
  background: #2d2d2d;
}

[data-bs-theme="dark"] .qr-card {
  background: #1f1f2e;
  border-color: rgba(61, 139, 255, 0.15);
}

[data-bs-theme="dark"] .qr-card:hover {
  border-color: rgba(61, 139, 255, 0.3);
  box-shadow: 0 8px 20px rgba(61, 139, 255, 0.2);
}

[data-bs-theme="dark"] .qr-code-wrapper {
  background: white;
}

[data-bs-theme="dark"] .badge.bg-light {
  background: #3a3a3a !important;
  color: var(--dark) !important;
}

[data-bs-theme="dark"] .modal-header {
  border-bottom-color: #444;
}

[data-bs-theme="dark"] .modal-footer {
  border-top-color: #444;
}

[data-bs-theme="dark"] .btn-close {
  filter: invert(1);
}

/* Text muted in dark mode */
[data-bs-theme="dark"] .text-muted {
  color: #b0b0b0 !important;
}

/* Privacy policy section dark mode */
[data-bs-theme="dark"] .privacy-policy-section {
  background: var(--secondary);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  /* Tablet adjustments */
  .hero-section {
    padding-top: 140px;
    padding-bottom: 100px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .feature-box {
    gap: 1.5rem;
  }
  .feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
  }
  .why-card {
    margin-bottom: 1rem;
  }
  .why-card {
    padding: 2rem;
  }
  .why-icon {
    width: 56px;
    height: 56px;
  }

  /* Plan cards tablet */
  .plan-cards-container {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  /* Mobile adjustments */
  .navbar .nav-link {
    margin-right: 0;
    padding: 0.5rem;
  }

  /* Hero section mobile */
  .hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero-section h1 {
    font-size: 1.75rem;
  }
  .hero-section .lead {
    font-size: 1rem;
  }

  /* Plan cards mobile */
  .plan-cards-container .row {
    flex-direction: column;
  }

  .plan-card-header {
    padding: 1.5rem 1.5rem 1rem !important;
  }

  .plan-card-body {
    padding: 1.25rem 1.5rem 1.5rem !important;
  }

  .plan-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .price-amount {
    font-size: 1.75rem;
  }

  /* Search bar mobile */
  .search-wrapper {
    max-width: 100%;
  }

  /* Feature boxes mobile */
  .feature-box {
    padding: 1.5rem !important;
    margin-bottom: 1rem;
    flex-direction: column !important;
    text-align: center;
  }
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin-right: 0 !important;
    margin-bottom: 1.25rem;
  }

  /* Why cards mobile */
  .why-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  .why-icon {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }

  /* Destination cards mobile */
  .dest-card {
    margin-bottom: 1rem;
  }

  /* Device cards mobile */
  .device-card {
    margin-bottom: 1rem;
  }

  .device-icon {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }

  .device-list li {
    font-size: 0.85rem;
  }

  /* Testimonial cards mobile */
  .testimonial-card {
    margin-bottom: 1rem;
  }

  /* Download section mobile */
  .download-section h2 {
    font-size: 1.6rem;
  }

  /* Footer mobile */
  .footer-section .d-flex.justify-content-between {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Sections spacing */
  section {
    padding: 3rem 0 !important;
  }

  /* Download modal mobile */
  .download-modal-header {
    padding: 2rem 1.5rem 1.5rem !important;
  }
  .download-modal-body {
    padding: 1.5rem !important;
  }
  .qr-card {
    padding: 1.5rem !important;
  }
  .qr-image {
    max-width: 140px;
  }
  .store-button img {
    height: 48px !important;
  }
}

@media (max-width: 575.98px) {
  /* Extra small mobile */
  .hero-section h1 {
    font-size: 1.5rem;
  }
  .badge-pill {
    font-size: 0.7rem;
  }

  .plan-card-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .plan-icon {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }

  .plan-title h5 {
    font-size: 1.2rem;
  }
  .feature-box {
    padding: 1.25rem !important;
  }
  .feature-icon {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
  }
  .why-card {
    padding: 1.25rem;
  }
  .section-title, .features-section h2, .why-section h2 {
    font-size: 1.5rem;
  }
}
