* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #12463f;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #eaf1ec url("image/contact.png") center / cover fixed;
}

a {
  text-decoration: none;
}

.navbar {
  background: #fff;
  box-shadow: 0 1px 4px #183e3420;
}

.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #000000;
  font-size: 22px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: #52645f;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0d0d0d;
}

.contact-layout {
  min-height: calc(100vh - 65px);
  padding: 7vh 6%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6%;
  align-items: center;
  position: relative;
  background: linear-gradient(110deg, #f4f7f0dd 0%, #eef5efb8 55%, #e5f0e9bb 100%);
}

.intro,
.details {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: #073c33;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 2px;
  margin: 0 14px 5px;
  background: #398777;
}

.intro h1 {
  margin: 20px 0;
  color: #103d35;
  font: 700 clamp(42px, 5.5vw, 76px)/1 Georgia, serif;
  letter-spacing: -3px;
}

.intro h1 em {
  color: #578675;
  font-weight: 400;
}

.lead {
  color: #040404;
  font-size: 19px;
  line-height: 1.55;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
  text-align: center;
}

.highlights article {
  padding: 8px;
}

.highlights article>span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: auto;
  border-radius: 50%;
  background: #d5e5d1;
  color: #174b41;
  font-size: 29px;
}

.highlights h2 {
  margin: 13px 0 7px;
  font: 700 18px Georgia, serif;
}

.highlights p {
  margin: 0;
  color: #000000;
  font-size: 14px;
  line-height: 1.45;
}

.details {
  padding: 30px;
  border: 1px solid #fff9;
  border-radius: 30px;
  background: #f8faf3d9;
  box-shadow: 0 16px 40px #153c3020;
}

.details h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 14px;
  padding: 15px 18px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(110deg, #124d43, #3b7567);
  font: 700 27px Georgia, serif;
}

.details h2 span,
.details li::before {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: #5a897c;
  font-family: Arial, sans-serif;
}

.details ul {
  margin: 0;
  padding: 0 12px;
  list-style: none;
}




.site-footer {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 70px 0 40px;
  overflow: hidden;
  color: #5f6663;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #e5e6e4;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 1.7fr) repeat(3, minmax(110px, 1fr)) minmax(180px, 1.2fr);
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 45px;
}

.footer-brand-name {
  display: inline-block;
  margin-bottom: 14px;
  color: #333a37;
  font-size: 24px;
  font-weight: 800;
}

.footer-brand p,
.footer-column p,
.footer-column address {
  max-width: 290px;
  color: #505452;
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: #333a37;
  font-size: 15px;
}

.footer-column a {
  display: inline-block;
  margin: 5px 0;
  color: #626965;
  font-size: 14px;
  line-height: 1.5;
}

.footer-column a:hover {
  color: #08745e;
}

.footer-map {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
  min-height: 180px;
}

.footer-map-image {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 36px #3b46431f;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

.footer-map-image:hover,
.footer-map-image:focus {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 42px #3b46432e;
  outline: none;
}

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 18px clamp(20px, 5vw, 96px);
  color: #d0d0d0;
  background: #202020;
  font-size: 14px;
  line-height: 1.5;
}

.footer-copyright p {
  margin: 0;
}

.footer-copyright .developer-credit {
  margin: 0;
  text-align: right;
}

@media (max-width: 1000px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 0 30px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-map {
    grid-column: span 3;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 55px 0 30px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    padding: 0 22px;
  }

  .footer-brand,
  .footer-map {
    grid-column: span 2;
  }

  .footer-map {
    min-height: 0;
  }

  .footer-copyright {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  .footer-copyright .developer-credit {
    text-align: center;
  }
}


.details li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #cbd9cf;
}

.details li::before {
  content: "☎";
}

.details li b {
  min-width: 65px;
}

.details li span,
.hours {
  color: #66817b;
  font-size: 14px;
}

.hours {
  margin: 16px 12px 0;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .nav-container {
    padding: 16px 5%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 45px 6%;
  }

  .intro {
    text-align: center;
  }

  .highlights {
    margin-top: 28px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 14px;
    font-size: 14px;
  }

  .contact-layout {
    padding: 36px 16px;
  }

  .intro h1 {
    font-size: clamp(34px, 10vw, 48px);
    letter-spacing: -1.5px;
  }

  .lead {
    font-size: 17px;
  }

  .highlights {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .highlights h2 {
    font-size: 15px;
  }

  .details {
    padding: 18px;
  }

  .details h2 {
    font-size: 22px;
  }

  .details li {
    gap: 8px;
    font-size: 14px;
  }

  .details li b {
    min-width: 0;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

img,
iframe {
  max-width: 100%;
}

.contact-layout>*,
.footer-inner>* {
  min-width: 0;
}

.intro,
.details,
.footer-column,
.footer-brand {
  overflow-wrap: anywhere;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Portal name and logo */

.nav-container .logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 24px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;

  min-width: 0;
}

/* Enlarged visually without changing navbar layout */

.nav-container .portal-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;

  transform: scale(1.35);
  transform-origin: center;
}