.header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  margin: 0;
  width: 100%;
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
  width: 100%;
  width: 100%;
  min-height: 100vh;
}

.hero {
  position: relative;
  text-align: center;
  padding: 8rem 2rem 6rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, #fff 100%), 
              url('pedro-lastra-5g8dJvtYRYA.jpg') center/cover no-repeat;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
}

.hero h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: white;
}

.price-form-main {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.quote-form {
  background-color: #7E92A0;
  width: 20%;
  margin-top: -50px; /* Slight overlap for seamless transition */
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  z-index: 1;
  position: relative;
}

.price-pannel {
  display: flex;
  color: #fff;
  max-width: 40%;
  margin-top: -50px; /* Slight overlap for seamless transition */
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 10px;
  z-index: 1;
  position: relative;
  gap: 20px;
  flex-direction: column;
}

.region-pannel {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  text-align: left;
  height: 150px;
  padding-bottom: 10px;
  height: max-content;
}

.region-pannel-with-discount {
  display: flex;
  flex-direction: column;
  justify-content: left;
  text-align: left;
  border-bottom: 2px solid #fff;
  padding-bottom: 10px;
  height: max-content;
}

.countries {
  font-size: x-large;
  font-weight: bolder;
}

.fares {
  font-size: x-large;
  font-weight: bolder;
}

@media (max-width: 768px) {
  .price-form-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .price-pannel {
    display: flex;
    width: 80%;
    margin-top: -50px; /* Slight overlap for seamless transition */
    border-radius: 10px;
    z-index: 1;
    position: relative;
  }

  .quote-form {
    width: 80%;
    margin: auto;
  }

  .region-pannel {
    gap: 20px;
    justify-content: center;
    align-items: center;
  }

  .extra-size {
    font-size: x-large;
    font-weight: bolder;
  }
}

.form-row-radio {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

#radio-button-return {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 20px;
  height: 20px;
}

#radio-button-one-way {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 20px;
  height: 20px;
}

.return {
  display: flex;
  justify-content: left;
  text-align: center;
  margin-bottom: 20px;
  align-items: center;
  margin-right: 20px;
}

.return input {
  margin: 0;
  padding: 0;
}

.form-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.form-row-dates {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.form-row-dates input {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-row-dates select {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.traveler-selector {
  position: relative;
  margin: 10px;
  font-family: Arial, sans-serif;
  width: 100%;
}

.dropdown-toggle {
  width: 100%;
  padding: 10px;
  padding: 0.6rem;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 10;
}

.traveler-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}

.traveler-row span {
  flex: 1;
}

.traveler-row .minus,
.traveler-row .plus {
  width: 30px;
  height: 30px;
  border: none;
  background: #eee;
  cursor: pointer;
  font-size: 18px;
}

.traveler-row .count {
  width: 40px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="checkbox"],
select,
input[type="date"] {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.submit-btn {
  background-color: #0078d7;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  margin-top: 1rem;
  cursor: pointer;
}

.right-column-price {
  text-align: end;
  justify-content: left;
  padding-top: 0;
  margin-top: 0;
}

.extra-size {
  font-size: 300%;
  font-weight: bolder;
}

.site-header.transparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 1rem 0;
    z-index: 1000;
}

.site-header.transparent .logo,
.site-header.transparent .phone-number,
.site-header.transparent .burger-menu span {
    color: rgb(228, 226, 226);
}

.logo {
  font-family: 'Great Vibes', cursive; /* Apply the Great Vibes font */
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  justify-self: start;
}

.trustpilot {
  justify-self: center;
}

.trustpilot img {
  height: 20px;
}

.phone-number a {
    font-size: 1rem;
    text-decoration: none;
    color: white;
    justify-self: end;
}

.right-group {
  display: flex;
  gap: 1rem; /* Space between menu and phone */
  margin-left: auto;
}

/* Burger Icon */
.burger-menu {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate to X */
.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Show burger on desktop too */
@media (min-width: 769px) {
  .burger-menu {
    display: flex;
  }
}

.mobile-nav.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

/* Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

/* Transparent Compact Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85); /* semi-transparent white */
  backdrop-filter: blur(10px);
  z-index: 999;
  padding-top: 6rem;
  text-align: center;
  animation: fadeIn 0.3s ease forwards;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 400px;
}

.mobile-nav li {
  margin-bottom: 2rem;
}

.mobile-nav a {
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 0 2rem;
    max-width: 100%;
}

.workflow-section-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.workflow-section {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.header-container-2 {
  margin-bottom: 60px;
}

.subtitle {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #8a1538; /* Deep red color from the image */
  font-weight: 700;
  text-transform: uppercase;
}

.header-container-2 h2 {
  font-size: 2rem;
  color: #222;
  margin-top: 5px;
  font-weight: 600;
}

.steps-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  position: relative;
  gap: 20px;
}

.steps-container a {
  text-decoration: none;
  color: #222;
  font-weight: bolder;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 150px; /* Aligns with the middle of the 90px circles */
  left: 5%;
  width: 90%;
  height: 2px;
  border-top: 2px dotted #e0e0e0;
  z-index: 1;
}

.step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2; /* Sits on top of the dotted line */
}

.icon-wrapper {
  height: 300px;
  width: 300px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.step-card h3 {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #8a1538;
  margin-bottom: 15px;
  font-weight: 700;
}

.step-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
  }

    .phone-number,
    .trustpilot {
        display: none;
  }

    .header-container {
        grid-template-columns: 1fr auto;
  }

    .logo {
        left: 1.5rem;
  } 
  
  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  /* Turn horizontal line into a vertical line for mobile */
  .steps-container::before {
    top: 50px;
    left: 50%;
    width: 2px;
    height: 80%;
    border-left: 2px dotted #e0e0e0;
    border-top: none;
    transform: translateX(-50%);
  }
}

.page-description {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.page-description-container {
  width: 80%;
  border: 2px solid #ffffff;
  border-radius: 20px;
  background-color: #fff;
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 50px;
  padding-bottom: 50px;
  font-size: larger;
}

.page-description-container h2 {
  margin-top: 50px;
}

@media (max-width: 768px) {
  .page-description-container {
    width: 95%;
    border: 2px solid #f8f9fa;
    border-radius: 20px;
    background-color: #f8f9fa;
    padding: 0;
    font-size: larger;
  }
}

.why-book {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.why-book h2 {
  text-align: center;
}

.why-book-boxes {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.why-book-box {
  border: 2px solid #ffffff;
  border-radius: 20px;
  padding: 30px;
  width: 25%;
}

@media (max-width: 768px) {
  .why-book-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .why-book-box {
    border: 2px solid #ffffff;
    border-radius: 20px;
    padding: 30px;
    width: 80%;
  }
}

.site-footer {
  background-color: #7E92A0;
  padding: 4rem 8%;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brands-main-footer {
  align-items: center;
  -moz-column-gap: 20px;
  column-gap: 20px;
  display: flex;
  justify-content: space-between;
  row-gap: 20px;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  flex-wrap: wrap;
  flex-direction: row;
  unicode-bidi: isolate;
  caret-color: #000;
  color: #000;
}

@media (max-width: 600px) {
  .brands-main-footer {
    flex-direction: column;
  }
}

.brands-main-footer__item {
  flex-shrink: 1;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #0078d7;
}

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

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  text-decoration: none;
  color: #444;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #0078d7;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.95rem;
  color: #666;
}