* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      padding-top: 124px;
      font-family: Arial, sans-serif;
      line-height: 1.6;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

        /* Mobile view — topbar is taller when stacked */
    @media (max-width: 768px) {
      body {
        padding-top: 249px; /* Adjust this based on your mobile nav height */
      }
    }

    #topbar {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 500;
      background-color: whitesmoke;
      padding: 0rem;
      transition: top 0.3s;
    }
    
    header {
      z-index: 1001;
      background-color: rgb(255, 255, 255);
      color: white;
      padding: 0rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
        display: inline;
        width: 150px;
        height: auto;
        padding-left: 1rem;
    }

    .motto {
      font-family: 'playfair display', serif;
      font-size: 1.5rem;
      font-style: italic;
      color: #787878;
      text-align: right;
      padding-right: 3rem;
      padding-left: 1rem;
      font-size: clamp(1rem, 1vw + 0.7rem, 2rem);
      white-space: nowrap;       /* Prevents line breaks */
      flex-shrink: 1;
    }

    nav {
      z-index: 1000;
      display: flex;
      justify-content: center;
      gap: 6rem;
      background-color: #294582;
      padding: 0.5rem 0;
    }

        @media screen and (max-width: 768px) {
      nav {
        flex-direction: column;
        gap: 1rem; /* Less gap for stacked layout */
      }
    }

    nav a {
      color: white;
      text-decoration: none;
      font-weight: bold;
    }

    a:hover {
      opacity: 50%;
    }

    .hero {
      background: url('Images/hero_image.jpg') no-repeat top center/cover;
      color: white;
      text-align: left;
      padding: 4rem 2rem;
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 6;
      display: flex;
      align-items: center;
      padding: 2rem;
    }

    .hero-text {
      max-width: 500px;
      background: rgba(0, 0, 0, 0.5);
      padding: 2rem;
      border-radius: 5px;
    }

    .hero-text h1 {
      font-size: 2.7rem;
      margin-bottom: 1.25rem;
    }

    .hero-text button:hover{
      background-color: #fff09b;
    }

    .learn-more-button {
      background-color: #ffd700;
      border: none;
      padding: 0.75rem 1.5rem;
      font-weight: bold;
      cursor: pointer;
      font-size: 1.3rem;
      border-radius: 5px;
      color: black;
      text-decoration: none;
    }

    html {
      scroll-behavior: smooth;
    }

    .services-section {
      scroll-margin-top: 4rem; /* adjust this value to center the section better */
    }


    .services-section {
      background-color: #294582;
      color: white;
      padding: 4rem 2rem;
      text-align: center;
    }
    
    .services-heading {
      font-size: 1.75rem;
      color: white;
      margin-bottom: 1rem;
      padding-left: 1rem;
      text-align: left;
      padding-left: 5rem
    }

    @media (max-width: 768px) {
      .services-heading {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
      }
    }
    
    .services-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 2rem;
      max-width: 1200px;
      margin: auto;
    }
    
    .service-card {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      padding: 2rem;
      flex: 1 1 300px;
      min-width: 250px;
      box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
    
    .service-icon {
      width: 100px;
      height: 100px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 1rem;
    }    
    
    .service-card h3 {
      font-size: 1.5rem;
      margin: 1rem 0 0.5rem;
    }
    
    .service-card p {
      font-size: 1rem;
      line-height: 1.5;
    }
    
    .services-button-wrapper {
      margin-top: 3rem;
    }
    
    .services-button {
      background: #ffd700;
      color: #000000;
      text-decoration: none;
      padding: 0.75rem 1.5rem;
      font-weight: bold;
      border-radius: 6px;
      transition: background 0.3s ease;
    }
  

    .contact-form div {
      flex: 1 1 45%;
      margin-bottom: 1rem;
    }

    .contact-form form {
      flex: 1 1 45%;
      display: flex;
      flex-direction: column;
    }

    .contact-form input,
    .contact-form textarea {
      margin-bottom: 1rem;
      font-family: inherit;
      padding: .5rem;
      border: 1px solid #ccc;
      border-radius: 5px;
    }

    .contact-form button {
      background-color: #ffd700;
      border: none;
      border-radius: 6px;
      padding: 0.5rem;
      font-weight: bold;
      cursor: pointer;
    }

    .contact-form {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 6rem 4rem;
      background-color: #f9f9f9;
    }
    
    .contact-wrapper {
      max-width: 600px;
      width: 100%;
      text-align: center;
    }
    
    .contact-wrapper h3 {
      margin-bottom: 1.5rem;
      color: #294582;
    }
    
    .contact-wrapper form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    
    .contact-wrapper input,
    .contact-wrapper textarea {
      padding: 0.75rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-family: inherit;
      font-size: 1rem;
      width: 100%;
      min-width: 300px;
      max-width: 100%;
      box-sizing: border-box;
    }
    
    .contact-wrapper button {
      background-color: #294582;
      color: white;
      padding: 0.75rem;
      border: none;
      border-radius: 6px;
      font-size: 1rem;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    
    .contact-wrapper button:hover {
      background-color: #1f3664;
    }

    
    .footer {
      background-color: #294582;
      color: white;
      padding: 2rem 1rem;
    }
    
    .footer-container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: auto;
    }
    
    .footer-left {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      flex: 1;
      min-width: 250px;
    }
    
    .footer-left .logo {
      width: 170px; /* or your original size */
      height: auto;
    }
    
    .footer-contact p {
      margin: .25 0;
      padding-left: 1.5rem;
    }

    .footer-contact a {
      color: white;
      text-decoration: none;
    }
    
    .footer-links {
      flex: 1;
      min-width: 200px;
      padding-top: 2rem;
      padding-left: 7rem;
    }
    
    .footer-links a {
      color: white;
      text-decoration: none;
    }
    
    .footer-links a:hover {
      text-decoration: underline;
    }

    footer {
        position: relative;
      }

    .legallink {
      position: absolute;
      bottom: 10px;     /* distance from bottom of footer */
      right: 20px;      /* distance from right edge */
      color: white;
      font-size: 0.75rem;
      opacity: 0.8;
      }

      .legallink a {
        color: white;
        text-decoration: underline;
      }

    .services-hero-container {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 1;
      overflow: hidden;
    }

    .services-hero-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover; /* This will zoom in and cover the full width/height */
      object-position: center 85%; /* You can adjust what part of the image is shown */
    }

    .services-hero-text {
      position: absolute;
      bottom: 20px;
      left: 20px;
      color: white;
      font-size: 2rem;
      font-weight: bold;
      z-index: 2;
    }


    /* Services List */
    .services-lists-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10rem;
  padding: 3rem 1rem;
  margin: 0 auto;
  max-width: 1500px;
  flex-wrap: nowrap;
}

.services-column {
  max-width: 400px;
  width: 100%;
}

.services-column h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #294582;
}

.services-column ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  text-align: left;
}

.services-column li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .services-lists-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}
    /* Map Section */
    .map-section {
      background-color: #294582;
      padding: 40px 20px;
      text-align: center;
    }

    .map-section img {
      width: 100%;
      max-width: 800px;
      height: auto;
      border-radius: 10px;
    }

    .map-section p {
      margin-top: 20px;
      font-size: 1.3rem;
      color: white;
    }

    /* Call to Action */
    .cta-section {
      background-color: white;
      padding: 4rem 2rem;
      text-align: center;
      border-top: 1px solid #eee;
    }

    .cta-section p {
      font-size: 1.4rem;
      margin-bottom: 40px;
    }

    .cta-section .cta-button {
      background-color: #ffd700;
      color: #000;
      padding: 12px 24px;
      font-size: 1rem;
      font-weight: bold;
      border: none;
      border-radius: 5px;
      text-decoration: none;
      cursor: pointer;
    }

    .cta-section .cta-button:hover {
      background-color: #e0ac00;
    }

    .resources-hero-container {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 1;
      overflow: hidden;
    }

    .resources-hero-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover; /* This will zoom in and cover the full width/height */
      object-position: center 30%; /* You can adjust what part of the image is shown */
    }

    .resources-hero-text {
      position: absolute;
      bottom: 20px;
      left: 20px;
      color: white;
      font-size: 2rem;
      font-weight: bold;
      z-index: 2;
    }

.centered-text-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-top: 4rem;
  text-align: center;
}

.centered-paragraph {
  max-width: 800px;
  font-size: 1.25rem; /* Medium text size */
  line-height: 1.6;
  margin: 0 auto;
}


.resources-section {
  background-color: white;
  padding: 4rem 1rem;
}

.resources-container {
  max-width: 800px;
  margin: 0 auto;
}

.resources-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #294582;
}

.resources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.resources-list li {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.resource-label {
  color: black;
  font-weight: bold;
  margin-right: 0.5rem;
}

.resources-list a {
  color: #294582;
  text-decoration: underline;
}

    .resources-cta {
      background-color: #294582;
      padding: 4rem 2rem;
      text-align: center;
      border-top: 1px solid #eee;
    }

    .resources-cta{
      font-size: 1.4rem;
      color: white;
    }

    .resources-cta .cta-button {
      background-color: #ffd700;
      color: #000;
      padding: 12px 24px;
      font-size: 1rem;
      font-weight: bold;
      border: none;
      border-radius: 5px;
      text-decoration: none;
      cursor: pointer;
    }

    .resources-cta .cta-button:hover {
      background-color: #e0ac00;
    }

    .legal-disclaimer {
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
  padding: 3rem 1rem;
  font-size: 0.85rem;
  color: #333;
}

.legal-container {
  max-width: 1200px;
  margin: 0 auto;
}

.legal-container h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #294582;
  text-align: center;
}

.legal-container h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
  color: #444;
}

.legal-container p {
  line-height: 1.6;
  margin-top: 0.75rem;
}

.disclaimer-note {
  font-style: italic;
  margin-top: 2rem;
  text-align: center;
}


    .about-heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #294582;
    text-align: left;
    margin-bottom: 2rem;
    font-weight: bold;
    width: 100%;
    }
    
    .pfp {
      height: auto;
      width: 500px;
      padding: 3rem;
      display: inline;

    }

    .profile-section {
      padding: 4rem 2rem;
      max-width: 1200px;
      margin: auto;
    }

    .profile-content {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      flex-wrap: wrap;
    }

    
    .profile-image img {
      width: 100%;
      max-width: 350px;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .profile-image {
      flex: 1 1 350px;
      display: flex;
      justify-content: center;
    }
    
    .profile-description {
      flex: 2 1 400px;
    }
    
    .profile-description h2 {
      margin-top: 3rem;
      margin-bottom: 1rem;
      font-size: 2rem;
      color: #294582;
    }
    
    .profile-description p {
      font-size: 1rem;
      line-height: 1.5;
      color: #333;
    }

    .profile-contact {
      color: #294582;
      text-decoration: underline;
    }

    .contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Even vertical spacing between contact items */
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-info p {
  margin: 0;
}

.contact-info strong {
  display: block;
  color: #294582;
  font-weight: bold;
  margin-bottom: 0.25rem;
}


    @media screen and (max-width: 768px) {
      nav {
        flex-direction: column;
        align-items: center;
      }

      .contact-form {
        flex-direction: column;
      }

      .contact-form div,
      .contact-form form,
      footer div {
        flex: 1 1 100%;
      }
    }
