/* ============================
   RESET & NORMALIZATION
   ============================ */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F6F5F5;
  color: #202A44;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #38A3A5;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #202A44;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.08;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.18;
}
strong {
  font-weight: 700;
}
blockquote {
  font-style: italic;
  color: #22577A;
  font-size: 1.1rem;
  background: #e1f5f4;
  border-left: 4px solid #38A3A5;
  padding: 12px 24px;
  margin-bottom: 8px;
  margin-top: 8px;
}
p {
  margin-bottom: 14px;
  color: #202A44;
  font-size: 1rem;
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* ============================
   CONTAINERS & LAYOUTS
   ============================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

main {
  margin-bottom: 90px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
  background: none;
}
section:not(.cta):nth-child(even) {
  background: #F6F5F5;
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px 0 8px;
    margin-bottom: 38px;
  }
  .container { padding-left: 8px; padding-right: 8px; }
}

/* ============================
   HEADER
   ============================ */
header {
  background: #22577A;
  box-shadow: 0 2px 12px rgba(34, 87, 122, 0.17);
  padding: 0; 
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 44px;
}
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #F6F5F5;
  font-size: 1rem;
  border-radius: 8px;
  padding: 6px 15px;
  transition: background 0.18s,color 0.18s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: #38A3A5;
  color: #fff;
}
nav.main-nav .cta-btn {
  background: #F6F5F5;
  color: #22577A;
  font-weight: 800;
  border-radius: 24px;
  margin-left: 8px;
  box-shadow: 0 3px 20px -10px #38A3A5;
  padding: 10px 26px;
  transition: background 0.21s, color 0.21s, box-shadow 0.2s;
}
nav.main-nav .cta-btn:hover, nav.main-nav .cta-btn:focus {
  background: #38A3A5;
  color: #fff;
  box-shadow: 0 4px 22px -6px #22577A99;
}

/* ============================
   MOBILE MENU
   ============================ */
.mobile-menu-toggle {
  display: none;
  background: #F6F5F5;
  color: #22577A;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  z-index: 150;
}

@media (max-width: 992px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #22577A;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.86,.53,0,1.02);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 38px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-left: 25px;
  background: #F6F5F5;
  color: #22577A;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #38A3A5;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: 28px;
}
.mobile-nav a {
  color: #F6F5F5;
  font-size: 1.2rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 8px;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #38A3A5;
  color: #fff;
}

@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  background: linear-gradient(90deg, #38A3A5 0%, #22577A 100%);
  color: #fff;
  border-radius: 0 0 56px 56px;
  box-shadow: 0 14px 42px -15px #22577A77;
  min-height: 340px;
  margin-bottom: 65px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 340px;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
}
.hero p {
  color: #f1fcfb;
  font-size: 1.1rem;
  margin-bottom: 12px;
  margin-top: 4px;
  max-width: 680px;
}
.hero .cta-btn {
  background: #fff;
  color: #22577A;
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 28px;
  padding: 13px 36px;
  box-shadow: 0 8px 38px -10px #38A3A5;
  margin-top: 18px;
  transition: background .20s, color .20s, box-shadow .19s;
  border: none;
  outline: none;
  display: inline-block;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #38A3A5;
  color: #fff;
  box-shadow: 0 6px 45px -8px #fff;
}

@media (max-width: 768px) {
  .hero {
    min-height: 220px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
  }
  .hero .container { min-height: 180px; }
}

/* ============================
   CARDS & FLEXBOX GRIDS
   ============================ */
.feature_grid, .team-list,
.service_list, .service_categories,
.process_steps, .case_study_list,
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.feature_grid li, .service_categories li,
.service_list li, .case_study_list li,
.faq-list li, .process_steps li {
  background: #fff;
  border-radius: 22px;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 5px 24px -10px #38A3A540, 0 1.5px 0 #E2ECFB;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 380px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .22s, transform .17s;
}
.feature_grid li:hover, .service_categories li:hover,
.service_list li:hover, .case_study_list li:hover,
.faq-list li:hover, .process_steps li:hover {
  box-shadow: 0 8px 42px -13px #22577A99, 0 2px 0 #38A3A540;
  transform: translateY(-4px) scale(1.018);
}
.feature_grid img, .service_categories img {
  width: 46px;
  height: 46px;
  margin-bottom: 3px;
}

.tips_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.tip-summary {
  background: #fff;
  box-shadow: 0 2px 19px -7px #22577A40;
  border-radius: 19px;
  padding: 22px 18px 17px 18px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .14s;
}
.tip-summary:hover {
  box-shadow: 0 8px 34px -9px #38A3A5cc;
  transform: translateY(-3px) scale(1.018);
}

.team-list {
  flex-direction: column;
  gap: 15px;
}
.team-list li {
  background: #38A3A5;
  color: #fff;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
/* Blog Previews */
.blog-article-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-article {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px -8px #38A3A580;
  flex: 1 1 220px;
  max-width: 360px;
  min-width: 180px;
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .16s, transform .14s;
}
.blog-article:hover {
  box-shadow: 0 8px 34px -10px #22577A99;
  transform: translateY(-2px) scale(1.02);
}
.blog-article a {
  color: #22577A;
  font-weight: 700;
  text-decoration: underline;
  transition: color .13s;
  margin-top: auto;
}
.blog-article a:hover,
.blog-article a:focus {
  color: #38A3A5;
}

@media (max-width: 768px) {
  .feature_grid, .service_categories, .service_list,
  .case_study_list, .blog-article-previews, .tips_grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature_grid li, .service_categories li,
  .service_list li, .case_study_list li,
  .faq-list li, .process_steps li, .blog-article, .tip-summary {
    flex: 1 0 100%;
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
}

/* Testimonials & Review Cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px -10px #22577A30;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #222B3A;
  max-width: 650px;
  transition: box-shadow .15s, transform .12s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px -7px #38A3A540;
  transform: translateY(-3px) scale(1.01);
}
.testimonial-card blockquote {
  margin: 0;
  background: transparent;
  border-left: none;
  color: #22577A;
  font-size: 1.08rem;
  font-style: italic;
  flex: 1;
}
.testimonial-card span {
  font-size: 1rem;
  color: #38A3A5;
  font-weight: 700;
  margin-left: 12px;
  letter-spacing: 0.02em;
}
@media (max-width: 540px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 12px;
    font-size: 0.97rem;
  }
  .testimonial-card span {
    margin-left: 0;
  }
}

/* ====================== CTA Section ====================== */
.cta {
  background: linear-gradient(90deg, #22577A 0%, #38A3A5 100%);
  border-radius: 30px;
  color: #fff;
  box-shadow: 0 10px 38px -10px #38A3A588;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}
.cta h2 {
  color: #fff;
  text-shadow: 0 3px 12px #0002;
}
.cta p {
  color: #f1fcfb;
}
.cta .cta-btn {
  background: #F6F5F5;
  color: #22577A;
  border-radius: 27px;
  padding: 13px 38px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 6px 32px -6px #22577A70;
  border: none;
  margin-top: 8px;
  transition: background 0.22s, color 0.22s, box-shadow 0.19s;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #38A3A5;
  color: #fff;
  box-shadow: 0 7px 32px -6px #fff2;
}

@media (max-width: 768px) {
  .cta {
    border-radius: 14px;
  }
  .cta .content-wrapper { padding: 10px 0; }
}

/* ===========================
   Text/Image & Misc Layouts
   =========================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* ============================
   Footer
   ============================ */
footer {
  background: #22577A;
  color: #fff;
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding: 46px 20px 24px 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}
footer nav a {
  color: #F6F5F5;
  font-size: 1rem;
  font-weight: 500;
  padding: 2px 0;
  transition: color .17s;
}
footer nav a:hover, footer nav a:focus {
  color: #38A3A5;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 90px;
  max-width: 340px;
  font-size: 0.98rem;
}
.footer-contact img {
  height: 17px;
  width: 17px;
  vertical-align: middle;
  margin-right: 5px;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.footer-social a {
  background: #38A3A5;
  border-radius: 50%;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #F6F5F5;
}
.footer-social img {
  width: 22px;
  height: 22px;
  filter: none;
}
.footer-legal {
  color: #E2ECFB;
  font-size: 0.9rem;
  flex: 1 1 100%;
  margin-top: 32px;
  width: 100%;
  text-align: left;
}
@media (max-width: 920px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    padding: 28px 8px 18px 8px;
  }
  .footer-legal { text-align: left; margin-top: 18px; }
}

/* ============================
   Button Styles
   ============================ */
.cta-btn {
  display: inline-block;
  background: #22577A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 23px;
  padding: 10px 28px;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 16px -3px #22577A40;
  transition: background 0.20s, color 0.20s, box-shadow 0.17s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #38A3A5;
  color: #fff;
  box-shadow: 0 4px 18px -2px #38A3A5cc;
}

/* Shared utility */
.hide {
  display: none !important;
}

/* ============================
   COOKIE BANNER
   ============================ */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #22577A;
  color: #fff;
  z-index: 16000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 20px 18px 20px;
  box-shadow: 0 -4px 34px -8px #22577Aaa;
  font-size: 1rem;
  animation: fade-in-bot 0.45s 0.1s both;
}
@keyframes fade-in-bot {
  0% { opacity: 0; transform: translateY(48px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 10px 0;
}
.cookie-btns {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #38A3A5;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 18px;
  padding: 8px 22px;
  font-size: 1rem;
  margin-top: 4px;
  cursor: pointer;
  box-shadow: 0 2px 12px -5px #fff5;
  transition: background 0.18s, color 0.15s, transform 0.12s;
}
.cookie-btn.accept {
  background: #38A3A5;
}
.cookie-btn.reject {
  background: #FF4E66;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #22577A;
  border: 2px solid #38A3A5;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #22577A;
  color: #fff;
  transform: translateY(-2px) scale(1.045);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #38A3A5;
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-consent-banner { font-size: 0.93rem; padding: 16px 8px 12px 8px; }
  .cookie-btns { gap: 10px; }
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 17000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34, 87, 122, 0.83);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in .22s both;
}
@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #202A44;
  border-radius: 22px;
  max-width: 430px;
  min-width: 240px;
  padding: 32px 26px 22px 26px;
  box-shadow: 0 8px 46px -12px #38A3A560;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  font-size: 1.02rem;
  animation: slide-in-up 0.29s cubic-bezier(.88,.25,0,1.03) both;
}
@keyframes slide-in-up {
  from { transform: translateY(60px) scale(.96); opacity: 0.7; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: #22577A;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #22577A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  accent-color: #38A3A5;
  width: 22px; height: 22px;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  background: #22577A;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 540px) {
  .cookie-modal {
    padding: 20px 8px 14px 8px;
    max-width: 95vw;
  }
}

/* ============================
   ANIMATIONS & TRANSITIONS
   ============================ */
a, .cta-btn, button, .card, .blog-article, .testimonial-card,
.feature_grid li, .service_list li, .case_study_list li,
.tip-summary, .service_categories li {
  transition: box-shadow 0.18s, background 0.16s, color 0.14s, transform 0.13s;
}

/* ============================
   RESPONSIVE FLEX ADJUSTMENTS
   ============================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 3px 18px -8px #38A3A580;
  transition: box-shadow .18s, transform .13s;
}
.card:hover {
  box-shadow: 0 9px 32px -8px #22577A80;
  transform: translateY(-3px) scale(1.018);
}
.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;
}
@media (max-width: 768px) {
  .card-container, .content-grid, .feature-item {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================
   FORM ELEMENTS & FOCUS STATE
   ============================ */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px 16px;
  border: 1.5px solid #38A3A5;
  border-radius: 14px;
  background: #F6F5F5;
  font-size: 1rem;
  margin-bottom: 12px;
  outline: none;
  transition: box-shadow .09s, border-color .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #22577A;
  box-shadow: 0 4px 17px -7px #22577A88;
}

::-webkit-input-placeholder { color: #86b8c6; }
::-moz-placeholder { color: #86b8c6; }
:-ms-input-placeholder { color: #86b8c6; }
::placeholder { color: #86b8c6; }

/* ============================
   MISC UTILITY
   ============================ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ==========================
  PRINT STYLES (Optional)
 ========================== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner { display: none !important; }
  main, section, .container { padding: 0 !important; margin: 0 !important; }
  body { background: #fff; color: #000; }
}

/* ===========================
  SCROLLBAR STYLES
============================ */
html::-webkit-scrollbar {
  width: 13px;
  background: #F6F5F5;
}
html::-webkit-scrollbar-thumb {
  background: #38A3A5;
  border-radius: 10px;
  border: 3px solid #F6F5F5;
}

/* ===========================
   END OF CSS
============================ */
