:root {
  --primary-color: #2196F3;
  --primary-color-hover: #1976D2;
  --light-bg-color: #f5f5f5;
  --text-color: #334;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  background: #fff;
}

/* HEADER */
header {
  background: #fff;
  padding: 20px;
}

header .container {
  display: flex;
  justify-content: space-between; /* Logo on the left, lang-toggle on the right */
  align-items: center;           /* Vertically center both elements */
}

.logo {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo img {
  max-height: 50px; /* Set a maximum height for the logo */
  width: auto;      /* Maintain aspect ratio */
  object-fit: contain; /* Ensure the image fits within the container */
}

.lang-toggle {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.lang-toggle:hover {
  background: var(--primary-color-hover);
}

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

/* HERO SECTION WITH VIDEO BACKGROUND */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0074ff 30%, #005bb5 100%);
  height: auto; /* Allow height to adjust based on content */
  min-height: 500px; /* Ensures enough vertical space */
  overflow: hidden;
  color: #fff; /* White text on video background */
  display: flex;
  align-items: center;
  justify-content: center; /* Center content horizontally */
  padding: 20px; /* Added padding for better spacing */
  box-sizing: border-box; /* Ensure padding is included in height calculation */
}

@media (max-width: 600px) {
  .hero {
    min-height: 100vh; /* Ensure it takes at least the full viewport height */
    padding: 40px 20px; /* Increase padding for better spacing */
  }
}

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

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* Above the overlay */
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  justify-content: center; /* Center content horizontally */
}

.hero-left,
.hero-right {
  flex: 1 1 300px;
  padding: 20px; 
}

/* Center the "Start Reserving" button */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align items to the left */
  text-align: justify; /* Justify text */
}

.hero-left h1 {
  margin-top: 0;
  font-size: 2.2em; /* Increased font size */
}

.hero-left p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px; /* Added margin for better spacing */
  text-align: justify; /* Justify text */
}

@media (max-width: 600px) {
  .hero-left h1 {
    font-size: 1.8em; /* Adjust font size for smaller screens */
  }

  .hero-left p {
    font-size: 1em; /* Adjust font size for smaller screens */
  }
}

.price-badge {
  display: inline-block;
  background: #e3f2fd; /* Softer background color */
  color: #2196F3; /* Primary color for text */
  padding: 5px 10px; /* Smaller padding */
  border-radius: 12px; /* Rounded style */
  font-size: 1.2em; /* Slightly larger font size */
  font-weight: 600;
  margin-top: 10px; /* Margin for spacing */
  border: 1px solid #2196F3; /* Subtle border */
  text-align: center; /* Center the text */
  box-shadow: none; /* Remove box-shadow */
  cursor: default; /* Remove pointer cursor */
}

.price-tag {
  font-weight: bold;
  font-size: 1.5rem;
  color: #0074ff; /* Only price is colored */
  display: inline-block;
  margin-top: 10px; /* Margin for spacing */
  text-align: center; /* Center the text */
}

.price-unit {
  font-weight: normal;
  font-size: 1rem;
  color: #333; /* Neutral color */
}

.price-period {
  font-weight: normal;
  font-size: 0.9rem;
  color: #666; /* Slightly lighter color for readability hierarchy */
}

/* FORM INSIDE HERO */
.form-container {
  background: #fff;
  color: var(--text-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-container h2 {
  margin-top: 0;
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(33,150,243,0.2);
}

.dimensions-fields {
  display: flex;
  gap: 10px;
}

.dimensions-fields div {
  flex: 1;
}

.dimensions-fields label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.dimensions-fields input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  box-sizing: border-box;
}

.dimensions-fields input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(33,150,243,0.2);
}

button[type="submit"] {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--primary-color-hover);
}

button[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33,150,243,0.3);
}

/* FEATURES SECTION */
.features {
  background: var(--light-bg-color);
  padding: 60px 0;
  text-align: center;
  color: var(--text-color);
}

.features h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 20px;
}

.feature-item {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature-item h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.2em;
}

.feature-item p {
  margin-bottom: 0;
  line-height: 1.5;
}
.feature-item img {
  width: 100%;
  height: 200px; /* Set a fixed height for all images */
  object-fit: cover; /* Ensure the image covers the area without distortion */
  border-radius: 8px;
  margin-bottom: 15px;
}

/* TESTIMONIAL SECTION */
.testimonial-section {
  padding: 40px 20px;
  text-align: center;
}

.testimonial-section h2 {
  margin-bottom: 20px;
  font-size: 1.8em;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
  position: relative;
  background: #fff;
  color: var(--text-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial::before {
  content: "“";
  font-size: 3em;
  color: var(--primary-color);
  position: absolute;
  left: 15px;
  top: 5px;
}

.testimonial::after {
  content: "”";
  font-size: 3em;
  color: var(--primary-color);
  position: absolute;
  right: 15px;
  bottom: -10px;
}

.testimonial strong {
  display: block;
  margin-top: 15px;
  font-style: normal;
  color: #555;
  font-weight: 700;
}

/* PROCESS SECTION */
.process {
  padding: 40px 20px;
}

.process h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8em;
}

.steps {
  display: grid;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  /* Force 4 columns large, 2 columns medium, 1 column small */
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.step h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.step p {
  margin-top: 0;
  line-height: 1.5;
}

.step img {
  max-width: 80px;
  margin-bottom: 10px;
}

.scroll-to-form {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.scroll-to-form:hover {
  background: var(--primary-color-hover);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-to-form:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}

/* CTA SECTION */
.cta-section {
  background: var(--light-bg-color);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cta-section img {
  width: 40%; /* Decreased from 50% to 40% */
  height: auto;
  border-radius: 8px;
  object-fit: contain; /* Ensure the image is not cropped */
  max-height: 300px; /* Set a maximum height to prevent the image from looking too tall */
}

.cta-content {
  max-width: 50%;
  text-align: left;
}

.cta-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.cta-content h2#cta-slogan {
  font-size: 2em; /* Slightly smaller than the main heading */
  font-weight: bold;
  margin-bottom: 15px; /* Margin for spacing */
  color: var(--primary-color);
}

.cta-content p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1.3em;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
  color: #fff;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2em;
  transition: background 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.cta-btn:hover {
  background: linear-gradient(135deg, var(--primary-color-hover), var(--primary-color));
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}

@media (max-width: 768px) {
  .cta-section {
    flex-direction: column;
    text-align: center;
  }
  .cta-section img {
    width: 100%;
    max-height: 200px; /* Adjusted for smaller screens */
  }
  .cta-content {
    max-width: 100%;
    text-align: center;
  }
  .cta-content h2 {
    font-size: 2em;
  }
  .cta-content p {
    font-size: 1.1em;
  }
  .cta-content h2#cta-slogan {
    font-size: 1.8em; /* Adjusted for smaller screens */
  }
}

/* FOOTER */
footer {
  background: var(--primary-color-hover);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
}

footer p {
  margin: 0;
  font-size: 0.9em;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .hero {
    height: 80vh; /* Increase the height for mobile devices */
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-left,
  .hero-right {
    padding: 10px;
  }
}

@media (max-width: 500px) {
  .dimensions-fields {
    flex-direction: column;
  }
  .dimensions-fields input {
    margin-bottom: 10px;
  }
}

.lang-select {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.lang-select:hover {
  background: var(--primary-color-hover);
}

/* COMPARISON SECTION */
.comparison {
  background: var(--light-bg-color);
  padding: 40px 20px;
  text-align: center;
}

.comparison-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* center columns horizontally */
}

.comparison h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: var(--text-color);
}

.comparison-column {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 400px;
  text-align: left;
  width: 100%;
}

.comparison-column h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.comparison-column ul {
  list-style: none; /* remove default bullets */
  margin: 0;
  padding: 0;
}

.comparison-column ul li {
  margin-bottom: 15px;
  line-height: 1.5;
  color: var(--text-color);
  display: flex;
  align-items: flex-start;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s, box-shadow 0.3s;
}

.comparison-column ul li:hover {
  background: rgba(33, 150, 243, 0.1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.comparison-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.badge {
  background: rgba(33, 150, 243, 0.1); /* subtle background color */
  padding: 2px 4px;
  border-radius: 12px;
  font-weight: bold;
}

/* Optional image styling if you add images inside columns */
.comparison-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

@media (max-width: 800px) {
  .comparison-row {
    flex-direction: column;
    align-items: center;
  }
  .comparison-column {
    max-width: 600px; /* slightly bigger if you like */
    margin-bottom: 20px;
  }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .comparison-column {
    width: auto;
  }

  .comparison-column ul li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s, box-shadow 0.3s;
  }

  .comparison-column ul li:hover {
    background: rgba(33, 150, 243, 0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .comparison-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }

  .badge {
    background: rgba(33, 150, 243, 0.1); /* subtle background color */
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1em; /* Slightly larger font size */
    color: var(--primary-color); /* Primary color for text */
  }

  .comparison-column ul li div {
    flex: 1;
  }

  .comparison-column ul li div span {
    display: block;
    font-size: 1em;
    color: var(--text-color);
  }

  .comparison-column ul li div span:first-child {
    font-weight: bold;
    margin-bottom: 5px;
  }
}

/* MODAL POPUP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: left;
  max-width: 500px;
  width: 90%;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  font-size: 1rem;
  line-height: 1.6;
}

.modal-content h2 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.modal-content p {
  margin-bottom: 15px;
  color: #333;
}

.modal-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.modal-content a:hover {
  text-decoration: none;
}

.modal-content h2 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content h2 .modal-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.modal-content p {
  color: #666;
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #999;
}

.modal-close:hover {
  color: #666;
}

.modal-ok {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.modal-ok:hover {
  background: var(--primary-color-hover);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-ok:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}

/* MODAL STYLES */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.start-reserving-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
  display: block; /* Ensure the button is displayed */
}

.start-reserving-btn:hover {
  background: var(--primary-color-hover);
}

@media (max-width: 768px) {
  .start-reserving-btn {
    display: block; /* Show button on mobile */
  }
  .hero-right {
    display: none; /* Hide form on mobile */
  }
}

@media (min-width: 769px) {
  .start-reserving-btn {
    display: none; /* Hide button on larger screens */
  }
}

@media (max-width: 768px) {
  .start-reserving-btn {
    display: block; /* Show button on mobile */
  }
  .hero-right {
    display: none; /* Hide form on mobile */
  }
}

/* PRICING EXAMPLES SECTION */
.pricing-examples {
  padding: 60px 20px;
  background: var(--light-bg-color);
  text-align: center;
}

.pricing-examples h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: var(--text-color);
}

.pricing-examples p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure content is spaced evenly */
}

.pricing-card-content {
  display: flex;
  align-items: center;
  gap: 15px; /* Add space between the image and the description */
}

.pricing-card p {
  margin: 0;
  margin-bottom: 10px; /* Add margin to the bottom of the description */
}

.pricing-card .pricing-price {
  margin-top: auto; /* Push the price to the bottom */
  margin-top: 10px; /* Add margin to the top of the price */
}

.pricing-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.pricing-price {
  font-weight: bold;
  font-size: 1.2em;
  color: var(--primary-color);
  margin-top: 10px;
}

.tooltip {
  display: none;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9em;
  white-space: nowrap;
}

.pricing-card:hover .tooltip {
  display: block;
}

.highlight {
  animation: highlight-animation 5s ease-in-out;
}

@keyframes highlight-animation {
  0% {
    box-shadow: 0 0 10px 5px rgba(33, 150, 243, 0.5);
  }
  100% {
    box-shadow: none;
  }
}

/* Terms and Conditions Modal */
.terms-link {
  color: var(--primary-color);
  text-decoration: underline;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: left;
  max-width: 500px;
  width: 90%;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  font-size: 1rem;
  line-height: 1.6;
}

.modal-content h2 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.modal-content p {
  margin-bottom: 15px;
  color: #333;
}

.modal-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.modal-content a:hover {
  text-decoration: none;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #999;
}

.modal-close:hover {
  color: #666;
}

/* Align the terms and conditions checkbox with the text */
.terms-group {
  display: flex;
  align-items: center; /* Vertically align the checkbox and text */
  gap: 10px; /* Add spacing between the checkbox and the text */
}

.terms-group input[type="checkbox"] {
  width: 16px; /* Set a consistent size for the checkbox */
  height: 16px;
  margin: 0; /* Remove default margin */
  cursor: pointer; /* Add a pointer cursor for better UX */
}

.terms-group label {
  font-size: 0.9rem; /* Adjust font size for readability */
  color: var(--text-color); /* Use the default text color */
  cursor: pointer; /* Add a pointer cursor for better UX */
  line-height: 1.4; /* Improve readability for multiline text */
}