/* --- 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 { font-size: 16px; scroll-behavior: smooth; }
body { line-height: 1.55; background: #F5F7FA; color: #114559; font-family: 'Open Sans', Arial, Helvetica, sans-serif; }
main { min-height: 60vh; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* --- CSS VARIABLES --- */
:root {
  --primary: #114559;
  --primary-dark: #0d2e3a;
  --secondary: #ffffff;
  --background: #F5F7FA;
  --accent: #1DA77A;
  --accent-dark: #137353;
  --highlight-pink: #FF358B;
  --electric-yellow: #FEF400;
  --electric-blue: #1A96FF;
  --card-shadow: 0 4px 18px rgba(17, 69, 89, 0.09);
  --radius: 18px;
  --radius-sm: 8px;
  --section-gap: 60px;
  --container-width: 1200px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* --- BASE STRUCTURE --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* --- HEADER & NAV --- */
header {
  background: var(--secondary);
  box-shadow: 0 2px 14px rgba(17, 69, 89, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
  gap: 24px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
}
header nav a {
  color: var(--primary);
  padding: 6px 2px 6px 2px;
  border-radius: 4px;
  transition: background 0.22s, color 0.22s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
header img {
  height: 47px;
}
.cta-button {
  background: linear-gradient(90deg, var(--accent), var(--highlight-pink), var(--electric-yellow));
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  padding: 13px 34px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 24px rgba(29,167,122,0.09);
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  border: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--highlight-pink), var(--accent), var(--electric-yellow));
  color: var(--secondary);
  box-shadow: 0 8px 32px rgba(255,53,139,0.17);
  text-decoration: none;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--secondary);
  font-size: 2.25rem;
  border-radius: 8px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.22s;
  z-index: 2003;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--highlight-pink);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 8px 0 24px rgba(17,69,89,0.20);
  z-index: 2002;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(0.72,0.09,0.32, 1.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--accent);
  font-size: 2.1rem;
  background: none;
  border: none;
  position: absolute;
  top: 18px;
  right: 26px;
  cursor: pointer;
  z-index: 2020;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--highlight-pink);
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 72px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 22px 32px 22px 32px;
  width: 100vw;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.20s, color 0.20s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 1080px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  header > .container nav { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* --- SECTION SPACING, LAYOUT --- */
section {
  margin-bottom: var(--section-gap);
  padding: 40px 20px;
  background: transparent;
  width: 100%;
}
.section {
  margin-bottom: var(--section-gap);
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px;
  transition: box-shadow 0.22s, border-color 0.19s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px rgba(17, 69, 89, 0.16);
  border-color: var(--accent);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 18px rgba(17, 69, 89, 0.13);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.125rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: var(--accent-dark);
  font-weight: 700;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.client-logos {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 32px 0 16px 0;
}
.client-logos img {
  height: 48px;
  width: auto;
  filter: grayscale(10%) contrast(1.1);
  opacity: 0.9;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO STYLES --- */
.hero {
  background: linear-gradient(115deg, var(--electric-yellow) 0%, var(--accent) 40%, var(--primary) 80%);
  color: var(--primary);
  padding: 72px 0 52px 0;
  border-radius: 0 0 48px 48px;
  margin-bottom: var(--section-gap);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 28px;
  max-width: 720px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--primary-dark);
  text-shadow: 1px 2px 0 var(--electric-yellow),0 0 2px #13735322;
}
.hero p {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.hero .cta-button {
  margin-left: 0;
}
@media (max-width: 600px) {
  .hero {
    padding: 48px 0 30px 0;
    border-radius: 0 0 30px 30px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* --- SERVICE & SOLUTION CARDS --- */
.service-grid,
.solution-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.service-card, .solution-card {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 28px 24px 22px 24px;
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border: 2px solid transparent;
  transition: box-shadow 0.16s, border-color 0.18s;
  position: relative;
}
.service-card:hover, .solution-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 36px rgba(29, 167, 122, 0.13);
}
.service-card img, .solution-card img {
  height: 44px;
  margin-bottom: 11px;
  filter: drop-shadow(0 1px 3px #13735315);
}
.service-card h3, .solution-card h3 {
  margin-bottom: 5px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.service-card p, .solution-card p {
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- LISTINGS & CATEGORIES --- */
.service-categories {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.service-listing {
  background: var(--electric-blue);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 14px #13735315;
  color: #fff;
  padding: 22px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0;
  transition: background 0.23s;
}
.service-listing h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.14rem;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
  color: var(--electric-yellow);
}
.service-listing:hover {
  background: var(--highlight-pink);
  color: var(--secondary);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.012em;
  color: var(--primary);
  font-weight: 800;
}
h1 { font-size: 2.25rem; margin-bottom: 12px; line-height: 1.15; }
h2 { font-size: 1.7rem; line-height: 1.18; margin-bottom: 11px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p, li, ul { font-family: var(--font-body); font-size: 1rem; color: var(--primary-dark); }
strong { font-weight: 800; }
ul, ol {padding-left: 0;}
blockquote {
  font-style: italic;
  background: #fffbe7;
  color: #114559;
  box-shadow: 0 2px 14px rgba(29,167,122,0.12);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  padding: 18px 24px;
  font-size: 1.13rem;
}

a {color: var(--accent);transition: color 0.18s;}
a:active, a:focus, a:hover { color: var(--highlight-pink); }

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 36px 0 0 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  margin-top: 60px;
}
footer .container { gap: 36px; }
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-main nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-display);
}
.footer-main nav a {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.025rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.footer-main nav a:hover, .footer-main nav a:focus {
  color: var(--electric-yellow);
}
.footer-contact {
  margin: 10px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
  color: #c2d6e9;
  max-width: 550px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c2d6e9;
  font-size: 1rem;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  display: inline-block;
}
.footer-bottom {
  width: 100%;
  text-align: center;
  color: #bdd2df;
  font-size: 0.975rem;
  margin: 24px 0 12px 0;
  opacity: 0.88;
}
footer img {
  height: 39px;
  margin-bottom: 3px;
}

/* --- COOKIE CONSENT STYLES --- */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: linear-gradient(90deg, var(--accent), var(--highlight-pink) 80%);
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 18px;
  box-shadow: 0 -3px 18px #11455914;
  gap: 18px;
  animation: cookie-in 0.85s cubic-bezier(.95,0,.15,1.13);
}
@keyframes cookie-in{
  0%{transform:translateY(120%);opacity:0}
  80%{transform:translateY(-8px);opacity:.85}
  100%{transform:translateY(0);opacity:1}
}
#cookie-consent-banner p{
  flex:1 1 0;
  margin:0;
  font-size:1.12rem;
  letter-spacing:.01em;
  font-family:var(--font-body);
  font-weight:600;
}
.cookie-btn,
#cookie-settings-btn {
  font-family: var(--font-display);
  border-radius: var(--radius-sm);
  font-size: 1.08rem;
  background: var(--primary);
  color: var(--electric-yellow);
  font-weight: 800;
  border: none;
  padding: 11px 22px;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.20s, color 0.20s;
}
.cookie-btn.accept {
  background: var(--accent); color: var(--primary); margin-left: 22px;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--highlight-pink); color: var(--secondary);
}
.cookie-btn.reject {
  background: var(--highlight-pink); color: var(--secondary);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus { background: var(--primary); color: var(--electric-yellow); }
#cookie-settings-btn{
  background: var(--electric-blue); color: #fff;font-weight:800;
}
#cookie-settings-btn:hover,
#cookie-settings-btn:focus {
  background: var(--electric-yellow); color: var(--primary);
}

/* --- COOKIE MODAL --- */
#cookie-modal-overlay {
  position: fixed;
  top:0;left:0;width:100vw;height:100vh;
  background:rgba(17,69,89,0.68);
  z-index:3002;
  display:none;
  align-items:center;
  justify-content:center;
  animation: modal-bounce .65s;
}
#cookie-modal-overlay.open { display: flex; }
@keyframes modal-bounce{
  0% {opacity:0; transform:scale(.8);}
  80% {opacity:.95; transform:scale(1.04);}
  100% {opacity:1; transform:scale(1);}
}
#cookie-modal {
  background:var(--secondary);
  border-radius:var(--radius);
  padding:36px 28px 28px 28px;
  max-width: 420px;
  width:92vw;
  box-shadow:0 10px 44px #11455929;
  display:flex;
  flex-direction:column;
  gap:16px;
  position: relative;
  z-index:3003;
}
#cookie-modal h3 {
  color: var(--accent); font-size: 1.4rem; font-family: var(--font-display); font-weight: 900;
}
.cookie-category {
  margin-bottom:18px;
  padding:8px 0 9px 0;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:13px;
}
.cookie-category label {
  font-weight: bold;
  color: var(--primary);
  font-size: 1.11rem;
  letter-spacing: 0.01em;
}
.cookie-toggle {
  appearance:none;
  outline:none;
  width:36px;height:22px;
  background:var(--electric-blue);
  border-radius:11px;
  position:relative;
  transition:background 0.18s;
  cursor:pointer;
}
.cookie-toggle:checked {background:var(--accent);}
.cookie-toggle:before {
  content:""; position:absolute; top:3px; left:4px; width:15px; height:15px; border-radius:50%; background:var(--secondary); transition:left .20s, background 0.20s;}
.cookie-toggle:checked:before {left:17px; background:var(--highlight-pink);}
.cookie-category .desc {
  color:var(--primary-dark);font-size:0.975rem;font-weight:400;margin-left:9px;opacity:.75;
}
.cookie-modal-actions{
  display:flex;
  flex-direction:row;
  gap:18px;
  justify-content:flex-end;
  margin-top:7px;
}
#cookie-modal .cookie-btn {padding:10px 20px;}
#cookie-modal .cookie-btn:last-child{background:var(--accent);color:var(--primary);margin-left:0;}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
  .container { padding: 0 12px; }
  .client-logos { gap:18px; }
  section { padding: 32px 7px; }
}
@media (max-width: 768px) {
  body, html { font-size: 15px; }
  .section, section { padding: 32px 2vw; }
  .content-wrapper, .card-container, .content-grid, .testimonials, .service-categories, .service-grid, .solution-grid { flex-direction: column !important; align-items: stretch !important; gap: 20px !important; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-contact { max-width: none; }
  .card, .service-card, .solution-card, .service-listing, .testimonial-card { max-width: 98vw !important; width: 99%;}
  .client-logos { gap:12px;}
}
@media (max-width: 540px) {
  h1 {font-size: 1.25rem;}
  h2 {font-size: 1.08rem;}
  .cta-button, .cookie-btn, #cookie-settings-btn { font-size: 0.95rem; padding: 9px 13px;}
}

/* --- ANIMATION & MICRO-INTERACTIONS --- */
.card, .service-card, .solution-card, .testimonial-card {
  transition: box-shadow 0.18s, border 0.17s, transform 0.14s;
}
.card:hover, .service-card:hover, .solution-card:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 10px 40px rgba(29, 167, 122, 0.13);
}
.cta-button:active {transform: scale(0.97);}

/* --- MISC UTILITY CLASSES --- */
.align-center { text-align: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }

/* --- ACCESSIBILITY & FOCUS STYLES --- */
a, button, input, .cta-button, .cookie-btn, #cookie-settings-btn {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-button:focus-visible { 
  outline: 2px solid var(--highlight-pink); 
  outline-offset: 2px; 
}

/* --- MANDATORY FLEXBOX PATTERNS (Do NOT use grid!) --- */
.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; }

/* --- END OF CSS --- */
