html {
  scroll-behavior: smooth;
}

body{background-color:#a8d3f7;}
#toolbar{background:#fff;padding:1rem 2rem;display:flex;justify-content:center;gap:2rem;box-shadow:0 2px 4px rgba(0,0,0,0.1);}/* toolbar container */
#toolbar a{color:#005BBB;text-decoration:none;font-weight:bold;text-transform:uppercase;font-size:14px;transition:color 0.3s;text-align:center;}/* toolbar links */
#toolbar a:hover{color:#003F7F;}/* hover effect */

#mobile-header {
  display: none;
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hamburger {
  font-size: 30px;
  cursor: pointer;
  color: #005BBB;
}

.closebtn {
  display: none;
}

@media screen and (max-width: 768px) {
  #mobile-header {
    display: flex;
    align-items: center;
  }
  
  #toolbar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    overflow-y: auto;
    transition: 0.5s;
    padding: 0; /* Reset padding for correct closing */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  
  #toolbar.open {
    width: 100%;
    padding-top: 60px;
  }
  
  #toolbar a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #f1f1f1;
    display: block;
    transition: 0.3s;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  #toolbar a:hover, #toolbar a:focus {
    color: #005BBB;
  }
  
  #toolbar .closebtn {
    display: block;
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    margin-bottom: 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  
  .contact-cta {
    margin: 20px 0;
  }
}

/* Modal (background) */
.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.9); /* Black w/ opacity */
  align-items: center;
  justify-content: center;
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 5px;
}

/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

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

/* Navigation Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "prev button" to the left */
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Services Grid on Homepage */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.service-card h3 {
  margin-top: 0;
  color: #005BBB;
  text-align: center;
}

.service-card p {
  flex-grow: 1;
  color: #333;
  line-height: 1.5;
}

.btn-read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 15px;
  background-color: #f1f1f1;
  color: #005BBB;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-read-more:hover {
  background-color: #e0e0e0;
}

/* Contact CTA Wrapper */
.contact-cta {
  text-align: center;
  margin: 40px 0;
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0056b3;
}

h1 {
  text-align: center;
}

