/* 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,
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff8ef;
  color: #3a3640;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #165487;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F5C86B;
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #165487;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color:#8d6532;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #165487;
}
p {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #413c2e;
}
strong {
  color: #a26d0e;
}
ul, ol {
  padding-left: 25px;
  margin-bottom: 20px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 8px;
  color: #3a3640;
  display: flex;
  align-items: center;
}
ul li img, ol li img {
  margin-right: 10px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(58, 42, 0, 0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 20px 24px;
  flex: 1 1 275px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(245, 200, 107,0.12), 0 0px 4px rgba(22, 84, 135,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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(22,84,135,0.07);
  min-width: 275px;
  max-width: 390px;
  flex: 1 1 300px;
  border-left: 8px solid #F5C86B;
  color: #26211f;
  transition: box-shadow 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 26px rgba(22,84,135,.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display:flex;
  flex-direction:column;
  gap: 12px;
  background: none;
  border-radius: 0;
  max-width: 800px;
  margin-bottom: 0;
}

/* Hero Banner */
.hero {
  background: linear-gradient(90deg, #F5C86B 70%, #ffe2b5 100%);
  padding: 60px 0 64px 0;
  border-radius: 0 0 32px 32px;
  margin-bottom: 55px;
  box-shadow: 0 6px 24px rgba(180,110,22,0.11);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: #165487;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
  font-weight: 800;
}
.hero p {
  color: #5e4404;
}
.hero .cta-btn {
  margin-top: 18px;
}

/* Button Styles */
.cta-btn,
button,
input[type=submit],
input[type=button] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.11rem;
  background: #165487;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 13px 32px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(22, 84, 135, 0.08);
  transition: background 0.16s, box-shadow 0.16s, transform 0.13s;
  display: inline-block;
  margin: 0.5em 0;
}
.cta-btn:hover,
button:hover,
.cta-btn:focus,
button:focus,
input[type=submit]:hover,
input[type=button]:hover {
  background: #f5c86b;
  color: #165487;
  box-shadow: 0 4px 16px rgba(22, 84, 135, 0.18);
  outline: none;
  transform: translateY(-2px) scale(1.025);
}
.cta-btn:active,
button:active {
  background: #d1a34d;
}

/* Feature/Services Section */
.features,
.services {
  background: #fffaf3;
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(245,200,107,0.09);
}
.features ul,
.services ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 3px solid #F5C86B;
  padding-left: 18px;
}
.features .content-wrapper,
.services .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.feature-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(22, 84, 135, 0.04);
  padding: 14px 16px;
}

/* About Section & Legal Section */
.about,
.legal {
  background: #f7e7c5;
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(180,110,22,0.08);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.about .container, .legal .container {
  flex-direction: column;
  gap: 0;
}

/* Contact Section */
.contact {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 18px rgba(22,84,135,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #4c431d;
  background: #fffaf2;
  border-radius: 12px;
  padding: 7px 14px;
  box-shadow: 0 2px 6px rgba(245, 200, 107, 0.03);
  margin-bottom: 4px;
}

/* Testimonials */
.testimonials {
  background: #f9f6ef;
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(22, 84, 135, 0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  margin-bottom: 18px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #165487;
  margin-bottom: 6px;
}
.testimonial-card div {
  font-size: 0.89rem;
  color: #7d6205;
}

/* Footer */
footer {
  background: #165487;
  color: #fff;
  padding: 35px 0 18px 0;
  border-radius: 26px 26px 0 0;
  margin-top: 64px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
}
footer nav a {
  color: #f5c86b;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 0;
  border-radius: 8px;
  transition: color 0.16s, background 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #fff2ce;
  color: #165487;
}
.footer-info {
  font-size: 1rem;
  text-align: center;
  color: #fff8ef;
  opacity: 0.98;
}

/* Header & Main Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff8ef;
  padding: 18px 0 20px 0;
  box-shadow: 0 2px 18px rgba(22, 84, 135, 0.07);
  position: relative;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  color: #165487;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 9px 16px;
  background: none;
  border-radius: 16px;
  transition: background 0.15s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #165487;
  color: #fff;
}
header img {
  height: 46px;
  margin-right: 20px;
  border-radius: 13px;
}
.mobile-menu-toggle {
  display: none;
  background: #f5c86b;
  color: #165487;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  padding: 10px 16px;
  margin-left: 8px;
  box-shadow: 0 2px 12px rgba(165,104,13,0.08);
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #165487;
  color: #fff;
  outline: none;
}

/* Mobile Menu Overlay Styles */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,200,107,0.98);
  z-index: 240;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.66,.04,.21,1.03);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 22px 22px 22px;
  width: 100vw;
  max-width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: #fff;
  color: #d1a34d;
  font-size: 2.18rem;
  border: none;
  padding: 8px 18px;
  border-radius: 40px;
  align-self: flex-end;
  margin-bottom: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(22,84,135,0.1);
  transition: background 0.13s, color 0.11s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #d1a34d;
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  align-items: flex-start;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #165487;
  background: #fff;
  border-radius: 15px;
  width: 100%;
  padding: 14px 10px 14px 22px;
  margin-bottom: 8px;
  transition: background 0.15s, color 0.14s, transform 0.1s;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #165487;
  color: #fff;
  transform: translateX(3px) scale(1.03);
}
.mobile-menu {
  overflow-y: auto;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff8ef;
  color: #413c2c;
  box-shadow: 0 -2px 12px rgba(180,110,22,0.09);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  z-index: 4000;
  border-radius: 24px 24px 0 0;
  font-size: 1.07rem;
  animation: cookie-slideup 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 22px;
  margin-top: 6px;
}
.cookie-btn {
  padding: 10px 28px;
  border-radius: 17px;
  border: none;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, transform 0.14s;
}
.accept-all {
  background: #165487;
  color: #fff;
}
.accept-all:hover,.accept-all:focus {
  background: #f5c86b;
  color: #165487;
}
.reject-all {
  background: #fff2ce;
  color: #a26d0e;
}
.reject-all:hover,.reject-all:focus {
  background: #d1a34d;
  color: #fff;
}
.cookie-settings {
  background: #f5c86b;
  color: #165487;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #fff;
  color: #d1a34d;
}

@keyframes cookie-slideup {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Cookie Modal Overlay Styles */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,84,135,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff8ef;
  color: #504524;
  border-radius: 22px;
  box-shadow: 0 6px 48px rgba(245,200,107,0.21);
  width: 98vw; max-width: 400px;
  padding: 40px 24px 26px 24px;
  position: relative;
  animation: modal-in .4s cubic-bezier(.74,.04,.39,1.1);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes modal-in {
  0% { transform: translateY(30px) scale(0.95); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-content h3 {
  color: #165487;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 14px 0;
  font-size: 1.03rem;
  padding: 8px 0;
}
.cookie-toggle {
  accent-color: #f5c86b;
  transform: scale(1.2);
  transition: accent-color 0.2s;
  border-radius: 7px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 15px;
  background: #fff;
  color: #d1a34d;
  font-size: 2rem;
  border: none;
  border-radius: 34px;
  padding: 2px 14px 4px 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(22,84,135,0.09);
  transition: background 0.12s, color 0.11s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #d1a34d;
  color: #fff;
}

/* Legal/Policy Section */
.legal .text-section {
  background: none;
  padding: 0;
  box-shadow: none;
}
.legal ul {
  border-left: 3px solid #F5C86B;
  padding-left: 18px;
  margin-bottom: 20px;
}
.legal ul li {
  font-size: 1rem;
  color: #3a3640;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .features .content-wrapper, .services .content-wrapper, .content-grid,
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .card-container {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  html { font-size: 16px; }
  body { font-size: 1rem; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.13rem; }
  header {
    flex-direction: row;
    padding: 15px 0 11px 0;
    gap: 12px;
  }
  header nav {
    display: none !important;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 2px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 32px 0 20px 0;
    border-radius: 0 0 20px 20px;
  }
  .section, .about, .contact, .testimonials, .features, .services, .legal {
    padding: 24px 5vw;
    margin-bottom: 36px;
    border-radius: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .contact-details {
    gap: 8px;
  }
  .mobile-menu {
    padding: 22px 7vw 22px 7vw;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 6px;
  }
  .cta-btn {
    padding: 10px 12px;
    font-size: .97rem;
  }
}

/* Focus & Accessibility */
:focus-visible {
  outline: 2px solid #165487;
  outline-offset: 2px;
}

/* Utility & Micro-interactions */
.card, .testimonial-card, .cookie-modal-content {
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:active, .testimonial-card:active {
  box-shadow: 0 2px 9px rgba(245, 200,107,0.14);
  transform: scale(0.97);
}

/* Hide elements visually but keep accessible */
.sr-only {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  border:0;
}

/* Misc */
::-webkit-scrollbar {
  width: 8px;
  background: #fff8ef;
}
::-webkit-scrollbar-thumb {
  background: #f5c86b;
  border-radius: 8px;
}

/* For extra contrast in testimonial cards */
.testimonial-card,
.testimonials .testimonial-card p {
  color: #1a2035;
}
.testimonial-card p {
  color: #165487;
}

/* Overlay z-index management */
.mobile-menu,
.cookie-modal {
  z-index: 2100;
}
.cookie-banner {
  z-index: 2400;
}

/* End of CSS */
