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

body {
  font-family: 'Open Sans', sans-serif;
  padding-top: 56px; /* Adjust this value to match the height of your navbar */
}

/* Optional: Adjusting the spacing of the rest of the page content */
.container {
    margin-top: 20px;
}

/* Ensure other elements are not affected by the fixed navbar */
.navbar.fixed-top {
    z-index: 1030; /* Ensure the navbar is above other elements */
}

/* Header styles */
header {
  background-color: #ffffff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 300; /* Thin font weight */
  color: #1b3f57;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: rgb(117, 117, 117) .3px solid;
}

nav a {
  margin: 0 10px;
  color: #1b3f57;
  text-decoration: none;
  font-weight: 300;
}

nav a:hover {
  text-decoration: none;
  color: #66b3cc;
}

.logo {
  width: 190px; /* Adjust the width to your desired size */
  height: auto; /* Maintain aspect ratio */
  margin: -8px;
}

.nav-link .phone-number {
  margin-right: 15px; /* Adjust the space as needed */
}

.nav-link .call-to-action {
    font-weight: bold; /* Optional: Make the call-to-action text bold */
}



/* Main banner styles */
.banner {
  background-image: url('../Braden_Site/static/images/backgroundbanner.avif');
  background-size: cover;
  height: 350px; 
  display: flex;
  justify-content: center;
  align-items: center;
}



.banner h1 {
  font-size: 24px;
  color: #1b3f57;
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  font-weight: 300;
}


.welcome-banner {
  padding: 50px;
  text-align: center;
}

.welcome-banner h2 {
  font-size: 24px;
  color: #1b3f57;
  margin-bottom: 20px;
  font-weight: 300;
}




/* Welcome message styles */
.welcome {
  padding: 50px;
  background-color: #ffffff;
  text-align: center;
}

.welcome h2 {
  font-size: 24px;
  color: #1b3f57;
  margin-bottom: 20px;
  font-weight: 500;
}

.welcome button{
  padding: 10px 20px;
  background-color: #1b3f57;
  color: #ffffff;
  border: none;
  margin-top: 24px;
  margin-bottom: 24px;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: #000000 1px 1px 4px;
}


  /* Services section styles */
  .services {
      padding: 50px;
      background-color: #ffffff;
      text-align: center;
      font-weight: 300;
      margin-bottom: 36px;
  }

  .services h2 {
      font-size: 24px;
      color: #1b3f57;
      margin-bottom: 20px;
  }

  .service-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center; /* Center items horizontally */
      gap: 20px; /* Add some spacing between service items */
  }

  .service {
      flex: 1;
      min-width: 200px; /* Set a minimum width to ensure consistency */
      max-width: 300px; /* Set a maximum width for responsiveness */
      min-height: 200px; /* Ensure square size */
      padding: 20px;
      border: 1px solid #66b3cc;
      border-radius: 5px;
      background-color: #ffffff;
      margin: 10px;
  }

  .service h2 {
      font-size: 24px;
      color: #1b3f57;
      font-weight: 300;
  }

  .service h3 {
      font-size: 20px;
      color: #1b3f57;
      font-weight: 300;
  }

  .fa-file-alt {
      color: #1b3f57;
  }

  .fa-gavel {
      color: #1b3f57;
  }

  .fa-briefcase {
      color: #1b3f57;
  }

  /* Media query for smaller screens */
  @media screen and (max-width: 768px) {
      .service {
          flex-basis: calc(50% - 20px); /* Make each service take up 50% of the container width */
      }
  }

/* Testimonials styles */
.testimonials {
  padding: 50px;
  background-color: #1b3f57; /* Change background color to dark */
  text-align: center;
  color: #ffffff; /* Set text color to white for better contrast */
}

.testimonial {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
}

.testimonial .stars {
  color: #66b3cc; /* Set the color of the stars */
  font-size: 24px;
}


.testimonial p {
  font-style: italic;
  color: #ffffff;
  margin-bottom: 32px;
  margin-top: 24px;
}

.testimonial img {
  width: 100%; /* Make images fill the width of their parent div */
  max-height: 450px; /* Increase maximum height to make images larger */
  border-radius: 10px; /* Add border-radius for rounded corners */
  margin-top: 10px; /* Add some space between the text and the image */
  transition: transform 0.3s ease; /* Add transition for zoom effect */
}

.testimonial img:hover {
  transform: scale(1.1); /* Zoom in on hover */
}

.testimonials button {
  padding: 10px 20px;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #66b3cc;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 24px;
}

.testimonials button:hover {
  background-color: #66b3cc;
}

.testimonial h2 {
  font-size: 24px;
  color: #1b3f57;
  font-weight: 320;
}


.testimonials h2 {
  font-size: 24px;
  color: #ffffff;
  font-weight: 320;
}


/* Call-to-action styles */
.cta {
  padding: 50px;
  background-color: #ffffff;
  text-align: center;
}

.cta h3 {
  font-size: 24px;
  color: #1b3f57;
  margin-bottom: 20px;
  font-weight: 500;

}

.cta a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #66b3cc;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta a:hover {
  background-color: #1b3f57;
  color: #ffffff;
}

.cta img {
  width: 100%; /* Make images fill the width of their parent div */
  max-height: 375px; /* Set a maximum height to prevent oversized images */
  border-radius: 10px; /* Add border-radius for rounded corners */
  margin-top: 10px; /* Add some space between the text and the image */
}

.cta button{
  padding: 10px 20px;
  background-color: rgb(174, 92, 74);
  color: #ffffff;
  border: none;
  margin-top: 24px;
  margin-bottom: 24px;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: #000000 1px 1px 4px;
}

.cta button:hover {
  background-color: rgb(128, 54, 37);
}

/* Footer styles */
footer {
  padding: 20px;
  background-color: #333333;
  color: #ffffff;
  text-align: center;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}




/* Button styles */
  .welcome-banner button {
    padding: 10px 20px;
    background-color: rgb(174, 92, 74);
    color: #ffffff;
    border: none;
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: #000000 1px 1px 4px;
  }
  
  .welcome-banner button:hover {
      background-color: rgb(128, 54, 37);
  }


  /* CSS styles */
  .mobile-nav {
      display: none; /* Hide the mobile navigation menu by default */
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: #ffffff;
      z-index: 999;
  }
  
  .mobile-nav.active {
      display: block; /* Show the mobile navigation menu when active */
  }
  
  .mobile-nav-toggle {
      cursor: pointer;
  }
  
  .mobile-nav a {
      display: block;
      padding: 10px 20px;
      color: #1b3f57;
      text-decoration: none;
  }
  
  .mobile-nav a:hover {
      background-color: #f2f2f2;
  }
  
  /* Media query for smaller screens */
  @media screen and (min-width: 768px) {
      .mobile-nav-toggle {
      display: none; /* Hide the toggle button for larger screens */
      }
  }
  
  /* Contact form styles */
  .contact-form {
    padding: 50px;
    background-color: #ffffff;
    text-align: center;
    font-weight: 300;
  }

  .contact-form-page {
    padding: 50px;
    background-color: #ffffff;
    text-align: center;
    font-weight: 300;
    border-radius: 10px; /* Rounded corners */
  }

  .contact-form h2 {
    font-size: 24px;
    color: #1b3f57;
    margin-bottom: 20px;
    text-align: center; /* Center the heading */
  }

  .contact-form-page h2 {
    font-size: 32px;
    color: rgb(133, 0, 0);
    margin-bottom: 20px;
    text-align: center; /* Center the heading */
  }

  .contact-form .form-group {
    margin-bottom: 15px;
    text-align: left;
  }

  .contact-form-page .form-group {
    margin-bottom: 15px;
    text-align: left;
  }

  .contact-form label {
    margin-bottom: 5px;
    color: #1b3f57;
  }

  .contact-form-page label {
    margin-bottom: 5px;
    color: #1b3f57;
  }

  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form input[type="email"],
  .contact-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .contact-form-page input[type="text"],
  .contact-form-page input[type="tel"],
  .contact-form-page input[type="email"],
  .contact-form-page select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .contact-form-page input[type="checkbox"] {
    margin-right: 10px;
  }

  .checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
  }

  .contact-form .btn {
    padding: 10px 20px;
    background-color: rgb(18, 46, 105);
    color: #ffffff;
    border: none;
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: #000000 1px 1px 4px;
  }
  .contact-form-page .btn {
    padding: 10px 20px;
    background-color: rgb(18, 46, 105);
    color: #ffffff;
    border: none;
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: #000000 1px 1px 4px;
  }

  .contact-form .btn:hover {
    background-color: rgb(128, 54, 37);
  }
  .contact-form-page .btn:hover {
    background-color: rgb(128, 54, 37);
  }

  .contact-form .form-image {
    width: 100%; /* Make the image fill the width of its parent div */
    max-width: 100px; /* Set a maximum width to prevent it from becoming too large */
    margin-top: 20px; /* Add some space between the button and the image */
    border-radius: 10px; /* Optional: Add border-radius for rounded corners */
    display: block; /* Ensure the image is displayed as a block element */
    margin-left: auto; /* Center the image */
    margin-right: auto; /* Center the image */
  }
  .contact-form-page .form-image {
    width: 100%; /* Make the image fill the width of its parent div */
    max-width: 100px; /* Set a maximum width to prevent it from becoming too large */
    margin-top: 20px; /* Add some space between the button and the image */
    border-radius: 10px; /* Optional: Add border-radius for rounded corners */
    display: block; /* Ensure the image is displayed as a block element */
    margin-left: auto; /* Center the image */
    margin-right: auto; /* Center the image */
  }


/* Animation styles */
    .fade-in {
      opacity: 0;
      transform: translateX(-50px);
      transition: opacity 1s ease-out, transform 1s ease-out;
  }
  
  .fade-in.visible {
      opacity: 1;
      transform: translateX(0);
  }


/* About Me page */

.about-description {
padding: 50px;
background-color: #ffffff;
line-height: 1.5;
text-align: left;
font-size: 18px;
}

.about-description h2 {
font-size: 24px;
color: #1b3f57;
margin-bottom: 20px;
font-weight: 500;
text-align: center;
}

.about button{
padding: 10px 20px;
background-color: #1b3f57;
color: #ffffff;
border: none;
margin-top: 24px;
margin-bottom: 24px;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
box-shadow: #000000 1px 1px 4px;
}


.about-banner {
padding: 50px;
text-align: center;
}

.about-banner h2 {
font-size: 24px;
color: #1b3f57;
margin-bottom: 20px;
font-weight: 300;
}

.about-banner button{
padding: 10px 20px;
background-color: rgb(174, 92, 74);
color: #ffffff;
border: none;
margin-top: 24px;
margin-bottom: 24px;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
box-shadow: #000000 1px 1px 4px;
}

.cta-about button{
padding: 10px 20px;
background-color: #1b3f57;
color: #ffffff;
border: none;
margin-top: 24px;
margin-bottom: 24px;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
box-shadow: #000000 1px 1px 4px;
}



/* Call-to-action styles */
.cta-about {
  padding: 50px;
  background-color: #ffffff;
  text-align: center;
}

.cta-about a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #66b3cc;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-about a:hover {
  background-color: #1b3f57;
  color: #ffffff;
}

.cta-about img {
  width: 100%; /* Make images fill the width of their parent div */
  max-height: 375px; /* Set a maximum height to prevent oversized images */
  border-radius: 10px; /* Add border-radius for rounded corners */
  margin-top: 10px; /* Add some space between the text and the image */
}



.cta-about button:hover {
    background-color: rgb(128, 54, 37);
}
  

/* Universal Page Stuff*/

.banner-page p {
  font-size: 18px;
  color: #1b3f57;
  text-align: center;
  padding: 20px;
  background-color: rgb(255, 255, 255);
  font-weight: 300;
  box-shadow: #000000 0px 0px 10px;
}

.banner-page {
  background-image: url('../Braden_Site/static/images/backgroundbanner.avif');
  background-size: cover;
  height: 350px; 
  display: flex;
  justify-content: center;
  align-items: center;
  filter: grayscale(100%);
}



/* Wills and Trusts Page */

.willstrusts img {
  width: 100%; /* Make images fill the width of their parent div */
  max-height: 450px; /* Increase maximum height to make images larger */
  border-radius: 10px; /* Add border-radius for rounded corners */
  margin-top: 10px; /* Add some space between the text and the image */
  transition: transform 0.3s ease; /* Add transition for zoom effect */
}


/* Probate Services page */

.cta-probate {
text-align: center;
}

.cta-probate button{
padding: 10px 20px;
background-color: #1b3f57;
color: #ffffff;
border: none;
margin-top: 24px;
margin-bottom: 24px;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
box-shadow: #000000 1px 1px 4px;
}