/* ==== RESET & BASE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F7FAFC;
  color: #244058;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 1rem;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #32A287;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #144366;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #144366;
  margin-bottom: 16px;
  line-height: 1.25;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, .content-wrapper > div, .content-wrapper > ul, .content-wrapper > ol {
  margin-bottom: 16px;
}
.section ul, .section ol {
  margin-bottom: 0;
}

/* ==== PASTEL COLOR SCHEME ==== */
:root {
  --clr-primary: #144366;
  --clr-secondary: #32A287;
  --clr-accent: #F6E9D7;
  --clr-bg1: #F7FAFC;
  --clr-bg2: #E6F9F4;
  --clr-bg3: #F1EFFB;
  --clr-card: #FFFDFC;
  --clr-pink: #F6E3E3;
  --clr-mint: #DBF5EF;
  --clr-violet: #E4E3FA;
  --clr-peach: #F8E5D9;
  --clr-gray: #9EAABE;
  --shadow: 0 2px 8px rgba(52, 94, 124, 0.06);
}

/* ==== HEADER / NAVIGATION ==== */
header {
  background: linear-gradient(to right, #F6E9D7 0%, #E6F9F4 100%);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 22px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--clr-primary);
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 4px 2px;
  border-radius: 6px;
  transition: background 0.24s, color 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--clr-mint);
  color: var(--clr-secondary);
  text-decoration: none;
}
.cta-btn {
  background: var(--clr-secondary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 11px 30px;
  font-size: 1.1rem;
  border-radius: 28px;
  box-shadow: 0 2px 6px rgba(50, 162, 135, 0.13);
  border: 0;
  outline: 0;
  margin-left: 12px;
  transition: background 0.22s, box-shadow 0.25s, transform 0.16s;
  cursor: pointer;
  letter-spacing: 0.02em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #218471;
  color: #fff;
  box-shadow: 0 4px 16px rgba(50, 162, 135, 0.18);
  transform: translateY(-2px) scale(1.04);
}
.mobile-menu-toggle {
  background: var(--clr-mint);
  border: none;
  border-radius: 50%;
  color: var(--clr-primary);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.16s;
  z-index: 25;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--clr-peach);
  color: var(--clr-secondary);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  padding: 30px 32px 20px 18px;
  transform: translateX(-102vw);
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  box-shadow: 0 0 28px rgba(36,64,88,0.09);
  z-index: 98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--clr-primary);
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  padding: 5px;
  transition: color 0.18s, background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--clr-secondary);
  background: var(--clr-mint);
  border-radius: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--clr-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 13px 0;
  border-radius: 10px;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-peach);
  color: var(--clr-secondary);
}

/* ==== HERO SECTIONS ==== */
.hero {
  background: linear-gradient(120deg, var(--clr-peach), var(--clr-mint) 65%, var(--clr-violet) 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 32px rgba(30, 70, 100, 0.06);
  margin-bottom: 30px;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
  padding: 50px 0 36px 0;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.2rem;
  color: #244058;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* ==== SECTIONS & CONTENT ==== */
section {
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  padding: 36px 0 24px 0;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==== FLEX LAYOUTS & CARD CONTAINERS ==== */
.feature-grid, .card-container, .card-grid, .team-grid, .content-grid, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid {
  gap: 32px 24px;
}
.team-grid {
  gap: 24px;
  margin-bottom: 32px;
}
.faq-accordion {
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--clr-card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 32px 22px;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

/**** Feature Item ****/
.feature {
  background: var(--clr-bg2);
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(36,67,102,0.04);
  padding: 28px 24px;
  min-width: 240px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.16s, box-shadow 0.24s;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
.feature h3 {
  font-size: 1.18rem;
  color: var(--clr-primary);
}
.feature:hover, .feature:focus-within {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 4px 21px rgba(36, 67, 102, 0.10);
  background: #fff;
}

/**** Team member ****/
.team-member {
  background: var(--clr-peach);
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(244,205,170,0.06);
  padding: 25px 18px 18px 18px;
  min-width: 190px;
  text-align: left;
  font-family: 'Roboto', sans-serif;
}
.team-member h3 {
  color: var(--clr-secondary);
  font-size: 1.15rem;
}
.company-values {
  background: var(--clr-bg3);
  border-radius: 15px;
  padding: 24px 16px;
  margin-top: 10px;
}

/**** Testimonial Card ****/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  background: #FFFDFC;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 10px rgba(50, 66, 120, 0.06);
  border: 1px solid #F1EFFB;
  transition: box-shadow 0.2s, transform 0.17s;
}
.testimonial-card p {
  color: #1B2F44;
  font-size: 1.09rem;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.testimonial-meta {
  color: var(--clr-secondary);
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 21px rgba(36, 67, 102, 0.13);
  transform: translateY(-3px) scale(1.02);
}

/**** FAQ Accordion ****/
.faq-item {
  background: var(--clr-mint);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 1px 4px rgba(50,162,135,0.07);
  transition: box-shadow 0.14s;
}
.faq-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--clr-primary);
}
.faq-item > div {
  color: #434E5A;
  font-size: 1rem;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 3px 16px rgba(50,162,135,0.10);
}

/**** Contact Details ****/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.1rem;
}
.location-map {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--clr-secondary);
  font-weight: 600;
  margin-top: 10px;
  padding: 8px 0;
}

/**** List and Steps Styling ****/
ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
.strategy-steps ol {
  margin: 0.5em 0 0 0;
}
.strategy-steps li {
  margin-bottom: 0.5em;
}

/**** Utility Flexbox Patterns (from requirements) ****/
.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; }

/**** FOOTER ****/
footer {
  background: linear-gradient(90deg, #F6E9D7 70%, #E6F9F4 100%);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 15px rgba(36,67,102,0.05);
  margin-top: 70px;
  padding-top: 22px;
  padding-bottom: 18px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-contact, .footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 190px;
}
.footer-nav {
  gap: 6px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--clr-secondary);
  font-family: 'Roboto', sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--clr-primary);
  text-decoration: underline;
}
.footer-contact div {
  color: #244058;
  font-size: 1rem;
  line-height: 1.5;
}
.footer-branding {
  align-items: center;
  gap: 10px;
}
.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.04rem;
  color: var(--clr-primary);
  opacity: 0.88;
}

/**** BUTTONS ****/
button, .cta-btn, input[type="submit"] {
  font-family: 'Montserrat', sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
}

/**** GENERAL CARDS ****/
.card {
  background: var(--clr-peach);
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(20,67,102,0.05);
  padding: 28px 19px 24px 19px;
  font-family: 'Roboto', sans-serif;
  transition: box-shadow 0.17s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(20,67,102,0.09);
}

/**** WHITE SPACE - SPACING SCALE ****/
.section, .content-wrapper, .card, .testimonial-card, .faq-item, .feature, .company-values, .team-member {
  margin-bottom: 24px;
}
.section:last-child, .content-wrapper:last-child {
  margin-bottom: 0;
}

/**** TABLET & MOBILE ADJUSTMENTS ****/
@media (max-width: 1100px) {
  .container {
    max-width: 940px;
  }
  .main-nav {
    gap: 18px;
  }
  .footer-nav, .footer-contact, .footer-branding {
    min-width: 130px;
  }
}
@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .main-nav {
    order: 3;
    margin-left: 0;
    width: 100%;
    gap: 15px;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.5rem;}
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero .container {
    min-height: 140px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .hero .content-wrapper {
    padding: 32px 0 20px 0;
    align-items: flex-start;
  }
  .feature-grid, .team-grid, .faq-accordion {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 18px 12px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 {
    font-size: 1.37rem;
  }
  .hero .content-wrapper {
    padding-top: 18px;
    padding-bottom: 9px;
  }
  .card, .feature, .team-member, .testimonial-card {
    padding: 14px 7px;
  }
  .cta-btn {
    width: 100%;
    padding: 12px 0;
  }
}

/**** COOKIE CONSENT BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffaf6;
  color: #244058;
  box-shadow: 0 -2px 18px rgba(36,67,102,0.08);
  z-index: 300;
  padding: 24px 20px 18px 20px;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.32s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner p {
  flex: 2 1 220px;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 0.65em 1.7em;
  border-radius: 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  background: var(--clr-peach);
  color: var(--clr-primary);
  transition: background 0.2s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 1px 8px rgba(244,205,170,0.06);
}
.cookie-btn.accept {
  background: var(--clr-secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #218471;
  color: #fff;
}
.cookie-btn.reject {
  background: #F6E3E3;
  color: var(--clr-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e9d5d5;
}
.cookie-settings-btn {
  background: var(--clr-violet);
  color: var(--clr-secondary);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #e1def7;
}

/**** COOKIE MODAL ****/
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 320px;
  max-width: 450px;
  width: 92vw;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 42px rgba(52, 80, 123, 0.16);
  transform: translate(-50%, -50%) scale(1);
  z-index: 400;
  flex-direction: column;
  padding: 34px 24px 14px 24px;
  gap: 20px;
  animation: cookieModalSlideIn 0.35s ease;
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookieModalSlideIn {
  from { opacity: 0; transform: translate(-50%, -40%) scale(0.97); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--clr-primary);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
}
.cookie-category label {
  font-size: 1.03rem;
  color: var(--clr-gray);
  font-weight: 500;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
}
.cookie-category.essential label {
  color: var(--clr-secondary);
}
.cookie-modal-buttons {
  margin-top: 19px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: transparent;
  color: var(--clr-secondary);
  border: none;
  font-size: 1.6rem;
  position: absolute;
  right: 18px;
  top: 18px;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--clr-primary);
}

/**** MODAL OVERLAY ****/
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,54,66,0.16);
  z-index: 350;
}
.modal-overlay.open {
  display: block;
}

/* ==== ANIMATIONS ==== */
.hero, .card, .feature, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.25s, transform 0.18s, background 0.18s;
}

/* ==== UTILS ==== */
.hidden,
[hidden] {
  display: none !important;
}
.visible {
  display: block;
}

/* ==== VISUAL HIERARCHY & MICRO-INTERACTIONS ==== */
.card:hover, .feature:hover, .cta-btn:active {
  box-shadow: 0 8px 30px rgba(50,162,135,0.13);
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* ==== ACCESSIBILITY ==== */
:focus {
  outline: 2px solid var(--clr-secondary);
  outline-offset: 1px;
}
::-webkit-input-placeholder, ::placeholder {
  color: #B4C3D9;
  opacity: 0.8;
}

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