/* ====================
   RESET & BASE STYLES
   ==================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #203452;
  background: #F7F7F7;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #f7f7f7 0%, #e2ecf7 100%);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #60AECF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #006d9f;
  outline: none;
}

strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
  font-size: 1rem;
}
th {
  background: #e9f3fa;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #203452;
}

/* =========================
   VARIABLES (fallbacks)
   ========================= */
:root {
  --color-primary: #203452;
  --color-secondary: #60aecf;
  --color-accent: #f7f7f7;
  --color-bg-dark: #1c2739;
  --color-gradient1: #60aecf;
  --color-gradient2: #edcef9;
  --color-cta-shadow: rgba(96, 174, 207, 0.12);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --border-radius: 18px;
  --shadow-base: 0 2px 16px rgba(32,52,82,0.06), 0 1.5px 8px rgba(96,174,207,0.06);
}

/* =========================
   CONTAINER & LAYOUT
   ========================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-base);
}
/* Remove white for hero and key areas */
.hero, .features, .testimonials, .services, .contact-newsletter {
  background: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
}

/* ========= FLEXBOX PATTERNS ========= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-base);
  padding: 24px;
  transition: box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  min-width: 250px;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(32,52,82,0.13);
}
.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;
  background: #f6fafd;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(32,52,82,0.04);
  margin-bottom: 20px;
  max-width: 510px;
  transition: box-shadow 0.2s, background 0.2s;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #203452;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.22;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}
.text-section {
  margin-bottom: 18px;
}
.text-section:last-child {
  margin-bottom: 0;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #253d5b;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
header {
  width: 100%;
  background: linear-gradient(90deg, #eaf4fc 0%, #f7f7f9 100%);
  box-shadow: 0 1.5px 8px rgba(32,52,82,0.06);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
header a img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: #203452;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #dcf1fb;
  color: #60aecf;
}
.cta-primary {
  background: linear-gradient(90deg, #60aecf 0%, #203452 100%);
  color: #fff !important;
  box-shadow: 0 2px 12px var(--color-cta-shadow);
  font-weight: 600;
  border-radius: 999px;
  padding: 11px 32px;
  margin-left: 18px;
  transition: filter 0.18s, box-shadow 0.17s, color 0.18s;
  border: 0;
  outline: 0;
}
.cta-primary:hover, .cta-primary:focus {
  filter: brightness(0.93);
  box-shadow: 0 6px 32px rgba(96,174,207, 0.18);
  color: #fff;
}
.cta-secondary {
  background: #fff;
  color: #60aecf !important;
  border: 2px solid #60aecf;
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 600;
  font-family: var(--font-display);
  transition: background 0.18s, color 0.17s, border 0.17s;
  margin-top: 12px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #60aecf;
  color: #fff !important;
  border-color: #60aecf;
}

/* Hide burger menu on desktop */
.mobile-menu-toggle {
  display: none;
}

/* ============
   HERO SECTION
   ============ */
.hero {
  background: linear-gradient(120deg, #eaf4fc 0%, #60aecf 100%);
  min-height: 38vh;
  display: flex;
  align-items: center;
  padding: 48px 0 38px;
  margin-bottom: 60px;
}
.hero h1 {
  color: #203452;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.18rem;
  color: #29446a;
  margin-bottom: 26px;
  max-width: 640px;
}
.hero .cta-primary {
  font-size: 1.13rem;
}

/* ===========
   FEATURES
   =========== */
.features {
  margin-bottom: 60px;
  padding: 38px 0 30px;
  background: linear-gradient(90deg, #eae9fc 0%, #edcef9 100%);
  border-radius: var(--border-radius);
}
.features h2 {
  margin-bottom: 14px;
}
.features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}
.features li {
  font-size: 1.09rem;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(96,174,207, 0.08);
}
.features li img {
  height: 38px;
  width: 38px;
  border-radius: 10px;
  background: #f6fafd;
  padding: 6px;
}

/* ===========
   SERVICES
   =========== */
.services {
  background: linear-gradient(93deg, #f7fafb 0%, #c7e3f5 100%);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 38px 0 32px;
}
.services h2 {
  margin-bottom: 18px;
}
.services ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}
.services li {
  background: #fff;
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: 0 1.5px 6px rgba(96,174,207, 0.07);
  font-size: 1.06rem;
}
.services em {
  color: #60aecf;
  font-style: normal;
  font-weight: 700;
}

/* =============
   TESTIMONIALS
   ============= */
.testimonials {
  padding: 38px 0 30px;
  margin-bottom: 60px;
  background: linear-gradient(270deg, #eaf4fc 60%, #f7f7f9 100%);
  border-radius: var(--border-radius);
}
.testimonials h2 {
  margin-bottom: 22px;
}
.testimonial-card {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  background: #fff;
  color: #253d5b;
  box-shadow: 0 1.5px 6px rgba(32,52,82,0.05);
  border-radius: 16px;
  padding: 20px 24px;
  transition: box-shadow 0.16s, background 0.16s;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #203452;
}
.testimonial-card span {
  color: #60aecf;
  font-size: 1rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(32,52,82,0.13);
}

/* =============
   FOOTER
   ============= */
footer {
  background: #203452;
  color: #fff;
  padding: 48px 0 36px;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  width: 100%;
}
.footer-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-columns > div:not(:first-child) {
  margin-top: 0;
}
.footer-columns img {
  height: 56px;
  margin-bottom: 10px;
}
footer nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
footer a {
  color: #fff;
  opacity: 0.88;
  transition: color 0.17s, opacity 0.17s;
  font-weight: 500;
}
footer a:hover, footer a:focus {
  color: #60aecf;
  opacity: 1;
}
footer strong {
  color: #fff;
}

/* ========================
   CONTACT/NEWSLETTER SECTION
   ======================== */
.contact-newsletter {
  background: linear-gradient(105deg, #eaf4fc 0%, #f7f7f9 100%);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 38px 0 32px;
}
.contact-newsletter .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.contact-newsletter .text-section {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(32,52,82,0.06);
  padding: 22px 28px 17px 22px;
  min-width: 260px;
}

/* ============
   TABLES
   ============ */
table {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(96,174,207,0.06);
}
th, td {
  border-bottom: 1px solid #eaeaea;
}
tr:last-child td {
  border-bottom: none;
}

/* ===============
   MOBILE NAVIGATION
   =============== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 2.1rem;
  color: #203452;
  cursor: pointer;
  margin-left: 6px;
  padding: 5px 12px 5px 9px;
  border-radius: 10px;
  z-index: 1202;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus {
  background: #eaf4fc;
  color: #60aecf;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,52,82, 0.86);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.29,0.45,0.21,1.03);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s;
}
.mobile-menu-close {
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.1rem;
  margin: 26px 26px 0 0;
  cursor: pointer;
  padding: 6px 13px;
  border-radius: 8px;
  z-index: 1406;
}
.mobile-menu-close:focus {
  background: #203452;
  outline: none;
}
.mobile-nav {
  width: 90vw;
  max-width: 380px;
  background: #fff;
  border-radius: 0 0 0 32px;
  box-shadow: -10px 0 30px rgba(32,52,82,.13);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px 30px 36px 24px;
  margin-top: 0;
  margin-right: 0;
  height: 100vh;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: #203452;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 15px 13px;
  margin: 0 -14px;
  border-radius: 8px;
  transition: background 0.14s, color 0.13s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #eaf4fc;
  color: #60aecf;
}
.mobile-nav a.cta-primary {
  background: linear-gradient(90deg,#60aecf,#203452);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  margin: 14px 0 0 0;
  padding: 16px 0;
  text-align: center;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1500;
  background: #f8fcff;
  border-top: 2px solid #eaeaea;
  box-shadow: 0 -1.5px 12px rgba(32,52,82,0.09);
  padding: 24px 16px 12px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.27,0.397,0.47,0.99);
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-banner-text {
  max-width: 560px;
  color: #203452;
  font-size: 1rem;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.17s, color 0.16s;
}
.cookie-banner .accept-cookies {
  background: linear-gradient(90deg,#60aecf,#203452);
  color: #fff;
  margin-right: 9px;
}
.cookie-banner .accept-cookies:hover {
  filter: brightness(0.96);
}
.cookie-banner .reject-cookies {
  background: #fff;
  color: #203452;
  border: 2px solid #203452;
}
.cookie-banner .reject-cookies:hover {
  background: #203452;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #60aecf;
  border: 2px solid #60aecf;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #60aecf;
  color: #fff;
}

/* ============
   COOKIE MODAL
   ============ */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,52,82, 0.70);
  z-index: 1550;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  padding: 36px 28px 26px;
  border-radius: 20px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 7px 44px rgba(32,52,82,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #203452;
  position: relative;
  animation: slideModalIn 0.41s cubic-bezier(.23,.79,.43,1) 1;
}
@keyframes slideModalIn {
  0% { transform: translateY(-38px) scale(0.98); opacity:0; }
  80% { transform: translateY(8px) scale(1.01); opacity:1; }
  100% { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category-label {
  font-weight: 600;
  color: #203452;
}
.cookie-category-toggle {
  margin-left: auto;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal-actions button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal-actions .save-cookies {
  background: linear-gradient(90deg,#60aecf,#203452);
  color: #fff;
}
.cookie-modal-actions .cancel-cookies {
  background: #fff;
  color: #60aecf;
  border: 2px solid #60aecf;
}
.cookie-modal-actions .cancel-cookies:hover {
  background: #60aecf;
  color: #fff;
}
.cookie-modal .close-modal-btn {
  background: none;
  border: none;
  color: #203452;
  font-size: 1.7rem;
  position: absolute;
  top: 16px;
  right: 22px;
  cursor: pointer;
  padding: 0;
}

/* ===============
   RESPONSIVE RULES
   =============== */
@media (max-width: 1100px) {
  .footer-columns {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 28px;
    text-align: left;
  }
  .contact-newsletter .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .header .container,
  .footer .container,
  .container {
    padding: 0 10px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-columns {
    flex-direction: column;
    gap: 22px;
    text-align: left;
    align-items: flex-start;
  }
  .hero {
    min-height: unset;
    padding: 38px 0 22px 0;
  }
  .features, .services, .contact-newsletter, .testimonials, .section {
    padding: 24px 0 20px 0;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .contact-newsletter .content-wrapper, .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .card-grid, .content-grid, .features ul {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .testimonials .testimonial-card {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 570px) {
  .hero h1, h1 {
    font-size: 1.72rem;
  }
  h2 {
    font-size: 1.26rem;
  }
  .cta-primary, .cta-secondary {
    font-size: 1rem;
    padding: 9px 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 17px 8px 10px 9px;
  }
  .cookie-banner .cookie-banner-text {
    font-size: 0.98rem;
  }
  .contact-newsletter .text-section {
    padding: 14px 13px;
  }
}

/* ========
   PRINT
   ======== */
@media print {
  * {
    background: #fff !important;
    color: #203452 !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }
  header, footer, .hero, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}

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