body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #f4f7fa;
  color: #333;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a {
 color :black;
 text-decoration: none;
 font-weight: none;
}

a hover {
 color :black;
 text-decoration: none;
 font-weight: bold;
}

a visited {
 color :black;
 text-decoration: none;
 font-weight: none;
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.site-nav {
  background: #005f99;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  position: relative;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.menu-icon {
  font-size: 2rem;
}

/* Desktop Nav */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 1rem 2rem;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #005f99;
    animation: slideDown 0.3s ease-out;
    padding: 1rem 2rem;
    margin-top: 3.5rem; /* Push links below the toggle */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.logo-img {
  width: 25%;
  border-radius: 15px;
}


.site-header {
  background: #007acc;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeInDown 1s ease-in-out;
}

.site-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2.5rem;
  animation: fadeIn 2s ease-in;
}

.site-header p {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  animation: fadeIn 2.5s ease-in;
}

h3 a {
  text-decoration: none;
  color: inherit; /* Optional: keeps the link the same color as the heading */
}

h3 a:hover {
  text-decoration: underline; /* Optional: adds underline on hover */
  color: #005f99; /* Optional: change color on hover */
}

.btn-primary, .btn-secondary {
  background: #00aaff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-secondary {
  background: #005f99;
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-3px);
  background: #0099dd;
}

.services {
  background: #fff;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-box {
  width: 100%;
  max-width: 350px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-box img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.about {
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-banner {
  background: #007acc;
  color: #fff;
  text-align: center;
  padding: 2rem;
  animation: pulse 2s infinite alternate;
}

.social-icons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1); /* white icons */
}

.social-icons img:hover {
  transform: scale(1.1);
}


.contact {
  background: #fff;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #007acc;
  outline: none;
}

.contact button {
  padding: 0.75rem;
  background: #007acc;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact button:hover {
  background: #005f99;
  transform: scale(1.05);
}

.site-footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  animation: fadeIn 2s ease-in;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info a {
  color: #007acc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.hours ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0 0;
}

.map-embed {
  flex: 1;
  min-width: 300px;
}


.bio-img-left {
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  max-width: 200px;
  height: auto;
  object-fit: cover;
}

/* Mobile-friendly stacking */
@media (max-width: 600px) {
  .bio-img-left {
    float: none;
    display: block;
    margin: 0 auto 15px auto;
    max-width: 100%;
  }
}

.bio-img-right {
  float: right;
  margin-right: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  max-width: 200px;
  height: auto;
  object-fit: cover;
}

/* Mobile-friendly stacking */
@media (max-width: 600px) {
  .bio-img-right {
    float: none;
    display: block;
    margin: 0 auto 15px auto;
    max-width: 100%;
  }
}


.footer-menu {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #00aaff;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.02); }
}

/* Slide down animation */
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-10%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  padding: 1.5rem 0;
}

.footer-contact .contact-item {
  white-space: nowrap;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #005f99;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #00aaff;
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: #005f99;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content input,
.modal-content textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.modal-content input:focus,
.modal-content textarea:focus {
  border-color: #007acc;
  outline: none;
}

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

.modal-content button:hover {
  background-color: #005f99;
}

.modal-content select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.modal-content select:focus {
  border-color: #007acc;
  outline: none;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-response {
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
}

.success-msg {
  color: #007a33;
  font-weight: bold;
}

.error-msg {
  color: #b00020;
  font-weight: bold;
}

.loading-msg {
  color: #005f99;
  font-weight: bold;
  font-style: italic;
}


@media (max-width: 768px) {
  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

