/* =====================
   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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  outline: none;
  background: none;
  padding: 0;
  margin: 0;
}

/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --color-primary: #205072;
  --color-secondary: #329D9C;
  --color-accent: #F7D08A;
  --color-bg: #f8fafb;
  --color-bg-gradient-start: #eaf6f7;
  --color-bg-gradient-end: #d0f3f3;
  --color-heading: #205072;
  --color-body: #27496d;
  --color-btn-hover: #22667e;
  --color-btn-secondary: #329D9C;
  --color-btn-secondary-hover: #226a6a;
  --color-footer-bg: #205072;
  --color-footer-text: #f8fafb;
  --color-card-bg: #fff;
  --color-card-shadow: rgba(32, 80, 114, 0.13);
  --color-border: #E3ECEC;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-card: 0 8px 32px var(--color-card-shadow);
  --transition: all 0.25s cubic-bezier(0.42,0,0.58,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Lato', Arial, Helvetica, sans-serif;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

/* =====================
   BODY & CONTAINERS
   ===================== */
body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
  color: var(--color-body);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =====================
   TYPOGRAPHY & HEADINGS
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-body);
}
.subheadline {
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 16px;
}

ul, ol {
  padding-left: 22px;
}
ul li, ol li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 8px;
}
ul li img {
  margin-right: 8px;
  vertical-align: middle;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* =====================
   SPACING & SECTIONS
   ===================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}
.card:hover {
  box-shadow: 0 8px 40px rgba(32,80,114,0.21);
  transform: translateY(-4px) scale(1.025);
}
.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;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 4px 18px rgba(50,157,156,0.11);
  margin-bottom: 20px;
  color: #1e2837;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 20px 20px 20px;
  flex: 1 1 220px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.23s ease, transform 0.23s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(32,80,114,0.20);
  transform: translateY(-3px) scale(1.015);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

/* =====================
   BUTTONS
   ===================== */
.btn,
.btn-primary {
  display: inline-flex;
  min-width: 48px;
  min-height: 46px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(50,157,156,0.07);
  cursor: pointer;
  border: none;
  transition: background 0.23s, color 0.16s, box-shadow 0.25s;
  margin-top: 10px;
}
.btn-primary {
  background: linear-gradient(90deg,var(--color-primary) 0%,var(--color-secondary) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(32,80,114,0.16);
}
.btn:hover, .btn:focus, .btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--color-btn-hover) 0%, var(--color-btn-secondary) 100%);
  color: #fff;
  box-shadow: 0 6px 26px rgba(50,157,156,0.18);
  transform: translateY(-2px) scale(1.035);
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: linear-gradient(90deg, var(--color-bg-gradient-start) 80%, #e8fbff 100%);
  padding: 0;
  box-shadow: 0 2px 16px rgba(32,80,114,0.07);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 0;
}
header img {
  height: 50px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-size: 1.07rem;
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
  padding: 4px 6px;
  border-radius: 8px;
  transition: color 0.18s, background 0.17s;
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
  background: rgba(50,157,156,0.08);
}

header .btn {
  margin-left: 16px;
}

/* MOBILE BURGER MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 1102;
  background: #fff;
  box-shadow: 0 2px 12px rgba(32,80,114,0.14);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(247,208,138,0.17);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #fafffb 60%, #e1f8fa 100%);
  box-shadow: 0 8px 32px rgba(32,80,114,0.14);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.42,0,0.58,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 0 200vw rgba(25,48,64,0.08);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: #fff;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1201;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 2px 14px rgba(32,80,114,0.11);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 64px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  padding: 14px 8px 14px 0;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.14s, color 0.16s;
  margin-right: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #000;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  margin-top: 60px;
  padding: 32px 0 24px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--color-footer-text);
  font-size: 1rem;
  font-family: var(--font-display);
  opacity: 0.86;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background 0.14s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-accent);
  color: #1e2837;
}
.footer-brand {
  font-size: 1.1rem;
  font-family: var(--font-display);
  opacity: 0.92;
  margin-bottom: 6px;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.98rem;
  opacity: 0.83;
}
.footer-contact span {
  margin-right: 6px;
}

/* =====================
   CARDS & TESTIMONIALS
   ===================== */
.testimonial-card {
  background: linear-gradient(90deg,#fff 70%,#f7fafd 100%);
  box-shadow: 0 2px 14px rgba(32,80,114,0.10);
  color: #222c3f;
  font-style: italic;
  border-left: 8px solid var(--color-secondary);
  position: relative;
  padding-right: 30px;
  margin-top: 14px;
  margin-bottom: 20px;
  font-size: 1.07rem;
}
.testimonial-card strong {
  color: var(--color-secondary);
  font-style: normal;
  font-weight: 700;
  display: block;
  margin-top: 12px;
  font-size: 1rem;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  transition: var(--transition);
}

/* =====================
   VISUAL + EFFECTS
   ===================== */
.section {
  background: linear-gradient(90deg, #f8fafb 80%, #eaf6f7 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(32,80,114,0.07);
}

/* Style for cards within .feature-grid */
.feature-grid > div {
  cursor: pointer;
  border: 1px solid var(--color-border);
}
.feature-grid > div:hover {
  border: 1.5px solid var(--color-secondary);
  background: linear-gradient(94deg,#fff 70%,#f1fbfa 100%);
}

/* Icon in feature list */
ul li img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 170px;
    padding: 18px 14px 14px 14px;
  }
  footer .container {
    max-width: 100vw;
    padding: 0 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-contact {
    flex-direction: column;
    gap: 5px;
    font-size: 0.96rem;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div,
  .card {
    width: 100%;
    min-width: unset;
    margin-bottom: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    font-size: 1rem;
  }
  .section {
    padding: 28px 8px;
    border-radius: 10px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .container {
    padding: 0 7px;
  }
  .feature-grid > div {
    padding: 12px 6px 12px 6px;
  }
  .footer-brand {
    font-size: 1.01rem;
  }
  .btn, .btn-primary {
    font-size: 0.98rem;
    min-height: 38px;
    padding: 0 16px;
  }
}

/* =====================
   COOKIE BANNER & MODAL
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fff 80%, var(--color-bg-gradient-end) 100%);
  box-shadow: 0 -6px 24px rgba(50,157,156,0.08);
  padding: 18px 16px 18px 18px;
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  animation: cookieBannerSlideIn 0.55s cubic-bezier(0.42,0,0.58,1);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--color-primary);
  font-size: 1rem;
  margin: 0;
  flex: 1 1 220px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner .btn, .cookie-banner .btn-primary {
  min-height: 36px;
  padding: 0 18px;
  font-size: 0.96rem;
  border-radius: 8px;
  margin: 0 0 0 0;
}

.cookie-banner .btn-settings {
  background: var(--color-accent);
  color: #1e2837;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(247,208,138,0.12);
  transition: var(--transition);
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #ffe7b7;
  color: #205072;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(32,80,114,0.23);
  padding: 36px 28px 28px 28px;
  z-index: 6500;
  min-width: 320px;
  max-width: 95vw;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.34s cubic-bezier(0.42,0,0.58,1);
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.17rem;
  color: var(--color-secondary);
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}
.cookie-modal .category:last-child {
  border-bottom: none;
}
.cookie-modal .category label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-modal .category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-secondary);
}
.cookie-modal .btn-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.cookie-modal .btn,
.cookie-modal .btn-primary {
  min-height: 36px;
  font-size: 1rem;
  border-radius: 8px;
}

.cookie-modal .btn-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  background: var(--color-bg-gradient-end);
  color: var(--color-primary);
  border-radius: 50%;
  border: none;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .btn-close:hover, .cookie-modal .btn-close:focus {
  background: var(--color-accent);
  color: #1e2837;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 6px 14px 10px;
  }
  .cookie-modal {
    padding: 18px 8px 18px 8px;
    min-width: unset;
    max-width: 99vw;
  }
  .cookie-modal .btn-row {
    flex-direction: column;
    gap: 4px;
  }
}

/* =====================
   OTHER STYLES
   ===================== */
::-webkit-scrollbar {
  width: 9px;
  background: #eaf6f7;
}
::-webkit-scrollbar-thumb {
  background: #d0ebf0;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c5e6ea;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 32px 0;
}

/* Success / Thank-you page */
.thankyou-message {
  background: linear-gradient(90deg, #eaf6f7 80%, #fff 100%);
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(50,157,156,0.07);
  text-align: center;
}

/* =====================
   ACCESSIBILITY
   ===================== */
:focus,
button:focus,
.btn:focus,
.btn-primary:focus,
a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* =====================
   OVERRIDE FOR JS MODALS/OVERLAYS
   ===================== */
body.menu-open, body.modal-open {
  overflow: hidden !important;
}

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