/* ===== 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-size: 16px;
  background: #101629;
  color: #f6f8fb;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #5EB6D5;
  text-decoration: none;
  transition: color 0.21s;
}
a:hover, a:focus {
  color: #fff;
  text-shadow: 0 0 2px #68d5ea, 0 0 8px #5EB6D5;
}
ul, ol {
  margin-left: 1.5em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ===== BRAND FONTS ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1.18;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  line-height: 1.23;
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.38rem; }
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ====== HEADER / NAVIGATION ====== */
header {
  width: 100%;
  background: #182142;
  box-shadow: 0 4px 18px rgba(32,50,91,0.12);
  position: relative;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
header a img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #f6f8fb;
  padding: 4px 8px;
  position: relative;
  transition: color 0.18s;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #5EB6D5;
  background: rgba(94,182,213,0.12);
  text-shadow: 0 0 6px #68d5ea;
}
.main-nav .btn-primary {
  margin-left: 12px;
  padding: 9px 22px;
  font-size: 1.08rem;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #5EB6D5;
  border-radius: 6px;
  padding: 2px 10px;
  margin-left: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.mobile-menu-toggle:hover { 
  background: #152033;
  color: #fff;
  box-shadow: 0 0 10px #5EB6D5;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
  header .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  header a img {
    height: 32px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    gap: 10px;
  }
}

/* ===== MOBILE MENU (SLIDE-IN) ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,32,61,0.98);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.85,0,0.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  align-self: flex-end;
  margin: 24px 22px 10px 0;
  z-index: 5100;
  border-radius: 4px;
  padding: 0 10px;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover {
  background: #151f2d;
  color: #5EB6D5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding: 32px 32px 18px 38px;
}
.mobile-nav a {
  font-size: 1.38rem;
  font-family: "Montserrat",Arial,sans-serif;
  color: #5EB6D5;
  width: fit-content;
  position: relative;
  text-shadow: 0 0 12px #193158;
  padding: 6px 2px;
  margin: 0;
  line-height: 1.38;
  border-radius: 4px;
  transition: color 0.13s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #22346a;
  color: #fff;
}

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

/* ======= HERO / PAGE INTRO ======= */
.hero {
  background: linear-gradient(140deg, #20325B 70%, #425eb9 100%);
  min-height: 410px;
  padding: 64px 0 38px 0;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 240px;
}
.hero .content-wrapper {
  max-width: 620px;
  gap: 22px;
}
.hero h1 {
  font-size: 2.7rem;
  color: #fff;
  text-shadow: 0 2px 8px #182142;
  font-weight: 800;
}
.hero p {
  color: #c5d9f8;
  font-size: 1.19rem;
  line-height: 1.7;
}
.hero .btn-primary {
  margin-top: 16px;
}
@media (max-width: 768px) {
  .hero {
    min-height: unset;
    padding: 40px 0 22px 0;
  }
  .hero .container {
    min-height: unset;
    padding: 0 8px;
  }
  .hero h1 { font-size: 1.44rem; }
  .hero p { font-size: 1rem; }
}

/* ==== BUTTONS, LINKS, CTAs ==== */
.btn-primary,
.btn-secondary {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 10px #173051;
  background: linear-gradient(96deg, #5EB6D5 50%, #365ebb 100%);
  box-shadow: 0 2px 16px 0 rgba(84,182,219,0.18);
  margin-top: 6px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  transition: background 0.20s cubic-bezier(.75,0,.26,1), box-shadow 0.26s, color 0.17s;
  cursor: pointer;
}
.btn-secondary {
  background: #20325B;
  color: #5EB6D5;
  border: 1px solid #5EB6D5;
  text-shadow: none;
  box-shadow: 0 2px 16px 0 rgba(32,50,91,0.08);
}
.btn-primary:hover, .btn-primary:focus {
  background: #5EB6D5;
  color: #182142;
  box-shadow: 0 0 32px 0 #5EB6D5;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #5EB6D5;
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 20px #5EB6D5;
}

/* ===== SECTION & SPACING PATTERN ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 24px 6px;
    margin-bottom: 36px;
  }
}

/* === CARD / FLEX CONTAINERS (MANDATORY) === */
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  background: #f6f8fb;
  color: #20325B;
  box-shadow: 0 2px 24px 0 rgba(94,182,213,0.14);
  margin-bottom: 20px;
  min-width: 180px;
  max-width: 520px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 44px 0 #5EB6D5;
  transform: translateY(-4px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===== FEATURE/CARD/GRID PATTERNS ===== */
.feature-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card, .member-card {
  flex: 1 1 210px;
  max-width: 300px;
  background: #182142;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(94,182,213,0.12);
  padding: 28px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  border: 1.5px solid rgba(94,182,213,0.09);
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
  z-index: 1;
}
.feature-card img, .member-card img {
  margin-bottom: 16px;
  width: 40px;
  height: 40px;
}
.feature-card h3, .member-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #5EB6D5;
  text-shadow: 0 0 8px #193057;
}
.feature-card:hover, .member-card:hover {
  box-shadow: 0 6px 52px 0 #5EB6D5;
  border: 1.5px solid #5EB6D5;
  transform: translateY(-6px) scale(1.03);
}
@media (max-width: 1024px) {
  .feature-grid {
    flex-direction: row;
    gap: 16px;
  }
  .feature-card, .member-card {
    max-width: 48vw;
  }
}
@media (max-width: 670px) {
  .feature-grid {
    flex-direction: column;
  }
  .feature-card, .member-card {
    max-width: 100%;
    width: 100%;
  }
}

/* ===== CASE STUDY CARD ===== */
.case-study-card {
  background: #20325B;
  color: #f6f8fb;
  border-radius: 16px;
  padding: 28px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 20px 0 rgba(94,182,213,0.10);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-study-card h3 {
  color: #5EB6D5;
  margin-bottom: 8px;
}
.industry-tag {
  background: #5EB6D5;
  color: #182142;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.96rem;
  margin-left: 5px;
}

/* ===== BLOG POST PREVIEW ===== */
.blog-list {
  background: #182142;
  border-radius: 20px;
}
.blog-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 360px;
  border-radius: 8px;
  background: #223F72;
  padding: 2px 4px;
  margin-bottom: 20px;
}
.blog-search input {
  flex: 1 0 0;
  border: none;
  background: transparent;
  color: #fafbfe;
  padding: 11px 8px 11px 10px;
  font-size: 1em;
}
.blog-search button {
  background: none;
  padding: 6px 10px 6px 0;
  border: none;
  outline: none;
  color: #5EB6D5;
  font-size: 1.4em;
  transition: color 0.15s;
}
.blog-search button:hover {
  color: #fff;
}

.blog-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.blog-category-tags span {
  border-radius: 10px;
  background: #262f49;
  color: #5EB6D5;
  padding: 5px 15px;
  font-size: 0.97em;
  font-family: "Montserrat";
  font-weight: 600;
  letter-spacing: 0.01em;
}
.post-preview {
  background: #22346a;
  border-radius: 12px;
  box-shadow: 0 1px 8px #13246919;
  padding: 20px 22px 15px 22px;
  margin-bottom: 20px;
}
.post-preview h2 a {
  color: #5EB6D5;
  font-size: 1.25em;
  text-shadow: 0 0 4px #173051;
}
.post-preview p {
  color: #c5d9f8;
  margin-top: 6px;
  line-height: 1.6;
}

/* ======= FOOTER ======= */
footer {
  background: #182142;
  border-top: 3px solid #5EB6D5;
  padding: 45px 0 25px 0;
  margin-top: 60px;
  font-size: 15px;
  color: #BAC9D8;
  position: relative;
  z-index: 12;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 110px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #5EB6D5;
  font-size: 1.07rem;
  font-family: "Montserrat";
  font-weight: 700;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-contact img {
  width: 38px;
  margin-bottom: 9px;
}
.footer-contact p {
  margin-bottom: 2px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ===== CONTACT CHANNELS & MAP ===== */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 0 5px 0;
}
.contact-channels p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  color: #5EB6D5;
}
.contact-channels img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.interactive-map {
  background: #22346a;
  color: #5EB6D5;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 10px;
}

/* ====== SPECIAL SECTIONS ====== */
.client-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 18px;
  filter: grayscale(70%);
}
.client-logos img {
  width: 80px;
  opacity: 0.72;
  transition: filter 0.17s, opacity 0.17s;
}
.client-logos img:hover {
  filter: grayscale(0) drop-shadow(0 2px 12px #5EB6D5);
  opacity: 1;
}

.milestone-timeline, .key-facts, .benefits-list, .process-steps {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 10px;
}
.milestone-timeline li {
  position: relative;
  padding-left: 23px;
}
.milestone-timeline li:before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: #5EB6D5;
  border-radius: 50%;
  box-shadow: 0 0 10px #5EB6D5;
  z-index: 1;
}
.company-culture ul {
  margin-left: 0;
}

/* ====== THANK-YOU CTA ====== */
.thankyou-cta, .thank-you {
  text-align: center;
}
.thank-you ul {
  margin: 16px 0;
  padding: 0 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #fff;
}

/* ====== LEGAL TEXT SECTIONS ====== */
.legal-text {
  background: #182142;
  border-radius: 18px;
  color: #DFEFED;
}
.legal-text h1, .legal-text h2 {
  color: #5EB6D5;
}

/* ===== CTA GENERIC ===== */
.cta {
  background: linear-gradient(95deg,#5EB6D5 20%, #182142 95%);
  border-radius: 18px;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
}
.cta .btn-primary {
  margin: 0 auto;
  display: inline-block;
  margin-top: 18px;
}

/* ===== ANIMATIONS ===== */
.btn-primary, .btn-secondary, .feature-card, .testimonial-card, .member-card, .case-study-card, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: all 0.2s cubic-bezier(0.75,0,.26,1);
}

/* ===== RESPONSIVE FLEX DIRECTION ===== */
@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .content-wrapper, .feature-grid, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #182142;
  color: #f6f8fb;
  box-shadow: 0 -2px 32px #20325B42;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  padding: 18px 10px 18px 10px;
  z-index: 8000;
  font-size: 1.01em;
  opacity: 0.97;
  animation: cookie-banner-in 0.5s ease;
}
@keyframes cookie-banner-in {
  from { transform: translateY(120px); opacity: 0.2; }
  to { transform: translateY(0); opacity: 0.97; }
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: #f6f8fb;
  font-size: 1em;
  font-family: "Roboto";
}
.cookie-consent-banner .cookie-btn, 
.cookie-consent-banner .cookie-settings-btn {
  border: none;
  border-radius: 24px;
  padding: 9px 20px;
  font-family: "Montserrat";
  font-size: 1em;
  font-weight: 700;
  background: #5EB6D5;
  color: #182142;
  margin-right: 9px;
  margin-left: 0;
  box-shadow: 0 2px 9px #5EB6D5.
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
}
.cookie-consent-banner .cookie-btn.reject {
  background: transparent;
  border: 1px solid #5EB6D5;
  color: #5EB6D5;
}
.cookie-consent-banner .cookie-btn.accept:hover, .cookie-consent-banner .cookie-btn.accept:focus {
  background: #22346a;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.reject:hover {
  background: #22346a;
  color: #fff;
  border-color: #fff;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: #fff;
  color: #5EB6D5;
}
@media (max-width: 900px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 16px 12px 16px 12px;
    font-size: 0.96em;
  }
  .cookie-consent-banner .cookie-btn, 
  .cookie-consent-banner .cookie-settings-btn {
    margin: 0 4px 4px 0;
    width: 100%;
    padding: 10px 6px;
  }
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0 0 0 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,32,61,0.89);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: cookie-modal-in 0.3s cubic-bezier(0.85,0,0.2,1);
}
@keyframes cookie-modal-in {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #f6f8fb;
  color: #20325B;
  border-radius: 20px;
  max-width: 440px;
  width: 96vw;
  box-shadow: 0 2px 70px #5EB6D5aa;
  padding: 32px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 9100;
}
.cookie-modal h2 {
  color: #20325B;
  font-size: 1.34rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}
.cookie-modal .category-label {
  font-size: 1.05em;
  color: #20325B;
  font-family: "Montserrat";
  letter-spacing: 0.01em;
}
.cookie-modal .toggle-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}
.toggle-switch input[type="checkbox"] {
  appearance: none;
  width: 34px;
  height: 18px;
  border-radius: 12px;
  background: #cdd7e7;
  cursor: pointer;
  position: relative;
  margin: 0 6px 0 0;
  transition: all 0.15s cubic-bezier(.65,0,.23,1);
}
.toggle-switch input[type="checkbox"]:checked {
  background: #5EB6D5;
}
.toggle-switch input[type="checkbox"]:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
}
.toggle-switch input[type="checkbox"]:checked:before {
  left: 18px;
}
.cookie-modal .cookie-btn {
  margin: 12px 4px 0 0;
  padding: 10px 30px;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 11px;
  right: 17px;
  font-size: 1.8rem;
  color: #20325B;
  background: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  z-index: 9200;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal .close-btn:hover {
  color: #fff;
  background: #5EB6D5;
}
.cookie-modal .always-on {
  font-size: 0.98em;
  color: #fff;
  background: #20325B;
  padding: 2px 10px;
  border-radius: 10px;
  margin-left: 6px;
}
@media (max-width: 500px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 20px 7vw 18px 7vw;
    font-size: 0.99em;
  }
}

/* ===== MICROINTERACTIONS ===== */
.card, .feature-card, .member-card,
.testimonial-card, .case-study-card {
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .feature-card:hover, .member-card:hover, 
.case-study-card:hover {
  box-shadow: 0 8px 48px #5EB6D5;
  transform: scale(1.015);
}

/* ======= MISC & UTILITIES ======= */
::-webkit-scrollbar {
  width: 9px;
  background: #20325B;
}
::-webkit-scrollbar-thumb {
  background: #5EB6D5;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6acced;
}

@media (max-width: 400px) {
  html, body {
    font-size: 15px;
  }
}
