/* ================= 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #FAFBFD;
  min-height: 100vh;
  color: #273942;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s;
}

*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #149992;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #12346B;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

/* ================= BRAND & PASTEL COLOR VARIABLES ========== */
:root {
  --brand-primary: #12346B;
  --brand-secondary: #26A69A;
  --brand-accent: #F5F7FA;
  --pastel-blue: #b7d5f6;
  --pastel-cyan: #caf0f8;
  --pastel-green: #b9ead5;
  --pastel-lilac: #e7d6fb;
  --pastel-pink: #ffe2ee;
  --pastel-yellow: #fff6e5;
  --soft-shadow: 0 4px 24px 0 rgba(32,54,85,0.08);
  --card-radius: 18px;
}

/* =================== TYPOGRAPHY ==================== */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
p, li, blockquote {
  font-size: 1rem;
  margin-bottom: 12px;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--pastel-lilac);
  border-left: 4px solid var(--brand-secondary);
  padding: 18px 26px 18px 24px;
  margin: 0 0 14px 0;
  border-radius: 0 18px 18px 0;
}

/* =================== CONTAINER & LAYOUT =================== */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  max-width: 1140px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--card-radius);
  background: #FFF;
  box-shadow: var(--soft-shadow);
}

/* Flex Patterns Required */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-blue);
  box-shadow: var(--soft-shadow);
  border-radius: var(--card-radius);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 24px 18px 24px;
  min-width: 220px;
}
.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;
  background: var(--pastel-green);
  color: #253957;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 8px 0 rgba(32,60,70,.07);
  margin-bottom: 20px;
  font-size: 1.04rem;
  min-width: 260px;
}
.testimonial-card p {
  margin: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Shared List Styles (for sections) */
.content-wrapper ul, .content-wrapper ol {
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-wrapper ul li, .content-wrapper ol li {
  background: var(--pastel-yellow);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 1.01rem;
  box-shadow: 0 2px 8px 0 rgba(32,60,70,.04);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}
.content-wrapper ul li img {
  width: 26px;
  height: 26px;
  flex: none;
  margin-right: 7px;
}

/* ================= HERO SECTION =================== */
.hero {
  background: linear-gradient(120deg, #e7d6fb 60%, #b9ead5 100%); /* Pastel gradient */
  padding: 65px 0 45px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 2px 24px 0 rgba(40,65,110,0.11);
  margin-bottom: 48px;
}
.hero .container .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  color: var(--brand-primary);
  font-size: 2.7rem;
}
.hero p {
  color: #37516a;
  font-size: 1.17rem;
  margin-bottom: 18px;
}

/* =================== HEADER NAVIGATION ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(32,54,85,0.02);
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 70px;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 14px;
}
.logo img {
  max-height: 52px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #345086;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 11px;
  border-radius: 10px;
  transition: background 0.17s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-cyan);
  color: var(--brand-primary);
}
.cta-btn {
  background: linear-gradient(90deg, #b7d5f6 0%, #b9ead5 100%);
  color: var(--brand-primary) !important;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 16px;
  padding: 12px 30px;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px 0 rgba(32,54,85,0.08);
  border: none;
  display: inline-block;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.2s, color 0.16s;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #e7d6fb 0%, #caf0f8 100%);
  color: var(--brand-secondary) !important;
  box-shadow: 0 4px 28px 0 rgba(32,54,85,0.17);
}

/* ================= MOBILE MENU =================== */
.mobile-menu-toggle {
  background: var(--pastel-blue);
  color: var(--brand-primary);
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  line-height: 1;
  padding: 7px 18px 7px 13px;
  position: fixed;
  top: 18px;
  right: 15px;
  z-index: 101;
  box-shadow: 0 1px 10px 0 rgba(50, 66, 112, 0.10);
  display: none;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.22s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--pastel-cyan);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 40px 0 rgba(47, 72, 129, 0.13);
  z-index: 200;
  transform: translateX(-110vw);
  transition: transform 0.37s cubic-bezier(.34,1.4,.44,1) 0s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--brand-primary);
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 21px 18px 0 0;
  padding: 0 6px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
  width: 100%;
  align-items: flex-start;
  padding: 0 28px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 1.17rem;
  padding: 13px 0;
  border-radius: 10px;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--brand-secondary);
}

@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 992px) {
  header .container {
    flex-direction: column;
    gap: 9px;
  }
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav a { font-size: 0.98rem; }
}
@media (max-width: 830px) {
  header .container {
    flex-direction: column;
    gap: 5px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    padding: 10px 18px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 42px 0 30px 0;
    border-radius: 0 0 22px 22px;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  .content-wrapper, .section {
    padding: 20px 7px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 18px 2px;
    margin-bottom: 36px;
  }
  .hero {
    border-radius: 0 0 13px 13px;
  }
}

/* Flex direction switch for mobile */
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* =================== MAP PLACEHOLDER ===================== */
.map-placeholder {
  background: var(--pastel-pink);
  color: #253957;
  padding: 18px 20px;
  border-radius: 13px;
  margin-top: 8px;
  min-height: 72px;
  font-size: 1.04rem;
  font-style: italic;
  box-shadow: 0 2px 8px 0 rgba(32,60,70,.03);
}

/* =================== FOOTER ===================== */
footer {
  background: #fff;
  border-top: 2px solid #edeef9;
  font-size: 1.01rem;
  margin-top: 52px;
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 22px 16px;
  gap: 14px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #435480;
  font-weight: 500;
  opacity: 0.9;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 0.99rem;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover {
  background: var(--pastel-blue);
  color: var(--brand-primary);
}
.footer-info {
  color: #6d7b99;
  font-size: 0.99rem;
}
@media (max-width: 550px) {
  footer .container {
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: center;
  }
}

/* =================== BUTTONS ===================== */
button, .cta-btn {
  outline: none;
  user-select: none;
}
button {
  font-family: inherit;
}
button:focus-visible{
  outline: 2px solid var(--brand-secondary);
  outline-offset: 1px;
}

/* =================== CARDS & EFFECTS ===================== */
.card {
  background: var(--pastel-lilac);
  color: var(--brand-primary);
  box-shadow: var(--soft-shadow);
  border-radius: var(--card-radius);
  transition: box-shadow 0.18s, background 0.22s;
}
.card:hover {
  background: #f4fbfa;
  box-shadow: 0 7px 25px 0 rgba(50,60,120,.13);
}

/* =================== CASE STUDY PREVIEW ===================== */
.case-study-preview {
  background: var(--pastel-green);
  color: #183942;
  border-radius: 13px;
  padding: 14px 18px;
  box-shadow: 0 1px 5px 0 rgba(40,65,110,0.05);
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 1.01rem;
}
.case-study-preview a {
  color: var(--brand-primary);
  text-decoration: underline;
  font-weight: 500;
}
.case-study-preview a:hover {
  color: var(--brand-secondary);
}

/* =================== ANIMATIONS ===================== */
.cta-btn, .mobile-menu-toggle, .mobile-menu-close, .main-nav a, .footer-nav a {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
}
.section, .testimonial-card, .card {
  transition: box-shadow 0.18s, background 0.2s;
}

/* Subtle scale up on hover for card/testimonial */
.card:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 6px 18px 0 rgba(32,54,85,0.12);
}

/* =================== RESPONSIVE TYPOGRAPHY SCALE ===================== */
@media (max-width: 400px) {
  h1 { font-size: 1.23rem; }
  h2 { font-size: 1.07rem; }
}

/* =================== COOKIE CONSENT BANNER & MODAL ===================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,var(--pastel-blue) 20%,var(--pastel-pink) 100%);
  color: #2C3A4C;
  box-shadow: 0 -2px 40px 0 rgba(32,54,85,0.12);
  z-index: 501;
  padding: 22px 16px 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  min-height: 76px;
  font-size: 1rem;
  animation: cookie-banner-in 0.34s;
}
@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(60px);}
  to { opacity: 1; transform: translateY(0);}
}
.cookie-consent-banner p{
  margin: 0 12px 0 0;
  flex: 3 1 250px;
}
.cookie-consent-banner .cookie-btn {
  border: none;
  border-radius: 12px;
  padding: 9px 22px;
  background: var(--brand-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 8px;
  margin-right: 2px;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(90,89,142,0.10);
  transition: background 0.19s, box-shadow 0.18s, color 0.18s;
}
.cookie-consent-banner .cookie-btn.settings {
  background: var(--pastel-yellow);
  color: var(--brand-primary);
  border: 1px solid var(--brand-secondary);
}
.cookie-consent-banner .cookie-btn.settings:hover {
  background: var(--pastel-blue);
  color: var(--brand-secondary);
}
.cookie-consent-banner .cookie-btn.reject {
  background: #e7d6fb;
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-consent-banner .cookie-btn.reject:hover {
  background: var(--pastel-pink);
}
.cookie-consent-banner .cookie-btn:focus { outline: 2px solid var(--brand-secondary); }

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 19px 5px 16px 6px;
    font-size: 0.97rem;
  }
  .cookie-consent-banner p{margin:0 0 6px 0;}
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 520;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35, 51, 83, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.20s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 40px 0 rgba(32,54,85,0.19);
  padding: 32px 24px 22px 24px;
  max-width: 420px;
  width: 95vw;
  color: #253957;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-in 0.24s;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-weight: bold;
  font-size: 1.18rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-category input[type=checkbox]{
  width: 20px;
  height: 20px;
  accent-color: var(--brand-secondary);
  cursor: pointer;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.01rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 9px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 19px;
  right: 19px;
  background: none;
  border: none;
  font-size: 1.88rem;
  color: var(--brand-primary);
  cursor: pointer;
}

@media (max-width: 550px) {
  .cookie-modal {
    padding: 18px 7px 16px 7px;
    max-width: 98vw;
  }
}

/* ========== ACCESSIBILITY & FOCUS STATES ========== */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px dashed var(--brand-secondary);
  outline-offset: 2px;
}

/* ========== GENERAL UTILITIES ========== */
.hide { display: none !important; }
.show { display: block !important; }

/* ========== THANK YOU PAGE BUTTON CENTERING ========== */
.thankyou-section .text-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  justify-content: center;
}

/* ================== END OF STYLE ===================== */
