/* ========================================================
   CSS RESET & NORMALIZE
   ======================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1A3D5D;
  background: #FFFFFF;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}
a { 
  color: #1A3D5D; 
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #DE950B;
}
ul, ol {
  padding-left: 24px;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #DE950B;
  outline-offset: 2px;
}

/* Shared classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.bg-accent {
  background: #D9E2EC;
}

/* ========================================================
   TYPOGRAPHY
   ======================================================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  line-height: 1.2;
  color: #1A3D5D;
  margin-bottom: 12px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem; /* 32px */
  font-weight: 600;
  line-height: 1.22;
  color: #1A3D5D;
  margin-bottom: 10px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem; /* 20px */
  font-weight: 500;
  line-height: 1.3;
  color: #1A3D5D;
  margin-bottom: 6px;
}
h4, .h4 {
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1A3D5D;
}
p {
  margin-bottom: 10px;
}
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.1rem; }
}

/* ========================================================
   HEADER
   ======================================================== */
header {
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid #D9E2EC;
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.logo-link img { height: 42px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A3D5D;
  padding: 4px 2px 4px 2px;
  position: relative;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #DE950B;
  background: #F5F8FB;
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #1A3D5D;
  color: #FFF;
  border-radius: 28px;
  padding: 12px 28px;
  font-size: 1rem;
  box-shadow: 0 2px 16px rgba(26, 61, 93, 0.07);
  transition: background 0.2s, color 0.18s, box-shadow 0.18s;
  margin-left: 12px;
  border: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #DE950B;
  color: #1A3D5D;
  box-shadow: 0 4px 20px rgba(222, 149, 11, 0.08);
  text-decoration: none;
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  padding: 8px 11px 8px 8px;
  color: #1A3D5D;
  border-radius: 8px;
  z-index: 1101;
  transition: background .16s, color .13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F5F8FB;
  color: #DE950B;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .33s cubic-bezier(.83,.06,.29,1);
  box-shadow: 2px 0 38px -18px rgba(26,61,93,0.07);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform .36s cubic-bezier(.55,0,.18,1);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 18px 10px 0;
  font-size: 2.1rem;
  background: none;
  color: #1A3D5D;
  border-radius: 8px;
  padding: 6px 13px;
  border: none;
  transition: background .17s, color .17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #D9E2EC;
  color: #DE950B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 38px;
  gap: 4px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3D5D;
  padding: 16px 32px 16px 28px;
  line-height: 1.45;
  border-radius: 5px;
  transition: background .15s, color .14s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F5F8FB;
  color: #B37509;
}

@media (max-width: 991px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================================================
   HERO, SECTION, CONTENT WRAPPERS
   ======================================================== */
.hero {
  background: #F5F8FB;
  padding: 40px 0 16px 0;
  margin-bottom: 50px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
}

.features .content-wrapper,
.feature-highlight .content-wrapper,
.services .content-wrapper,
.faq .content-wrapper,
.testimonials .content-wrapper,
.case-studies .content-wrapper,
.cta .content-wrapper,
.about-snippet .content-wrapper,
.about .content-wrapper {
  gap: 24px;
}

.bg-accent,
.about-snippet.bg-accent {
  background: #D9E2EC;
  border-radius: 18px;
}

/* ========================================================
   FEATURE GRID & ITEMS
   ======================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 16px;
}
.feature-grid li {
  flex: 1 1 220px;
  background: #FFF;
  padding: 28px 18px 22px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(26, 61, 93, 0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.16s;
  min-width: 220px;
  margin-bottom: 20px;
}
.feature-grid li img {
  width: 38px; height: 38px;
}
.feature-grid li:hover {
  box-shadow: 0 8px 28px rgba(26, 61, 93, 0.11);
  transform: translateY(-2px) scale(1.01);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}

.reasons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.reasons-grid > div {
  flex: 1 1 200px;
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2px 16px rgba(26, 61, 93, 0.05);
  padding: 20px 18px 18px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.reasons-grid img {
  width: 30px;
  height: 30px;
}

@media (max-width: 860px) {
  .feature-grid,
  .reasons-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================================================
   SERVICE LIST & FEATURE HIGHLIGHT
   ======================================================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  flex: 1 1 280px;
  background: #FFF;
  padding: 28px 20px 18px 22px;
  border-radius: 15px;
  box-shadow: 0 2px 16px rgba(26, 61, 93, 0.07);
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 20px;
  min-width: 240px;
}

.specials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.special-detail {
  flex: 1 1 270px;
  padding: 25px 18px 13px 18px;
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2px 18px rgba(26,61,93,0.07);
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .service-list,
  .specials-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================================================
   FAQ, TESTIMONIALS, CASE STUDIES, PROJECTS
   ======================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(26, 61, 93, 0.06);
  padding: 18px 22px 12px 22px;
  margin-bottom: 12px;
  transition: box-shadow 0.16s;
}
.faq-item:hover {
  box-shadow: 0 6px 24px rgba(26, 61, 93, 0.09);
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px 16px 22px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(26,61,93,0.09);
  min-width: 240px;
  flex: 1 1 290px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(26, 61, 93, 0.13);
}
.testimonial-card p {
  color: #202A36;
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-meta {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  font-size: 1rem;
  color: #1A3D5D;
  flex-wrap: wrap;
}
.testimonial-name {
  font-weight: 600;
}
.testimonial-stars {
  color: #DE950B;
  letter-spacing: 1.1px;
  font-size: 1.08em;
}

.project-highlights {
  margin-top: 38px;
}
.project-highlights h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.project-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.case-study {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(26,61,93,0.078);
  padding: 22px 20px 17px 22px;
  flex: 1 1 320px;
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .testimonial-list,
  .case-study-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================================================
   CTA, POLICY, THANK YOU
   ======================================================== */
.cta {
  background: #1A3D5D;
  color: #FFF;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(26,61,93,0.08);
  margin-bottom: 44px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 16px;
}
.cta h2, .cta p, .cta .cta-btn {
  color: #FFF;
}
.cta h2 {
  font-size: 2rem;
}
.cta .cta-btn {
  background: #DE950B;
  color: #1A3D5D;
  margin: 0;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #B37509;
  color: #FFF;
}

.policy {
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2px 16px rgba(26,61,93,0.046);
}

.policy .text-section ul {
  margin-bottom: 16px;
  gap: 11px;
}

/* ========================================================
   CONTACT SECTION
   ======================================================== */
.contact-section .contact-details {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-section .contact-details > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #1A3D5D;
  background: #F5F8FB;
  border-radius: 9px;
  padding: 10px 16px;
  min-width: 220px;
  margin-bottom: 9px;
}
.map-static {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0;
  background: #FFF;
  box-shadow: 0 2px 10px rgba(26,61,93,0.04);
}
.map-static img {
  width: 50px; height: 50px;
}

/* ========================================================
   FOOTER
   ======================================================== */
footer {
  background: #FFFFFF;
  padding: 32px 0 10px 0;
  border-top: 1px solid #D9E2EC;
  font-size: 0.98rem;
  color: #273D54;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  color: #1A3D5D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 3px 6px;
  border-radius: 3px;
  transition: background 0.15s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #DE950B;
  background: #EEEFF7;
}
.footer-contact-social {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #1A3D5D;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}
.footer-social a img {
  width: 28px; height: 28px; opacity: .86;
  transition: opacity .14s;
}
.footer-social a:hover img {
  opacity: 1;
}
.footer-copy {
  color: #837D79;
  text-align: center;
  margin: 18px 0 8px 0;
  font-size: 0.93rem;
}

@media (max-width: 960px) {
  .footer-top {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-contact-social,
  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
}

/* ========================================================
   SPACING, ALIGNMENT, AND FLEXBOX LAYOUTS (MANDATORY)
   ======================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2px 16px rgba(26,61,93,0.07);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px; /* always overrides for testimonials */
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========================================================
   RESPONSIVE BREAKPOINTS
   ======================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid,
  .specials-list,
  .reasons-grid,
  .service-list,
  .testimonial-list,
  .case-study-list {
    flex-direction: column;
    gap: 20px;
  }
}


/* ========================================================
   MICRO-INTERACTIONS & TRANSITIONS
   ======================================================== */
a, .cta-btn, .main-nav a, .mobile-nav a, .footer-nav a {
  cursor: pointer;
  transition: color 0.19s, background 0.17s, box-shadow 0.14s, transform 0.14s;
}
.card, .service-item, .special-detail {
  transition: box-shadow 0.15s, transform 0.12s;
}
.card:hover, .service-item:hover, .special-detail:hover {
  box-shadow: 0 8px 24px rgba(26,61,93,0.11);
  transform: translateY(-2px);
}
.cta-btn:focus {
  outline: 2px solid #DE950B;
  outline-offset: 3px;
}

/* ========================================================
   COOKIE CONSENT BANNER & PREFERENCES MODAL
   ======================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF;
  box-shadow: 0 -4px 22px rgba(26,61,93,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 9vw 22px 9vw;
  gap: 28px;
  z-index: 3000;
  font-size: 1rem;
  min-height: 62px;
  opacity: 1;
  transition: opacity .25s, bottom .16s;
}
.cookie-banner.hide {
  opacity: 0;
  bottom: -180px;
  pointer-events: none;
  transition: opacity .21s, bottom .24s;
}
.cookie-banner .cookie-text {
  color: #202A36;
  flex: 2 1 380px;
  margin-right: 18px;
  font-size: 1.03rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex: 1 1 auto;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 22px;
  margin: 0 2px;
  border: none;
  transition: background 0.18s, color .15s, box-shadow 0.15s;
  box-shadow: 0 1px 10px rgba(26,61,93,.05);
  cursor: pointer;
}
.cookie-btn-accept {
  background: #1A3D5D;
  color: #FFF;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #DE950B; color: #1A3D5D;
}
.cookie-btn-reject {
  background: #D9E2EC;
  color: #1A3D5D;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #F5F8FB; color: #B37509;
}
.cookie-btn-settings {
  background: #FFF;
  border: 1px solid #D9E2EC;
  color: #1A3D5D;
}
.cookie-btn-settings:hover,
.cookie-btn-settings:focus {
  background: #F5F8FB;
  border-color: #DE950B;
  color: #DE950B;
}

/* Cookie Modal PopUp */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 340px;
  max-width: 95vw;
  width: 420px;
  max-height: 96vh;
  overflow-y: auto;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 8px 52px rgba(26,61,93,0.21);
  z-index: 3050;
  transform: translate(-50%, -50%) scale(1.01);
  opacity: 1;
  display: flex;
  flex-direction: column;
  transition: opacity .23s, transform .16s;
  padding: 38px 32px 24px 32px;
  animation: fadeInModal 0.32s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translate(-50%, -54%) scale(.98); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1.01); }
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -56%) scale(.92);
  transition: opacity .17s, transform .18s;
}
.cookie-modal h2 {
  font-size: 1.44rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 14px;
  color: #1A3D5D;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A3D5D;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal .cookie-close:hover { color: #DE950B; }
.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 16px 0 22px 0;
}
.cookie-pref-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #F5F8FB;
  border-radius: 9px;
  padding: 14px 18px 10px 16px;
}
.cookie-toggle {
  width: 36px; height: 20px;
  background: #D9E2EC;
  border: none;
  border-radius: 18px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background .14s;
}
.cookie-toggle[aria-checked="true"] {
  background: #DE950B;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  background: #FFF;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left .17s, background .15s;
}
.cookie-toggle[aria-checked="true"]:before {
  left: 18px;
  background: #FFF8E6;
}
.cookie-pref-label {
  flex: 1 1 auto;
  color: #1A3D5D;
  font-size: 1rem;
}
.cookie-pref-required {
  color: #B37509;
  font-size: .98em;
  margin-left: 8px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 7px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 14vw 6vw 19vw 6vw;
    min-width: 0;
    width: 94vw;
  }
}

/* ========================================================
   END OF STYLESHEET
   ======================================================== */
