/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F7F8FA;
  color: #243856;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #243856;
  letter-spacing: -0.5px;
}

/* TYPOGRAPHY & HEADINGS */
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #F2B705;
}
p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
}
strong {
  font-weight: 700;
}

/* CONTAINER LAYOUTS */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(36,56,86,0.07);
}

/* HEADER & NAV */
header {
  background: #243856;
  padding: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 20px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2B705;
  color: #243856;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 16px;
}
.cta-btn {
  background: #F2B705;
  color: #243856 !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  padding: 10px 30px;
  border-radius: 30px;
  margin-left: 8px;
  box-shadow: 0 2px 6px rgba(36,56,86,0.05);
  transition: background 0.18s, transform 0.15s;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFD44D;
  color: #243856;
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 24px;
  right: 30px;
  z-index: 95;
  background: #F2B705;
  color: #243856;
  width: 48px;
  height: 48px;
  border-radius: 100px;
  border: none;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFD44D;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 105vw;
  height: 100vh;
  background: rgba(36,56,86,0.97);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.77,0.2,0.05,1.0);
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #F2B705;
  color: #243856;
  width: 44px;
  height: 44px;
  border-radius: 100px;
  font-size: 2rem;
  border: none;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFD44D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 85px;
  width: 100%;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 18px 0;
  width: 100%;
  text-align: center;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B705;
  color: #243856;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg,#243856 90%,#F2B705 100%);
  color: #fff;
  padding: 80px 0 60px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 16px;
  align-items: flex-start;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
}
.hero .cta-btn {
  margin-top: 20px;
}

/* SECTIONS & FLEX PATTERNS */
.features, .services, .about, .testimonials, .contact, .legal, .thank-you {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
.features ul,
.services ul,
.about ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features ul li, .services ul li, .about ul li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 14px rgba(36,56,86,0.05);
  padding: 32px 26px 26px 26px;
  min-width: 210px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.features ul li:hover, .services ul li:hover, .about ul li:hover {
  box-shadow: 0 8px 26px rgba(36,56,86,0.13);
  transform: translateY(-3px) scale(1.025);
}
.features ul li img, .about ul li img, .services ul li img {
  margin-bottom: 9px;
  height: 36px;
  width: 36px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(36,56,86,0.09);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  min-width: 240px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F7F8FA;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(36,56,86,0.07);
  border: 2.5px solid #F2B705;
  transition: box-shadow 0.16s, border-color 0.13s;
}
.testimonial-card blockquote {
  color: #243856;
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #243856;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #243856;
  font-size: 1rem;
}
.testimonial-card img {
  display: inline-block;
  height: 18px;
  width: 18px;
  margin-right: 2px;
}
.testimonials h2, .features h2 {
  margin-bottom: 30px;
  color: #243856;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.text-section ul li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #243856;
  gap: 10px;
}
.text-section ul li img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

/* LEGAL PAGE STYLES */
.legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(36,56,86,0.07);
  padding: 40px 20px;
}
.legal h1, .legal h2 {
  color: #243856;
}
.legal ul {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* FOOTER */
footer {
  background: #243856;
  color: #fff;
  padding: 40px 0 20px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.footer-nav a {
  color: #F2B705;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 7px 9px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #243856;
  background: #FFD44D;
}
.footer-contact {
  text-align: center;
  color: #fff;
  font-size: 1rem;
  margin-top: 18px;
}

/* THANK YOU PAGE */
.thank-you {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(36,56,86,0.09);
  padding: 65px 20px 65px 20px;
  margin-top: 44px;
  margin-bottom: 60px;
  text-align: center;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 11000;
  background: #243856;
  color: #fff;
  padding: 24px 8px 18px 8px;
  box-shadow: 0 -2px 18px rgba(36,56,86,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.6,0.05,0.25,1);
  transform: translateY(0);
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  padding: 8px 22px;
  border-radius: 32px;
  font-size: 1.07rem;
  border: none;
  margin-left: 0px;
  margin-right: 0px;
  transition: background 0.14s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 1px 4px rgba(36,56,86,0.05);
}
.cookie-banner .accept-all {
  background: #F2B705;
  color: #243856;
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: #FFD44D;
  color: #243856;
}
.cookie-banner .reject-all {
  background: #fff;
  color: #243856;
  border: 1px solid #F2B705;
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: #fdc900;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  color: #F2B705;
  border: 2px solid #F2B705;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #F2B705;
  color: #243856;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 12000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36,56,86,0.70);
  align-items: center;
  justify-content: center;
  animation: fadein 0.18s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #243856;
  border-radius: 22px;
  padding: 38px 28px 28px 28px;
  max-width: 410px;
  box-shadow: 0 4px 28px rgba(36,56,86,0.12);
  position: relative;
  animation: modalpop 0.24s;
}
@keyframes modalpop {
  0% { transform: translateY(50px) scale(0.96); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-content h3 {
  margin-top: 0;
  color: #F2B705;
  margin-bottom: 14px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #F2B705;
  transition: box-shadow 0.13s;
}
.cookie-modal-category label {
  font-weight: 600;
}
.cookie-modal .cookie-modal-btns {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 13px;
  background: #F2B705;
  color: #243856;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 1.3rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: background 0.14s;
}
.cookie-modal .cookie-modal-close:focus, .cookie-modal .cookie-modal-close:hover {
  background: #FFD44D;
}

/* ----------- MEDIA QUERIES (RESPONSIVE) ----------- */
@media (max-width: 1100px) {
  .main-nav {
    gap: 20px;
  }
  .features ul, .services ul, .about ul {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    font-size: 1rem;
  }
  .features ul li, .services ul li, .about ul li {
    min-width: 160px;
    padding: 22px 13px 15px 13px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex; /* Show burger on mobile */
  }
  .features ul, .services ul, .about ul {
    flex-direction: column;
    gap: 16px;
  }
  .features ul li, .services ul li, .about ul li {
    width: 98%;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto 20px auto;
    padding: 18px 10px;
    flex: 1 1 100%;
  }
  .testimonial-card {
    padding: 14px 9px;
    gap: 10px;
    margin-bottom: 17px;
  }
  .hero {
    padding: 40px 0 28px 0;
  }
  .section {
    padding: 28px 4px;
    margin-bottom: 38px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .hero .cta-btn, .cta-btn {
    padding: 10px 16px;
  }
  .cookie-modal-content {
    padding: 20px 6px 10px 6px;
    max-width: 95vw;
  }
}

/* BUTTON & LINK MICRO-INTERACTIONS */
a.cta-btn, button.cta-btn, .cookie-banner button {
  transition: background 0.16s, box-shadow 0.18s, color 0.13s, transform 0.14s;
}
a.cta-btn:focus-visible, .cookie-banner button:focus-visible {
  outline: 2.5px solid #243856;
  outline-offset: 2px;
}

/* FOCUS STATE IMPROVEMENTS */
a:focus, button:focus {
  outline: 2px solid #F2B705;
  outline-offset: 2px;
}

/* GEOMETRIC DECORATIVE SHAPES */
.section:before {
  content: '';
  display: block;
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 40px 20px 28px 70px;
  background: #F2B705;
  top: -35px;
  left: -42px;
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
}
.section {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Z-INDEX FOR MENUS & FIXED ELEMENTS */
header { z-index: 20; position: relative; }
.mobile-menu { z-index: 9999; }
.mobile-menu-toggle { z-index: 10000; }
.cookie-banner { z-index: 12000; }
.cookie-modal { z-index: 12001; }

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 10px;
  background: #F7F8FA;
}
::-webkit-scrollbar-thumb {
  background: #F2B705;
  border-radius: 8px;
}

/* UTILITY CLASSES */
.hide { display: none !important; }

/* END */
