/* ==== 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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F8FB;
  color: #20334C;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #15B1E6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #20334C;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.4em;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #20334C;
  margin-bottom: 18px;
  line-height: 1.13;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 32px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, .text-section {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #243857;
}
strong, b {
  font-weight: 800;
  color: #20334C;
}
.text-section {
  margin-bottom: 28px;
}
.read-more {
  font-weight: 700;
  color: #15B1E6;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}
.read-more:hover {
  color: #20334C;
}

/* ==== CONTAINERS, LAYOUTS, SECTIONS ==== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 18px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.hero-section {
  background: #15B1E6;
  color: #fff;
  padding: 60px 0 60px 0;
  border-radius: 0 0 56px 56px;
  position: relative;
  box-shadow: 0 8px 50px rgba(21,177,230, 0.08);
}
.hero-section .content-wrapper { align-items: flex-start; justify-content: center; }
.hero-section h1, .hero-section h2, .hero-section h3 { color: #fff; }
.hero-section p { color: #fff; font-size: 1.25rem; margin-bottom: 30px; }

.features-section {
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(32,51,76,0.07);
}

.about-section, .contact-section, .legal-section, .thankyou-section, .values-section, .case-studies-section, .services-section, .blog-list-section, .blog-preview-section {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 12px rgba(32,51,76,0.04);
}

.cta-section {
  background: #20334C;
  padding: 48px 20px;
  border-radius: 32px;
  color: #fff;
  box-shadow: 0 2px 12px rgba(21,177,230,0.13);
  text-align: center;
}
.cta-section h2,
.cta-section p { color: #fff; }
.cta-section .cta-btn.primary { background: #15B1E6; }

.thankyou-section .text-section {
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .section, section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
  .hero-section {
    padding: 40px 0 32px 0;
    border-radius: 0 0 32px 32px;
  }
  .features-section, .about-section, .legal-section, .thankyou-section,
  .case-studies-section, .values-section, .services-section, .blog-list-section, .blog-preview-section {
    border-radius: 20px;
  }
  .cta-section {
    border-radius: 20px;
    padding: 32px 8px;
  }
}

/* ==== FLEXBOX UTILITY PATTERNS ==== */
.features-grid,
.services-list,
.case-study-list,
.blog-preview-grid,
.post-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .features-grid,
  .services-list,
  .case-study-list,
  .blog-preview-grid,
  .post-list-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .features-grid,
  .services-list,
  .case-study-list,
  .blog-preview-grid,
  .post-list-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  flex: 1 1 320px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonials-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .testimonials-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(32,51,76,0.10);
  padding: 24px 32px 20px 32px;
  color: #243857;
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 420px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(32,51,76,0.15);
  transform: translateY(-3px) scale(1.03);
}
.testimonial-card strong {
  color: #15B1E6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .testimonial-card { padding: 18px 18px 18px 18px; max-width: 100%; }
}

.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F8FB;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(21, 177, 230, 0.03);
  padding: 26px;
  min-width: 220px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature:hover, .feature-item:hover {
  box-shadow: 0 4px 18px rgba(21, 177, 230, 0.10);
  transform: translateY(-2px) scale(1.02);
}
.feature img { height: 40px; width: 40px; }

.service-item {
  background: #F6F8FB;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(21, 177, 230, 0.03);
  padding: 20px 28px 20px 28px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 235px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.service-item:hover {
  box-shadow: 0 4px 18px rgba(21, 177, 230, 0.10);
  transform: translateY(-2px) scale(1.02);
}
.service-price {
  margin-top: 12px;
  font-weight: 800;
  color: #15B1E6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
}

.case-study-item {
  background: #F6F8FB;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(21, 177, 230, 0.045);
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-post-preview {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(32,51,76,0.08);
  padding: 24px 24px 20px 24px;
  margin-bottom: 18px;
  flex: 1 1 288px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.blog-post-preview:hover {
  box-shadow: 0 6px 22px rgba(21,177,230,0.11);
  transform: translateY(-3px) scale(1.025);
}
.blog-post-preview h3 {
  color: #20334C;
  margin-bottom: 7px;
}

.category-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 22px 0;
  flex-wrap: wrap;
}
.category-filter a {
  background: #F6F8FB;
  color: #20334C;
  border-radius: 8px;
  padding: 5px 16px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.15s, color 0.13s;
}
.category-filter a:hover {
  background: #15B1E6;
  color: #fff;
}

@media (max-width: 480px) {
  .features-grid, .services-list, .case-study-list, .blog-preview-grid, .post-list-grid {
    gap: 12px;
  }
  .feature, .feature-item, .service-item, .case-study-item, .blog-post-preview {
    min-width: 100%;
    padding: 16px !important;
  }
  .testimonial-card {
    padding: 12px 10px;
  }
}

/* ==== BUTTONS ==== */
.cta-btn, button, .category-filter a, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.025em;
  border: none;
  outline: none;
  border-radius: 32px;
  padding: 14px 38px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, transform 0.12s;
  box-shadow: 0 2px 12px rgba(21,177,230,0.11);
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 4px;
}
.cta-btn.primary { background: #15B1E6; color: #fff; }
.cta-btn.primary:hover,
.cta-btn.primary:focus { background: #20334C; color: #fff; transform: scale(1.04); box-shadow: 0 5px 24px rgba(21,177,230,0.17); }
.cta-btn.secondary { background: #fff; color: #15B1E6; border: 2.5px solid #15B1E6; box-shadow: none; }
.cta-btn.secondary:hover, .cta-btn.secondary:focus { background: #15B1E6; color:#fff; transform: scale(1.04); }
button:active { transform: scale(0.98); }

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #fff;
  border-bottom: 1.5px solid #F6F8FB;
  box-shadow: 0 2px 8px rgba(32,51,76,0.08);
  position: sticky; top:0; z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #243857;
  padding: 7px 11px;
  border-radius: 12px;
  transition: background 0.14s, color 0.13s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #15B1E6;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: #15B1E6;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  padding: 6px 18px 6px 18px;
  margin-left: 8px;
  z-index: 38;
  border: none;
  box-shadow: 0 2px 16px rgba(21,177,230,0.18);
  transition: background 0.14s, transform 0.14s;
}
.mobile-menu-toggle:active {
  background: #20334C;
  transform: scale(0.93);
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .cta-btn.primary {
    display: none;
  }
}

/* ==== MOBILE MENU OVERLAY ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #20334C;
  color: #fff;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.75,.15,.32,1.1);
  display: flex;
  flex-direction: column;
  padding-top: 18px;
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: 0 4px 80px rgba(32, 51, 76, 0.26);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 115;
  padding: 4px 12px;
  transition: background 0.12s, color 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #15B1E6;
  background: rgba(255,255,255,0.08);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 60px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 7px;
  transition: color 0.15s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #15B1E6;
  background: rgba(21,177,230,0.04);
}

@media (max-width: 767px) {
  .mobile-nav {
    padding-left: 16px;
    gap: 17px;
  }
}

/* ==== FOOTER ==== */
footer {
  background: #1c2941;
  color: #fff;
  padding: 36px 0 16px 0;
  font-size: 1rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  border-bottom: 1.5px solid #243857;
  padding-bottom: 16px;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.13s;
}
.footer-nav a:hover {
  color: #15B1E6;
}
.footer-contact p,
.footer-contact a {
  color: #CDD8E6;
  font-size: 0.98rem;
  text-decoration: none;
  margin-bottom: 6px;
}
.footer-contact a:hover {
  color: #15B1E6 !important;
}
.footer-copyright {
  text-align: center;
  color: #9AB2CF;
  font-size: 0.93rem;
  margin-top: 7px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #20334C;
  color: #fff;
  z-index: 9999;
  padding: 28px 20px 24px 20px;
  display: flex;
  justify-content: center;
  width: 100vw;
  box-shadow: 0 -3px 28px rgba(32,51,76,0.22);
  animation: slideUp 0.8s cubic-bezier(.75,.15,.32,1.1);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 900px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-btn {
  padding: 11px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 17px;
  letter-spacing: 0.03em;
  border: none;
}
.cookie-btn.accept {
  background: #15B1E6;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #08a4d3;
}
.cookie-btn.reject {
  background: #fff;
  color: #243857;
  border: 2px solid #15B1E6;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #15B1E6;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff;
  color: #20334C;
}
@media (max-width: 600px) {
  .cookie-consent-banner { padding:16px 6px 14px 6px; }
  .cookie-banner-content { max-width:94vw; gap:9px; font-size: 0.98rem; }
  .cookie-banner-buttons { flex-direction: column; gap: 8px; }
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0;
  width: 100vw; height: 100vh;
  background: rgba(20, 38, 60, 0.88);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s cubic-bezier(.65,.25,.35,1.15);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 30px;
  padding: 34px 29px 26px 29px;
  max-width: 450px;
  width: 92vw;
  box-shadow: 0 8px 40px rgba(21, 177, 230, 0.17);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: scaleIn 0.3s cubic-bezier(.65,.25,.35,1.15);
}
@keyframes scaleIn {
  from { transform: scale(0.91); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #20334C;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F6F8FB;
}
.cookie-toggle {
  width: 42px; height: 22px;
  background: #CDD8E6;
  border-radius: 20px;
  position: relative;
  margin-left: 6px;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle input { display: none; }
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  height: 18px; width: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s, box-shadow 0.16s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.cookie-toggle input:checked + .slider {
  background: #15B1E6;
  left: 22px;
}
.cookie-category .desc {
  color:#243857;
  font-size: 0.97rem;
}
.cookie-categories .cookie-category:last-child { border-bottom: none; }
.cookie-modal-close {
  position: absolute; 
  top: 16px; right: 18px; 
  background: none; 
  border: none; 
  font-size: 1.4rem; 
  color: #20334C; 
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover { color: #15B1E6; }

/* ==== FORM ELEMENTS ==== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px;
  border-radius: 9px;
  border: 2px solid #CDD8E6;
  margin-bottom: 10px;
  background: #FAFBFC;
  color: #20334C;
  outline: none;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 2.5px solid #15B1E6;
}
::placeholder {
  color:#8CABD0;
  opacity:1;
}

/* ==== MISC UTILITY ==== */
.mt-2 { margin-top: 20px !important; }
.mt-4 { margin-top: 40px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 32px !important; }
.mb-4 { margin-bottom: 40px !important; }

/* SPACING for content cards & sections */
.features-grid > *:not(:last-child),
.services-list > *:not(:last-child),
.case-study-list > *:not(:last-child),
.blog-preview-grid > *:not(:last-child),
.blog-post-preview:not(:last-child),
.card-container > *:not(:last-child),
.content-grid > *:not(:last-child),
.text-section:not(:last-child),
.testimonials-grid > *:not(:last-child) {
  margin-right: 0;
  margin-bottom: 20px;
}

/* ==== VISUAL ELEMENTS (BOLD & GEOMETRIC) ==== */
section {
  position: relative;
  margin-bottom: 60px;
}
section::before {
  content: '';
  display: block;
  position: absolute;
  top: -21px; left: 8%;
  width: 77px; height: 7px;
  background: #15B1E6;
  border-radius: 8px;
  opacity: 0.1;
  z-index: 0;
}
section:first-of-type::before { display: none; }
@media (max-width: 700px) {
  section::before {
    width: 47px; top: -12px;
  }
}

/* ==== CUSTOM SCROLLBAR ==== */
::-webkit-scrollbar { width: 8px; background: #F6F8FB; }
::-webkit-scrollbar-thumb { background: #CDD8E6; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #15B1E6; }

/* ==== FOCUS STATES FOR ACCESSIBILITY ==== */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .category-filter a:focus {
  outline: 2.5px solid #15B1E6;
  outline-offset: 2px;
}

/* ==== Z-INDEX STACKING ==== */
header { z-index: 32; }
.mobile-menu { z-index: 100; }
.cookie-consent-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 10000; }

/* ==== GEOMETRIC DECORATIVE SHAPES ==== */
.hero-section::after {
  content: '';
  display: block;
  position: absolute;
  right: -45px; bottom: -38px;
  width: 110px; height: 110px;
  background: rgba(255,255,255,0.075);
  border-radius: 30% 70% 38% 62% / 41% 68% 32% 59%;
  z-index: 0;
}
@media (max-width: 700px) {
  .hero-section::after { display: none; }
}

/* ==== ANIMATIONS ==== */
.cta-btn, .cookie-btn, .blog-post-preview, .service-item, .feature, .testimonial-card {
  transition: box-shadow 0.18s, background 0.15s, color 0.12s, transform 0.13s;
}
section, .card, .testimonials-section, .features-section {
  transition: box-shadow 0.23s, background 0.16s, border 0.16s;
}

/* ==== PRINT STYLES ==== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display:none !important; }
  .container { max-width: 100% !important;padding:0; }
}

/* ==== END ==== */
