/* 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;
  vertical-align: baseline;
  font: inherit;
  background: transparent;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1F2833;
  background: #F8F8F8;
  min-height: 100vh;
  line-height: 1.65;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button, .btn-primary, .btn-secondary {
  cursor: pointer;
  border: none;
  font: inherit;
  background: none;
}

/* BRAND VARIABLES */
:root {
  --color-primary: #1F2833;
  --color-secondary: #45A29E;
  --color-accent: #F8F8F8;
  --color-highlight: #FFCC29;
  --color-success: #92E6A7;
  --color-warning: #FF8066;
  --color-info: #71C9F8;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(34,40,49,0.05);
  position: relative;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 1px 2px 0 var(--color-info),2px 2px 6px rgba(69,162,158,0.08);
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.35rem;
}
p, ul li, ol li {
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 8px;
}
strong, b { font-weight: 700; }
.policy-text h2 { font-size: 1.25rem; margin-top: 30px; }
.policy-text ul { margin-bottom: 18px; margin-left: 18px; }
.policy-text ul li { list-style: disc inside; margin-bottom: 5px; }

a:hover, .footer-nav a:hover, .main-nav a:hover, .mobile-nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* NAVIGATION */
header {
  background: var(--color-primary);
  padding: 0;
  color: #fff;
  box-shadow: 0 2px 24px rgba(31,40,51,0.04);
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
  gap: 0;
}
header img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
.main-nav a {
  color: #fff;
  position: relative;
  font-weight: 500;
  padding-bottom: 2px;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: var(--color-secondary);
  border-radius: 2px;
  margin-top: 4px;
  transition: width 0.24s;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 40px;
  font-size: 1.1rem;
  padding: 12px 32px;
  box-shadow: 0 6px 24px rgba(69,162,158,0.10);
  margin-left: 28px;
  transition: background-color 0.2s, transform 0.18s, box-shadow 0.18s;
  border: 2.5px solid transparent;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2ddee5;
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 2px 24px #71C9F8, 0 6px 16px #45A29E33;
}
.btn-secondary {
  background: var(--color-highlight);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 40px;
  font-size: 1.05rem;
  padding: 11px 28px;
  margin-top: 14px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(255,204,41,0.13);
  border: 2.5px solid transparent;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.18s;
  letter-spacing: 0.01em;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-warning);
  color: #fff;
  box-shadow: 0 2px 18px #FF8066, 0 5px 14px #FFCC2933;
  transform: translateY(-1px) scale(1.03) rotate(1.5deg);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2rem;
  color: #fff;
  border: none;
  margin-left: 18px;
  z-index: 101;
  transition: color .15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #F8F8F8;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(31,40,51,0.95);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.7,0,.3,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 18px 0 6px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  border-radius: 10px;
  background: none;
  padding: 10px 0px 10px 8px;
  transition: background 0.17s, color 0.17s;
  min-width: 120px;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* MAIN LAYOUT PATTERNS */
.features-grid,
.service-grid,
.testimonial-slider,
.testimonial-grid,
.case-study-list,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  padding: 28px 22px;
  background: #fff;
  box-shadow: 0 5px 22px rgba(34,40,49,0.09);
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover, .card:focus {
  transform: scale(1.028) rotate(-1.3deg);
  box-shadow: 0 12px 36px -8px #45A29E44, 0 1.5px 18px #71C9F855;
  z-index: 3;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fffbea;
  border-radius: 20px;
  box-shadow: 0 4px 20px #FFCC2916;
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
  position: relative;
  border-left: 7px solid var(--color-warning);
}
.testimonial-stars {
  display: flex;
  flex-direction: row;
  gap: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 18px 0 15px 0;
}
.service-list li {
  background: #E9F9F7;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 2px 6px #45A29E11;
  margin-bottom: 12px;
}
.service-list li h3 {
  color: var(--color-secondary);
}

.features-grid > div,
.service-grid > div {
  min-width: 230px;
  max-width: 350px;
  background: #fff;
  border-radius: 18px;
  padding: 21px 18px 22px 18px;
  box-shadow: 0 3px 18px #71C9F810;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.13s, box-shadow 0.15s;
  margin-bottom: 20px;
}
.features-grid > div:hover, .service-grid > div:hover {
  background: #f4f8ff;
  transform: scale(1.03) rotate(-1.5deg);
  box-shadow: 0 5px 25px #45A29E24, 0 1.5px 10px #71C9F835;
}
.features-grid img, .service-grid img {
  height: 54px;
  width: 54px;
  margin-bottom: 10px;
}

.testimonial-slider {
  overflow-x: auto;
  padding-bottom: 8px;
}
.testimonial-slider::-webkit-scrollbar {
  height: 8px;
}
.testimonial-slider::-webkit-scrollbar-thumb {
  background: #E1E1E1;
  border-radius: 4px;
}

.case-study-list {
  gap: 24px;
  margin-bottom: 30px;
}
.case-study-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px #45A29E1A;
  padding: 26px 19px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: transform 0.13s, box-shadow 0.13s;
}
.case-study-card:hover {
  transform: scale(1.022) rotate(-1.25deg);
  box-shadow: 0 7px 30px #45A29E28, 0 1.5px 14px #71C9F820;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* CONTACT DETAILS */
.contact-details {
  background: #f6fff6;
  border-radius: 16px;
  padding: 24px 18px;
  margin-bottom: 20px;
  font-size: 1rem;
  box-shadow: 0 2px 12px #92E6A71A;
}
.contact-details h3 {
  margin-bottom: 14px;
  color: var(--color-success);
}
.contact-details a {
  color: var(--color-secondary);
}
.contact-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 54px 0 22px 0;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
  padding-bottom: 4px;
}
footer img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-right: 18px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.89;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.2s, opacity 0.18s;
  margin-bottom: 6px;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  font-size: 0.99rem;
  color: #f8f8f8;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}
.footer-contact a {
  color: var(--color-info);
  word-break: break-all;
}
.footer-copy {
  width: 100%;
  text-align: right;
  opacity: 0.65;
  font-size: 0.95rem;
  margin-top: 34px;
  letter-spacing: 0.02em;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 400;
  background: #fffbea;
  color: #605108;
  box-shadow: 0 -6px 32px #FFCC2918;
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  animation: cookieBounceIn .6s cubic-bezier(.5,-0.2,.3,1.3);
}
@keyframes cookieBounceIn {
  0% { transform: translateY(80px) scale(.9) rotateX(10deg); opacity: 0.7; }
  70% { transform: translateY(-9px) scale(1.03) rotateX(-2deg); opacity: 1; }
  100% { transform: translateY(0) scale(1) rotateX(0); opacity: 1; }
}
.cookie-banner p {
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 0 12px 0 0;
}
.cookie-banner button {
  margin-right: 11px;
  margin-left: 0;
}
.cookie-btn {
  border-radius: 36px;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 8px 25px;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 8px #FFCC2915;
  margin-left: 5px;
  margin-bottom: 0;
  transition: background .18s, color .15s, box-shadow .16s, transform .13s;
}
.cookie-btn.accept {
  background: var(--color-success);
  color: #185642;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #66d98b;
  color: #185642;
  box-shadow: 0 5px 20px #92E6A726;
  transform: scale(1.05);
}
.cookie-btn.reject {
  background: var(--color-warning);
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #fa5027;
  box-shadow: 0 5px 23px #FF80661E;
  transform: scale(1.045);
}
.cookie-btn.settings {
  background: var(--color-highlight);
  color: #a58503;
  border: 1.5px solid #fff3cb;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #ffeaa2;
  color: #a58503;
  box-shadow: 0 10px 15px #FFCC291c;
  transform: scale(1.06);
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 410;
  background: rgba(32,30,15,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: all;
  animation: fadeInModalBg 0.35s;
}
@keyframes fadeInModalBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  padding: 40px 28px 28px 28px;
  min-width: 310px;
  max-width: 98vw;
  box-shadow: 0 8px 34px #ffde7916, 0 1.5px 16px #71C9F834;
  position: relative;
  animation: modalBounceIn 0.4s cubic-bezier(.44,2.8,.37,1.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 420;
}
@keyframes modalBounceIn {
  0% { transform: scale(.78) rotate(-8deg); opacity: 0.2; }
  70% { transform: scale(1.08) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.28rem; color: var(--color-secondary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  margin-bottom: 8px;
  margin-left: 6px;
}
.cookie-modal .switch {
  display: inline-flex;
  width: 38px;
  height: 22px;
  background: #e2e2e2;
  border-radius: 13px;
  margin-right: 12px;
  position: relative;
  transition: background 0.23s;
}
.cookie-modal input[type="checkbox"]:checked + .switch {
  background: var(--color-success);
}
.cookie-modal .slider {
  display: block;
  height: 18px; width: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  box-shadow: 0 1px 4px #92E6A713;
  transition: left 0.19s;
}
.cookie-modal input[type="checkbox"]:checked + .switch .slider {
  left: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  color: var(--color-primary);
  font-size: 1.45rem;
  border: none;
  cursor: pointer;
  opacity: 0.62;
  transition: color 0.13s, opacity 0.13s;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-warning);
  opacity: 1;
}
.cookie-modal-description {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* PLAYFUL, DYNAMIC DECORATIONS */
section {
  position: relative;
  overflow: visible;
}
.section::before {
  content: '';
  position: absolute;
  top: -20px; left: -70px;
  width: 120px; height: 44px;
  background: var(--color-info);
  opacity: 0.10;
  border-radius: 22px 66px 52px 38px;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-7deg);
  animation: floatShape 6s ease-in-out infinite alternate;
}
@keyframes floatShape {
  0% { transform: translateY(0) rotate(-7deg); }
  100% { transform: translateY(18px) rotate(-3deg); }
}
.section::after {
  content: '';
  position: absolute;
  bottom: -35px; right: -85px;
  width: 140px; height: 60px;
  background: var(--color-warning);
  opacity: 0.10;
  border-radius: 52px 22px 88px 23px;
  z-index: 0;
  pointer-events: none;
  transform: rotate(9deg);
  animation: floatShape2 9s ease-in-out infinite alternate;
}
@keyframes floatShape2 {
  0% { transform: translateY(0) rotate(14deg); }
  100% { transform: translateY(-20px) rotate(6deg); }
}

.features-grid > div, .service-grid > div, .card, .case-study-card {
  z-index: 1;
}

/* MICRO-INTERACTIONS */
.features-grid > div, .service-grid > div, .card, .case-study-card, .btn-primary, .btn-secondary {
  transition: transform 0.17s, box-shadow 0.18s, background 0.22s;
}
.features-grid > div:hover, .service-grid > div:hover, .card:hover, .case-study-card:hover {
  transform: translateY(-7px) scale(1.03) rotate(-2.3deg);
}

/* FORMS (future-proof) */
input[type="text"], input[type="email"], textarea {
  border-radius: 9px;
  border: 2px solid #e2e2e2;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fff;
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

/* RESPONSIVE STYLES */
@media (max-width: 1100px) {
  .container {
    max-width: 1000px;
    padding: 0 13px;
  }
  .features-grid > div, .service-grid > div, .case-study-card {
    min-width: 180px;
    max-width: 320px;
    padding: 14px 8px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 800px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-copy {
    text-align: left;
  }
}
@media (max-width: 768px) {
  /* Mobile Nav */
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .features-grid, .service-grid, .testimonial-grid, .case-study-list, .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .content-wrapper {
    padding: 0 2vw;
    gap: 22px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-slider {
    gap: 18px;
    padding-left: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  footer {
    padding: 38px 0 16px 0;
    border-radius: 17px 17px 0 0;
    margin-top: 34px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.02rem; }
  .footer-copy { font-size: 0.88rem; }
  .section { padding: 13px 2px; }
  .testimonial-card { padding: 11px; }
  .features-grid > div, .service-grid > div, .case-study-card { padding: 11px 5px; }
  .cookie-modal { padding: 20px 7px 16px 7px; min-width: unset; }
}

/* UTILITIES */
.text-center { text-align: center !important; }
.mt-1 { margin-top: 8px !important; } .mt-2 { margin-top: 16px !important; } .mt-3 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 8px !important; } .mb-2 { margin-bottom: 16px !important; } .mb-3 { margin-bottom: 24px !important; }

/* ACCESSIBILITY */
:focus-visible {
  outline: 2.5px solid var(--color-info);
  outline-offset: 2.5px;
}

/* SELECTION */
::selection {
  background: var(--color-info);
  color: var(--color-primary);
}

/* Icon Style Tweaks (for SVG icon accenting, if needed) */
img[src*='icon-'] {
  filter: drop-shadow(0 1.5px 3px #45A29E12);
  border-radius: 11px;
}

/* Hide Scrollbar for mobile nav */
.mobile-menu {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: auto;
}
.mobile-menu::-webkit-scrollbar { display: none; }

/* Animations for playful feel */
.features-grid > div, .service-grid > div, .card, .case-study-card {
  animation: popIn 0.6s cubic-bezier(.57,2.5,.27,1.3);
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(.86) rotate(-11deg); }
  70% { opacity: 1; transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* Misc empty state: no absolute for cards, content blocks enforced */
