/* CSS Variables for Azure Horizon Theme */
:root {
  /* Dark Mode Colors */
  --primary-bg-dark: #0e3a50;
  --secondary-bg-dark: #1f5e88;
  --primary-text-dark: #d8ebff;
  --headings-text-dark: #7db1d9;
  --primary-accent-dark: #4a9bc6;
  --hover-state-dark: #a3c4e0;
  
  /* Light Mode Colors */
  --primary-bg-light: #f0f8ff;
  --secondary-bg-light: #e6f4ff;
  --primary-text-light: #1f5e88;
  --headings-text-light: #0e3a50;
  --primary-accent-light: #4a9bc6;
  --hover-state-light: #1f5e88;
  
  /* Common Variables */
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --heading-font: 'Playfair Display', Georgia, serif;
}

/* Theme Classes */
.dark-mode {
  --primary-bg: var(--primary-bg-dark);
  --secondary-bg: var(--secondary-bg-dark);
  --primary-text: var(--primary-text-dark);
  --headings-text: var(--headings-text-dark);
  --primary-accent: var(--primary-accent-dark);
  --hover-state: var(--hover-state-dark);
}

.light-mode {
  --primary-bg: var(--primary-bg-light);
  --secondary-bg: var(--secondary-bg-light);
  --primary-text: var(--primary-text-light);
  --headings-text: var(--headings-text-light);
  --primary-accent: var(--primary-accent-light);
  --hover-state: var(--hover-state-light);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--primary-bg);
  color: var(--primary-text);
  line-height: 1.6;
  transition: var(--transition);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Spacing */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--headings-text);
  margin-bottom: 16px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-accent), var(--hover-state));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--primary-text);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(14, 58, 80, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
}

.nav {
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--headings-text);
  text-decoration: none;
}

.nav-logo i {
  font-size: 1.8rem;
  color: var(--primary-accent);

}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--primary-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--hover-state);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  background: var(--secondary-bg);
  border: none;
  padding: 12px;
  border-radius: 50%;
  color: var(--primary-accent);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.theme-toggle:hover {
  background: var(--primary-accent);
  color: var(--primary-bg);
  transform: scale(1.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 58, 80, 0.8), rgba(31, 94, 136, 0.6));
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 155, 198, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 155, 198, 0.3);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge i {
  color: #ffd700;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.title-main {
  font-family: var(--heading-font);
  display: block;
}

.title-accent {
  font-family: var(--font-family);
  color: #4a9bc6;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--primary-accent), var(--hover-state));
  color: white;
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.cta-button.primary:hover {
  box-shadow: 0 8px 30px rgba(74, 155, 198, 0.4);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  40% {
    transform: rotate(45deg) translateY(-10px);
  }
  60% {
    transform: rotate(45deg) translateY(-5px);
  }
}

/* Floating Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 155, 198, 0.1), rgba(163, 196, 224, 0.05));
  backdrop-filter: blur(20px);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 30%;
  animation-delay: 4s;
}

.shape-4 {
  width: 80px;
  height: 80px;
  top: 70%;
  left: 20%;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Booking Activity Ticker */
.booking-ticker {
  position: fixed;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(74, 155, 198, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  overflow: hidden;
}

.ticker-content {
  white-space: nowrap;
  overflow: hidden;
}

.ticker-items {
  display: inline-block;
  animation: scroll-ticker 30s linear infinite;
  color: white;
  font-weight: 500;
}

.ticker-item {
  display: inline-block;
  margin-right: 100px;
  padding: 0 20px;
}

.ticker-item i {
  margin-right: 8px;
  color: #4caf50;
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--headings-text);
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--secondary-bg);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--primary-text);
  font-weight: 500;
}

.about-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  background: var(--secondary-bg);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-accent);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--secondary-bg);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 155, 198, 0.1), transparent);
  transition: left 0.6s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-accent);
  margin-bottom: 24px;
  display: block;
}

.service-card h3 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--headings-text);
  margin-bottom: 16px;
}

.service-card p {
  opacity: 0.9;
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials-container {
    position: relative;
    max-width: 800px; /* Keep your original max-width */
    margin: 0 auto;
    overflow: hidden; /* Essential to hide non-active slides */
    /* No other styling here to avoid layout changes */
}

/* The slider itself, acts as a stacking context for absolute children */
.testimonials-slider {
    position: relative;
    /* Set a min-height to prevent collapse during transitions.
       Adjust this value based on the tallest testimonial content. */
    min-height: 250px; /* This is crucial for smooth transitions */
    border-radius: var(--border-radius); /* Keep your original border-radius */
}

/* Individual testimonial item */
.testimonial-item {
    position: absolute; /* Stack items on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.8s ease-in-out; /* Smooth fade transition */
    padding: 40px; /* Inner padding for content */
    text-align: center;
    border-radius: var(--border-radius);
    background: var(--secondary-bg); /* Apply background to the item itself */
    z-index: 0; /* Default z-index */

    /* For centering content vertically within the item */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* The active testimonial item */
.testimonial-item.active {
    opacity: 1; /* Show the active testimonial */
    z-index: 1; /* Ensure it's on top of other fading items */
}

/* Prevent interaction with hidden slides */
.testimonial-item:not(.active) {
    pointer-events: none;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 24px;
    opacity: 0.9;
}

.testimonial-author {
    font-weight: 600;
    color: var(--headings-text);
    margin-bottom: 8px;
}

.testimonial-location {
    opacity: 0.7;
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
}

/* Styling for Font Awesome stars */
.testimonial-rating .fas.fa-star { /* Filled star */
    color: #ffd700; /* Gold color for filled stars */
}

.testimonial-rating .far.fa-star { /* Outline star */
    color: #ffd700; /* Gold color for outline stars, or a slightly muted version if preferred */
    opacity: 0.5; /* Make outline stars slightly less prominent */
}

.testimonials-controls {
    position: absolute; /* Position controls relative to the container */
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    z-index: 2; /* Ensure buttons are above testimonials */
}

.testimonial-btn {
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Added transform to transition */
}

.testimonial-btn:hover {
    background: var(--primary-accent); /* Use your primary accent color */
    transform: scale(1.1); /* Keep the scale effect on hover */
}

/* Gallery Section */
.gallery-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.gallery-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.gallery-item.active {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(74, 155, 198, 0.6));
  backdrop-filter: blur(10px);
  color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption,
.gallery-item.active .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h3 {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.gallery-btn {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 16px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.gallery-btn:hover {
  background: var(--primary-accent);
  transform: scale(1.1);
}

.gallery-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary-bg);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active,
.indicator:hover {
  background: var(--primary-accent);
  transform: scale(1.2);
}

/* Social Proof Section */
.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.trust-badges h3,
.customer-photos h3,
.live-stats h3 {
  font-family: var(--heading-font);
  color: var(--headings-text);
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--secondary-bg);
  padding: 16px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.badge:hover {
  background: var(--primary-accent);
  color: var(--primary-bg);
  transform: translateX(5px);
}

.badge i {
  font-size: 1.2rem;
  color: var(--primary-accent);
}

.badge:hover i {
  color: var(--primary-bg);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.customer-photo {
  aspect-ratio: 1;
  background: var(--secondary-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.customer-photo:hover {
  transform: scale(1.05);
}

.customer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.live-stat {
  background: var(--secondary-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.live-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.live-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 8px;
}

.live-stat .stat-label {
  color: var(--primary-text);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--secondary-bg);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--box-shadow);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-accent);
  margin-top: 4px;
}

.contact-item h4 {
  font-family: var(--heading-font);
  color: var(--headings-text);
  margin-bottom: 8px;
}

.contact-link {
  color: var(--primary-accent);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--hover-state);
  text-decoration: underline;
}

.contact-form {
  background: var(--secondary-bg);
  padding: 40px;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  background: var(--primary-bg);
  color: var(--primary-text);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(74, 155, 198, 0.1);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-accent), var(--hover-state));
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 155, 198, 0.4);
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.office-map {
  width: 100%;
  height: 100%;
}

/* Footer */
.footer {
  background: var(--secondary-bg);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--headings-text);
  margin-bottom: 16px;
}

.footer-logo i {
  font-size: 1.8rem;
  color: var(--primary-accent);
}

.footer-section h4 {
  color: var(--headings-text);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--primary-text);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-accent);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-accent);
  color: var(--primary-bg);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--hover-state);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(74, 155, 198, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-access {
  background: none;
  border: none;
  color: var(--primary-text);
  cursor: pointer;
  opacity: 0.4;
  font-size: 1.2rem;
  transition: var(--transition);
  padding: 8px;
  border-radius: 50%;
}

.admin-access:hover {
  opacity: 1;
  background: rgba(74, 155, 198, 0.1);
  color: var(--primary-accent);
}

/* Admin Panel */
.admin-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.admin-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.admin-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--secondary-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: var(--primary-accent);
  color: white;
}

.admin-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.admin-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: var(--transition);
}

.admin-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.admin-auth {
  padding: 40px;
  text-align: center;
}

.auth-form h4 {
  color: var(--headings-text);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.auth-form input {
  width: 100%;
  max-width: 300px;
  padding: 16px;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  background: var(--primary-bg);
  color: var(--primary-text);
  font-size: 1rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary-accent);
}

.auth-form button {
  background: var(--primary-accent);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.auth-form button:hover {
  background: var(--hover-state);
  transform: translateY(-2px);
}

.admin-content {
  padding: 30px;
  max-height: 70vh;
  overflow-y: auto;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--primary-bg);
}

.admin-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  color: var(--primary-text);
  cursor: pointer;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  transition: var(--transition);
}

.admin-tab.active,
.admin-tab:hover {
  background: var(--primary-accent);
  color: white;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-section h4 {
  color: var(--headings-text);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.admin-subsection {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--primary-bg);
}

.admin-subsection:last-child {
  border-bottom: none;
}

.admin-subsection h5 {
  color: var(--headings-text);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  padding: 12px;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  background: var(--primary-bg);
  color: var(--primary-text);
  transition: var(--transition);
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: var(--primary-accent);
}

.admin-form button {
  background: var(--primary-accent);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
}

.admin-form button:hover {
  background: var(--hover-state);
  transform: translateY(-1px);
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-list-item {
  background: var(--primary-bg);
  padding: 16px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.admin-list-item-content h5 {
  color: var(--headings-text);
  margin-bottom: 8px;
}

.admin-list-item-content p {
  color: var(--primary-text);
  opacity: 0.8;
  font-size: 0.9rem;
}

.admin-list-item-actions {
  display: flex;
  gap: 8px;
}

.admin-list-item-actions button {
  background: none;
  border: 1px solid var(--primary-accent);
  color: var(--primary-accent);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
}

.admin-list-item-actions button:hover {
  background: var(--primary-accent);
  color: white;
}

.admin-list-item-actions button.delete {
  border-color: #f44336;
  color: #f44336;
}

.admin-list-item-actions button.delete:hover {
  background: #f44336;
  color: white;
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-up:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-fade-up:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glow-button {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(74, 155, 198, 0.5);
  }
  to {
    box-shadow: 0 0 30px rgba(74, 155, 198, 0.8), 0 0 40px rgba(74, 155, 198, 0.4);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(14, 58, 80, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .social-proof-grid {
    grid-template-columns: 1fr;
  }

  .gallery-slider {
    height: 300px;
  }

  .gallery-controls {
    padding: 0 10px;
  }

  .gallery-btn {
    padding: 12px;
    font-size: 1rem;
  }

  .admin-container {
    width: 95%;
    max-height: 95vh;
  }

  .admin-content {
    padding: 20px;
    max-height: 75vh;
  }

  .admin-tabs {
    flex-wrap: wrap;
    gap: 4px;
  }

  .admin-tab {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .social-proof-notifications {
    right: 10px;
    max-width: 250px;
  }

  .notification-item {
    padding: 12px;
    font-size: 0.9rem;
  }

  .testimonials-controls {
    gap: 12px;
  }

  .testimonial-btn {
    padding: 10px 12px;
  }

  .gallery-indicators {
    gap: 8px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

/* Touch Optimizations */
@media (hover: none) {
  .service-card:hover {
    transform: none;
  }
  
  .service-card:active {
    transform: translateY(-5px) scale(0.98);
  }
  
  .cta-button:hover {
    transform: none;
  }
  
  .cta-button:active {
    transform: translateY(-1px) scale(0.98);
  }
  
  .gallery-btn:hover {
    transform: none;
  }
  
  .gallery-btn:active {
    transform: scale(0.95);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-link::after {
    height: 3px;
  }
  
  .service-card,
  .testimonial-item,
  .contact-item {
    border: 2px solid var(--primary-accent);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-arrow {
    animation: none;
  }
  
  .hero-video video {
    animation: none;
  }
}

/* Tours Section */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.tour-card {
  background: var(--secondary-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  position: relative;
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(74, 155, 198, 0.2);
}

.tour-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  position: relative;
}

.tour-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-accent);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tour-content {
  padding: 25px;
}

.tour-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.tour-title {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  color: var(--headings-text);
  margin: 0;
  flex: 1;
}

.tour-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-left: 15px;
}

.tour-destination {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-text);
  opacity: 0.8;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.tour-destination i {
  color: var(--primary-accent);
}

.tour-description {
  color: var(--primary-text);
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.6;
}

.tour-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(74, 155, 198, 0.1);
}

.tour-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-text);
  opacity: 0.8;
  font-size: 0.9rem;
}

.tour-duration i {
  color: var(--primary-accent);
}

.tour-book-btn {
  background: var(--primary-accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.tour-book-btn:hover {
  background: var(--hover-state);
  transform: translateY(-2px);
}
/* Transparent red floating shapes in hero section */
.hero-shapes .floating-shape {
  background-color: rgba(255, 0, 0, 0.08) !important; /* soft transparent red */
}

/* Optional: keep variety but all in red shades */
.hero-shapes .shape-1 { background-color: rgba(255, 0, 0, 0.08) !important; }
.hero-shapes .shape-2 { background-color: rgba(255, 0, 0, 0.06) !important; }
.hero-shapes .shape-3 { background-color: rgba(255, 0, 0, 0.05) !important; }
.hero-shapes .shape-4 { background-color: rgba(255, 0, 0, 0.07) !important; }
/* "& Tours" animated blue-white gradient text */
.hero-title .title-accent {
  background: linear-gradient(90deg, #007bff, #ffffff, #007bff);
  background-size: 200% auto; /* makes room for animation */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s linear infinite;
}

/* Smooth gradient movement */
@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
/* Floating hero shapes - white with reduced transparency */
.hero .floating-shape {
  background-color: rgba(255, 255, 255, 0.25) !important; /* slightly more visible than before */
}
/* Fade + Slide Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Card Hover Float */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Parallax Background */
.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 300%;
    height: 300%;
    background: repeating-radial-gradient(circle, rgba(0,180,219,0.15), rgba(0,131,176,0.15) 100px);
    animation: waveFlow 25s linear infinite;
    z-index: -1;
}

@keyframes waveFlow {
    from { transform: translate(0,0) rotate(0deg); }
    to { transform: translate(-33%, -33%) rotate(360deg); }
}
/* Dark Mode: Make text white for better contrast */
body.dark-mode,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode li,
body.dark-mode a {
    color: #fff !important;
}
/* Force dark mode text color instantly on page load */
body.dark-mode * {
    color: #fff !important;
}
