/* --- CSS RESET & BASE STYLES --- */
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1A2328;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color 0.18s; }
button, input, textarea, select { font-family: inherit; font-size: 100%; outline: none; background: none; border: none; }

/* --- COLOR VARIABLES --- */
:root {
  --color-primary: #005978;
  --color-secondary: #FFAF43;
  --color-accent: #F6F8FB;
  --color-bg: #fff;
  --color-text: #1A2328;
  --color-border: #E6E8EC;
  --color-muted: #7A8A87;
  --color-shadow: rgba(30,50,70,0.07);
}


/* --- TYPOGRAPHY SCALE --- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
p,
ul,
ol { margin-bottom: 18px; }
ul,
ol { padding-left: 24px; }
li { margin-bottom: 10px; }
strong,b { font-weight: 700; }
.text-section h1,
.text-section h2,
.text-section h3,
.text-section h4 { margin-bottom: 16px; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.12rem; }
}


/* --- CONTAINER AND GENERAL LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Spacious minimalist section layout */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: var(--color-bg);
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding: 32px 0;
  }
  .container { padding: 0 12px; }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-bg);
  box-shadow: 0 2px 8px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
  position: relative;
}
header img { height: 36px; width: auto; margin-right: 4px; }
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 24px;
}
nav.main-nav a {
  color: var(--color-primary);
  padding: 6px 8px;
  border-radius: 5px;
  transition: background 0.16s, color 0.16s;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border-radius: 32px;
  padding: 10px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px var(--color-shadow);
}
/* Hide Burger On Desktop */
.mobile-menu-toggle {
  display: none;
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 1024px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--color-accent);
    border-radius: 50%;
    height: 42px;
    width: 42px;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: background 0.22s, color 0.22s;
    margin-left: 8px;
    z-index: 60;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: var(--color-secondary);
    color: #fff;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(246,248,251,0.98);
  box-shadow: 0 8px 32px var(--color-shadow);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.66,0,0.32,1), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin-top: 26px;
  margin-left: auto;
  margin-right: 32px;
  background: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 50%;
  padding: 6px 12px;
  border: 1.5px solid var(--color-border);
  transition: background 0.18s, color 0.18s;
  z-index: 101;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px;
  width: 100%;
  gap: 16px;
  padding-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-size: 1.25rem;
  padding: 12px 6px;
  margin-bottom: 4px;
  border-radius: 5px;
  width: fit-content;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}


/* --- HERO & INTRO --- */
.content-wrapper > h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-top: 12px;
  margin-bottom: 16px;
}
.content-wrapper > p {
  font-size: 1.12rem;
  color: var(--color-muted);
}

/* --- FEATURES GRID (use flexbox only) --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  margin: 32px 0 0 0;
  padding: 0;
  justify-content: flex-start;
}
.features-grid li {
  flex-basis: 260px;
  flex-grow: 1;
  min-width: 220px;
  max-width: calc(25% - 24px);
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.features-grid li:hover {
  box-shadow: 0 8px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
}
.features-grid img {
  height: 48px;
  margin-bottom: 8px;
}
.features-grid .price {
  color: var(--color-secondary);
  background: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  padding: 2px 12px;
  box-shadow: 0 1px 3px var(--color-shadow);
}
@media (max-width: 900px) {
  .features-grid li { max-width: calc(50% - 20px); }
}
@media (max-width: 640px) {
  .features-grid { gap: 20px; }
  .features-grid li {
    max-width: 100%;
    min-width: 0;
    flex-basis: 100%;
    padding: 22px 10px;
  }
}

/* --- SERVICES CARD LIST (flex, minimalist) --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 16px 0;
  justify-content: flex-start;
}
.service {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1.5px solid var(--color-border);
  padding: 28px 22px 20px 22px;
  min-width: 230px;
  flex-grow: 1;
  flex-basis: 260px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.service:hover {
  box-shadow: 0 8px 28px var(--color-shadow);
  transform: translateY(-3px) scale(1.03);
}
.service .price {
  margin-top: 8px;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .service { max-width: calc(50% - 22px); }
}
@media (max-width: 650px) {
  .service-list { gap: 14px; }
  .service { max-width: 100%; min-width: 0; }
}

/* --- TESTIMONIALS / REVIEWS --- */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 28px 24px;
  max-width: 420px;
  min-width: 270px;
  margin-bottom: 20px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  font-size: 1.08rem;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card p { margin-bottom: 8px; font-weight: 500; }
.testimonial-footer,
.testimonial-card span {
  color: var(--color-muted);
  font-size: 0.99rem;
  font-weight: 400;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px var(--color-shadow);
  transform: scale(1.02) translateY(-2px);
}

/* --- TEXT-IMAGE SECTION (if any) --- */
.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;
    align-items: flex-start;
  }
}

/* --- TEAM GRID (about page team members, flexbox only) --- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
}
.team-member {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 28px 22px 22px 22px;
  min-width: 210px;
  flex-basis: 240px;
  max-width: calc(33% - 22px);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.18s, transform 0.13s;
}
.team-member:hover {
  box-shadow: 0 8px 28px var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 900px) {
  .team-member { max-width: calc(50% - 18px); }
}
@media (max-width: 600px) {
  .team-member { max-width: 100%; min-width: 0; }
}

/* --- CARD LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 20px var(--color-shadow);
  transform: scale(1.015);
}

/* --- PRICING/INFO --- */
.pricing-info {
  background: var(--color-accent);
  border-radius: 10px;
  padding: 18px 22px;
  color: var(--color-primary);
  font-size: 1.04rem;
  box-shadow: 0 1px 3px var(--color-shadow);
  margin: 24px 0 18px 0;
}
.pricing-info ul { margin-top: 8px; }

/* --- CONTACT PAGE BOX --- */
.contact-details-box {
  background: var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 1.5px 7px var(--color-shadow);
  padding: 26px 20px;
  font-size: 1.08rem;
  max-width: 480px;
  margin: 16px 0 0 0;
}
.contact-details-box h3 { margin-bottom: 4px; color: var(--color-primary); font-size: 1.07rem; }
.contact-details-box a { color: var(--color-secondary); font-weight: 500; }
.contact-details-box a:hover { text-decoration: underline; }

/* --- FOOTER --- */
footer {
  background: var(--color-accent);
  border-top: 1px solid var(--color-border);
  padding: 32px 0 18px 0;
  margin-top: 54px;
  font-size: 0.99rem;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-muted);
}
.footer-branding img { height: 28px; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #fff;
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -2px 24px var(--color-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 16px 20px 16px;
  z-index: 2000;
  min-height: 54px;
  font-size: 1.01rem;
  transition: transform 0.33s cubic-bezier(0.65,0,0.35,1), opacity 0.26s;
}
.cookie-banner.hide {
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p { margin-bottom: 0; color: var(--color-text); }
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: 32px;
  padding: 8px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 8px;
  margin-right: 8px;
  border: none;
  box-shadow: 0 1px 5px var(--color-shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.19s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: scale(1.04);
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-btn.secondary:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.99rem;
    padding: 18px 8px;
  }
  .cookie-btn { margin-left: 0; margin-right: 0; margin-bottom: 8px; }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(30,38,50,0.22);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.26s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 40px var(--color-shadow);
  padding: 36px 26px 24px 26px;
  min-width: 280px;
  max-width: 360px;
  width: 94vw;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 4001;
  animation: slideModal 0.4s cubic-bezier(0.58,0.1,0.22,1);
}
@keyframes slideModal {
  0% {transform: translateY(70px); opacity:0;}
  100% {transform: none; opacity:1;}
}
.cookie-modal h3 {
  color: var(--color-primary);
  font-size: 1.23rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 1.08rem;
}
.cookie-category label {
  font-weight: 500;
  color: var(--color-text);
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-secondary);
  border-radius: 7px;
  margin-right: 6px;
  vertical-align: middle;
}
.cookie-category .disabled {
  color: var(--color-muted);
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  color: var(--color-primary);
  font-size: 1.2rem;
  border-radius: 50%;
  border: 1.2px solid var(--color-border);
  padding: 4px 10px;
  cursor: pointer;
  margin-left: auto;
  margin-right: -4px;
  margin-top: -14px;
  transition: background 0.18s, color 0.21s;
}
.cookie-modal-close:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* --- RESPONSIVE FLEXBOX CONTENT GRID --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* --- ULTRA-MINIMAL FORM STYLES (if any) --- */
input,textarea,select {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.14s, box-shadow 0.15s;
  margin-bottom: 14px;
}
input:focus,textarea:focus,select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px var(--color-shadow);
}
label { font-weight: 500; margin-bottom: 8px; display: block; color: var(--color-primary); }

/* --- MICROINTERACTIONS & ANIMATIONS --- */
a, button, .btn-primary, .cookie-btn {
  transition: color 0.18s, background 0.18s, box-shadow 0.23s, outline 0.19s;
}
.card, .service, .testimonial-card, .team-member, .features-grid li {
  transition: box-shadow 0.18s, transform 0.15s, border 0.21s, background 0.17s;
}

/* --- ACCESSIBILITY HINTS --- */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* --- GENERAL EASY SPACING --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- MISC MINIMALIST FINE TUNING --- */
::-webkit-scrollbar { width:12px; background:var(--color-accent); }
::-webkit-scrollbar-thumb { background:var(--color-border); border-radius:8px; }
::-webkit-scrollbar-thumb:hover { background:var(--color-secondary); }


/* --- OVERRIDE BROWSER AUTOFILL BACKGROUND --- */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fff inset;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--color-text);
}

/* --- UTILITY CLASSES --- */
.muted { color: var(--color-muted); }
.accent-bg { background: var(--color-accent); }
.primary-text { color: var(--color-primary) !important; }
.secondary-text { color: var(--color-secondary) !important; }

/* --- PRINT -- */
@media print {
  header,footer,.cookie-banner,.mobile-menu {display:none !important;}
  body,main,section,.container {background:#fff;color:#222 !important;}
}
