/* CSS RESET & NORMALIZATION */
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 { height: 100%; scroll-behavior: smooth; }
body { height: 100%; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
body { line-height: 1; background: #F0EEE6; color: #244159; }
ol, ul { list-style: none; }
a { background: transparent; text-decoration: none; color: inherit; }
a:active, a:focus, a:hover { outline: 0; }
img { border-style: none; max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; background: none; border: none; }

/* BRAND VARIABLES & FALLBACKS */
:root {
  --color-primary: #244159;
  --color-secondary: #7A9D5A;
  --color-accent: #F0EEE6;
  --color-electric-1: #37C8E7;
  --color-electric-2: #FE2C55;
  --color-electric-3: #F6C900;
  --color-electric-4: #24D1A4;
  --color-contrast-dark: #212129;
  --color-contrast-light: #ffffff;
  --color-contrast-text: #244159;
  --shadow-strong: 0 4px 32px 0 rgba(36,65,89,0.1), 0 1.5px 6px 0 rgba(122,157,90,0.08);
  --shadow-card: 0 2px 12px 0 rgba(36,65,89,0.10);
  --radius-xlarge: 32px;
  --radius-large: 20px;
  --radius-medium: 12px;
  --radius-small: 8px;
  --font-display: 'Montserrat', Montserrat, Arial, sans-serif;
  --font-body: 'Roboto', Roboto, Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* TYPOGRAPHY SCALE */
h1, .hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--color-primary);
  letter-spacing: -2px;
  margin-bottom: 16px;
  line-height: 1.08;
  text-shadow: 0 1px 2px rgba(36,65,89,0.03), 0 0.5px 1.5px rgba(254,44,85,0.04);
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--color-electric-2);
  letter-spacing: -1px;
  line-height: 1.15;
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
p, ul, ol, li, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.7;
  margin-bottom: 12px;
}
blockquote {
  font-size: 1.13rem;
  font-style: italic;
  color: var(--color-electric-1);
  background: #FFFFFF;
  border-left: 5px solid var(--color-electric-1);
  padding: 16px 22px;
  border-radius: var(--radius-medium);
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
}
strong { color: var(--color-electric-2); font-weight: 700; }

/* HEADERS & NAVIGATION */
header {
  width: 100%;
  background: var(--color-contrast-light);
  box-shadow: 0 3px 15px 0 rgba(36,65,89,0.04);
  position: sticky;
  z-index: 80;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: var(--radius-small);
  color: var(--color-electric-2);
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-electric-1);
  color: var(--color-contrast-light);
}
header nav a.cta-primary {
  background: var(--color-electric-2);
  color: var(--color-contrast-light);
  font-weight: 700;
  border-radius: var(--radius-medium);
  padding: 10px 20px;
  margin-left: 12px;
  box-shadow: 0 2px 6px var(--color-electric-2, #FE2C55, 0.10);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: background 0.23s, color 0.23s, transform 0.2s;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: var(--color-electric-3);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAV BUTTON */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: var(--color-electric-2);
  color: var(--color-contrast-light);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-large);
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
  z-index: 120;
  border: none;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-electric-1);
}

/* MOBILE NAV MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 200;
  background: rgba(36,65,89,0.98);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.77,.02,.77,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-electric-3);
  font-size: 2.3rem;
  border: none;
  padding: 32px 24px 8px 24px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-electric-2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 12px 38px 20px 38px;
  gap: 18px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--color-contrast-light);
  padding: 14px 0 7px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  transition: color 0.18s;
  position: relative;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-electric-3);
  background: none;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(120deg, var(--color-electric-1) 0%, var(--color-electric-4) 100%);
  color: var(--color-contrast-light);
  min-height: 330px;
  padding: 52px 0 38px 0;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-contrast-light);
  text-shadow: 0 3px 14px rgba(36,65,89,0.18);
}
.hero p {
  color: var(--color-contrast-light);
  font-size: 1.20rem;
}
.hero .cta-primary {
  background: var(--color-electric-2);
  color: var(--color-contrast-light);
  box-shadow: 0 2px 8px 0 rgba(36,65,89,0.13);
  font-size: 1.08rem;
}
.hero .cta-primary:hover,
.hero .cta-primary:focus {
  background: var(--color-electric-1);
  color: var(--color-contrast-light);
}


/* MAIN SECTIONS */
.section,
.features,
.about,
.services,
.testimonials,
.contact,
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
}

/* FEATURES & SERVICES GRID */
.features .feature-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 24px;
}
.features .feature-grid li,
.feature-grid li {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px 20px 18px 20px;
  min-width: min(270px, 100vw - 36px);
  max-width: 310px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  position: relative;
  border-left: 5px solid var(--color-electric-2);
}
.features .feature-grid li:hover,
.feature-grid li:hover {
  box-shadow: 0 6px 28px 0 rgba(36,65,89,0.17);
  transform: translateY(-4px) scale(1.025);
  border-left: 5px solid var(--color-electric-1);
}
.features .feature-grid li img,
.feature-grid li img {
  height: 40px;
  margin-bottom: 10px;
}

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

.services ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.services ul li {
  background: #fff;
  border-radius: var(--radius-medium);
  box-shadow: 0 1.5px 7px 0 rgba(36,65,89,0.09);
  padding: 18px 18px 12px 22px;
  font-size: 1.08rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.services ul li:hover {
  box-shadow: 0 4px 15px 0 rgba(254,44,85,0.06);
  transform: translateX(5px);
}

.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 18px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 26px 0 rgba(36,65,89,0.15);
  transform: scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

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

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  border-radius: var(--radius-xlarge);
  box-shadow: 0 2px 14px 0 rgba(36,65,89,0.10);
  margin-bottom: 60px;
  padding: 32px 12px 38px 12px;
  position: relative;
}
.testimonials h2 {
  color: var(--color-electric-2);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--color-accent);
  box-shadow: 0 2px 6px 0 rgba(36,65,89,0.10);
  border-radius: var(--radius-large);
  margin-bottom: 20px;
  color: var(--color-contrast-dark);
  min-width: 244px;
  max-width: 720px;
  width: 100%;
  flex-direction: column;
}
.testimonial-card blockquote {
  border-left: 5px solid var(--color-electric-3);
  color: var(--color-primary);
  background: #fff;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 5px;
  border-radius: var(--radius-small);
  box-shadow: none;
}
.testimonial-card p {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0;
  margin-left: 2px;
}

/* CONTACT & ADDRESS */
.contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0 16px 0;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-primary);
  background: #fff;
  border-radius: var(--radius-medium);
  padding: 11px 20px 11px 16px;
  box-shadow: 0 1px 4px 0 rgba(36,65,89,0.05);
}
.contact ul li img {
  height: 26px;
}
.contact a,
.contact ul li a {
  color: var(--color-electric-2);
  word-break: break-all;
  transition: color 0.2s;
}
.contact a:hover, .contact ul li a:hover {
  color: var(--color-electric-1);
  text-decoration: underline;
}

/* CTA LINK BUTTONS */
.cta-primary {
  background: var(--color-electric-1);
  color: var(--color-contrast-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: var(--radius-medium);
  padding: 12px 32px;
  transition: background 0.22s, color 0.22s, transform 0.18s, box-shadow 0.2s;
  box-shadow: 0 1.5px 7px 0 rgba(54,200,231,0.12);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-top: 6px;
  display: inline-block;
  outline: 0;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-electric-2);
  color: var(--color-contrast-light);
  transform: translateY(-2px) scale(1.028);
}
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  padding: 34px 0 24px 0;
  border-top-left-radius: var(--radius-xlarge);
  border-top-right-radius: var(--radius-xlarge);
  box-shadow: 0 -2px 14px 0 rgba(36,65,89,0.08);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  opacity: 0.85;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 7px;
  transition: opacity 0.14s, background 0.18s, color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  background: var(--color-electric-1);
  color: var(--color-primary);
}
footer p {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.81;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-contrast-light);
  border-top: 4px solid var(--color-electric-2);
  z-index: 5000;
  padding: 22px 14px 24px 14px;
  box-shadow: 0 -4px 24px 0 rgba(36,65,89,0.16),0 1.5px 7px 0 rgba(122,157,90,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: bannerDrop 0.45s cubic-bezier(.7,.12,.33,1.01);
  font-family: var(--font-body);
}
@keyframes bannerDrop {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner__text {
  color: var(--color-primary);
  font-size: 1.02rem;
  text-align: center;
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-small);
  padding: 10px 18px;
  box-shadow: 0 1px 5px rgba(36,65,89,0.10);
  margin: 0 3px;
  background: var(--color-electric-1);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.11s;
}
.cookie-btn.accept {
  background: var(--color-electric-2);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--color-electric-3);
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-electric-4);
  color: var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.93;
  transform: scale(1.04);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: rgba(36,65,89,0.56);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalShow 0.32s cubic-bezier(.7,.12,.33,1.01);
}
@keyframes modalShow {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-xlarge);
  box-shadow: 0 8px 36px 0 rgba(36,65,89,0.15);
  max-width: 420px;
  width: 95vw;
  padding: 38px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: modalPop 0.45s cubic-bezier(.7,.12,.33,1.01);
}
@keyframes modalPop {
  0% { transform: scale(0.6); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  color: var(--color-electric-2);
  font-size: 1.25rem;
  margin-bottom: 2px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid #ececec;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category p { margin-bottom: 0; font-size: 1rem; }
.cookie-category .toggle {
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--color-electric-2);
}
.cookie-category.essential .toggle {
  color: var(--color-secondary);
  font-weight: 900;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: var(--color-electric-1);
  font-size: 2rem;
  position: absolute;
  top: 14px; right: 20px;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-electric-2);
}

/* Utility classes for consistent spacing and hierarchy */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-3 { margin-top: 16px; }
.mb-3 { margin-bottom: 16px; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }

/* RESPONSIVENESS & RESPONSIVE FLEXBOX ALIGNMENTS */
@media (max-width: 1120px) {
  .container { max-width: 99vw; }
  .features .feature-grid, .feature-grid { justify-content: center; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; }
  .feature-grid li, .features .feature-grid li { max-width: 49vw; min-width:unset; }
}
@media (max-width: 768px) {
  html { font-size: 93%; }
  header .container { flex-direction: row; align-items: center; gap:10px; }
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero {
    padding: 45px 0 32px 0;
    min-height: 260px;
  }
  .features, .services, .about, .section, .contact {
    padding: 32px 7px;
    margin-bottom: 36px;
  }
  .card-container, .feature-grid, .features .feature-grid, .content-grid {
    gap: 12px!important;
  }
  .card, .feature-grid li, .features .feature-grid li {
    padding: 18px 8px 14px 11px;
    min-width: 180px;
    max-width: 100vw; 
  }
  .testimonial-card {
    padding: 14px 12px;
  }
  .contact ul li {
    font-size: 1rem;
    padding: 7px 7px 7px 10px;
  }
}
@media (max-width: 650px) {
  .features .feature-grid,
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px !important;
  }
  .feature-grid li, .features .feature-grid li  { min-width: 90vw; max-width: 100vw; }
}
@media (max-width: 600px) {
  html { font-size: 86%; }
  .section, .features, .about, .services, .testimonials, .contact, .cta {
    padding: 24px 2vw;
    margin-bottom: 25px;
  }
  .hero {
    padding: 32px 0 16px 0;
    min-height: 120px;
  }
  .feature-grid li, .features .feature-grid li { font-size: 1rem; }
}
@media (max-width: 480px) {
  h1, .hero h1 { font-size: 1.55rem !important; }
  h2 { font-size: 1.11rem; }
  .hero { padding-top: 22px; padding-bottom: 10px; }
  .feature-grid li, .features .feature-grid li { padding: 11px 6px 8px 6px; }
}

/* FLEX-DIRECTION SWITCH IN TEXT-IMAGE SECTION */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* SMOOTH TRANSITIONS */
*, *::before, *::after {
  box-sizing: inherit;
  transition: background 0.18s, color 0.17s, box-shadow 0.17s, transform 0.16s;
}

/* SCROLLBAR Styling for vibrancy */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-electric-2);
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-accent);
}

/* Selection coloring */
::selection { background: var(--color-electric-1); color: #fff; }

/* Miscellaneous improvements */
input, textarea, select {
  background: #fff;
  border: 1.5px solid var(--color-electric-1);
  border-radius: var(--radius-small);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border 0.17s;
  margin-bottom: 14px;
  box-shadow: 0 1px 6px 0 rgba(36,65,89,0.06);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-electric-2);
  outline: none;
}

/* Hide outline for all but keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2.5px solid var(--color-electric-2);
}

/* A11y: forced outline on critical focusable elements on dark BG */
.mobile-menu-close:focus, .cookie-modal-close:focus {
  outline: 2px dotted var(--color-electric-3);
}

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