/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Archivo", system-ui;
}

h1 {
  font-size: 5rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p,
label {
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-bottom: 1rem;
}

ul li {
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-bottom: 0.5rem;
}

/* Define custom CSS variables */
:root {
  --primary-hero-color: #c6a460; /* Optional primary color for overlay */
  --secondary-hero-color: #e6e9ea; /* Optional secondary color */
}

/* Logo Overlay */
#logoOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1; /* On top of video, but below other elements */
  opacity: 1;
  transition: opacity 10s ease;
}

button {
  margin-left: 10px;
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  border-style: solid;
  border-weight: 5px;
  border-color: #111;
  border-radius: 9999px;
}

/* Header styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  color: white;
  padding: 10px 20px;
  z-index: 1000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center;
}

.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the logo */
  position: relative;
}

.headerspacer {
  width: 400px;
}

.logo {
  text-align: center;
}

.logo1 {
  display: flex;
  padding: 10px;
  align-items: center;
}

.logo img {
  height: 2.5rem; /* Keep the image size as per your requirement */
}

.logo a {
  text-decoration: none;
  color: var(--secondary-hero-color);
  font-weight: bold;
}

.logo a:hover,
.logo a:visited {
  text-decoration: none;
  color: var(--secondary-hero-color);
  font-weight: bold;
}

/* Navigation styling */
nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  text-align: center;
}

nav a {
  display: inline-block;
  width: 100px;
  font-size: 1.5rem;
  text-decoration: none;
  color: #111;
  font-weight: normal;
}

nav a:hover {
  font-weight: bold;
}

.header-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: flex-end; /* Corrected property name */
}

.primaryButton {
  background-color: var(--primary-hero-color);
  color: #fff;
  font-weight: bold;
}

.primaryButton:hover {
  background-color: var(--primary-hero-color);
}

.secondaryButton {
  background-color: var(--secondary-hero-color);
  color: #c6a460;
}

.secondaryButton:hover {
  background-color: var(--secondary-hero-color);
}

/* Hide-on-mobile class */
.hide-on-mobile {
  display: inline-block;
}

/* Hamburger menu */
.hamburger {
  display: none; /* Hidden by default */
}

/* Hero section styling */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('background_1.png'); /* First background image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: black;
  font-size: 2rem;
  padding-top: 70px; /* Add padding to compensate for the fixed header */
}

.hero-content {
  text-align: center;
}

.hero-content h2 {
  font-size: 2.5rem;
}

.mobile-image {
  display: none; /* Hidden on desktop */
}

/* Content Sections */
.section-2,
.section-3,
.section-4,
.got-questions {
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  font-size: 1.5rem;
  height: 100vh;
}

.section-2 {
  background-image: url('background_2.png'); /* Second background image */
}

.section-3 {
  background-image: url('background_3.png'); /* Third background image */
}

.section-4 {
  background-image: url('background_4.png'); /* Fourth background image */
}

.got-questions {
  background-image: url('background_1.jpg'); /* Another background image */
}

/* Ensure sections have some padding and spacing */
.content-section {
  text-align: center;
  padding: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  width: 60%;
  border: none; /* Optional border */
}

.row {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  margin: 10px;
  background: rgba(255, 255, 255, 0.6); /* Semi-transparent */
  backdrop-filter: blur(10px); /* Fuzzy effect */
  border: none; /* Borders for the cells */
}

.cell:first-child {
  flex: 0 0 30%; /* First cell takes 30% of the row width */
}

.cell {
  flex: 1;
  text-align: left;
  padding: 10px;
  margin: 0 10px;
  color: #000;
}

form {
  max-width: 500px;
}

/* Input fields styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid;
  border-color: var(--primary-hero-color);
  border-radius: 20px; /* Rounded corners */
  box-sizing: border-box;
  color: #333;
}

/* Ensure consistent height for textareas */
textarea {
  height: 100px;
  resize: vertical;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Hide regular nav links */
  nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px; /* Adjust based on header height */
    width: 100%;
    left: 0;
    padding: 10px 0;
  }

  nav a {
    display: block;
    padding: 10px;
    text-align: center;
    color: #000; /* Ensure nav links are visible */
  }

  /* Show the hamburger icon */
  .hamburger {
    display: block;
    font-size: 30px;
    cursor: pointer;
  }

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: none; /* Optional border */
}

  /* Adjust header spacing */
  header {
    flex-wrap: wrap;
  }

  .headerspacer {
    width: 100%;
    text-align: center;
  }

  .logo {
    flex: 1 1 100%;
    text-align: center;
  }

  .header-buttons {
    display: none; /* Hide the header buttons on mobile */
  }

  /* Hide buttons on mobile */
  .hide-on-mobile {
    display: none;
  }

  /* Adjust sections */
  .row {
    flex-direction: column;
  }

  .cell {
    width: 100%;
    margin: 0;
    padding: 10px;
  }

  .cell:first-child {
    flex: none;
  }

  /* Adjust text */
  .cell p {
    font-size: 1rem;
    line-height: 1.4rem;
  }

  /* Remove background images on mobile */
  .section-2,
  .section-3,
  .section-4,
  .got-questions {
    background-image: none;
    padding: 60px 20px;
  }

  /* Display mobile images */
  .mobile-image {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Adjust hero content */
  .hero-content h2 {
    font-size: 2rem;
  }

  /* Adjust font sizes */
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  p,
  label {
    font-size: 1rem;
    line-height: 1.4rem;
  }

  ul li {
    font-size: 1rem;
    line-height: 1.4rem;
  }
}
