/* --- 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 { line-height: 1.5; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; } 

/* --- GLOBAL BRAND COLORS & FONTS --- */
:root {
 --color-primary: #29668f;
 --color-secondary: #d6deeb;
 --color-accent: #f89d44;
 --color-bg: #fafdff;
 --color-headline: #235279;
 --color-text: #25354a;
 --color-light: #ffffff;
 --color-dark: #2b3e50;
 --color-shadow: rgba(41,102,143,0.08);
 --color-testimonial-bg: #fafdff;
 --color-testimonial-text: #25354a;
 --radius-xs: 6px;
 --radius-s: 12px;
 --radius-m: 22px;
 --shadow-m: 0 2px 18px var(--color-shadow);
 --transition: .28s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-bg) 100%);
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-headline);
  margin-bottom: 12px;
}
h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 600; margin-top: 30px; }
h3 { font-size: 1.15rem; font-weight: 600; margin-top: 18px; }
p, li, ul, ol { font-size: 1rem; line-height: 1.7; }
strong, b { font-weight: 600; }

@media (min-width:560px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.33rem; }
}

/* -------- CONTAINER LAYOUT -------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-m);
}

@media (min-width: 768px) {
  .section { padding: 60px 32px; }
}
/* -------- HEADER & MAIN NAV -------- */
header {
  background: linear-gradient(90deg, var(--color-primary) 70%, var(--color-accent) 100%);
  box-shadow: 0 2px 16px rgba(41,102,143,0.07);
  position: relative;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header a img {
  height: 42px;
  margin-right: 8px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-light);
  position: relative;
  padding: 7px 12px;
  border-radius: var(--radius-xs);
  transition: background .17s, color .17s;
}
.main-nav a:not(.cta):hover, .main-nav a:not(.cta):focus {
  background: rgba(255,255,255,0.13);
  color: var(--color-accent);
}
.main-nav a.cta {
  background: var(--color-accent);
  color: var(--color-light);
  font-weight: 600;
  border-radius: var(--radius-s);
  margin-left: 8px;
  padding: 8px 26px;
  box-shadow: 0 1px 6px rgba(248, 157, 68, 0.10);
  transition: background .18s, box-shadow .18s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #d06700;
  color: #fff;
  box-shadow: 0 3px 16px rgba(248, 157, 68,0.17);
}

.mobile-menu-toggle {
  background: var(--color-accent);
  color: var(--color-light);
  border: none;
  font-size: 2rem;
  border-radius: var(--radius-m);
  padding: 7px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 4px;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #d06700;
}
/* Hide mobile menu toggle on desktop */
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}
/* Hide main nav on mobile */
@media (max-width: 1023px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}

/* --- MOBILE MENU (HAMBURGER) --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(130deg, #29668f 80%, #f89d44 120%);
  z-index: 2220;
  transform: translateX(-104vw);
  transition: transform .35s cubic-bezier(.71,.21,.25,.87);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  position: absolute;
  right: 23px;
  top: 20px;
  cursor: pointer;
  z-index: 2231;
  transition: color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 78px 0 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  color: #fff;
  padding: 10px 0;
  letter-spacing: 0.01em;
  border-radius: var(--radius-xs);
  transition: color .17s, background .17s;
}
.mobile-nav a:not(.cta):hover, .mobile-nav a:not(.cta):focus {
  background: rgba(255,255,255,0.13);
  color: var(--color-accent);
}
.mobile-nav a.cta {
  margin-top: 10px;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 30px;
  border-radius: var(--radius-s);
  box-shadow: 0 1px 6px rgba(248,157,68,0.09);
  font-weight: 600;
}
.mobile-nav a.cta:hover, .mobile-nav a.cta:focus {
  background: #d06700;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}


/* -------- HERO + GENERAL SECTIONS -------- */
section {
  background: var(--color-light);
  border-radius: var(--radius-m);
  margin-bottom: 60px;
  box-shadow: 0 3px 18px var(--color-shadow);
}
section .container {
  align-items: stretch;
}

.subheadline {
  font-size: 1.19rem;
  color: var(--color-headline);
  opacity: 0.92;
}

/* -------- FLEX LAYOUT PATTERNS -------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-item {
  background: var(--color-secondary);
  border-radius: var(--radius-s);
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 28px 18px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 250px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-item h3 { margin-bottom: 0; margin-top: 0; }
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 5px 22px rgba(41,102,143,0.16);
  transform: translateY(-4px) scale(1.025);
  background: #eaf2fa;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; align-items: flex-start; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: var(--color-testimonial-bg);
  color: var(--color-testimonial-text);
  padding: 20px;
  border-radius: var(--radius-s);
  box-shadow: 0 1px 8px var(--color-shadow);
  margin-bottom: 20px;
  font-size: 1.07rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card .stars {
  color: var(--color-accent);
  font-size: 1.12rem;
  letter-spacing: 2px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 22px rgba(41,102,143,0.14);
  transform: translateY(-3px) scale(1.015);
}

/* -------- CARDS / TABLES -------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-secondary);
  border-radius: var(--radius-s);
  box-shadow: 0 1px 8px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* -------- PRICING, SERVICES, PROCESS, FAQ --------- */
.pricing-table, .services-list, .process-steps {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.process-steps {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}
.step {
  background: var(--color-secondary);
  border-radius: var(--radius-s);
  padding: 26px 22px;
  min-width: 180px;
  flex: 1 1 220px;
  box-shadow: 0 1px 8px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.step img { width: 32px; height: 32px; }
.step:hover, .step:focus-within {
  box-shadow: 0 5px 22px rgba(41,102,143,0.14);
  transform: translateY(-3px) scale(1.012);
}

.faq-category {
  background: var(--color-secondary);
  border-radius: var(--radius-s);
  margin-bottom: 26px;
  padding: 24px 20px;
  box-shadow: 0 1px 8px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* List tweaks */
ul, ol {
  margin-left: 1.3em;
  margin-top: 8px;
}
ul.values-icons, ul.core-values, ul.unique-benefits, ul.team-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: flex-start;
  margin-left: 0;
}
ul.values-icons img,
ul.core-values img { width: 26px; height: 26px; vertical-align: bottom; margin-right: 7px; }

/* ---- BUTTONS / CTA ---- */
a.cta, button.cta, .cta {
  background: var(--color-accent);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  border: none;
  border-radius: var(--radius-m);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  box-shadow: 0 2px 10px rgba(248,157,68,0.13);
  margin-top: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background var(--transition), box-shadow .2s, transform .19s;
}
a.cta:hover, a.cta:focus, button.cta:hover, button.cta:focus,
.cta:hover, .cta:focus {
  background: #d06700 !important;
  box-shadow: 0 4px 18px #eeb74e33;
  transform: translateY(-1px) scale(1.012);
}

/* ---- OTHER CONTENT ELEMENTS ---- */
.text-section { margin-bottom: 18px; }
.text-section ul { margin-top: 12px; }
.text-section img { margin-right: 7px; vertical-align: bottom; }
.thankyou-section { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.address-map-snippet ul {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 7px;
}
/* --- HIGHLIGHT / NOTES --- */
.notes { font-size: 0.98em; color: #6383a6; opacity: 0.95; margin-top: 12px; }

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #235279 90%, #f89d44 130%);
  color: #fff;
  padding: 38px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links, .footer-contact, .footer-branding {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-links a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.95;
  padding: 2px 0;
  transition: color .16s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.footer-branding img {
  height: 32px;
  margin-bottom: 6px;
}
.brand-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700; font-size: 1.11rem; color: #fff;
}
.tagline {
  font-size: 0.98rem; color: #e1ecfa; opacity: 0.88; font-style: italic;
}
.footer-contact img { height: 18px; width: 18px; margin-right: 7px; vertical-align: bottom; }
footer p { font-size: 1rem; line-height: 1.6; margin-bottom: 0; }

@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
}

/* -------- RESPONSIVE LAYOUTS --------- */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  .container {
    padding: 0 8px;
  }
  .section { padding: 27px 8px; margin-bottom: 32px; }
  .features-grid, .card-container, .process-steps {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.16rem; }
  h2 { font-size: 1rem; }
  .footer-branding img { height: 24px; }
  .feature-item, .card, .step {
    padding: 16px 10px;
    min-width: 0;
  }
}

/* ---------- MICRO-INTERACTIONS ---------- */
a, button, .cta, .feature-item, .card, .testimonial-card, .step {
  transition: box-shadow .23s cubic-bezier(.2,.7,.5,1), background .19s, color .17s, transform .24s cubic-bezier(.2,.7,.5,1);
}
/* --------------- COOKIE CONSENT BANNER --------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-light);
  color: var(--color-headline);
  box-shadow: 0 -2px 16px rgba(41,102,143,0.08);
  padding: 18px 20px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5000;
  font-size: 1.01rem;
  align-items: flex-start;
  opacity: 0; pointer-events: none;
  transform: translateY(100%);
  transition: opacity .31s, transform .32s cubic-bezier(.45,.77,.38,1.06);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-btns {
  display: flex; gap: 20px; margin-top: 8px;
}
.cookie-banner button {
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius-s);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 7px;
  margin-bottom: 3px;
  box-shadow: 0 1px 4px rgba(41,102,143,0.07);
  transition: background .16s, color .16s;
}
.cookie-banner .accept {
  background: var(--color-accent); color: #fff;
  font-weight: 600;
}
.cookie-banner .reject {
  background: #f3f3f3; color: var(--color-headline);
  font-weight: 500;
  border: 1px solid #e1e1e1;
}
.cookie-banner .settings {
  background: transparent; color: var(--color-headline);
  text-decoration: underline;
  font-weight: 500;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  opacity: 0.86;
}

@media (max-width: 730px) {
 .cookie-banner { font-size: 0.98rem; padding: 13px 7px 9px 8px; }
 .cookie-banner .cookie-btns { gap: 10px; }
}

/* --------------- COOKIE PREFERENCES MODAL --------------- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,102,143,0.22);
  z-index: 5100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .33s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--color-light);
  color: var(--color-dark);
  border-radius: var(--radius-m);
  padding: 38px 27px 22px 28px;
  box-shadow: 0 2px 30px rgba(41,102,143,0.17);
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal-content h2 {
  margin-bottom: 6px; color: var(--color-primary);
  font-size: 1.24rem;
}
.cookie-modal-content .close-modal {
  position: absolute;
  right: 16px; top: 13px;
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 1.64rem;
  cursor: pointer;
  z-index: 5211;
  transition: color .17s;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
  color: var(--color-accent);
}
.cookie-category {
  margin: 14px 0 9px 0;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  margin-right: 7px;
  accent-color: var(--color-primary);
}
.cookie-category.essential {
  opacity: 0.82;
  color: #7b8da2;
  cursor: not-allowed;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex; gap: 20px; margin-top: 6px;
}
.cookie-modal-content .cookie-modal-actions button {
  padding: 8px 22px;
  border-radius: var(--radius-s);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .14s;
}
.cookie-modal-content .cookie-modal-actions button.secondary {
  background: #f2f5fa; color: var(--color-headline);
  font-weight: 500;
  border: 1px solid #e1e1e1;
}
.cookie-modal-content .cookie-modal-actions button:hover,
.cookie-modal-content .cookie-modal-actions button:focus {
  opacity: 0.86;
}
@media (max-width: 560px) {
  .cookie-modal-content { min-width: 90vw; padding: 16px 7vw 12px 5vw; }
}

/* ------ UTILITY CLASSES ------ */
.text-center { text-align: center; }
.mb-12 { margin-bottom: 12px; }
.mb-24 { margin-bottom: 24px; }
.mt-20 { margin-top: 20px; }
.gap-16 { gap: 16px !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }

/* ------ SCROLLBAR STYLING ------ */
html {
  scrollbar-color: #29668f #e8eef5;
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 9px; background: #e8eef5; }
::-webkit-scrollbar-thumb { background: #91b9de; border-radius: 5px; }

/* ------ MISCELLANEOUS ------ */
input, textarea {
  border-radius: var(--radius-xs); border: 1px solid #ddd;
  padding: 9px 11px; font-size: 1rem;
  outline: none;
  transition: border-color .13s;
}
input:focus, textarea:focus { border-color: var(--color-primary); }

/* Prevent overlapping & ensure spacing */
div, section, .container, .card, .feature-item, .testimonial-card, .footer-contact, .footer-links, .footer-branding {
  min-width: 0;
  box-sizing: border-box;
}

/* Hide visually if needed (e.g. for hamburger menu JS) */
.hidden { display: none !important; }
