/* ===== 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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #FEFAF5; color: #2d2d2d; }
img { max-width: 100%; display: block; }
ul,ol {margin-left: 24px;}
a { color: inherit; text-decoration: none; transition: all .2s; }
input, button, textarea, select { font: inherit; outline: none; }

/* ====== BRAND FONTS & VARIABLES ======= */
:root {
  --primary: #003366;
  --secondary: #EFEFEF;
  --accent: #FFB800;
  --bg-warm: #FEFAF5;
  --cta-hover: #e5a100;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.07), 0 1.5px 4px rgba(255,184,0,0.08);
  --radius: 22px;
  --radius-card: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg-warm);
  color: #2d2d2d;
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5,h6 { font-size: 1rem; }

@media (max-width: 600px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
}

p,ul,ol,blockquote,li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #3b3b3b;
}
li { margin-bottom: 4px; }

b,strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======= LAYOUT SECTIONS & SPACING ======= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .section { padding: 28px 8px; margin-bottom: 36px; }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  flex: 1 1 270px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(0,51,102,0.10), 0 2.5px 8px rgba(255,184,0,0.13);
  transform: translateY(-3px) scale(1.012);
}

.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;
}

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; padding: 0; }
  .content-grid,
  .card-container { flex-direction: column; gap: 18px; }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.testimonial-card blockquote {
  font-size: 1.02rem;
  color: #234;
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 600;
  margin-left: 14px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== FLEXBOX-PATTERNS FOR DESIGN ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid > div {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px 18px 16px 18px;
  min-width: 200px;
  max-width: 310px;
  margin-bottom: 10px;
  transition: box-shadow .17s, transform .17s;
}
.feature-grid img {
  width: 38px; height: 38px; margin-bottom: 10px;
}
.feature-grid h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 7px;
  margin-top: 0;
}
.feature-grid p { margin-bottom: 0; }
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(0,51,102,.13),0 3.5px 12px rgba(255,184,0,.17);
  transform: translateY(-2px) scale(1.015);
}

ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 6px;
}

blockquote {
  background: #fff4da;
  border-left: 5px solid var(--accent);
  padding: 10px 20px 10px 14px;
  border-radius: 12px;
  margin: 0 0 9px 0;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  margin-bottom: 38px;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
  gap: 12px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
nav a {
  font-family: var(--font-display);
  padding: 8px 14px;
  border-radius: 13px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  background: none;
  transition: background .17s, color .17s;
}
nav a:hover,
nav a:focus {
  background: var(--accent);
  color: #222;
}
nav .cta-primary {
  background: var(--accent);
  color: #1a1a1a;
  border-radius: 15px;
  margin-left: 12px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255,184,0,0.07);
  transition: box-shadow .14s, background .16s, color .16s;
  padding: 10px 18px;
  border: none;
}
nav .cta-primary:hover,
nav .cta-primary:focus {
  background: var(--cta-hover);
  color: var(--primary);
}

header img {
  height: 42px; width: auto; border-radius: 8px;
}

/* ====== MOBILE MENU ====== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  padding: 6px 9px;
  border-radius: 11px;
  transition: background .12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(254,250,245,0.99);
  z-index: 900;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.82,-0.06,.52,1.03);
  display: flex; flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--primary);
  margin: 24px 0 0 20px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 10;
  border-radius: 13px;
  transition: background .15s;
  padding: 4px 13px;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 38px 32px 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--primary);
  padding: 12px 0;
  border-radius: 9px;
  font-weight: 600;
  background: none;
  margin-bottom: 6px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: #1a1a1a;
}
@media (max-width: 1000px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }   /* Hide on desktop */
}

/* ===== MAIN & SECTIONS ===== */
main {
  width: 100%;
  min-height: 60vh;
  margin: 0 auto 40px auto;
  display: flex; flex-direction: column;
  gap: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.section > .container { padding: 0; }

@media (max-width: 600px) {
  section {
    padding: 25px 0;
    margin-bottom: 32px;
  }
}

/* ===== CARDS, FAQ, ACCORDION ===== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: var(--secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px 14px;
  margin-bottom: 8px;
  transition: box-shadow .13s;
}
.faq-accordion h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0;
}
.faq-accordion > div:hover {
  box-shadow: 0 6px 18px rgba(0,51,102,0.10), 0 1.5px 6px rgba(255,184,0,.07);
}
.faq-cta {
  background: var(--accent);
  border-radius: var(--radius-card);
  padding: 22px 16px;
  margin-top: 18px;
  text-align: center;
}
.faq-cta p,
.faq-cta a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-cta a { text-decoration: underline; }

/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
th, td {
  padding: 12px 10px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #ececec;
}
th {
  color: var(--primary);
  background: #fff5e7;
  font-size: 1.04rem;
  border-bottom: 2px solid var(--accent);
}
td { background: var(--secondary); }
tr:last-child td { border-bottom: none; }
@media (max-width: 600px) {
  table, th, td { font-size: 0.98rem; }
}

/* ===== BUTTONS & CTA ===== */
.cta-primary,
button.cta-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: bold;
  background: var(--accent);
  color: #222;
  border: none;
  border-radius: 20px;
  padding: 13px 32px;
  cursor: pointer;
  box-shadow: 0 3.5px 16px rgba(255,184,0,0.12);
  margin-top: 12px;
  margin-bottom: 7px;
  transition: background .17s, color .17s, box-shadow .16s, transform .13s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--cta-hover);
  color: var(--primary);
  box-shadow: 0 6px 28px rgba(0,51,102,0.09);
  transform: translateY(-2px) scale(1.030);
}

/* ===== MAP & CONTACT DETAILS ===== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.contact-details a {
  text-decoration: underline;
  color: var(--primary);
  font-weight: 600;
}
.contact-details a:hover {
  color: var(--accent);
}
.location-map {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-card);
  background: var(--secondary);
  margin-top: 22px;
  box-shadow: var(--shadow);
  padding: 14px;
  min-height: 110px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--white);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.04);
  padding: 34px 0 24px 0;
  margin-top: 48px;
  color: #273b47;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  font-size: 1rem;
  margin-bottom: 7px;
  color: var(--primary);
}
.footer-nav a {
  color: var(--primary);
  text-decoration: underline;
  margin: 0 3px;
  transition: color .14s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.96rem;
  flex-wrap: wrap;
}
.footer-contact img {
  height: 24px; width: auto;
  vertical-align: middle;
  margin-right: 4px;
  margin-left: 4px;
}
.footer-cta {
  margin-left: auto;
  margin-top: 12px;
}
@media (max-width: 700px) {
  footer .container, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-cta { margin-left: 0; }
}

/* ===== COOKIES BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  color: #2d2d2d;
  box-shadow: 0 -3px 18px rgba(0,51,102,0.09);
  border-radius: 20px 20px 0 0;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 1000;
  transition: transform .3s cubic-bezier(.84,0,.18,1), opacity .2s;
}
.cookie-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
.cookie-banner button {
  padding: 9px 18px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  background: var(--accent);
  color: #2d2d2d;
  margin-right: 6px;
  box-shadow: 0 2.5px 10px rgba(255,184,0,0.13);
  cursor: pointer;
  transition: background .13s, color .13s;
}
.cookie-banner button.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner button.accept:hover {
  background: var(--cta-hover);
  color: #1a1a1a;
}
.cookie-banner button.reject {
  background: #ececec;
  color: var(--primary);
}
.cookie-banner button.reject:hover {
  background: #ffd755;
  color: #ca001a;
}
.cookie-banner button.settings {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner button.settings:hover {
  background: #17406b;
  color: #fffbe9;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2001;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 38, 51, .38);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity .23s;
}
.cookie-modal-overlay.visible {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2.5px 28px rgba(0,51,102,0.14), 0 1.5px 7px rgba(255,184,0,0.10);
  max-width: 390px;
  width: 90%;
  margin-bottom: 6vh;
  padding: 32px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  animation: cookieModalIn .37s cubic-bezier(.27,1,.42,1);
}
@keyframes cookieModalIn {
  0% { transform: translateY(80px) scale(.97); opacity:0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem; color: var(--primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 1.02rem;
}
.cookie-category label {
  font-weight: 600; color: #284150;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px; height: 20px;
  margin-right: 8px;
}
.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 15px;
}
.cookie-modal button {
  padding: 9px 18px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .acceptall {
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal .rejectall {
  background: #ececec; color: #cb2734;
}
.cookie-modal .save {
  background: var(--primary); color: var(--accent);
}
.cookie-modal button:hover { filter: brightness(0.96) contrast(1.03); }
.cookie-modal .close {
  background: none;
  color: #455;
  padding: 8px 14px;
  font-size: 1.12rem;
  border-radius: 10px;
  margin-left: auto;
}
.cookie-modal .close:hover { background: #ececec; }

/* === Responsive for Cookie Banner/Modal === */
@media (max-width: 500px) {
  .cookie-modal { padding: 18px 6px 8px 8px; width: 99vw; min-width: 0; }
  .cookie-banner { padding: 14px 4px 6px 8px; }
}

/* ===== ANIMATIONS & MICRO-INTERACTIONS ===== */
a, button, .cta-primary {
  transition: color .13s, background .13s, box-shadow .16s, transform .10s;
}
.card, .faq-accordion > div, .testimonial-card, .feature-grid > div {
  transition: box-shadow .18s, transform .18s;
}

/* ======= RESPONSIVE DESIGN ======= */
@media (max-width: 930px) {
  .feature-grid { flex-direction: column; gap: 15px; }
}
@media (max-width: 600px) {
  .container { padding: 0 7px; }
  .testimonial-card, .card, .feature-grid > div, .faq-accordion > div { padding: 14px 7px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}
/* Hide unnecessary gaps on mobile */
@media (max-width: 900px) {
  section, .section { padding: 17px 0;}
}

/* ====== GENERAL UTILITIES ====== */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.gap-0 { gap: 0 !important; }
.rounded { border-radius: var(--radius-card); }
.shadow { box-shadow: var(--shadow); }

/* ==== MISCELLANEOUS === */
::-webkit-scrollbar {
  width: 8px;
  background: #FFE399;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
}

/* ======= END OF STYLE.CSS ======= */
