/* ===================================================
   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;
  background: #faf9f6;
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ===================================================
   COLOR VARIABLES & BRANDING
=================================================== */
:root {
  --primary: #18436e;
  --primary-rgb: 24,67,110;
  --secondary: #28a995;
  --secondary-rgb: 40,169,149;
  --accent: #faf9f6;
  --brand-dark: #10172b;
  --brand-grey: #e8e7e4;
  --danger: #e74c3c;
  --warning: #ffb100;
  --success: #36bc59;
}

/* ===================================================
   TYPOGRAPHY (creative_artistic style)
=================================================== */
body {
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
}
h1 {
  font-size: 2.4rem;
  color: var(--primary);
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  padding-bottom: 12px;
  line-height: 1.15;
}
h2 {
  font-size: 1.8rem;
  color: var(--secondary);
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  padding-bottom: 8px;
  line-height: 1.2;
}
h3 {
  font-size: 1.2rem;
  color: var(--primary);
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  padding-bottom: 4px;
  line-height: 1.22;
}
p, li, ul {
  font-size: 1rem;
  color: #2b2b2b;
  line-height: 1.7;
}
ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 21px;
}
ul li::before {
  content: "\25B6";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 0.85em;
  top: 4px;
}
a {
  color: var(--secondary);
  text-decoration: underline dotted;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--primary);
  text-decoration: underline wavy;
}
strong {
  color: var(--primary);
  font-weight: 600;
}

/* Artistic fonts for heading accents */
h1, h2 {
  text-shadow: 0 2px 12px rgba(24,67,110,0.08), 0 1px 0 var(--accent);
  letter-spacing: 0.5px;
}

@media (max-width: 540px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.18rem; }
}

/* ===================================================
   CONTAINER, LAYOUT & FLEXBOX
=================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.header-flex, .footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
footer .footer-flex {
  gap: 48px;
}
main {
  padding-bottom: 80px; /* To not be hidden by cookie banner */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.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;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .header-flex, .footer-flex {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 820px) {
  .footer-flex { gap: 20px; }
  .content-wrapper { gap: 12px; }
}
@media (max-width: 650px) {
  .container { padding: 0 6vw; }
}
@media (max-width: 768px) {
  .header-flex, .footer-flex { flex-direction: column; align-items: flex-start; }
  .feature-grid, .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* ===================================================
   HEADER, NAVIGATION & BURGER MENU
=================================================== */
header {
  background: linear-gradient(90deg, var(--primary) 80%, var(--secondary) 100%);
  padding: 0;
  box-shadow: 0 2px 10px 0 rgba(24,67,110,.06);
  position: relative;
  z-index: 50;
}
.branding img {
  height: 42px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  padding: 10px 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #faf9f6;
  border-radius: 6px;
  transition: background .13s, color .13s;
  font-size: 1rem;
}
.main-nav .cta-nav {
  background: var(--secondary);
  color: var(--brand-dark);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 18px;
  margin-left: 10px;
  box-shadow: 0 2px 8px 0 rgba(40,169,149,.11);
  letter-spacing: 0.25px;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(250,249,246,.14);
  color: var(--secondary);
}
.main-nav .cta-nav:hover, .main-nav .cta-nav:focus {
  background: var(--primary);
  color: #faf9f6;
  box-shadow: 0 0 0 2px var(--secondary-rgb,.15);
}

.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--brand-dark);
  font-size: 2rem;
  border-radius: 12px;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  margin-left: 20px;
  z-index: 250;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  outline: none;
  background: var(--primary);
  color: #faf9f6;
}

@media (max-width: 1023px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,67,110, 0.97);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
  transition: transform .35s cubic-bezier(.77,0,.18,1), opacity .27s;
  transform: translateX(-100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--secondary);
  background: transparent;
  border: none;
  position: absolute;
  top: 20px;
  right: 26px;
  z-index: 10000;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
  background: var(--secondary);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100vw;
  margin-top: 64px;
  padding-left: 35px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .5px;
  padding: 16px 0 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: color .13s, padding-left .15s;
  border-radius: 7px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
  padding-left: 24px;
}

/* overlay scroll hidden for open menu */
body.menu-open {
  overflow: hidden;
}

/* ===================================================
   HERO SECTIONS & CTA
=================================================== */
.hero, .about-hero, .services-hero, .contact-hero {
  background: linear-gradient(100deg, var(--secondary) 0%, var(--primary) 94%);
  color: #faf9f6;
  padding: 72px 0 48px 0;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 32px 0 rgba(var(--primary-rgb), .09);
  overflow: hidden;
}
.hero h1, .about-hero h1, .services-hero h1, .contact-hero h1 {
  color: #faf9f6;
}
.hero p,
.about-hero p,
.services-hero p, .contact-hero p {
  color: #e8e7e4;
}
@media (max-width: 600px) {
  .hero, .about-hero, .services-hero, .contact-hero {
    padding: 40px 0 20px 0;
    min-height: 180px;
  }
}

.cta {
  background: var(--secondary);
  padding: 52px 0 40px 0;
  box-shadow: 0 3px 18px 0 rgba(40,169,149,.07);
  margin-bottom: 0;
  border-radius: 24px 24px 0 0;
}
.cta h2 {
  color: var(--primary);
  font-size: 1.8rem;
}
.cta p {
  color: var(--brand-dark);
}
.cta-main {
  background: var(--primary);
  color: #faf9f6;
  padding: 16px 38px;
  border-radius: 38px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: 0.3px;
  margin-top: 14px;
  box-shadow: 0 4px 18px rgba(24,67,110,.10),0 2px 7px rgba(40,169,149,.14);
  transition: background .18s, color .18s, transform .18s;
  border: 2px solid var(--secondary);
  outline: none;
  cursor: pointer;
  display: inline-block;
}
.cta-main:hover, .cta-main:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(40,169,149,0.19), 0 2px 8px rgba(24,67,110,0.08);
}

/* ===================================================
   FEATURE CARDS & SECTIONS (creative_artistic)
=================================================== */
.feature-card {
  flex: 1 1 265px;
  background: #fff;
  border-radius: 26px;
  padding: 32px 26px 28px 26px;
  box-shadow: 0 2px 20px 0 rgba(40,169,149, .14), 0 1.5px 6px 0 rgba(24,67,110, .09);
  min-width: 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}
.feature-card img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}
.feature-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.35px;
}
.feature-card p {
  color: var(--primary);
  font-size: 1.01rem;
  text-align: center;
}
.feature-card::after {
  content: '';
  position: absolute;
  left: 18px; top: 18px;
  width: 45px; height: 45px;
  border-radius: 16px 40px 32px 12px/22px 24px 42px 12px;
  background: rgba(40,169,149,0.08);
  z-index: 0;
}

@media (max-width: 870px) {
  .feature-card { flex: 1 1 100%; max-width: unset; }
  .feature-grid { flex-direction: column; gap: 20px; }
}

/* ===================================================
   TESTIMONIALS & REVIEW CARDS (high contrast)
=================================================== */
.testimonial-card {
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 2px 20px rgba(24,67,110, .12), 0 0.5px 4px 0 rgba(40,169,149, .17);
  border-left: 5px solid var(--secondary);
  color: #181e24;
  margin: 20px 0 20px 0;
  min-width: 220px;
  max-width: 700px;
}
.testimonial-card p {
  color: #08101e;
  font-size: 1.07rem;
  margin: 0 0 8px 0;
  line-height: 1.7;
}
.testimonial-card strong {
  color: var(--primary);
  letter-spacing: 0.2px;
  font-weight: 700;
  font-size: 1.06em;
}
@media (max-width: 700px) {
  .testimonial-card { padding: 16px; }
}

/* ===================================================
   FOOTER
=================================================== */
footer {
  background: linear-gradient(90deg, var(--primary) 90%, var(--secondary) 100%);
  color: #e8e7e4;
  padding: 44px 0 24px 0;
  position: relative;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-brand img {
  height: 42px;
}
.footer-brand p {
  color: #faf9f6;
  font-size: 1rem;
  opacity: 0.96;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #e8e7e4;
  font-size: 1rem;
}
.footer-contact img {
  width: 16px; height: 16px;
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}
.footer-links a {
  color: #faf9f6;
  font-size: 1rem;
  opacity: 0.93;
  transition: color 0.17s, font-weight 0.17s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--secondary);
  font-weight: 700;
}
@media (max-width: 500px) {
  footer {
    padding: 30px 0 16px 0;
  }
  .footer-brand img {
    height: 32px;
  }
}

/* ===================================================
   FORMS & PRIVACY NOTICE
=================================================== */
.privacy-note {
  margin-top: 20px;
  background: #e8e7e4;
  border-radius: 9px;
  padding: 18px 18px;
  color: var(--primary);
  font-size: 1rem;
  box-shadow: 0 1.5px 4px rgba(40,169,149,0.08);
}
.privacy-note a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: underline dashed;
}
.privacy-note a:hover, .privacy-note a:focus {
  color: var(--danger);
}

/* ===================================================
   COOKIE CONSENT BANNER & MODAL
=================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--primary);
  color: #fff;
  z-index: 33333;
  padding: 20px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 -2px 18px 0 rgba(24,67,110,.13);
  font-size: 1rem;
  animation: bannerSlideIn .6s cubic-bezier(.5, .97, .34, 1);
}
@keyframes bannerSlideIn {
  from { transform: translateY(200%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner .cookie-text {
  color: #fff;
  flex: 1 0 220px;
  font-size: 1rem;
  margin-right: 24px;
  min-width: 120px;
}
.cookie-banner .cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 28px;
  border: none;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-right: 11px;
  transition: background .12s, color .12s, box-shadow .14s;
  box-shadow: 0 1px 8px #28a99519;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent);
  color: var(--primary);
  outline: 2px solid var(--secondary);
}
.cookie-banner .cookie-btn.reject {
  background: #e74c3c;
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #fff;
  color: #e74c3c;
  outline: 2px solid #e74c3c;
}
.cookie-banner .cookie-btn.settings {
  background: var(--brand-grey);
  color: var(--primary);
}
.cookie-banner .cookie-btn.settings:hover { background: var(--secondary); color: var(--accent); }

@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 5vw 12px 5vw;
  }
  .cookie-banner .cookie-text {
    margin: 0 0 7px 0;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11,22,35,0.32);
  z-index: 99999;
  display: none;
  animation: fadeIn .27s cubic-bezier(.7,.1,.24,1);
}
.cookie-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  min-width: 312px;
  max-width: 95vw;
  border-radius: 19px;
  padding: 34px 38px 22px 38px;
  box-shadow: 0 6px 30px 0 rgba(24,67,110,0.13);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalRise .4s cubic-bezier(.7,0,.25,1) both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { 0% { transform: translateY(35px);opacity:0;} 100% { transform: none;opacity: 1;} }

.cookie-modal h4 {
  font-size: 1.32rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding-bottom: 7px;
  font-weight: 600;
}
.cookie-modal .cookie-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  color: var(--primary);
  margin-right: 5px;
}
.cookie-modal .cookie-toggle {
  width: 46px;
  height: 26px;
  border-radius: 14px;
  background: var(--brand-grey);
  border: 1.5px solid #e8e7e4;
  display: flex;
  align-items: center;
  position: relative;
  transition: background .15s;
  margin-left: 12px;
  cursor: pointer;
}
.cookie-modal .cookie-toggle.enabled {
  background: var(--secondary);
  border-color: var(--secondary);
}
.cookie-modal .cookie-toggle-switch {
  width: 24px; height: 24px;
  background: #fff;
  border-radius: 12px;
  transition: transform .15s, background .14s;
  position: absolute;
  left: 0; top: 1px;
  box-shadow: 0 1px 4px rgba(24,67,110, .14);
}
.cookie-modal .cookie-toggle.enabled .cookie-toggle-switch {
  transform: translateX(20px);
  background: var(--primary);
}
.cookie-modal .cookie-description {
  color: #222;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .cookie-actions button {
  background: var(--secondary);
  color: #fff;
  border-radius: 18px;
  padding: 7px 24px;
  font-size: 1rem;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  transition: background .13s;
}
.cookie-modal .cookie-actions button:hover, .cookie-modal .cookie-actions button:focus {
  background: var(--primary);
}
.cookie-modal .close-cookie-modal-btn {
  position: absolute;
  top: 11px;
  right: 18px;
  background: transparent;
  color: var(--secondary);
  border: none;
  font-size: 1.35rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 2px 8px;
}
.cookie-modal .close-cookie-modal-btn:hover {
  color: var(--danger);
  background: #faecea;
  border-radius: 50%;
}

@media (max-width: 512px){
  .cookie-modal { padding: 18px 9vw 16px 9vw; }
  .cookie-modal h4 { font-size: 1.08rem; }
}

/* ===================================================
   ARTISTIC EXTRAS & MICRO-ANIMATIONS
=================================================== */
.section, .feature-card, .testimonial-card, .cta, .privacy-note, .cookie-modal {
  transition: box-shadow .18s, transform .17s, background .16s;
}
.feature-card:hover {
  box-shadow: 0 6px 32px 0 rgba(40,169,149,.18), 0 1.5px 16px 0 rgba(24,67,110, .12);
  transform: translateY(-6px) scale(1.012);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 26px rgba(24,67,110,0.16), 0 2px 12px 0 rgba(40,169,149,0.12);
}

/* Artistic Brush Accent (SVG, for demo purposes use bg) */
h1, h2 {
  background-image: linear-gradient(90deg, #28a995 10%, #18436e 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(24,67,110,.06));
}
.hero h1, .about-hero h1, .services-hero h1, .contact-hero h1 {
  background-image: none;
  -webkit-text-fill-color: #faf9f6;
  text-fill-color: #faf9f6;
  background-clip: border-box;
}

/* ===================================================
   MISCELLANEOUS
=================================================== */
::-webkit-input-placeholder { color: #afb6bf; }
::-moz-placeholder { color: #afb6bf; }
:-ms-input-placeholder { color: #afb6bf; }
::placeholder { color: #afb6bf; }
a:focus, button:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* Hide visually-only (e.g. for a11y) */
.sr-only {
  border: 0 !important;
  clip: rect(1px,1px,1px,1px);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}


/* =============================
   END OF CSS FILE
============================= */
