

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background: linear-gradient(120deg, #007acc, #005f99);
  color: white;
  padding-bottom: 4em;
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5em 2em;
  background: rgba(0,0,0,0.1);
}

nav .logo {
  font-size: 1.5em;
  font-weight: bold;
  padding: 0; /* Reset padding */
}

nav .logo img {
  height: 60px; /* Adjust the size of the logo */
  width: auto; /* Maintain aspect ratio */
  display: block; /* Remove extra space below image */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2em;
}

nav a {
  color: white;
  font-weight: 600;
  font-size: 1.3em;
}

.phone-number {
  text-align: center;  /* Centers the phone number text */
  position: absolute;
  top: 2px;  /* Adjust to position it closer to the header */
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;  /* Optional: change font size */
  font-weight: bold;
}



/* Hero */
.hero {
  text-align: center;
  padding: 4em 2em 2em;
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.btn-primary {
  background: white;
  color: #007acc;
  padding: 0.8em 1.5em;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease; /* Smooth transition for background change */
}

.btn-primary:hover {
  background-color: #e0e0e0; /* A darker shade of white (light gray) */
}



section {
  padding: 4em 2em;
  text-align: center;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  font-size: 2em;
  margin-bottom: 1em;
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin-top: 2em;
}

.card {
  background: white;
  padding: 2em;
  width: 250px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* Ensure positioning for absolute content */
}

.card a {
  display: block;  /* Makes the <a> tag take up the full space of the card */
  color: inherit;  /* Inherit text color */
  text-decoration: none;  /* Remove underline */
  height: 100%;  /* Make anchor tag take up the full height of the card */
  width: 100%;  /* Make anchor tag take up the full width of the card */
  padding: 0;  /* Remove any padding from the anchor tag */
}

.card:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Darker, more pronounced shadow */
}

.card i {
  font-size: 2em;
  color: #007acc;
  margin-bottom: 0.5em;
}


.btn-secondary {
  background-color: #007acc;
  color: white;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #005f99;
  transform: scale(1.05);
}


footer {
  background: #eee;
  padding: 2em;
  text-align: center;
  font-size: 0.9em;
  margin-top: 2em;
}

.dropdown-menu {
  display: none; /* hide by default */
  position: absolute;
  background-color: white;
  color: #333;
  list-style: none;
  padding: 0.5em 0;
  margin-top: 0.5em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  min-width: 220px;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 0.5em 1em;
}

.dropdown-menu li a {
  color: #333;
  font-weight: 500;
  display: block;
}

/* Make dropdown container relative so absolute submenu works */
.dropdown {
  position: relative;
}

/* form formatting */
form {
  background-color: white;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 2em auto;
  text-align: left;
}

form label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
  color: #007acc;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1.5em;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1em;
}

form button {
  background-color: #007acc;
  color: white;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #005f99;
}


.services-list {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap into multiple rows */
  justify-content: center; /* Center the items horizontally */
  gap: 1em; /* Space between items */
  font-size: 1.1em;
  margin-top: 2em;
  color: #333;
}

.services-list div {
  background-color: white;
  padding: 1em 2em;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: calc(50% - 1em); /* Ensure each item takes up 50% width with space for gap (50% for two)*/
  text-align: center;
  box-sizing: border-box; /* To include padding in the width calculation */
}


/*home button on thank you page*/
.btn-home {
  background-color: #007acc; /* Same blue as the rest of the page */
  color: white;
  padding: 18px 36px;
  font-size: 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-home:hover {
  background-color: #005f99; /* Slightly darker shade of blue for hover */
}
















@media (max-width: 768px) {

  /* NAVIGATION */
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 1em;
    width: 100%;
  }

  .phone-number {
    position: static;
    transform: none;
    margin-top: 1em;
    text-align: center;
    font-size: 18px;
  }

  /* HERO */
  .hero h1 {
    font-size: 1.8em;
  }

  .hero p {
    font-size: 1em;
  }

  /* BUTTONS */
  .btn-primary,
  .btn-secondary {
    font-size: 1em;
    padding: 0.6em 1.2em;
  }

  /* CARDS */
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  /* FORM */
  form {
    padding: 1.5em;
  }

  /* SERVICES LIST */
  .services-list div {
    width: 100%;
  }

  /* HEADER */
  header {
    padding-bottom: 2em;
  }
}
