:root {
  --primary-color: #7209B7;
  /* Vibrant Purple */
  --accent-color: #F72585;
  /* Hot Pink */
  --primary-gradient: linear-gradient(135deg, #7209B7 0%, #F72585 100%);
  --secondary-color: #ffffff;
  /* Clean White */
  --card-bg: #ffffff;
  /* White for cards */
  --text-main: #1a1a1a;
  /* Dark Grey Text */
  --text-muted: #555555;
  /* Muted Grey Text */
  --font-main: "Inter", sans-serif;
  --brand-teal: #4CC9F0;
  /* Cyan for variety */
}

.bg-teal {
  background-color: var(--brand-teal) !important;
  color: #fff !important;
}

.text-teal {
  color: var(--brand-teal) !important;
}

.text-pink {
  color: var(--accent-color) !important;
}

.bg-pink {
  background-color: var(--accent-color) !important;
  color: #fff !important;
}

.img-overlay {
  background: linear-gradient(135deg, rgba(114, 9, 183, 0.5) 0%, rgba(247, 37, 133, 0.5) 100%);
  opacity: 0.5;
  transition: opacity 0.6s cubic-bezier(0, 0.1, 0.2, 0.3, 0.5);
}

.card:hover .img-overlay {
  opacity: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--secondary-color);
}

html {
  scroll-behavior: smooth;
}

#quote-form {
  scroll-margin-top: 100px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: #1a1a1a;
  /* Near Black Headings */
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}

.text-accent {
  color: var(--primary-color) !important;
}

.bg-accent {
  background-color: var(--secondary-color) !important;
  color: var(--text-main) !important;
}

.text-warning {
  color: var(--primary-color) !important;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.bg-gradient-primary {
  background: var(--primary-gradient) !important;
  color: #fff !important;
}

.badge.bg-gradient-primary {
  color: #fff !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.bg-white {
  background-color: var(--card-bg) !important;
  /* White */
}

.bg-light {
  background-color: #f1f1f1 !important;
  /* Light Grey */
}

/* Navbar */
/* Navbar */
.navbar {
  padding: 0.5rem 0;
  transition: all 0.4s ease;
  background-color: transparent;
}

.navbar-transparent {
  background-color: transparent !important;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-weight: 500;
  color: var(--text-main) !important;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-brand img {
  height: 50px;
  /* Consistent height */
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Mobile Navbar Fix */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff;
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 0;
  position: relative;
  overflow: hidden;
  /* Contain zoom */
}

/* Ken Burns Effect Removed */

/* Glassmorphism Form */
/* Glassmorphism Form */
/* Glassmorphism Form */
.glass-form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(114, 9, 183, 0.3);
  /* Subtle Purple Border */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Buttons */
/* Buttons */
/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #7209B7 0%, #F72585 50%, #7209B7 100%);
  background-size: 200% auto;
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(114, 9, 183, 0.3);
  transition: all 0.5s ease;
  padding-left: 20px;
}

.btn-primary .icon-circle {
  transition: transform 0.3s ease;
  background-color: #fff !important;
  color: var(--primary-color) !important;
}

.btn-primary:hover {
  background-position: right center;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 37, 133, 0.4);
}

.btn-default .translate-middle {
  transform: translate(-60%, -50%) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
}

.overlap-row {
  margin-top: -250px;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.overlap-row .feature-card,
.overlap-row .card {
  pointer-events: auto;
}

.footer-section {
  background: var(--primary-gradient);
  /* border-top: 1px solid var(--accent-color); */
}

.footer-section .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer-section .hover-text-primary:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.footer-social-btn:hover {
  background-color: #fff !important;
  color: var(--primary-color) !important;
  border-color: #fff !important;
}

/* Footer Hover Utilities */
.hover-text-primary:hover {
  color: var(--primary-color) !important;
}

.hover-text-white:hover {
  color: #fff !important;
}

.hover-bg-primary:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.hover-text-black:hover {
  color: #000 !important;
}

.hover-text-black:hover i {
  color: #000 !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.opacity-75 {
  opacity: 0.75;
}

/* Super High Specificity for Form Focus - Fixing the White Background Issue */
#quote-form .form-control,
#quote-form .form-select,
.glass-form .form-control,
.glass-form .form-select,
.hero-section .form-control,
.hero-section .form-select {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.8) !important;
  color: #333 !important;
  border-radius: 4px;
  backdrop-filter: blur(5px);
  height: calc(3.5rem + 2px);
  /* Standard Bootstrap height */
  line-height: 1.25;
}

#quote-form .form-control:focus,
#quote-form .form-select:focus,
.glass-form .form-control:focus,
.glass-form .form-select:focus,
.hero-section .form-control:focus,
.hero-section .form-select:focus {
  box-shadow: none !important;
  border-color: var(--primary-color) !important;
  background-color: #fff !important;
  color: #000 !important;
}

/* Placeholder Handling for Floating Labels */
.glass-form .form-control::placeholder,
.hero-section .form-control::placeholder {
  color: transparent !important;
  /* Must be transparent for form-floating to work */
  opacity: 0;
}

/* Ensure Floating Label is visible */
/* Ensure Floating Label is visible */
.form-floating > label {
  color: rgba(0, 0, 0, 0.6) !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: #fff !important;
  /* Black Text */
  background-color: var(--primary-color) !important;
  /* Golden Background */
  opacity: 1 !important;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem) !important;
  z-index: 5;
  height: auto;
  width: auto;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

/* Remove Bootstrap's default white background on label::after */
.form-floating > label::after {
  background-color: transparent !important;
}

/* Fix for auto-fill affecting background color */
.glass-form .form-control:-webkit-autofill,
.glass-form .form-control:-webkit-autofill:hover,
.glass-form .form-control:-webkit-autofill:focus,
.glass-form .form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Hero Badge Visibility */
.hero-badge-text {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  border: 1px solid rgba(114, 9, 183, 0.5);
  /* Purple border */
  text-shadow: none;
}

.form-floating > label {
  color: #aaa;
}

.form-floating > .form-control:focus ~ label {
  color: var(--primary-color);
}

/* Feature Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card {
  transition: transform 0.3s ease;
}

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

.icon-box {
  transition: all 0.3s ease;
  background-color: #f1f1f1 !important;
}

.feature-card:hover .icon-box {
  background: var(--primary-gradient) !important;
  color: #fff !important;
}

/* Fleet Cards */
.card .badge {
  background-color: #f1f1f1 !important;
  color: #333 !important;
  border-color: #e0e0e0 !important;
}

/* Process Section */
.process-step {
  background-color: var(--card-bg) !important;
}

.process-step .process-icon {
  background-color: var(--card-bg) !important;
  border-color: var(--primary-color) !important;
}

.process-step .badge {
  color: #000;
  background-color: var(--primary-color) !important;
  border-color: var(--card-bg) !important;
}

/* About Composition Styles - The Fix */
.about-composition {
  position: relative;
  padding-left: 1.5rem;
  padding-top: 1.5rem;
  min-height: 500px;
}

.about-tripadvisor {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  transform: translate(-20px, 20px);
  z-index: 3;
  background-color: #fff;
  /* White */
  color: #333;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary-color);
  /* Gold Border */
}

.about-main-img {
  margin-top: 60px;
  margin-left: 40px;
  border-radius: 30px !important;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
  filter: brightness(0.9);
  /* Slightly dim image for mood */
}

.about-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  transform: translate(10px, 40px);
  z-index: 2;
  background-color: #fff;
  /* White */
  border-radius: 50%;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: 2px solid var(--primary-color);
  /* Gold Ring */
}

.about-badge h4 {
  color: var(--primary-color) !important;
}

.about-floating-icons {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  transform: translate(0, 20px);
}

.floating-icon-box {
  width: 100px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

/* Animations & Utilities */
.hover-lift {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5) !important;
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.mt-n5 {
  margin-top: -3rem !important;
}

.overflow-visible {
  overflow: visible !important;
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .overlap-row {
    margin-top: 0;
    /* Remove overlap on tablet/mobile */
  }

  .about-composition {
    min-height: 450px;
    margin-bottom: 3rem;
  }

  .about-main-img {
    margin-left: 20px;
    margin-top: 50px;
  }

  .about-tripadvisor {
    width: 200px;
    padding: 1rem;
    transform: translate(-10px, 10px);
  }
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2.5rem;
    /* Smaller hero text */
  }

  .display-4 {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .about-composition {
    min-height: auto;
    padding: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .about-main-img {
    margin: 0;
    width: 100%;
    height: auto;
    min-height: 250px;
    border-radius: 20px !important;
  }

  .about-tripadvisor {
    position: relative;
    /* Reset from absolute */
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-bottom: 1rem;
    z-index: 1;
  }

  .about-tripadvisor img {
    max-width: 100%;
  }

  .about-badge {
    width: 80px;
    height: 80px;
    transform: translate(0, -50%);
    right: 10px;
    top: 0;
  }

  .about-badge h4 {
    font-size: 1.1rem;
  }

  .about-floating-icons {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: -30px;
    margin-left: 10px;
    gap: 10px;
  }

  .floating-icon-box {
    width: 70px;
    height: 60px;
  }

  .floating-icon-box i {
    font-size: 1.25rem !important;
    /* fa-2x is 2em */
  }

  .navbar-brand img {
    height: 40px;
  }
}

/* Thank You Page Styles */
.thankyoumain {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyouin {
  width: 50%;
  height: 400px;
  background: #fff;
  box-shadow: 0 0px 20px 0px #0000002e;
  text-align: center;
  border-radius: 20px;
}

.thankyouin img {
  width: 50%;
  filter: hue-rotate(273deg);
}

.cancel img {
  width: 20% !important;
  margin-top: 100px;
}

.text-danger {
  color: red !important;
}

.thankyouin h3 {
  color: #000;
  font-size: 35px;
  margin-top: 0;
}

.thankyouin p {
  font-size: 16px;
  letter-spacing: 1px;
  color: #000;
}

@media (max-width: 991px) {
  .thankyouin {
    width: 100%;
  }
}

/* FAQ Section Styles */
.accordion-button {
  color: var(--text-main);
  background-color: #f9f9f9 !important; /* Light Cream */
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color) !important;
  background-color: #fff !important;
  border-bottom: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  border-color: rgba(0, 0, 0, 0.1);
}

.accordion-item {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237209B7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237209B7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

/* Center Testimonials on Click */
#testimonials {
  scroll-margin-top: 20vh;
}

/* Hero Overlay Styles */
.hero-bg-overlay {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.2) 100%);
}

@media (max-width: 768px) {
  .hero-bg-overlay {
    background: rgba(255, 255, 255, 0.8);
  }
}
