/* ================== CSS RESET & NORMALIZE ================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #F7F7F9;
  color: #222;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
  overflow-x: hidden;
}
img,svg {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}
a {
  color: #104E7E;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #16724E;
}
ul, ol {
  padding-left: 1.25em;
}
strong {
  font-weight: 600;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #104E7E;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}
p, li, ul, ol {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.06rem;
  color: #273045;
}
p {
  margin-bottom: 18px;
}
section ul, section ol {
  margin-bottom: 18px;
  color: #273045;
}

/* Font fallback for modern look */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}

/* ================ LAYOUT CONTAINER SPACING ================= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(16, 78, 126,0.03);
}
@media (max-width: 768px) {
  .section, section {
    margin-bottom: 36px;
    padding: 24px 8px;
    border-radius: 10px;
  }
}

/* ==================== FLEX LAYOUTS ================== */
.card-container, .feature-grid, .content-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/****** Cards ******/
.card {
  background: #FAFAFC;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 78, 126, 0.04);
  padding: 28px 22px;
  transition: box-shadow .22s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(16, 78, 126, 0.11);
}

/* ============= HEADER & NAV ============== */
header {
  background: #fff;
  border-bottom: 1.5px solid #e9ecf5;
  padding: 0;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  height: 80px;
}
a.logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 1.06rem;
  color: #273045;
  text-decoration: none;
  padding: 2px 0;
  transition: color .2s, border-color .2s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #16724E;
  border-bottom: 2px solid #16724E;
}

.cta-btn {
  display: inline-block;
  font-family: 'Georgia', serif;
  background: #104E7E;
  color: #fff !important;
  padding: 13px 32px;
  font-size: 1.13rem;
  border-radius: 25px;
  border: none;
  letter-spacing: 0.02em;
  margin-left: 20px;
  cursor: pointer;
  transition: background .22s, box-shadow .18s, color 0.2s;
  font-weight: 700;
  box-shadow: 0 3px 14px rgba(16,78,126,0.07);
  text-align: center;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #16724E;
  color: #fff;
  box-shadow: 0 7px 26px rgba(16,78,126,0.13);
}
.cta-link {
  color: #16724E;
  font-weight: 600;
  padding-right: 6px;
  text-decoration: underline;
  font-size: 1.07rem;
  transition: color .18s;
}
.cta-link:hover {
  color: #104E7E;
}

/* =============== MOBILE BURGER MENU =============== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #104E7E;
  padding: 8px 12px;
  cursor: pointer;
  margin-left: 10px;
  z-index: 120;
  transition: background .15s;
}
.mobile-menu-toggle:focus {
  background: #F3F6F8;
  border-radius: 6px;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(16, 78, 126, 0.98);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.82,.01,.31,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 18px 18px 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: background .16s;
  padding: 8px 12px;
  border-radius: 6px;
}
.mobile-menu-close:focus {
  background: #205C8C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 88%;
  gap: 18px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 1.18rem;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .19s, background .13s;
  border-radius: 3px;
  min-width: 70vw;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A6E3C7;
  background: rgba(22, 114, 78, 0.12);
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* =============== HERO SECTIONS =============== */
.hero {
  background: linear-gradient(120deg,#fff 65%,#F3F6F8 100%);
  padding: 62px 0 38px;
  margin-bottom: 48px;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 6px 32px rgba(16,78,126,0.03);
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 640px;
}
.hero h1 {
  color: #104E7E;
}
.hero p {
  font-size: 1.2rem;
  color: #43647e;
}

@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 18px 18px;
    padding: 36px 0 16px;
    margin-bottom: 24px;
  }
  .hero .content-wrapper {
    max-width: 100%;
  }
}

/* =============== FEATURES / SERVICE CARDS =============== */
.features, .feature-grid, .service-grid {
  gap: 28px;
  margin-bottom: 24px;
}
.feature-grid > div, .service-grid > div {
  background: #F7F7F9;
  flex: 1 1 260px;
  min-width: 220px;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(16,78,126,0.045);
  padding: 26px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .22s;
}
.feature-grid > div img {
  width: 44px;
  margin-bottom: 14px;
  filter: none;
}
.feature-grid > div h3 {
  font-size: 1.22rem;
  color: #16724E;
}
.feature-grid > div p {
  margin-bottom: 2px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(16, 78, 126, 0.13);
}

/* =============== ABOUT / PREVIEW SECTIONS =============== */
.about-preview, .service-list-preview, .contact-preview, .location, .contact-details {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(16,78,126,.04);
} 
.service-list-preview ul, .contact-preview ul {
  margin-bottom: 12px;
}
.service-list-preview li, .contact-preview li {
  margin-bottom: 10px;
  padding-left: 4px;
  font-size: 1.07rem;
}
.service-list-preview strong, .contact-preview strong {
  color: #16724E;
}

/****** Service grid in detail page ******/
.service-grid {
  gap: 28px 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.service-grid > div {
  background: #fcfcfd;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16,78,126,0.07);
  padding: 22px 18px 16px 18px;
  min-width: 236px;
}
.service-grid h3 {
  color: #104E7E;
  margin-bottom: 10px;
}
.service-price {
  display: inline-block;
  padding: 5px 17px;
  background: #F1F8F5;
  color: #16724E;
  margin-top: 8px;
  border-radius: 17px;
  font-size: 1.01rem;
  font-weight: 600;
}

/****** Service highlights ******/
.service-highlights {
  margin-top: 30px;
  background: #F7F7F9;
  border-left: 4px solid #16724E;
  border-radius: 9px;
  padding: 19px 16px;
}
.service-highlights h4 {
  color: #16724E;
}
.service-highlights ul {
  margin-top: 10px;
}

/****** Infobox ******/
.infobox {
  margin-top: 24px;
  background: #F7F7F9;
  border-left: 5px solid #104E7E;
  border-radius: 12px;
  padding: 18px 16px 13px 18px;
  box-shadow: 0 2px 16px rgba(16,78,126,.03);
}
.infobox h3 {
  color: #104E7E;
  font-size: 1.11rem;
  margin-bottom: 8px;
}
.infobox p {
  margin-bottom: 0;
}

/****** CTA short section ******/
.cta {
  background: linear-gradient(90deg,#fcfcfe 60%,#f7f7f9 100%);
  margin-bottom: 0;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(16,78,126,0.03);
}
.cta .content-wrapper {
  align-items: center;
}

/****** Testimonials *******/
.testimonials {
  background: #f7fafb;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(16,78,126,.06);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 16px 30px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16, 78, 126,0.09);
  margin-bottom: 20px;
  color: #273045;
  font-size: 1.17rem;    
}
.testimonial-card p {
  margin-bottom: 0;
  flex: 1 1 auto;
  color: #104E7E;
  font-family: 'Georgia', serif;
}
.testimonial-card .customer {
  color: #16724E;
  font-family: 'Georgia', serif;
  font-size: 1.04rem;
  margin-left: 8px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px 10px 14px 10px;
  }
  .testimonial-card .customer { margin-left: 0; }
}

/* =================== FOOTER =================== */
footer {
  background: #fff;
  border-top: 1.5px solid #e9ecf5;
  padding: 0;
  margin-top: 42px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 0 24px 0;
}
.footer-wrapper a img {
  width: 42px;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #104E7E;
  font-family: 'Georgia', serif;
  font-size: 1.03rem;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color .16s;
  border-bottom: 1px solid transparent;
}
.footer-nav a:hover {
  color: #16724E;
  border-bottom: 1px solid #16724E;
}
.footer-wrapper span {
  display: block;
  color: #5b656d;
  font-size: 0.97rem;
  margin-top: 9px;
}
@media (max-width: 750px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 0 16px 0;
  }
  .footer-nav {
    gap: 12px;
  }
}

/* ======================== LEGAL TEXT & SIMPLE PAGES ====================== */
.legal {
  background: #f9fafc;
  border-radius: 13px;
  box-shadow: 0 2px 16px rgba(16,78,126,0.04);
  padding: 34px 20px;
}
.legal h1,
.legal h2,
.legal h3 { color: #104E7E; }
.legal ul {
  margin-bottom: 16px;
}
.legal li {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

/* ===================== MARGINS BETWEEN CARDS AND BLOCKS ==================*/
section > .container > .content-wrapper > *, .content-wrapper > * {
  margin-bottom: 20px;
}
section > .container > .content-wrapper > *:last-child, .content-wrapper > *:last-child {
  margin-bottom: 0;
}

/* ===================== FORM & CONTACT STYLES =========================== */
.contact-details ul { margin-bottom: 12px; }
.contact-details li { margin-bottom: 9px; font-size: 1.06rem; }
.location-embed {
  padding: 18px 14px;
  background: #F7F7F9;
  border-radius: 9px;
  color: #273045;
  font-size: 1.07rem;
}

/* ===================== TRANSITIONS & INTERACTIONS ======================*/
button, .cta-btn, .cta-link, a {
  transition: background .18s, color .16s, box-shadow .16s, border .15s;
}

/* ===================== COOKIE CONSENT BANNER =========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -4px 18px rgba(16,78,126,.10);
  border-top: 2.5px solid #16724E;
  z-index: 3000;
  padding: 18px 22px 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 17px;
  font-family: 'Georgia', serif;
  font-size: 1.01rem;
  color: #273045;
  animation: fadeInCookie .6s;
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner button {
  font-family: 'Georgia', serif;
  border-radius: 21px;
  border: none;
  margin-left: 6px;
  padding: 7px 22px;
  font-size: 1.03rem;
  cursor: pointer;
  font-weight: 600;
  transition: background .14s;
}
.cookie-banner .accept-btn {
  background: #16724E;
  color: #fff;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #104E7E;
}
.cookie-banner .reject-btn {
  background: #F7F7F9;
  color: #104E7E;
  border: 1px solid #16724E;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #efefef;
  color: #16724E;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: #104E7E;
  border: 1px solid #104E7E;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #F7F7F9;
  border-color: #16724E;
  color: #16724E;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 7px 16px 7px;
    font-size: 0.95rem;
  }
}

/* =========== COOKIE PREFERENCES MODAL =========== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(16, 78, 126, 0.40);
  z-index: 3500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: background .18s;
}
.cookie-modal {
  background: #fff;
  border-radius: 17px 17px 0 0;
  box-shadow: 0 8px 48px rgba(16,78,126,0.13);
  width: 100%;
  max-width: 410px;
  padding: 34px 26px 28px 26px;
  margin-bottom: 0;
  animation: cookieModalIn .4s cubic-bezier(.62,-0.01,.58,0.78);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  color: #104E7E;
  font-size: 1.25rem;
  margin-bottom: 13px;
}
.cookie-modal ul {
  padding: 0;
  margin-bottom: 18px;
  list-style: none;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: 'Georgia', serif;
  font-size: 1.03rem;
  color: #273045;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F3F6F8;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
  border: 1.5px solid #104E7E;
}
.cookie-modal .cookie-toggle:checked {
  background: #16724E;
  border-color: #16724E;
}
.cookie-modal .cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(16,78,126,.14);
  transition: left .16s;
}
.cookie-modal .cookie-toggle:checked::after {
  left: 19px;
}
.cookie-modal .cookie-toggle[disabled] {
  opacity: .58;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal button {
  font-family: 'Georgia', serif;
  border-radius: 23px;
  font-size: .98rem;
  border: none;
  padding: 7px 23px;
  cursor: pointer;
  font-weight: 600;
  background: #16724E;
  color: #fff;
  transition: background .14s;
}
.cookie-modal button:last-child {
  background: #F7F7F9;
  color: #104E7E;
  border: 1.5px solid #16724E;
}
.cookie-modal button:last-child:hover {
  background: #efefef;
  color: #16724E;
}

/* =============== RESPONSIVE & MOBILE FIRST LAYOUTS ============== */
@media (max-width: 1024px) {
  .feature-grid > div, .service-grid > div {
    flex: 1 1 95%;
    min-width: 190px;
  }
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
}
@media (max-width: 800px) {
  .feature-grid, .service-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  section, .section {
    padding: 18px 2px;
    margin-bottom: 18px;
    border-radius: 8px;
  }
  .card {
    padding: 16px 10px;
    border-radius: 8px;
  }
  .infobox {
    padding: 13px 7px;
    border-radius: 7px;
  }  
}

/* ========== ACCESSIBILITY & FOCUS ========== */
a, button, .cta-btn, .cta-link, .mobile-nav a {
  outline: none;
}
a:focus, button:focus, .cta-btn:focus, .cta-link:focus, .mobile-nav a:focus {
  box-shadow: 0 0 0 3px #A6E3C7;
  border-radius: 4px;
}

/* ============= MISCELLANEOUS ============= */
::-webkit-scrollbar { width: 8px; background: #F7F7F9; }
::-webkit-scrollbar-thumb { background: #E0E8EF; border-radius: 5px; }

/* ===================== Z-INDEX SAFETY ================== */
header { z-index: 101; position: relative; }
footer { z-index: 100; position: relative; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 3500; }

/* ============= END ============= */
