/* =========================
   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;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F8FAFD;
}
*, *:before, *:after {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8FAFD;
  color: #003366;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #003366;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #18A1AA;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
}

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

/* ============================
   THEME COLORS
   ============================ */
:root {
  --primary: #003366;
  --secondary: #18A1AA;
  --accent: #F9E547;
  --white: #fff;
  --grey-bg: #F8FAFD;
  --grey-light: #E5EAF1;
  --grey-dark: #212B36;
  --danger: #FB3640;
  --success: #27AE60;
}

/* ============================
   TYPOGRAPHY SCALE
   ============================ */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.text-section, .content-wrapper, p, li, td, th {
  font-family: 'Roboto', Arial, sans-serif;
}
p, li, table, ul, ol {
  font-size: 1.08rem;
  color: var(--grey-dark);
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: bold;
}

/* ============================
   LAYOUT & CONTAINERS
   ============================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 6px 24px 0 rgba(24,161,170, 0.06), 0 2px 12px 0 rgba(0,0,0,0.04);
  gap: 24px;
}
.text-section {
  margin-bottom: 24px;
  padding: 14px 0;
}

@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 30px 10px;
  }
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 25px 6px;
    border-radius: 14px;
  }
}

/* ============================
   HEADER + NAVIGATION
   ============================ */
header {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 74px;
  position: relative;
  z-index: 20;
}
header a img {
  height: 42px;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.03em;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--primary);
  text-decoration: none;
}
.button.primary.cta {
  margin-left: 24px;
  display: inline-flex;
  align-items: center;
}
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 1024px) {
  header nav {
    gap: 10px;
  }
}
@media (max-width: 880px) {
  header nav {
    display: none;
  }
  .button.primary.cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    font-size: 2rem;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
    margin-left: auto;
    z-index: 30;
    transition: color 0.2s;
    outline: none;
    padding: 6px;
  }
  .mobile-menu-toggle:focus {
    color: var(--secondary);
  }
}

/* ============================
   MOBILE MENU OVERLAY
   ============================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--white);
  z-index: 1000;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100vw);
  transition: opacity 0.38s cubic-bezier(.64,.01,.25,.99), transform 0.38s cubic-bezier(.64,.01,.25,.99);
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--accent);
  margin: 18px 28px;
  cursor: pointer;
  z-index: 1021;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  padding: 9px 4px;
  transition: color .16s, background .16s;
  border-radius: 5px;
  min-width: 190px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent);
  background: var(--secondary);
}
@media (min-width: 880px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================
   BUTTONS
   ============================ */
.button {
  display: inline-flex;
  border: none;
  outline: none;
  padding: 13px 30px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.13rem;
  letter-spacing: 0.01em;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 5px 22px rgba(24,161,170,0.10);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  margin-top: 12px;
  margin-bottom: 12px;
}
.button.primary {
  background: var(--accent);
  color: var(--primary);
}
.button.primary:hover, .button.primary:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 18px var(--secondary), 0 2px 6px rgba(24,161,170,0.12);
}
.button.secondary {
  background: var(--secondary);
  color: var(--white);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--primary);
  color: var(--accent);
}
.button.danger {
  background: var(--danger);
  color: var(--white);
}
.button.danger:hover {
  background: #be2026;
}
.button.outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.button.outline:hover, .button.outline:focus{
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 468px) {
  .button {
    width: 100%;
    min-width: unset;
    justify-content: center;
    padding: 14px 0;
    font-size: 1rem;
  }
}

/* ============================
   FEATURES & CARDS & LAYOUT
   ============================ */
.features-grid, .services-grid, .services-list, .advantages-grid, .team-roles, .testimonial-list, .testimonial-slider, .faq-accordion, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.features-grid, .services-grid, .advantages-grid, .testimonial-list {
  justify-content: flex-start;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.team-roles ul, .text-section ul {
  list-style: disc;
  margin-bottom: 0;
}

/* ========== Feature, Service, Advantage ========== */
.feature, .service-card, .service-item, .advantage {
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 340px;
  background: var(--grey-bg);
  border-radius: 16px;
  box-shadow: 0 0 10px 0 rgba(0,51,102,0.04);
  padding: 28px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.feature:hover, .service-card:hover, .advantage:hover, .service-item:hover {
  box-shadow: 0 12px 32px 0 rgba(24,161,170,0.16), 0 0px 8px 0 rgba(0,51,102,0.12);
  transform: translateY(-2px) scale(1.02);
}
.feature img, .service-card img, .service-item img, .advantage img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 3px 9px var(--accent));
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== Testimonials ========== */
.testimonial-list, .testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(24,161,170,0.08), 0 2px 8px rgba(0,51,102,0.09);
  padding: 32px 24px 26px 24px;
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 20px;
  border-left: 8px solid var(--secondary);
  position: relative;
  transition: box-shadow 0.17s, border-left-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 14px 38px rgba(255,201,0,0.12), 0 2px 12px rgba(24,161,170,0.13);
  border-left-color: var(--accent);
}
.testimonial-card p {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--grey-dark);
  font-weight: 700;
}
.star-rating {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ============================
   PRICING TABLE
   ============================ */
.pricing-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
  margin-top: 15px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(24,161,170,0.09);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 17px 16px;
  font-size: 1.07rem;
}
.pricing-table th {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.pricing-table tbody tr {
  border-top: 1px solid var(--grey-light);
}
.pricing-table tbody tr:nth-child(even) {
  background: var(--grey-bg);
}

/* ============================
   ACCORDION (FAQ)
   ============================ */
.faq-accordion {
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--grey-bg);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(24,161,170,0.06);
  padding: 22px 20px;
  margin-bottom: 8px;
  transition: box-shadow .18s, background .16s;
}
.faq-item h2 {
  margin-bottom: 5px;
  font-size: 1.23rem;
  color: var(--secondary);
  font-weight: 700;
}
.faq-item p {
  color: var(--primary);
  font-size: 1.05rem;
}
.faq-item:hover {
  box-shadow: 0 6px 16px var(--secondary), 0 1.5px 4px var(--grey-light);
  background: var(--white);
}

/* ============================
   HIGHLIGHT STRIPE
   ============================ */
.highlight {
  background: var(--accent);
  color: var(--primary);
  padding: 18px 18px;
  margin: 28px 0 0 0;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.13rem;
  letter-spacing: 0.01em;
  text-align: left;
  box-shadow: 0 5px 16px rgba(249,229,71,0.11);
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 38px 0 16px 0;
  margin-top: 64px;
  width: 100%;
}
.footer-menu {
  display: flex;
  gap: 34px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 17px;
}
.footer-menu a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
  transition: color .15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--secondary);
}
.footer-contact {
  text-align: center;
  color: var(--white);
  background-color: #E5EAF1;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 6px;
}
.text-section img {
  vertical-align: middle;
  margin-right: 5px;
  height: 1.15em;
}

/* ============================
   COOKIE CONSENT BANNER & MODAL
   ============================ */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 18px rgba(0,51,102,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 34px;
  gap: 32px;
  min-height: 75px;
  font-size: 1.04rem;
  transition: transform 0.25s cubic-bezier(.6,.16,.2,.99), opacity 0.21s;
  opacity: 1;
}
.cookie-consent-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-consent-banner .button {
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 25px;
  margin: 0;
  box-shadow: 0 3px 13px rgba(24,161,170,0.1);
}
.cookie-consent-banner .button.settings {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-consent-banner .button.settings:hover {
  background: var(--secondary);
  color: var(--white);
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 10px;
    font-size: 0.99rem;
  }
  .cookie-consent-banner .cookie-buttons {
    margin-left: 0;
    gap: 11px;
  }
}

/* ---- Cookie Modal ---- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4250;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,51,102,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .18s;
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 13px 44px rgba(24,161,170,0.19);
  padding: 40px 28px 34px 28px;
  min-width: 316px;
  max-width: 97vw;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.12rem;
}
.cookie-modal h3 {
  color: var(--secondary);
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 800;
}
.cookie-category-list {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.08rem;
  gap: 8px;
}
.cookie-category .switch {
  margin-left: auto;
}
.switch {
  width: 42px;
  height: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.switch input[type="checkbox"] {
  display: none;
}
.switch-label {
  background: var(--grey-light);
  border-radius: 18px;
  display: block;
  width: 42px;
  height: 24px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
}
.switch input[type="checkbox"]:checked + .switch-label {
  background: var(--secondary);
}
.switch-label::after {
  content: "";
  width: 20px; height: 20px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.19s;
  box-shadow: 0 2px 5px rgba(0,51,102,0.13);
}
.switch input[type="checkbox"]:checked + .switch-label:after {
  left: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal .button {
  font-size: 1.06rem;
  padding: 10px 28px;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 22px 7px 16px 7px;
    min-width: unset;
    font-size: 1rem;
  }
}

/* ============================
   MICROINTERACTIONS
   ============================ */
.button, .feature, .service-card, .advantage, .service-item, .faq-item, .testimonial-card, .mobile-menu, .cookie-modal, .cookie-consent-banner {
  transition: box-shadow 0.18s cubic-bezier(.5, .23, .24, .79), background 0.18s cubic-bezier(.35, .27, .5, .99), color 0.15s cubic-bezier(.21, .61, .43, 1), transform .18s cubic-bezier(.4,0,.2,1), border 0.17s;
}

/* ============================
   RESPONSIVENESS
   ============================ */
@media (max-width: 1100px) {
  .features-grid, .services-grid, .advantages-grid, .testimonial-list {
    gap: 16px;
  }
  .feature, .service-card, .service-item, .advantage {
    min-width: 180px;
  }
}
@media (max-width: 780px) {
  .features-grid, .services-grid, .advantages-grid, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .service-card, .service-item, .advantage {
    max-width: 100%;
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    width: 100%;
    max-width: 100%;
    min-width: unset;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .section {
    padding: 15px 2px;
    margin-bottom: 25px;
  }
}

/* ============================
   COLORFUL ELEMENTS & EXTRA ENERGY
   ============================ */
/* energetic lines under h2 */
h2 {
  position: relative;
}
h2:after {
  content: "";
  display: block;
  margin-top: 7px;
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* highlighter effect in cards on hover */
.feature:hover, .service-card:hover, .advantage:hover, .service-item:hover {
  outline: 2.5px solid var(--accent);
  outline-offset: 1px;
  background: #fffce7;
}

/* apply accent color to links that serve as CTAs */
a.button.primary, a.button.secondary {
  text-decoration: none !important;
}

/* ============================
   MISC + ALIGNMENT
   ============================ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card {
  border-radius: 14px;
  background: var(--grey-bg);
  box-shadow: 0 2px 12px rgba(24,161,170,0.05);
  padding: 24px;
}

/* ============================
   SPECIAL SECTION SPACING
   (Per requirements)
   ============================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING for lists and FAQ */
ul, ol {
  margin-bottom: 16px;
  margin-top: 6px;
  padding-left: 28px;
}
li {
  margin-bottom: 11px;
}

/* ============================
   PRINT MEDIA
   ============================ */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal {
    display: none !important;
  }
  body, .container, .section {
    background: none !important;
    color: #212B36 !important;
  }
}
