body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
}

/* === HEADER WITH BACKGROUND IMAGE === */
.hero-header {
  /* This is the background image for the entire header */
  background-image: url('../images/banner3.png'); 
  background-size: cover; /* Ensures the image covers the entire header */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  color: white;
  padding: 1rem 2rem;
  position: relative;
}

/* Container inside header */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Logo size */
.logo img {
  height: 80px;
  width: auto;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.0rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a.active,
nav a:hover {
  text-decoration: underline;
}

.hero {
  padding: 4rem 2rem;
  background-image: url('../images/skyline.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  
  background-repeat: no-repeat;
}

.hero-content {
  text-align: center;
  max-width: 80%; /* Limits the box to 80% of the screen width */
  margin: 0 auto; /* Centers the box horizontally */
  background-color: rgba(224, 224, 224, 0.85); /* Semi-transparent gray */
  padding: 2rem; /* Adds space inside the box */
  border-radius: 8px;
}

.intro-content {
  text-align: center;
  max-width: 80%;
  margin: 2rem auto 0; /* Adds 2rem of space at the top */
  background-color: rgba(224, 224, 224, 0.85);
  padding: 2rem;
  border-radius: 8px;
}
  
  /* Remove the old background color */
  /* background-color: #e0e0e0; */
  
  /* Add the background image properties */
  background-image: url('../images/skyline.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  
  background-repeat: no-repeat;
  
  /* Change text color to white for contrast against the image */
  color: white; 
}

/* Add a semi-transparent overlay to the hero section to make text more readable */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Adjust opacity (0.4) as needed */
  z-index: -1;
}

/* This adds space between each of the text boxes on the practice page */
main.practice .hero-content {
  margin-top: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #002d62;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
}

.intro {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
main.practice {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

main.practice h2 {
  color: #002d62;
  margin-top: 1.5rem;
}
main.about {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

main.about p {
  line-height: 1.6;
  margin-bottom: 1rem;
}
main.contact {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 1rem;
  font-weight: bold;
}

form input,
form textarea {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 0.5rem;
}

form button {
  margin-top: 1.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #002d62;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background-color: #004aad;
}

ul.contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

ul.contact-info li {
  margin-bottom: 0.5rem;
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.about-photo img {
  width: 250px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Styles to align the image and header text */
.practice-header-container {
  display: flex;
  align-items: center;
  justify-content: center; /* This will center the image and header horizontally */
  gap: 1rem;
  margin-bottom: 2rem; 
}

/* Optional: To control the size of the icon */
.practice-header-container img {
  max-height: auto; /* Increase this value to make the image larger */
  width: 300px;
}

/* Add space below each descriptive paragraph */
main.practice p {
  line-height: 1.6;
  margin-bottom: 2rem; /* Adjust this value for more or less space */
}

/* Optional: To make all headings have the same top margin */
main.practice h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.about-text {
  flex: 1;
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-photo img {
    width: 180px;
  }
}

/* New style for the main two-column layout */
.main-content-columns {
  display: flex;
  gap: 2rem; /* Adds space between the left and right columns */
}

.left-column {
  flex: 1; /* Makes the left column a flexible size */
}

.right-column {
  flex: 2; /* Makes the right column twice as wide as the left */
}


.page-container {
  max-width: 80%;
  margin: 0 auto; /* This centers the container horizontally */
  background-color: rgba(255, 255, 255, 0.95); /* A semi-transparent white background */
}




@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  nav ul li {
    width: 100%;
  }

  nav a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  main {
    padding: 1rem;
  }

  form input,
  form textarea {
    font-size: 1rem;
  }
}




/* === MEDIA QUERY FOR MOBILE DEVICES === */
@media (max-width: 768px) {
  
  /* Adjusts the main content container for mobile */
  .page-container {
    max-width: 95%; /* Makes the content fill more of the mobile screen */
  }

  /* Adjusts the header for mobile */
  .hero-header .header-content {
    flex-direction: column; /* Stacks the logo and navigation vertically */
    align-items: flex-start;
  }

  /* Adjusts the navigation links for mobile */
  .hero-header nav ul {
    flex-direction: column; /* Stacks the nav links vertically */
    gap: 0.75rem;
    padding: 1rem 0;
  }

  /* Makes each nav link a full-width block */
  .hero-header nav a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  /* Adjusts the "About" page layout for mobile */
  .about-flex {
    flex-direction: column; /* Stacks the photo and text vertically */
    align-items: center;
    text-align: center;
  }
}