/* ------------------ 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F8FA;
  color: #1C2533;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #1C2533;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #57A6A1;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  border: none;
  background: none;
  outline: none;
}

/* ------------- BASE TYPOGRAPHY & COLORS ------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1C2533;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, li, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1C2533;
  margin-bottom: 12px;
}
strong {
  font-weight: 600;
}

/* ------------- UTILITIES ------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  padding: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(28,37,51,0.06);
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(28,37,51,0.13);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(28,37,51,0.10);
  border-left: 6px solid #57A6A1;
  font-style: italic;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card strong {
  font-weight: 700;
  font-family: 'Montserrat', arial, sans-serif;
}
.testimonial-card:hover {
  border-left-color: #F4E869;
  box-shadow: 0 4px 32px rgba(28,37,51,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------- HERO SECTION ------------- */
.hero-section {
  background: #1C2533;
  color: #fff;
  padding: 72px 0 48px 0;
  margin-bottom: 40px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.hero-section .container {
  align-items: flex-start;
}
.hero-section h1,
.hero-section h2 {
  color: #fff;
  letter-spacing: 1.5px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero-section p {
  color: #F4E869;
  font-size: 1.13rem;
  font-weight: 500;
  margin-bottom: 32px;
  margin-top: 12px;
}
.hero-section .cta-btn {
  background: #F4E869;
  color: #1C2533;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(87,166,161,0.08);
}

/* ------------- CTA SECTIONS ------------- */
.cta-section {
  background: #57A6A1;
  border-radius: 32px;
  box-shadow: 0 4px 32px rgba(87,166,161,0.15);
  color: #fff;
  padding: 48px 0;
  margin-bottom: 48px;
}
.cta-section h2,
.cta-section p {
  color: #fff;
}
.cta-section ul {
  margin-bottom: 32px;
  margin-top: 8px;
  padding-left: 20px;
}
.cta-section ul li {
  color: #fff;
  margin-bottom: 10px;
  list-style: disc;
}
.cta-section .cta-btn {
  background: #F4E869;
  color: #1C2533;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44,42,51,0.12);
}

/* ------------- BUTTONS & INTERACTIVES ------------- */
.cta-btn, .btn, .cookie-btn {
  display: inline-block;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  color: #1C2533;
  background: #F4E869;
  padding: 14px 36px;
  box-shadow: 0 1px 10px rgba(28,37,51,0.08);
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, border-radius 0.15s;
  text-transform: uppercase;
}
.cta-btn:hover, .btn:hover, .cookie-btn:hover {
  background: #57A6A1;
  color: #fff;
  box-shadow: 0 2px 20px rgba(44,42,51,0.14);
  border-radius: 16px;
}
.cta-btn:active, .btn:active {
  background: #F4E869;
  color: #1C2533;
}

/* ------------- NAVIGATION ------------- */
header {
  background: #fff;
  border-bottom: 2px solid #EFF0F2;
  position: relative;
  z-index: 10;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}
.logo-container {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 60px;
  padding-right: 20px;
}
.main-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C2533;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 10px;
  letter-spacing: 0.02em;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4E869;
  color: #1C2533;
}
.main-nav a.active {
  color: #57A6A1;
  background: none;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #1C2533;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  transition: background 0.14s, color 0.14s;
  cursor: pointer;
  margin-left: 16px;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4E869;
  color: #57A6A1;
}

/* ----------- MOBILE MENU ----------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 320px;
  height: 100vh;
  background: #1C2533;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.72,0.15,0.33,1.02);
  z-index: 1050;
  box-shadow: -8px 0 20px rgba(28,37,51,0.17);
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #F4E869;
  background: none;
  border: none;
  align-self: flex-end;
  margin-right: 16px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #57A6A1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 28px;
  padding-top: 14px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 10px 10px 10px 0;
  border-radius: 0 16px 16px 0;
  transition: color 0.15s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4E869;
  color: #1C2533;
}

/* ----------- SECTION GRIDS/LISTS ----------- */
.feature-grid, .service-grid, .service-list, .article-list, .testimonial-list, .case-study-list, .contact-info-box {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 24px 0;
  padding: 0;
}
.feature-grid > li, .service-grid > li {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 25px 26px 25px;
  box-shadow: 0 2px 12px rgba(28,37,51,0.05);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
  border: 2px solid #EFF0F2;
  transition: border-color 0.15s, box-shadow 0.19s;
}
.feature-grid > li:hover, .service-grid > li:hover {
  border-color: #F4E869;
  box-shadow: 0 4px 28px rgba(28,37,51,0.17);
}
.feature-grid img, .service-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}
.service-list {
  flex-direction: column;
  gap: 18px;
}
.service-list > li {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(28,37,51,.07);
  margin-bottom: 20px;
  border: 2px solid #EFF0F2;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.service-list > li:hover {
  border-color: #57A6A1;
  box-shadow: 0 4px 28px rgba(28,37,51,0.11);
}
.article-list, .case-study-list {
  flex-direction: column;
  gap: 20px;
}
.article-list > li, .case-study-list > .text-section {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(28,37,51,0.08);
  border: 2px solid #EFF0F2;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.article-list > li:hover, .case-study-list > .text-section:hover {
  border-color: #F4E869;
  box-shadow: 0 4px 20px rgba(28,37,51,0.12);
}
.category-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}
.category-filters span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: #1C2533;
}
.category-filters a {
  background: #EFF0F2;
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 0.93rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C2533;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
}
.category-filters a:hover, .category-filters a:focus {
  background: #F4E869;
  color: #1C2533;
}
.contact-info-box {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.contact-info-box .text-section {
  flex: 1 1 220px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(28,37,51,0.06);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 0;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.quick-links a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #57A6A1;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  background: #EFF0F2;
  transition: background 0.12s, color 0.12s;
}
.quick-links a:hover {
  background: #57A6A1;
  color: #fff;
}

/* ----------- FOOTER ----------- */
footer {
  background: #1C2533;
  color: #fff;
  margin-top: 64px;
  padding-top: 40px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding: 0 20px 32px 20px;
}
.footer-company {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-company img {
  width: 64px;
  height: auto;
  margin-bottom: 12px;
}
.footer-contact p, .footer-contact a {
  color: #EFF0F2;
  font-size: 0.96rem;
  margin-bottom: 5px;
}
.footer-links {
  flex: 1 1 180px;
}
.footer-links h3 {
  font-size: 1rem;
  color: #F4E869;
  margin-bottom: 11px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #fff;
  font-size: 0.98rem;
  padding: 3px 0;
  transition: color 0.13s;
  border-radius: 6px;
}
.footer-links a:hover {
  color: #F4E869;
  background: none;
}
.footer-social {
  flex: 1 1 170px;
}
.footer-social h3 {
  font-size: 1rem;
  margin-bottom: 11px;
  color: #F4E869;
}
.social-icons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
}
.social-icons a img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: filter 0.18s;
}
.social-icons a:hover img {
  filter: brightness(0) invert(0.6) sepia(1) hue-rotate(65deg) saturate(2) brightness(1.1);
}
.footer-bottom {
  background: #16202c;
  color: #EFF0F2;
  text-align: center;
  padding: 18px 0;
  font-size: 0.98rem;
  border-top: 1px solid #253042;
}

/* ----------- COOKIE CONSENT ----------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1C2533;
  color: #fff;
  border-top: 3px solid #F4E869;
  z-index: 2200;
  padding: 24px 24px 20px 24px;
  text-align: left;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  box-shadow: 0 -3px 22px rgba(28,37,51,0.15);
  font-size: 1rem;
  animation: cookieBannerSlideIn 0.6s cubic-bezier(0.75,0.06,0.30,1.02);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(140px); opacity:0; }
  to   { transform: translateY(0);    opacity:1; }
}
.cookie-banner .cookie-btn {
  margin-right: 12px;
  font-size: 1rem;
  padding: 10px 26px;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #fff;
  color: #1C2533;
}
.cookie-banner .cookie-btn.cookie-settings:hover {
  background: #F4E869;
  color: #1C2533;
}

/* ----------- COOKIE MODAL ----------- */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,37,51,0.62);
  z-index: 2510;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.320s cubic-bezier(0.71,0.12,0.25,1.12);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #1C2533;
  border-radius: 16px;
  box-shadow: 0 8px 52px rgba(28,37,51,0.30);
  min-width: 360px;
  max-width: 96vw;
  padding: 38px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: modalOpenPop 0.34s cubic-bezier(0.49,1.4,0.23,0.85);
}
@keyframes modalOpenPop {
  from { transform: scale(0.7); }
  to   { transform: scale(1);   }
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 17px;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal-content .category-switch {
  width: 38px;
  height: 23px;
  background: #EFF0F2;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-content .category-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-content .category-switch .slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #57A6A1;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-modal-content .category-switch input:checked + .slider {
  transform: translateX(15px);
  background: #F4E869;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.36rem;
  color: #1C2533;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 2;
}
.cookie-modal-close:hover {
  color: #57A6A1;
}

/* ----------- MEDIA QUERIES - RESPONSIVE ----------- */
@media (max-width: 1100px) {
  .container {
    max-width: 92vw;
  }
  .footer-wrapper {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-section {
    padding: 42px 0 32px 0;
    clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 11px 26px;
  }
  .logo-container img {
    height: 38px;
    width: auto;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    height: 66px;
  }
  .feature-grid, .service-grid, .service-list, .article-list, .case-study-list, .testimonial-list, .contact-info-box {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > li, .service-grid > li {
    min-width: 0;
    width: 100%;
    padding: 20px 12px 18px 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .card {
    padding: 18px 14px;
    min-width: 0;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .cta-section {
    padding: 28px 0;
    border-radius: 18px;
  }
  .content-wrapper {
    gap: 16px;
  }
  h1 {
    font-size: 1.68rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 540px) {
  .footer-wrapper {
    padding: 0 5px 26px 5px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    font-size: 0.93rem;
    padding: 13px 7px 11px 7px;
  }
  .cookie-modal-content {
    min-width: 0;
    width: 92vw;
    padding: 18px 7vw 16px 7vw;
  }
}

/* ----------- GEOMETRIC VISUAL DECOR (BORDER/SHAPE) ----------- */
.feature-grid > li, .service-grid > li, .card, .section, .cta-section, .testimonial-card, .contact-info-box .text-section {
  border-radius: 16px 36px 10px 26px;
}
.hero-section {
  border-radius: 0 0 42px 0;
}

/* ====== MICRO-INTERACTIONS ====== */
.card, .feature-grid > li, .service-grid > li, .testimonial-card, .article-list > li, .case-study-list > .text-section {
  transition: box-shadow 0.15s, border-color 0.16s, transform 0.13s;
}
.card:hover, .feature-grid > li:hover, .service-grid > li:hover, .testimonial-card:hover, .article-list > li:hover, .case-study-list > .text-section:hover {
  transform: translateY(-3px) scale(1.012);
}
.cta-btn, .btn {
  transition: background 0.13s, box-shadow 0.13s, color 0.13s, border-radius 0.18s;
}

/* ====== Z-INDEX LAYERING ====== */
header {
  z-index: 100;
}
.mobile-menu {
  z-index: 1050;
}
.cookie-banner {
  z-index: 2200;
}
.cookie-modal {
  z-index: 2510;
}

/* ====== SCROLLBAR STYLES ====== */
::-webkit-scrollbar {
  width: 8px;
  background: #EFF0F2;
}
::-webkit-scrollbar-thumb {
  background: #57A6A1;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1C2533;
}

/* ========== END OF STYLE.CSS ========== */
