/* === 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,
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #f5f7fa;
  font-family: 'Roboto', Arial, sans-serif;
  color: #26415b;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #22537a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fdb632;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* === BRAND VARIABLES (FALLBACKS) === */
:root {
  --primary: #22537a;
  --secondary: #d1e1ec;
  --accent: #fdb632;
  --pastel-blue: #d1e1ec;
  --pastel-pink: #fce9f1;
  --pastel-green: #daf6ea;
  --pastel-purple: #eef0fa;
  --white: #fff;
  --black: #26415b;
  --text-dark: #26415b;
  --border-light: #e8eef3;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #26415b;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #3f5773;
}
strong {
  color: #22537a;
}
.text-section h1, .text-section h2 {
  color: #22537a;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(68,89,135,0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  background: var(--pastel-blue);
  box-shadow: 0 2px 12px 0 rgba(68,89,135,0.04);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(68,89,135,0.11);
}

.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: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 26px 22px;
  background: var(--pastel-purple);
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(34,83,122,0.07);
  border: 1.5px solid var(--border-light);
  color: #26415b;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #26415b;
  text-align: center;
}
.testimonial-author {
  font-size: 1rem;
  font-weight: 600;
  color: #3f6285;
  margin-bottom: 6px;
}
.case-study-summary {
  margin-top: 12px;
  font-size: 0.98rem;
  color: #517399;
  background: var(--pastel-blue);
  padding: 14px 16px;
  border-radius: 12px;
}
.case-study-summary a {
  color: var(--primary);
  text-decoration: underline;
}

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

/* === HERO & CTA SECTIONS === */
.hero {
  background: linear-gradient(135deg, var(--pastel-blue) 65%, var(--pastel-pink) 100%);
  box-shadow: 0 8px 32px 0 rgba(34,83,122,0.08);
  border-radius: 0 0 36px 36px;
  margin-bottom: 60px;
  padding: 60px 0 48px 0;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #22537a;
  font-size: 2.4rem;
  line-height: 1.21;
  font-weight: 800;
}
.hero p {
  color: #45586a;
  max-width: 600px;
  margin-bottom: 28px;
}
.cta {
  background: linear-gradient(90deg, var(--pastel-green) 60%, var(--pastel-purple) 100%);
  border-radius: 24px;
  box-shadow: 0 2px 14px 0 rgba(34,83,122,0.03);
  margin-bottom: 60px;
  padding: 44px 20px 44px 20px;
  text-align: center;
}
.cta h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 24px;
  font-weight: 700;
}

/* === MAIN NAVIGATION === */
header {
  background: var(--white);
  box-shadow: 0 2px 16px 0 rgba(68,89,135,0.04);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  color: #22537a;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.button-primary {
  padding: 9px 22px;
  background: var(--accent);
  color: #22537a;
  font-weight: 700;
  border-radius: 18px;
  margin-left: 8px;
  font-size: 1.1rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 1.5px 7px 0 rgba(253,182,50,0.13);
}
.main-nav a.button-primary:hover, .main-nav a.button-primary:focus {
  background: #ffe2ae;
  color: #22537a;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-green);
  color: var(--primary);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 6px 12px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.14s;
  box-shadow: 0 2px 14px 0 rgba(253,182,50,0.10);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ffe2ae;
  color: #22537a;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(132deg, var(--pastel-blue) 54%, var(--pastel-pink) 100%);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.85,.09,.34,1.29);
  box-shadow: 0 4px 40px 0 rgba(68,89,135,0.11);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #22537a;
  position: absolute;
  top: 22px;
  right: 28px;
  cursor: pointer;
  z-index: 2;
  border-radius: 10px;
  padding: 4px 9px;
  transition: background 0.18s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff5db;
  color: #fdb632;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 90px;
  padding: 0 30px;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.23rem;
  color: #22537a;
  padding: 13px 0;
  border-radius: 10px;
  width: 100%;
  text-align: left;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #22537a;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === FEATURES, SERVICES, UL === */
.features ul,
.services ul,
.contact ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 15px 0;
}
.features ul li, .services ul li, .contact ul li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: #3a587a;
  background: var(--pastel-green);
  border-radius: 13px;
  padding: 13px 18px 13px 54px;
  position: relative;
  box-shadow: 0 1px 6px 0 rgba(45,64,100,0.04);
  min-height: 48px;
  display: flex;
  align-items: center;
}
.features ul li img,
.services ul li img,
.contact ul li img {
  position: absolute;
  left: 18px;
  top: 14px;
  width: 24px;
  height: 24px;
}

/* === FOOTER === */
footer {
  background: linear-gradient(110deg, var(--pastel-blue), var(--pastel-purple) 120%);
  padding-top: 44px;
  color: #22537a;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.footer-wrapper > div {
  flex: 1 1 260px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-menu a {
  color: #22537a;
  font-weight: 500;
  font-size: 1.08rem;
  transition: color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--accent);
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 3px;
}
.footer-contact li {
  color: #517399;
  font-size: 1rem;
  padding-left: 34px;
  position: relative;
  margin-bottom: 7px;
  min-height: 30px;
}
.footer-contact li img {
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  opacity: 0.9;
}
.footer-bottom {
  border-top: 1px solid #e0ecf5;
  margin-top: 18px;
  padding: 20px 0 8px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.social-links {
  display: flex;
  gap: 14px;
}
.social-links a {
  display: flex;
  align-items: center;
  transition: transform 0.18s;
  border-radius: 8px;
  padding: 3px;
}
.social-links a:hover, .social-links a:focus {
  background: #ffeecc;
  transform: scale(1.09);
}
.footer-bottom p {
  font-size: 0.95rem;
  color: #5476a3;
}

/* === BUTTONS === */
.button-primary {
  display: inline-block;
  background: var(--accent);
  color: #22537a;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 36px;
  padding: 14px 32px;
  box-shadow: 0 2px 16px 0 rgba(253,182,50,0.14);
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.17s, transform 0.13s;
  margin: 8px 0 0 0;
}
.button-primary:hover, .button-primary:focus {
  background: #ffe2ae;
  color: #22537a;
  box-shadow: 0 4px 20px 0 rgba(253,182,50,0.23);
  transform: translateY(-1.5px) scale(1.03);
}

/* === SECTION SPACING (MANDATORY PATTERNS) === */
.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;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-purple) 80%, var(--pastel-blue) 100%);
  box-shadow: 0 -2px 32px 0 rgba(34,83,122,0.10);
  z-index: 3000;
  padding: 24px 14px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  animation: ccb-fadein 0.29s 0.1s both;
}
@keyframes ccb-fadein { from { opacity: 0; transform: translateY(72px);} to {opacity: 1; transform: translateY(0);} }
.cookie-banner p {
  color: #22537a;
  font-size: 1.08rem;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  background: var(--accent);
  color: #22537a;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 18px;
  padding: 9px 22px;
  box-shadow: 0 1.5px 10px 0 rgba(253,182,50,0.08);
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.18s, color 0.19s, box-shadow 0.19s;
}
.cookie-btn.cookie-reject {
  background: #fff6e7;
  color: #eb9750;
  font-weight: 600;
  border: 1.2px solid #fedcbb;
}
.cookie-btn.cookie-settings {
  background: #e7e7fa;
  color: #34507a;
  border: 1.2px solid #cdcdf9;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffe2ae;
  color: #22537a;
  box-shadow: 0 3px 18px 0 rgba(253,182,50,0.17);
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #f6f4ff;
  color: #34507a;
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #ffd38e;
  color: #a16229;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,83,122,0.28);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ccm-fadein 0.2s both;
}
@keyframes ccm-fadein { from { opacity: 0;} to {opacity: 1;} }
.cookie-modal {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 6px 36px 0 rgba(68,89,135,0.21);
  padding: 32px 30px 30px 30px;
  width: 92vw;
  max-width: 425px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: ccm-pop 0.33s cubic-bezier(.55,.01,.27,1.36);
}
@keyframes ccm-pop { 0% { transform: scale(0.9); opacity: 0;} 100% { transform: scale(1); opacity: 1;} }
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #22537a;
  font-weight: 700;
}
.cookie-modal .cm-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cm-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 3px 0;
}
.cm-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 21px;
  height: 21px;
  margin-right: 6px;
}
.cookie-modal .cm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
.cookie-modal .cm-close {
  position: absolute;
  top: 13px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #7a96b5;
  border-radius: 9px;
  padding: 1.5px 6px 0 6px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .cm-close:hover, .cookie-modal .cm-close:focus {
  background: #f6f7ff;
  color: #22537a;
}

/* === RESPONSIVE / FLEXBOX ONLY LAYOUTS === */
@media (max-width: 991px) {
  .footer-wrapper {
    gap: 26px;
  }
  .footer-wrapper > div {
    flex: 1 1 160px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 28px;
  }
  .footer-wrapper > div {
    flex: 1 1 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: start;
    gap: 6px;
  }
  .section, .hero, .cta{
    padding: 26px 8px;
    margin-bottom: 42px;
    border-radius: 18px;
  }
  .container {
    padding: 0 8px;
  }
  .features ul li, .services ul li, .contact ul li {
    padding-left: 44px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 10px 6px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; }
  h3 { font-size: 1.1rem; }
  .hero { border-radius: 0 0 18px 18px; }
  .hero h1 { font-size: 1.44rem; }
  .cta h2 { font-size: 1.25rem;}
  .testimonial-card {
    padding: 16px 8px;
  }
  .case-study-summary {
    padding: 10px 8px;
    font-size: 0.93rem;
  }
  .content-grid, .card-container, .features ul, .footer-contact ul {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* === TABLET OPTIMIZATION === */
@media (max-width: 480px) {
  .footer-menu, .footer-contact ul, .features ul, .services ul, .contact ul {
    gap: 7px;
    font-size: 0.97rem;
  }
}

/* === MISC & UTILITY CLASSES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px; }
.mb-2 { margin-bottom: 2px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }

/* === ANIMATIONS & MICRO-INTERACTIONS === */
a, .button-primary, .mobile-menu-toggle, .cookie-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.13s;
}

/* === SCROLLBAR SOFT STYLE === */
::-webkit-scrollbar { width:8px; background: #e3ecfa; }
::-webkit-scrollbar-thumb { background: #b5c7e1; border-radius:8px; }

/* === SOFT PASTEL THEME EXTENSIONS === */
.section, .card, .testimonial-card, .cta, .cookie-banner, .cookie-modal {
  box-shadow: 0 3px 17px 0 rgba(150,160,190,0.07), 0 0.5px 3px 0 rgba(150,160,190,0.04);
}

/* === REMOVE UNWANTED BORDERS / FOCUS === */
a:focus, button:focus { outline: 2px solid var(--accent); }

/* === END === */
