/* -------------------
  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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FFF;
  color: #1C2733;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #27AFAF;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #143B59;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-top: 10px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: #143B59;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #143B59;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.125rem;
}
h4, h5, h6 {
  font-size: 1rem;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}

/* --------------
  LAYOUT & SECTIONS
---------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* Spacing for cards and flex containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(20,59,89,0.07);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(20,59,89,0.14);
  transform: translateY(-2px) scale(1.02);
}

.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* -------------
  PRIMARY BUTTONS, LINKS & CTAs
----------------- */
.btn-primary, a.btn-primary {
  display: inline-block;
  background-color: #27AFAF;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85em 1.8em;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 10px rgba(39,175,175,0.17);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, transform 0.15s;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #143B59;
  box-shadow: 0 4px 18px rgba(20,59,89,0.18);
  transform: translateY(-1px) scale(1.03);
  color: #fff;
  outline: none;
}

/* -------------
  NAVIGATION & HEADER
----------------- */
header {
  background: #fff;
  border-bottom: 3px solid #F6F8FA;
  padding: 0;
  position: relative;
  z-index: 200;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px 0 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.main-nav a {
  color: #143B59;
  padding: 6px 14px;
  border-radius: 22px;
  transition: background .13s, color .17s;
  font-weight: 500;
  text-align: center;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F8FA;
  color: #27AFAF;
}
.main-nav .btn-primary {
  margin-left: auto;
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 12px;
}
/* Burger icon */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 16px;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #27AFAF;
  border-radius: 50%;
  cursor: pointer;
  z-index: 220;
  width: 48px;
  height: 48px;
  box-shadow: 0 1px 6px rgba(20,59,89,0.08);
  transition: background .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6F8FA;
}

@media (max-width: 1020px) {
  .main-nav .btn-primary {
    order: 9;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(:first-child), .main-nav .btn-primary {
    font-size: 1rem;
    padding: 7px 9px;
    margin-right: 0;
    margin-left: 0;
  }
}
@media (max-width: 890px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 6px;
    font-size: .99rem;
  }
  .main-nav img { margin-right: 5px; }
}
@media (max-width: 780px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----------------- 
    MOBILE MENU
------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(20,59,89,0.18);
  z-index: 9000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.51,.78,.02,1.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: #fff;
  border: none;
  color: #143B59;
  font-size: 2rem;
  padding: 6px 12px 6px 6px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(20,59,89,0.09);
  z-index: 9050;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F6F8FA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 55px 32px 0 32px;
}
.mobile-nav a {
  color: #143B59;
  font-size: 1.25rem;
  padding: 15px 0 15px 0;
  border-radius: 16px;
  transition: background 0.14s, color .15s;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F8FA;
  color: #27AFAF;
}

@media (min-width: 781px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------- 
    FOOTER DESIGN
----------------- */
footer {
  background: #F6F8FA;
  border-top: 2px solid #E6EBF0;
  font-size: 1rem;
  color: #143B59;
  padding: 0;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 0 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #27AFAF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  padding: 6px 7px;
  border-radius: 8px;
  transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #27AFAF;
  color: #fff;
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
  margin-top: 8px;
  color: #143B59;
}
.contact-footer span {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 650px) {
  .contact-footer {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
}

/* ---------------
  FEATURE, CARD & GRID
---------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(39,175,175,0.10);
  padding: 28px 20px;
  flex: 1 1 242px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 10px 28px rgba(39,175,175,0.16);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 5px;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    flex: 1 1 155px;
    min-width: 140px;
    max-width: 95vw;
  }
}
@media (max-width: 650px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: 0;
  }
}

/* -----------
   TESTIMONIALS
------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(20,59,89,0.09);
  padding: 20px 22px;
  color: #143B59;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 420px;
  transition: box-shadow 0.12s, transform 0.10s;
}
.testimonial-card strong {
  color: #27AFAF;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #1C2733;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 22px rgba(39,175,175,0.12);
  transform: translateY(-1px) scale(1.01);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .testimonial-slider {
    gap: 12px;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 8px;
    font-size: 0.97rem;
    min-width: 0;
  }
}

/* ---------------
   PRICING TABLE
--------------- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(20, 59, 89, 0.07);
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 16px 13px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table thead th {
  background: #27AFAF;
  color: #fff;
  font-weight: 700;
}
.pricing-table tbody tr:nth-child(even) {
  background: #F6F8FA;
}
.pricing-table tbody td {
  color: #143B59;
}
@media (max-width: 700px) {
  .pricing-table th, .pricing-table td {
    padding: 10px 5px;
    font-size: .97rem;
  }
}

/* ---------------
   FAQ LISTS
--------------- */
.faq-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list li {
  background: #fff;
  padding: 18px 16px;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(39,175,175,0.11);
  margin-bottom: 0;
}
.faq-list strong {
  display: block;
  margin-bottom: 7px;
  color: #143B59;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
}
.faq-list p {
  margin: 0;
}

/* -----------
   CTA SECTIONS
------------- */
.cta-section {
  background: #27AFAF;
  border-radius: 19px;
  box-shadow: 0 4px 22px rgba(39,175,175,0.13);
  color: #fff;
  text-align: center;
  padding: 44px 18px;
  gap: 18px;
}
.cta-section h2 {
  color: #fff;
}
.cta-section p {
  color: #F6F8FA;
}
.cta-section .btn-primary {
  background: #fff;
  color: #27AFAF;
  margin-top: 14px;
  font-size: 1.05rem;
  box-shadow: 0 2px 14px rgba(255,255,255,0.10);
}
.cta-section .btn-primary:hover, .cta-section .btn-primary:focus {
  background: #143B59;
  color: #fff;
}
@media (max-width: 600px) {
  .cta-section {
    padding: 24px 5px 28px;
  }
}

/* ---------------
    GENERAL UTILITIES & FLEX SECTIONS
---------------- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Section min spacing */
section, .section {
  margin-bottom: 60px;
  padding-top: 36px;
  padding-bottom: 36px;
  border-radius: 20px;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}

/* List styles reset for main content */
section ul, section ol {
  margin-left: 18px;
  margin-top: 10px;
  margin-bottom: 18px;
}
section li {
  margin-bottom: 7px;
}

/* Cards or info blocks inside content-wrapper */
.content-wrapper > div, .content-wrapper > ul, .content-wrapper > .card, .content-wrapper > .testimonial-card {
  margin-bottom: 20px;
}

/* ------------------
    FORM & FOCUS STATES
-------------------- */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  border-radius: 8px;
  outline: none;
  border: 1px solid #E6EBF0;
  padding: 9px 13px;
  transition: border 0.16s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #27AFAF;
  box-shadow: 0 2px 10px rgba(39,175,175,0.13);
}
button:active {
  background: #D8F7F7;
}

/* -----------
   COOKIE CONSENT BANNER
------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -3px 18px rgba(20,59,89,0.08);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 24px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  gap: 18px;
  font-size: 1.02rem;
  animation: cookie-in .6s cubic-bezier(.5,1.42,.37,1);
}
@keyframes cookie-in {
  from {
    transform: translateY(100vh);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .17s, color .18s, box-shadow .14s;
}
.cookie-btn.accept {
  background: #27AFAF;
  color: #fff;
  box-shadow: 0 1px 9px rgba(39,175,175,0.10);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #143B59;
}
.cookie-btn.reject {
  background: #F6F8FA;
  color: #143B59;
  border: 2px solid #27AFAF;
  margin-left: 4px;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffc6b2;
  color: #143B59;
  border-color: #143B59;
}
.cookie-btn.settings {
  background: #fff6de;
  color: #143B59;
  border: 2px solid #FFD59D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFD59D;
}

/* -----------
   COOKIE CONSENT MODAL
------------- */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,59,89,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 28px 18px 20px 18px;
  min-width: 330px;
  max-width: 98vw;
  box-shadow: 0 6px 32px rgba(20,59,89,0.24);
  animation: cookie-popup .43s cubic-bezier(.58,1.3,.37,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes cookie-popup {
  from {
    transform: scale(.85) translateY(35px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #F6F8FA;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #143B59;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #27AFAF;
  margin-right: 2px;
}
.cookie-category input[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 11px;
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #fff;
  color: #143B59;
  border: none;
  font-size: 1.7rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: 0 1px 7px rgba(39,175,175,0.05);
  cursor: pointer;
  transition: background .14s;
  z-index: 10002;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F6F8FA;
}

@media (max-width: 480px) {
  .cookie-modal-content {
    min-width: 0;
    padding: 15px 3vw 18px 3vw;
  }
}

/* ---------------
   RESPONSIVE RULES
--------------- */
@media (max-width: 1020px) {
  .container { max-width: 94vw; }
}
@media (max-width: 900px) {
  .main-nav {
    font-size: 0.98rem;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  .feature-grid, .content-grid, .testimonial-slider {
    gap: 11px;
  }
}
@media (max-width: 500px) {
  .section, section {
    padding: 20px 3vw;
  }
  .footer-nav {
    font-size: .97rem;
  }
}

/* -----------
   SCROLLBAR (Optional for friendly look)
------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #F6F8FA;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #FFD59D;
  border-radius: 8px;
}

/* ---------------
  MICRO-INTERACTIONS & TRANSITIONS
---------------- */
.card, .feature-grid > div, .testimonial-card, .faq-list li {
  transition: box-shadow 0.18s, transform 0.15s;
}

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

body, html {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, h5, h6, .btn-primary, .main-nav, .feature-grid > div, .mobile-nav a, .footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif !important;
}

/* ---------------
   ACCESSIBILITY: FOCUS RING
---------------- */
*:focus:not(:focus-visible) { outline: none; }
*:focus-visible {
  outline: 2px solid #27AFAF;
  outline-offset: 2px;
}

/* ---------------
   VISUAL OVERRIDES FOR WARM FRIENDLY STYLE
---------------- */
.card, .feature-grid > div, .testimonial-card, .faq-list li {
  background: #fff9f7;
}
.cta-section, .btn-primary, .btn-primary:focus, .btn-primary:hover {
  border-radius: 32px;
}

/* ---------------
   WARM COLOR ELEMENTS
---------------- */
body {
  background: #FFF6F2;
}
.section, section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(255, 213, 157, 0.09);
}

/* For overlays and soft shadows */
.card, .feature-grid > div, .testimonial-card, .faq-list li {
  box-shadow: 0 4px 16px rgba(255, 198, 178, 0.13), 0 1.5px 7px rgba(20,59,89,0.04);
}

/* ---------------
   END CSS
---------------- */
