/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #32445A;
  background-color: #fff;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: #32445A;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }

/* BRAND COLORS */
:root {
  --primary: #32445A;
  --secondary: #F9CB65;
  --accent: #FFFFFF;
  --card-bg: #fff;
  --card-shadow: 0 8px 28px rgba(50,68,90,0.06), 0 1.5px 5px rgba(50,68,90,0.10);
  --border-radius: 16px;
  --footer-bg: #232F3E;
  --footer-text: #f5f5f5;
  --section-bg: #F7F8FA;
  --gray-100: #E6E8ED;
  --gray-800: #293544;
  --error: #e63946;
}

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

/* SPACING & FLEXBOX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--border-radius);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  min-width: 300px;
  flex: 1 1 320px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:last-child {
  margin-bottom: 0;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  margin-bottom: 24px;
  margin-top: 10px;
  max-width: 650px;
  color: #1B2230;
}
.testimonial-card p {
  color: #1B2230;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER, LOGO, NAVIGATION */
header {
  background: var(--accent);
  border-bottom: 2px solid var(--gray-100);
  padding-top: 0.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 48px;
  width: auto;
  margin-right: 10px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  transition: background 0.23s, color 0.23s, transform 0.15s;
  box-shadow: 0 3.5px 12px rgba(50,68,90,0.13);
  text-decoration: none;
  outline: none;
  margin-left: 20px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  z-index: 102;
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  color: var(--secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  background: var(--primary);
  color: #fff;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  transition: transform 0.38s cubic-bezier(.4,0,.2,1);
  transform: translateX(100%);
  padding: 0 32px;
  box-shadow: 0 0 32px rgba(46,44,57,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
  left: 0;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--secondary);
  margin-top: 30px;
  margin-bottom: 40px;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
  transform: scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.32rem;
  padding: 12.5px 0;
  border-radius: 8px;
  transition: background 0.12s, color 0.17s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(255,255,255,0.08);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(115deg, var(--secondary) 68%, var(--primary) 100%);
  color: var(--primary);
  padding: 64px 0 44px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.13;
}
.hero p {
  color: #50401C;
  font-size: 1.22rem;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* FEATURES */
.features {
  background: var(--section-bg);
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.features li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  min-width: 190px;
}
.features img {
  height: 36px;
  width: 36px;
  margin-right: 10px;
}

/* SERVICES OVERVIEW */
.services-overview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.services-overview ul li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
  flex: 1 1 300px;
  min-width: 220px;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.services-overview h3 {
  color: var(--primary);
  letter-spacing: 0.01em;
  font-size: 1.15rem;
}
.services-overview .btn-secondary {
  align-self: flex-start;
}

/* HOW IT WORKS */
.how-it-works .steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  justify-content: flex-start;
}
.how-it-works .step {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 24px 18px;
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.how-it-works .step img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
}
.how-it-works h3 {
  font-size: 1.06rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

/* CTA (Call to Action) SECTIONS */
.cta {
  display: flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--border-radius);
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}
.cta p, .cta a {
  font-size: 1.08rem;
  color: #fff;
}
.cta a.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  margin-bottom: 8px;
}
.cta a.btn-primary:hover {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--section-bg);
}
.testimonials .content-wrapper {
  gap: 8px;
}
.testimonials h2 {
  color: var(--primary);
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* PROJECTS, ARTICLES, TEAM, ETC. */
.project-grid, .articles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.project-grid .text-section, .articles ul li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 24px 18px;
  flex: 1 1 300px;
  min-width: 220px;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.articles .featured-article {
  background: var(--secondary);
  padding: 22px 18px;
  border-radius: var(--border-radius);
}
.articles .featured-article h3 {
  color: var(--primary);
}
.articles .featured-article p {
  margin-top: 8px;
}

/* TEXT-SECTIONS + FAQ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.faq li strong {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

/* FOOTER */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 36px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 180px;
}
.footer-menu a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.12s;
}
.footer-menu a:hover {
  color: #fff;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 8px;
}
.footer-brand span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 700;
  margin-top: 10px;
}
.company-address {
  font-size: 0.96rem;
  color: #eee;
  margin-top: 7px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
}
.footer-contact a {
  color: #fff;
  font-weight: 500;
}

/* FORMS (not present, but generic) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-100);
  box-shadow: 0 1px 1.5px rgba(100,100,112,0.06);
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.19s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 2px solid var(--secondary);
}

/* MODAL & COOKIE BANNER STYLES */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -2px 18px rgba(45,68,90,0.12);
  z-index: 2500;
  padding: 20px 8px;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  animation: cookieBannerSlideUp 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieBannerSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 260px;
  margin-right: 24px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.21s;
  margin: 0;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .reject {
  background: var(--gray-100);
  color: var(--primary);
}
.cookie-banner .reject:hover {
  background: #eee;
  color: #000;
}
.cookie-banner .settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .settings:hover {
  background: var(--primary);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(30,37,51,0.66);
  z-index: 2550;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s;
}
@keyframes fadeIn {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(46,44,57,0.17);
  max-width: 420px;
  width: 93vw;
  padding: 40px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: slideFromTop 0.45s cubic-bezier(.4,0,.2,1);
}
@keyframes slideFromTop {
  from { transform: translateY(-42px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: var(--secondary);
  margin-bottom: 10px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .toggle {
  width: 38px;
  height: 20px;
  background: var(--gray-100);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.cookie-modal .toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  transition: left 0.22s;
}
.cookie-modal .toggle.active .slider {
  left: 20px;
  background: var(--secondary);
}
.cookie-modal .actions {
  display: flex;
  gap: 17px;
  margin-top: 14px;
}
.cookie-modal .accept,
.cookie-modal .reject {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  margin: 0;
}
.cookie-modal .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-modal .reject {
  background: var(--gray-100);
  color: var(--primary);
}
.cookie-modal .close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.5rem;
  position: absolute;
  top: 12px;
  right: 20px;
  cursor: pointer;
}

/* THANK YOU */
.thank-you-section {
  background: var(--section-bg);
  border-radius: var(--border-radius);
  padding: 60px 20px;
  display: flex;
  align-items: center;
}
.thank-you-section .content-wrapper {
  align-items: center;
}
.thank-you-section h1 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 18px;
}
.thank-you-section a.btn-primary {
  margin-top: 17px;
}

/* RESPONSIVE DESIGN -- MOBILE FIRST! */
@media (max-width: 992px) {
  .main-nav {
    gap: 20px;
  }
  .content-grid, .articles ul, .project-grid, .features ul, .how-it-works .steps-grid, .services-overview ul {
    gap: 12px;
  }
  .footer-menu {
    min-width: unset;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 820px) {
  .container, .section {
    padding-left: 5px;
    padding-right: 5px;
  }
  .footer-menu, .footer-brand, .footer-contact {
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 44px 0 24px 0;
    min-height: 210px;
  }
  .hero .content-wrapper {
    gap: 14px;
  }
  .features ul, .services-overview ul, .how-it-works .steps-grid, .card-container, .project-grid, .articles ul, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features li, .services-overview ul li, .project-grid .text-section, .how-it-works .step, .card {
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    width: 100%;
    max-width: 100%;
  }
  .footer-menu, .footer-contact, .footer-brand {
    min-width: 0;
    width: 100%;
    text-align: left;
  }
  footer .container {
    flex-direction: column;
    gap: 34px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.23rem; }
  .cta h2 { font-size: 1.07rem; }
  .section {
    padding: 25px 8px;
    margin-bottom: 30px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    border-radius: 10px 10px 0 0;
    font-size: 0.93rem;
    padding: 12px 5px;
  }
  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* UTILITIES */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.gap-20 { gap: 20px !important; }
.w-100 { width: 100% !important; }

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .testimonial-card, .footer-menu a, .btn-primary, .btn-secondary, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.19s, background 0.23s, color 0.19s, transform 0.19s, border 0.17s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 30px rgba(50,68,90,0.11), 0 2.5px 10px rgba(50,68,90,0.14);
  transform: translateY(-3px) scale(1.02);
}

/* GEOMETRIC ACCENT EXAMPLES */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -22px; left: 4vw;
  width: 60px; height: 60px;
  background: var(--secondary);
  opacity: 0.11;
  border-radius: 18px 45px 8px 8px;
  pointer-events: none;
  z-index: 1;
}
.section {
  position: relative;
  overflow: hidden;
}
.section:last-child { margin-bottom: 0; }

/* Hide pseudo on hero and CTA sections */
.hero:before, .cta:before { display: none; }

/* Z-INDEX MANAGEMENT */
header {
  z-index: 1000;
}
.mobile-menu {
  z-index: 9000;
}
.cookie-banner, .cookie-modal-overlay {
  z-index: 12000 !important;
}

/* CUSTOM SCROLLBAR (webkit) for a modern touch */
::-webkit-scrollbar {
  width: 9px;
  background: #e6e8ed;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 9px;
}

/* Ensure minimum touch targets and no overlap on all interactive elements */
a, button, .btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close {
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
}

/* FOCUS STATES for accessibility */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2.5px;
  border-radius: 5px;
  z-index: 2;
}

/* OVERLAP PREVENTION */
.card, .testimonial-card, .content-wrapper > *, .card-container > *, .card-content > *,
.services-overview ul > li, .features ul > li, .project-grid > *, .articles ul > li
{
  margin-bottom: 20px;
}
.card:last-child, .testimonial-card:last-child, .services-overview ul > li:last-child,
.features ul > li:last-child, .project-grid > .text-section:last-child,
.articles ul > li:last-child { margin-bottom: 0; }

/* Print Styles (optional: logo only, plain background, hide nav/cta) */
@media print {
  header, footer, .cta, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #222; background: #fff; }
}

/* END OF CSS */
section {
  padding: 10px 0;
}