/* 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, menu, ol, ul, li, fieldset, form, label, legend, caption, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: linear-gradient(120deg,#A6C8D9 0%,#ECECEC 100%);
  color: #1A3144;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.04em;
}

/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

/* HEADINGS & TYPOGRAPHY */
h1, .hero-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: #28597A;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #28597A;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #28597A;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
}
p, ul, ol, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #22324C;
  margin-bottom: 12px;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 20px;
}
strong, b {
  font-weight: 700;
  color: #28597A;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #A6C8D9;
  background: #f9fcfd;
  padding: 18px 22px;
  margin: 0 0 10px 0;
  color: #1A3144;
}

.tagline {
  font-size: 1.15rem;
  color: #28597A;
  font-weight: 500;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

header {
  background: #fff;
  padding: 0;
  box-shadow: 0 6px 18px 0 rgba(40,89,122,0.06);
  border-bottom: 2px solid #ECECEC;
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
header img {
  height: 48px;
  margin-right: 30px;
  display: block;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: #28597A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.03rem;
  padding: 8px 0;
  transition: color 0.2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2.5px;
  width: 0;
  background: #A6C8D9;
  transition: width 0.25s;
  border-radius: 2px;
  margin-top: 3px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #1A3144;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #28597A 0%, #A6C8D9 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  padding: 12px 30px;
  border-radius: 28px;
  margin-left: 20px;
  cursor: pointer;
  box-shadow: 0 5px 15px 0 rgba(40,89,122,0.14);
  transition: background 0.25s, box-shadow 0.25s, transform 0.12s;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #226288 0%, #88aacb 100%);
  box-shadow: 0 8px 20px 0 rgba(40,89,122,0.14);
  transform: translateY(-2px) scale(1.03);
}

/* BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #28597A;
  cursor: pointer;
  margin-left: 18px;
  border-radius: 8px;
  padding: 2px 10px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ECECEC;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40, 89, 122, 0.95);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  margin: 24px 28px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A6C8D9;
}
.mobile-nav {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
  transition: color 0.18s;
  letter-spacing: 0.01em;
  width: 100%;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A6C8D9;
}

/* MAIN & SECTIONS */
main {
  flex: 1;
  min-height: 60vh;
  width: 100%;
  background: transparent;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero-section {
  background: linear-gradient(120deg, #A6C8D9 70%, #ECECEC 120%);
  margin-bottom: 60px;
  padding: 70px 20px 70px 20px;
  box-shadow: 0 6px 28px 0 rgba(166,200,217,0.17);
  position: relative;
}
.hero-section .container {
  flex-direction: column;
  align-items: center;
}
.hero-section .content-wrapper {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero-section h1 {
  font-size: 2.7rem;
  color: #28597A;
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 22px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 330px;
  margin-bottom: 0;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 15px 0 rgba(40,89,122,0.08);
  padding: 28px 24px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.feature-item img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 9px 32px 0 rgba(40,89,122,0.13);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}

.testimonials {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 26px;
  background: #f3f9fc;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(40,89,122,0.05);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 430px;
  flex: 1 1 280px;
  color: #1A3144;
  font-size: 1.05rem;
  transition: box-shadow 0.17s, transform 0.13s;
}
.testimonial-card blockquote {
  font-size: 1.07rem;
  color: #164266;
  border-left: 4px solid #A6C8D9;
  background: transparent;
}
.testimonial-details {
  color: #28597A;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 32px 0 rgba(40,89,122,0.13);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}

/* FLEX & CARD LAYOUTS (MANDATORY SPACINGS) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(40,89,122,0.07);
  padding: 22px 20px;
  overflow: hidden;
  transition: box-shadow 0.21s, transform 0.13s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(40,89,122,0.12);
  transform: translateY(-3px) scale(1.01);
}

.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;
}
.text-section {
  margin-bottom: 20px;
}

/* TABLES & LIST STYLE */
table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(40,89,122,0.07);
  border-collapse: collapse;
  overflow: hidden;
  margin-bottom: 24px;
}
th, td {
  padding: 16px 12px;
  font-size: 1rem;
  text-align: left;
}
th {
  background: #A6C8D9;
  color: #1A3144;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
}
td {
  background: #F9FBFC;
}

/* FOOTER */
footer {
  width: 100%;
  background: #28597A;
  padding: 40px 0 32px 0;
  color: #fff;
}
footer .container {
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #A6C8D9;
  text-decoration: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  padding: 5px 3px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #ECECEC;
}
.footer-contact {
  font-size: 0.98rem;
  color: #b8d0e2;
  text-align: center;
  margin-bottom: 12px;
}
.footer-copy {
  text-align: center;
  font-size: 0.92rem;
  color: #ECECEC;
  margin-top: 10px;
}

/* FORM FIELDS (only if present on contact*) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 15px;
  border: 1.5px solid #A6C8D9;
  border-radius: 8px;
  background: #f6fafd;
  color: #1A3144;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #28597A;
  outline: none;
  box-shadow: 0 0 0 2px #A6C8D9;
}
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #28597A;
  color: #fff;
  padding: 10px 28px;
  border-radius: 24px;
  border: none;
  font-size: 1rem;
  transition: background 0.21s, box-shadow 0.18s, transform 0.1s;
  cursor: pointer;
  margin-bottom: 8px;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #1A3144;
  box-shadow: 0 4px 20px 0 rgba(40,89,122,0.16);
  transform: scale(1.03);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 -2px 16px 0 rgba(40,89,122,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px 18px 12px;
  gap: 14px;
  width: 100vw;
  transition: transform 0.45s, opacity 0.4s;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-text {
  color: #28597A;
  font-size: 1.02rem;
  text-align: center;
  max-width: 800px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 9px 24px;
  border: 1.5px solid #A6C8D9;
  background: #A6C8D9;
  color: #28597A;
  margin-bottom: 0;
  transition: background 0.23s, color 0.18s, border 0.18s, transform 0.09s;
  cursor: pointer;
}
.cookie-btn.primary {
  background: #28597A;
  color: #fff;
  border: 1.5px solid #28597A;
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: #1A3144;
  border: 1.5px solid #1A3144;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.secondary {
  background: #ECECEC;
  color: #28597A;
  border: 1.5px solid #A6C8D9;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #A6C8D9;
  color: #1A3144;
  border: 1.5px solid #28597A;
  transform: scale(1.04);
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 110;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,89,122,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 24px 0 rgba(40,89,122,0.18);
  padding: 36px 26px;
  max-width: 420px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cookie-modal h3 {
  color: #28597A;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-category label {
  color: #1A3144;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #28597A;
  cursor: pointer;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #A6C8D9;
}
.cookie-modal .cookie-buttons {
  margin-top: 20px;
}

/* MEDIA QUERIES - RESPONSIVE FLEX & LAYOUTS */
@media (max-width: 1200px) {
  .hero-section .content-wrapper { max-width: 96vw; }
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .feature-grid {
    gap:18px;
  }
  .testimonials {
    gap: 12px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    margin-left: 0;
  }
  header .container {
    gap: 0;
  }
}
@media (max-width: 768px) {
  section, .hero-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonials {
    flex-direction: column;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .footer-nav {
    gap: 13px;
    font-size: 0.97rem;
  }
  header img {
    height: 40px;
  }
  h1, .hero-section h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 15px;
  }
  section, .hero-section {
    padding: 20px 4px 24px 4px;
  }
  .cta-btn, .cookie-btn {
    padding-left: 13px;
    padding-right: 13px;
  }
  header .container {
    min-height: 64px;
  }
}

/* TRANSITIONS, ANIMATIONS, MICRO-INTERACTIONS */
a, .cta-btn, button, .btn, .cookie-btn {
  transition: color 0.19s, background 0.19s, box-shadow 0.17s, border 0.15s, transform 0.1s;
}

/* SCROLLBAR STYLING */
body::-webkit-scrollbar {
  width: 8px;
  background: #ECECEC;
}
body::-webkit-scrollbar-thumb {
  background: #A6C8D9;
  border-radius: 4px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: #A6C8D9 #ECECEC;
}

/* Z-INDEX MANAGEMENT */
.mobile-menu,
.cookie-consent-banner,
.cookie-modal-backdrop {
  z-index: 1000;
}

/* UTILITY CLASSES */
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.items-center { align-items: center !important; }

/* Hide banner/modal visually (JS should handle visibility class/toggling) */
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}

/* Focus outlines for accessibility */
a:focus,
button:focus,
.cookie-btn:focus,
.cta-btn:focus {
  outline: 2px solid #A6C8D9;
  outline-offset: 2px;
}
