/* Custom styles to enhance Tailwind defaults */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

section {
  background-color: #fefefe;
  margin: 1rem auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  padding: 2rem;
}

h2 {
  color: #1d4ed8; /* Tailwind blue-700 */
}

#topBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #333;
  color: rgb(255, 255, 255);
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}

#topBtn:hover {
  background-color: #555;
}




/* Global Styles */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #ffffff;
    --transition: all 0.3s ease;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
  }
  
  /* Loader */
  .loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  .loader-content {
    text-align: center;
  }
  
  .loader-globe {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 65% 15%, white 1px, var(--primary-color) 3%, #37474f 60%, var(--primary-color) 100%);
    margin: 0 auto;
    position: relative;
    animation: rotateGlobe 4s linear infinite;
  }
  
  .loader {
    width: 48px;
    height: 48px;
    border: 3px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    border-top-color: var(--primary-color);
  }
  
  @keyframes rotateGlobe {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  @keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Hide loader when page is loaded */
  .loaded .loader-container {
    opacity: 0;
    visibility: hidden;
  }
  
  /* Language Selector */
  .language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
  }
  
  .language-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
  
  .language-btn:hover {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }
  
  .language-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    background-color: white;
    border-radius: 8px;
    padding: 8px 0;
    width: 120px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  }
  
  .language-dropdown a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
  }
  
  .language-dropdown a:hover {
    background-color: #f3f4f6;
  }
  
  .language-dropdown a.active {
    font-weight: 600;
    color: var(--primary-color);
  }
  
  /* Navigation */
  .nav-link {
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
  }
  
  .nav-link:hover {
    color: var(--primary-color);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .mobile-nav-link {
    display: block;
    padding: 10px 0;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid #e5e7eb;
    transition: var(--transition);
  }
  
  .mobile-nav-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
  }
  
  /* Hero Section */
  .hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: #1f2937;
    color: white;
    overflow: hidden;
  }
  
  .hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
  }
  
  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 1;
  }
  
  .hero-section .container {
    position: relative;
    z-index: 2;
  }
  
  .hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(5px);
  }
  
  .hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
  }
  
  .primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  }
  
  .primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Stats */
.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Search Bar */
.search-bar-container {
  max-width: 1000px;
  margin: 0 auto;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 6px;
}

.search-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: var(--transition);
}

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

.search-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.search-btn:hover {
  background-color: var(--primary-dark);
}

/* Trending Tags */
.trending-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trending-tag {
  display: inline-flex;
  align-items: center;
  background-color: #f3f4f6;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.trending-tag i {
  margin-right: 6px;
}

.trending-tag:hover, .trending-tag.active {
  background-color: var(--primary-color);
  color: white;
}

/* Section Styling */
.section-tag {
  display: inline-block;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Slider Navigation */
.slider-nav-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

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

/* Destination Cards */
.destination-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.destination-img-container {
  position: relative;
  height: 220px;
}

.destination-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover .destination-img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.destination-card:hover .destination-overlay {
  opacity: 1;
}

.destination-fav-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e11d48;
  transition: var(--transition);
  z-index: 3;
}

.destination-fav-btn:hover {
  background-color: #e11d48;
  color: white;
}

.destination-explore-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
}

.destination-explore-btn:hover {
  background-color: var(--primary-dark);
}

.destination-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.destination-badge.green {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
}

.destination-badge.purple {
  background-color: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.destination-badge.yellow {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent-color);
}

.destination-badge.blue {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
}

.destination-badge.red {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  background-color: white;
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

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

/* Earth Container */
.earth-container {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.earth-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.earth-control-btn {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.earth-control-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.earth-globe {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-image: url('/api/placeholder/600/600');
  background-size: cover;
  box-shadow: 0 0 100px rgba(0, 110, 255, 0.7);
  animation: rotateEarth 60s linear infinite;
}

@keyframes rotateEarth {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 0; }
}

.location-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.location-popup {
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 8px;
  padding: 10px;
  width: 150px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.location-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

.location-marker:hover .location-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

/* Feature Cards */
.feature-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--text-light);
  margin-bottom: 20px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.feature-link:hover {
  color: var(--primary-dark);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Technology Section */
.tech-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.tech-circles::before,
.tech-circles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.tech-circles::before {
  width: 300px;
  height: 300px;
  background-color: rgba(59, 130, 246, 0.05);
  top: -100px;
  left: -100px;
}

.tech-circles::after {
  width: 500px;
  height: 500px;
  background-color: rgba(59, 130, 246, 0.03);
  bottom: -200px;
  right: -200px;
}

.tech-accordion {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tech-accordion-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.tech-accordion-content {
  padding: 0 20px 16px;
  color: var(--text-light);
}

/* Testimonials */
.testimonial-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.testimonial-rating {
  color: #f59e0b;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 30px;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

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

/* App Download Section */
.app-bg-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.app-phone-container {
  position: relative;
  width: 300px;
  height: 600px;
  margin: 0 auto;
}

.app-phone-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-phone-screen {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 270px;
  height: 540px;
  overflow: hidden;
  border-radius: 30px;
}

.app-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 15px;
}

.app-store-btn {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  transition: var(--transition);
}

.app-store-btn i {
  margin-right: 12px;
}

.app-store-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Newsletter */
.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: var(--transition);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.newsletter-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background-color: var(--primary-dark);
}

/* Footer */
.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #9ca3af;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
  transition: var(--transition);
}

.scroll-top-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    height: auto;
    padding: 100px 0 50px;
  }
  
  .earth-globe {
    width: 300px;
    height: 300px;
  }
  
  .app-phone-container {
    width: 250px;
    height: 500px;
  }
  
  .app-phone-screen {
    width: 225px;
    height: 450px;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .trending-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .trending-tag {
    flex-shrink: 0;
  }
  
  .earth-globe {
    width: 250px;
    height: 250px;
  }
}