/*
Theme Name: OnWardVisa247 Theme
Theme URI: https://onwardvisa247.com
Description: Custom theme for OnWardVisa247 - Database Integrated
Version: 1.39
Author: OnWardVisa247 Team
*/

/* Global Reset & Typography */
:root {
  --primary-color: #0073e6;
  --primary-dark: #005bb5;
  --text-color: #1a1a1a;
  --text-light: #4a4a4a;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --accent: #ff9f1c;
  --success: #2ecc71;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-image:
    linear-gradient(
      135deg,
      rgba(135, 206, 250, 0.8) 0%,
      /* Light Sky Blue */ rgba(147, 112, 219, 0.8) 100% /* Medium Purple */
    ),
    url("assets/images/hero-sky.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 115, 230, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 115, 230, 0.4);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.highlight {
  color: var(--primary-color);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.95rem;
}

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

.nav-btn {
  padding: 10px 20px;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: transparent;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-features li {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--white);
  font-size: 1.05rem;
}

.hero-features i {
  color: var(--success);
  background: white;
  border-radius: 50%;
  padding: 2px;
}

/* Multi-Step Booking Card */
.hero-form-card {
  background: rgba(255, 255, 255, 0.98);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 650px; /* Wider for better multi-column */
  text-align: left;
  position: relative;
  border-top: 5px solid var(--primary-color);
  margin: 0 auto;
  color: var(--text-color); /* RESET TEXT COLOR TO DARK */
}

.booking-container-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.form-header {
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.form-header h3 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 5px;
}

.form-header p {
  color: var(--text-light);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form Elements */
.form-group-row {
  display: flex;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: 0.3s;
  color: var(--text-color); /* Ensure input text is dark */
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.1);
}

/* Radio Button Custom Labels */
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  margin-right: 20px;
  color: var(--text-color); /* Fix visibility */
}

.radio-label input {
  margin: 0;
}

/* Passenger Inputs Grid */
.passenger-inputs {
  display: flex;
  gap: 10px;
}

.pax-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  padding: 8px;
  border-radius: 6px;
  background: #f9f9f9;
}

.pax-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 600;
}

.pax-input-group input {
  width: 60px;
  text-align: center;
  border: 1px solid #ccc;
  background: white;
  font-weight: bold;
  padding: 5px;
  border-radius: 4px;
  color: var(--text-color);
}

/* Input Icons Wrapper */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 12px;
  color: #999;
  font-size: 1.1rem;
  z-index: 10;
}

.input-with-icon input {
  padding-left: 40px;
}

/* Flight Results */
.flight-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.flight-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  background: white;
  color: var(--text-color);
}

.flight-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.flight-info h4 {
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.flight-route {
  font-weight: bold;
  font-size: 1.1rem;
}

.select-btn {
  background: var(--bg-light);
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.flight-item:hover .select-btn {
  background: var(--primary-color);
  color: white;
}

/* Ticket Validity Pills */
.validity-options {
  display: flex;
  border: 1px solid #0073e6;
  border-radius: 6px;
  overflow: hidden;
}

.validity-pill {
  flex: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  background: white;
  color: #0073e6;
  transition: 0.2s;
  border-right: 1px solid #0073e6;
  font-weight: 500;
  font-size: 0.9rem;
}

.validity-pill:last-child {
  border-right: none;
}

.validity-pill input {
  display: none;
}

.validity-pill.active {
  background: #0073e6;
  color: white;
}

/* Payment Tabs */
.payment-section {
  margin-top: 10px;
}

.payment-tabs {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  margin-top: 10px;
}

.payment-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: #f8f9fa;
  cursor: pointer;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  color: var(--text-light); /* Default dark text for inactive tabs */
}

.payment-tab.active {
  background: #003087; /* PayPal Blue / Stripe Dark */
  color: white;
  border-bottom: 2px solid #003087;
}

.payment-tab[data-method="stripe"].active {
  background: #3b5998;
}

.payment-fields {
  border: 1px solid #ddd;
  border-top: none;
  padding: 20px;
  border-radius: 0 0 6px 6px;
  background: #fafafa;
  color: var(--text-color);
}

.secure-notice {
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
  text-align: center;
}

.total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 10px;
  padding: 15px;
  background: #f0f7ff;
  border-radius: 8px;
  border: 1px solid #d0e3ff;
}

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

.readonly-input {
  background: #eee;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-weight: 500;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}

.required {
  color: #e74c3c;
  font-style: italic;
  font-size: 0.8rem;
}

/* Remaining Sections */
.features {
  padding: 80px 0;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  text-align: center;
}
.step-item {
  padding: 20px;
}
.seo-content {
  padding: 80px 0;
  background: #f8fbff;
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.testimonials {
  padding: 100px 0;
}
.faq-section {
  padding: 80px 0;
  background: #fafafa;
}
.footer {
  background: #1a1e23;
  color: #aeb4be;
  padding: 80px 0 30px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .form-group-row {
    flex-direction: column;
    gap: 10px;
  }
  .passenger-inputs {
    gap: 5px;
  }
  .pax-input-group input {
    width: 100%;
  }
  .hero-form-card {
    padding: 20px;
  }
  .split-layout {
    grid-template-columns: 1fr;
  }
}
/* RESTORED & ENHANCED SECTIONS: Features, How It Works, SEO, Testimonials, FAQ, Footer */

/* Features Section - Transparent to show Hero BG */
.features {
  padding: 100px 0;
  background: transparent; /* Changed from white to transparent */
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Glass effect */
  border-radius: 16px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 115, 230, 0.15);
  border-color: rgba(0, 115, 230, 0.2);
}

.feature-icon {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px; /* Fixed height for alignment */
}

.feature-icon img {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 115, 230, 0.15));
}

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

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #2c3e50;
}

.feature-card p {
  color: #7f8c8d;
  line-height: 1.7;
}

/* How It Works - Connected Steps */
.how-it-works {
  padding: 100px 0;
  background: #f8fbfd; /* Very subtle blue tint */
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #2c3e50;
  letter-spacing: -1px;
}

.section-header p {
  font-size: 1.2rem;
  color: #7f8c8d;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  text-align: center;
  position: relative;
}

/* Connecting line for desktop */
@media (min-width: 900px) {
  .steps-grid::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      #e0e0e0 0,
      #e0e0e0 10px,
      transparent 10px,
      transparent 20px
    );
    z-index: 0;
  }
}

.step-item {
  position: relative;
  padding: 20px;
  z-index: 1;
  background: transparent; /* Ensure text visible over background */
}

.step-number {
  width: 70px;
  height: 70px;
  background: white;
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 25px;
  box-shadow: 0 10px 25px rgba(0, 115, 230, 0.2);
  transition: 0.3s;
}

.step-item:hover .step-number {
  background: var(--primary-color);
  color: white;
  transform: rotate(360deg);
}

.step-item h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #34495e;
}

/* SEO Content */
.seo-content {
  padding: 100px 0;
  background: white;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.text-content h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #2c3e50;
}

.check-list li {
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
  font-size: 1.1rem;
  color: #555;
  background: #f9f9f9;
  padding: 15px 15px 15px 50px;
  border-radius: 8px;
  transition: 0.2s;
}

.check-list li:hover {
  background: #f0f7ff;
  padding-left: 55px; /* Subtle Shift */
}

.check-list li::before {
  content: "\f00c"; /* FontAwesome Check */
  font-family: "Font Awesome 5 Free";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--success);
  font-weight: 900;
  font-size: 1.2rem;
}

/* Ticket Visual Styling - Modern Polish */
.image-content .img-wrapper {
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: rotate(2deg); /* Stylish tilt */
  transition: 0.3s;
}

.image-content .img-wrapper:hover {
  transform: rotate(0deg);
}

.image-content .img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Testimonials - Speech Bubble Style */
.testimonials {
  padding: 100px 0;
  background: #f4f6f8;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.content-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.content-card::before {
  content: "\201C";
  font-size: 5rem;
  color: #f0f0f0;
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

.testimonial p {
  font-style: normal;
  font-size: 1.05rem;
  margin-bottom: 25px;
  color: #555;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.user {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user .info h5 {
  font-size: 1.1rem;
  margin-bottom: 2px;
  color: #2c3e50;
}

/* FAQ - Modern Accordion */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #eee;
  overflow: hidden;
  transition: 0.3s;
}

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

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.15rem;
  color: #2c3e50;
  background: white;
}

.faq-question i {
  color: #ccc;
  transition: 0.3s;
}

.faq-question.active i {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 25px 25px;
  display: none;
  color: #666;
  line-height: 1.7;
  border-top: 1px solid transparent;
}

.faq-item.active {
  border-color: var(--primary-color);
  background: #fbfcff;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer - Dark & Spacious */
footer {
  background: #1e272e;
  color: #d2dae2;
  padding: 80px 0 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #d2dae2;
  transition: 0.2s;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--primary-color);
  padding-left: 5px; /* Subtle slide */
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: #808e9b;
}

/* Mobile Responsive Extended */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .form-group-row {
    flex-direction: column;
    gap: 10px;
  }
  .passenger-inputs {
    gap: 5px;
  }
  .pax-input-group input {
    width: 100%;
  }
  .hero-form-card {
    padding: 25px 20px;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid::before {
    display: none;
  } /* Hide connector on mobile */

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

/* Autocomplete Styles */
.input-with-icon {
  position: relative;
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--white);
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.autocomplete-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background-color: #f0f7ff;
  color: var(--primary-color);
}

.autocomplete-item strong {
  font-weight: 600;
}

.code-badge {
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #555;
}

/* Fix Date Picker Click */
/* Ensure Icons Render Correctly (Force Font Family) */
.fas,
.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
}
.far,
.fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400;
}
.fab,
.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400;
}

/* General Icon Reset */
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
/* Contact Form Section Styles */
.contact-section {
  padding: 60px 0;
  background-color: #f9fafe;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: transparent;
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header h2 {
  font-size: 2rem;
  color: var(--dark-text);
  font-weight: 700;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.form-instruction {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 0.95rem;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 1rem;
}

.form-row .form-group {
  flex: 1;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-text);
}

.form-control-gray {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  background-color: #eff2f7; /* Light gray background matching screenshot */
  font-size: 1rem;
  transition: all 0.2s;
}

.form-control-gray:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
  background-color: #e55e46; /* Orange color matching screenshot */
  border-color: #e55e46;
  padding: 12px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  color: #fff;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: #d14d38;
}

.checkbox-item label {
  user-select: none;
}
/* Scroll Fix for Sticky Header */
#search-step,
#contact-form-section {
  scroll-margin-top: 120px;
}

/* FAQ Accordion Styles */
.faq-question {
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0; /* Add some padding if needed, or rely on parent */
}

.faq-answer {
  display: none;
  padding-top: 10px;
  color: #555;
  line-height: 1.6;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   NEW TICKET WIDGET STYLES
   ========================================= */
.ticket-visual {
  display: flex;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin-bottom: 25px;
  font-family: "Oswald", sans-serif; /* Condensed font fits ticket look */
  position: relative;
  color: #333;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.ticket-left {
  flex: 2;
  background: #cce9f8; /* Light blue */
  padding: 20px 20px 20px 50px; /* Left padding for barcode */
  position: relative;
  border-right: 2px dashed #004d80;
}

/* Barcode Strip */
.barcode-strip {
  position: absolute;
  left: 15px;
  top: 15px;
  bottom: 15px;
  width: 25px;
  background: repeating-linear-gradient(
    to bottom,
    #333 0px,
    #333 2px,
    transparent 2px,
    transparent 4px
  );
}

.ticket-header-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: #004d80;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ticket-main-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  text-transform: uppercase;
  line-height: 1;
}

.ticket-main-route i {
  color: #004d80;
  font-size: 1.2rem;
  margin: 0 8px;
  transform: rotate(45deg);
}

.ticket-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ticket-data-col {
  display: flex;
  flex-direction: column;
}

.ticket-label {
  font-size: 0.7rem;
  color: #666;
  font-weight: 700;
  text-transform: uppercase;
}

.ticket-value {
  font-size: 1rem;
  color: #004d80;
  font-weight: 700;
}

.ticket-footer-note {
  font-size: 0.7rem;
  color: #555;
  margin-top: 15px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
}

.ticket-right {
  flex: 1;
  background: #005696; /* Dark Blue */
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-left: 2px dashed #8dc8ed; /* Match light blue */
  margin-left: -2px; /* Pull to overlap border */
}

/* Right side barcode */
.barcode-top {
  height: 30px;
  background: repeating-linear-gradient(
    to right,
    #fff 0px,
    #fff 2px,
    transparent 2px,
    transparent 4px
  );
  margin-bottom: 10px;
  opacity: 0.8;
}

.ticket-right-row {
  margin-bottom: 10px;
}

.ticket-right .ticket-label {
  color: #8dc8ed;
}

.ticket-right .ticket-value {
  color: white;
}

/* =========================================
   UPDATED BLOG CARD STYLES
   ========================================= */
.blog-card {
  border: 1px solid #eee;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.blog-date {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #333;
}

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

.blog-excerpt {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-all-posts-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 40px auto 0;
  padding: 12px 30px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-weight: 600;
  color: #333;
  width: fit-content;
  transition: 0.3s;
}

.read-all-posts-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Responsive Ticket */
@media (max-width: 600px) {
  .ticket-visual {
    flex-direction: column;
  }
  .ticket-left {
    border-right: none;
    border-bottom: 2px dashed #004d80;
  }
  .ticket-right {
    border-left: none;
    border-top: 2px dashed #8dc8ed;
    margin-left: 0;
    margin-top: -2px;
  }
}

/* Video Testimonials Styles */
.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  align-items: start;
}

.video-card {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 Aspect Ratio (Vertical Video) */
  height: 0;
  overflow: hidden;
  border-radius: 16px; /* Smooth corners like a phone */
  background: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.video-card iframe,
.video-card object,
.video-card embed,
.video-card video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Combined Testimonial Card Styles (New) */
.combined-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: start;
}

.combined-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Softer shadow */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.combined-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-video {
  /* 4:5 Aspect Ratio (Squared Vertical) to make video smaller than full 9:16 */
  width: 100%;
  padding-bottom: 125%;
  position: relative;
  background: #000;
  overflow: hidden;
}

.card-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 25px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic; /* Quote style */
}

.card-content .user {
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto; /* Push to bottom */
}

.card-content .avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-content .info h5 {
  font-size: 1.05rem;
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 3px;
}

.card-content .info span {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}
