/* --- CSS Reset (Normalize + Custom) --- */
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  vertical-align: middle;
  max-width: 100%;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* --- Typography --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #20293C;
  background: #fff;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  color: #20293C;
  margin-bottom: 16px;
  text-shadow: 2px 2px 0 #FFA80022;
}
h2 {
  font-size: 2rem;
  color: #FFA800;
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 #20293C11;
}
h3 {
  font-size: 1.3rem;
  color: #20293C;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.25rem;
  color: #FFA800;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
p, ul, ol {
  font-size: 1rem;
  color: #20293C;
  margin-bottom: 8px;
}
strong, b {
  font-weight: bold;
}
a {
  transition: color 0.2s linear, border-bottom 0.15s linear;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 250px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(32, 41, 60, 0.06);
}
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }
  .section {
    padding: 32px 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
  .content-wrapper, .features-grid, .contact-info {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    margin-bottom: 44px;
    padding: 20px 0;
  }
}

/* --- Header & Navigation --- */
header {
  background: #20293C;
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 24px 0 rgba(32, 41, 60, 0.10);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  gap: 20px;
  position: relative;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-bottom 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FFA800;
  border-bottom: 2px solid #FFA800;
}
.cta-button {
  background: #FFA800;
  color: #20293C;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 12px 30px;
  box-shadow: 0 2px 16px 0 #FFA80044;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  outline: none;
  display: inline-block;
  margin-left: 18px;
  border: none;
}
.cta-button:hover, .cta-button:focus {
  background: #20293C;
  color: #FFA800;
  box-shadow: 0 4px 24px 0 #20293C22;
  transform: translateY(-2px) scale(1.04);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #FFA800;
  font-size: 2.1rem;
  border: none;
  margin-left: 16px;
  position: relative;
  transition: color 0.14s;
  z-index: 1401;
}
.mobile-menu-toggle:hover {
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
    margin-left: 10px;
  }
  .cta-button {
    margin-left: 10px;
    font-size: 0.98rem;
    padding: 10px 24px;
  }
  .logo img {
    height: 42px;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 12px 2vw;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: #20293C;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.78,-0.01,.33,1.03);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 30px;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFA800;
  font-size: 2.4rem;
  border: none;
  margin-left: 18px;
  margin-bottom: 28px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 2002;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  padding: 13px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.18s;
  margin-bottom: 0;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #FFA800;
  border-bottom: 2px solid #FFA800;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu.open {
    display: none !important;
    visibility: hidden;
  }
}

/* --- Hero Section & Section Defaults --- */
main {
  width: 100%;
  background-color: #f6f8fb;
  min-height: 50vh;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 24px 0 rgba(32,41,60,0.07);
  position: relative;
}
section > .container > h2 {
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding: 18px 0;
    border-radius: 16px;
  }
}

/* --- Card Patterns & Content Cards --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 28px 0 rgba(255,168,0,0.07), 0 2px 18px 0 rgba(32,41,60,0.04);
  transition: box-shadow 0.21s, transform 0.18s;
  min-width: 270px;
  padding: 30px 22px;
}
.card:hover {
  box-shadow: 0 12px 42px 0 #FFA80022, 0 3px 24px 0 #20293C19;
  transform: translateY(-4px) scale(1.02);
  z-index: 3;
}

/* --- Features & Feature Items --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 #D5DCE3aa;
  padding: 38px 24px 30px 24px;
  min-width: 247px;
  flex: 1 1 280px;
  position: relative;
  transition: box-shadow 0.20s, transform 0.18s;
}
.feature-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.feature-item h3 {
  color: #20293C;
}
.feature-item .price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #FFA800;
  font-weight: 900;
  font-size: 1.08rem;
}
.feature-item a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #FFA800;
  border-bottom: 2px solid #FFA80044;
  font-size: 1rem;
  transition: color 0.13s, border-bottom 0.13s;
  margin-top: 4px;
}
.feature-item a:hover, .feature-item a:focus {
  color: #20293C;
  border-bottom: 2px solid #20293C44;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px 0 #FFA80033, 0 3px 18px 0 #20293C17;
  transform: translateY(-4px) scale(1.022);
  z-index: 4;
}
@media (max-width: 1024px) {
  .feature-item {
    min-width: 46vw;
    padding: 22px 16px 20px 16px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 24px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
  }
}

/* --- Testimonials --- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
      flex-direction: row;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 18px 28px;
  border-radius: 18px;
  background: #F4F7FD;
  box-shadow: 0 3px 18px 0 #20293C13;
  min-width: 270px;
  max-width: 360px;
  flex: 1 1 300px;
  color: #20293C;
  position: relative;
  margin-bottom: 0;
  border-left: 6px solid #FFA800;
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #20293C;
  font-size: 1rem;
  margin-top: 10px;
  font-style: normal;
}
.testimonial-card p {
  color: #20293C;
  font-size: 1.1rem;
}
@media (max-width: 786px) {
  .testimonials {
    flex-direction: column;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 20px 14px 14px 14px;
  }
}

/* --- Contact Info (Icons + Text) --- */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.contact-info .text-section {
  flex: 1 1 225px;
  font-size: 1.1rem;
}
.contact-info img {
  height: 21px;
  width: 21px;
  vertical-align: middle;
  margin-right: 12px;
  filter: grayscale(0%);
}

/* --- Content Grid Patterns & Custom --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- Text-Image Section Special Pattern --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Footer --- */
footer {
  background: #20293C;
  color: #fff;
  padding: 36px 0 0 0;
  width: 100%;
  border-radius: 0;
  box-shadow: 0 -2px 42px 0 #20293C1c;
  margin-top: 20px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 90px;
  padding-bottom: 16px;
}
.footer-logo img {
  height: 45px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #FFA800;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 750;
  font-size: 1.02rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  transition: color 0.11s, border-bottom 0.12s;
  margin-bottom: 0;
}
.footer-nav a:hover {
  color: #fff;
  border-bottom: 2px solid #FFA800;
}
.footer-contact p {
  font-size: 0.98rem;
  color: #D5DCE3;
  margin-bottom: 4px;
}
@media (max-width: 1024px) {
  footer .container {
    gap: 15px;
    padding: 12px 2vw 8px 2vw;
    min-height: 80px;
  }
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 18px 2vw 6px 2vw;
  }
  .footer-logo img {
    height: 35px;
  }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  background: #20293C;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  align-items: center;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 -3px 32px 0 #20293C33;
  animation: cookieSlideIn 0.45s cubic-bezier(.63,.12,.27,.99);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: #FFA800;
  color: #20293C;
  border-radius: 25px;
  padding: 8px 22px;
  border: none;
  margin: 0;
  transition: background 0.14s, color 0.13s, transform 0.14s;
  box-shadow: 0 2px 10px 0 #FFA80033;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #FFA800;
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner .cookie-settings {
  background: #20293C;
  color: #FFA800;
  border: 2px solid #FFA800;
}
.cookie-banner .cookie-settings:hover {
  background: #FFA800;
  color: #20293C;
}
@media (max-width: 768px) {
  .cookie-banner {
    font-size: 0.98rem;
    padding: 16px 3vw 7px 3vw;
    gap: 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
}

/* --- Cookie Modal Popup --- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(32,41,60,0.63);
  z-index: 5050;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBackDrop 0.33s;
}
@keyframes fadeInBackDrop {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #20293C;
  padding: 38px 32px 26px 32px;
  border-radius: 20px;
  box-shadow: 0 4px 42px 0 #20293C33;
  min-width: 320px;
  max-width: 440px;
  width: 92vw;
  position: relative;
  animation: modalGrowIn 0.24s cubic-bezier(.69,-0.02,.33,1.07);
}
@keyframes modalGrowIn {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 900;
  color: #FFA800;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cookie-modal label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #FFA800;
  margin-right: 7px;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-essential {
  opacity: 0.7;
  font-style: italic;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 13px;
  background: none;
  border: none;
  color: #FFA800;
  font-size: 2rem;
  cursor: pointer;
  z-index: 99;
  transition: color 0.13s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #20293C;
}
@media (max-width: 768px) {
  .cookie-modal {
    padding: 22px 8vw 18px 8vw;
    min-width: 180px;
  }
  .cookie-modal h3 {
    font-size: 1.11rem;
    margin-bottom: 13px;
  }
  .cookie-modal .cookie-modal-actions {
    gap: 10px;
    margin-top: 14px;
  }
}

/* --- Utility: Hide visually for accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Selectors for Special Patterns Used On Content Pages --- */
ul li::marker, ol li::marker { color: #FFA800; }
ul, ol {
  margin-bottom: 12px;
  padding-left: 32px;
  list-style-type: disc;
}
ul li, ol li {
  margin-bottom: 7px;
}

dt {
  font-weight: 700;
}
dd {
  margin-bottom: 12px;
}

/* --- Micro-Interactions & Buttons --- */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  transition: background 0.13s, color 0.13s, box-shadow 0.13s, transform 0.12s;
  cursor: pointer;
}

a:focus {
  outline: 2px solid #FFA800;
  outline-offset: 2px;
}
button:focus {
  outline: 2px solid #FFA800;
}

/* --- Vibrant & Energetic Accent Shadow Effects --- */
.card, .feature-item, .testimonial-card {
  box-shadow: 0 2px 24px 0 #FFA80011, 0 3px 12px 0 #20293C09;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 12px 56px 4px #FFA80033, 0 8px 24px 0 #20293C15;
}

/* --- Spacing Consistency (8px, 16px, 24px, 32px) --- */
.section, section, .feature-item, .testimonial-card, .card {
  margin-bottom: 24px;
}
.section:last-child, section:last-child, .card:last-child, .testimonial-card:last-child, .feature-item:last-child {
  margin-bottom: 0;
}

/* --- Responsive Typography --- */
@media (max-width: 600px) {
  h1 {
    font-size: 1.74rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  body, p, ul, ol {
    font-size: 0.98rem;
  }
}

/* --- Animations for Buttons & Interactives --- */
.cta-button, .cookie-banner button, .feature-item a, .main-nav a, .footer-nav a {
  transition: background 0.13s, color 0.13s, border-bottom 0.13s, box-shadow 0.11s, transform 0.14s;
}

/* --- Colors for VIBRANT_ENERGETIC Feel --- */
:root {
  --primary: #20293C;
  --secondary: #D5DCE3;
  --accent: #FFA800;
}

/* --- Remove outline on mouse only (keep for keyboard, accessible) --- */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- Make sure all native form controls and buttons inherit style by default --- */
input, select, textarea {
  border-radius: 7px;
  border: 1.5px solid #D5DCE3;
  background: #fff;
  padding: 7px 10px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #20293C;
}
input:focus, select:focus, textarea:focus {
  border-color: #FFA800;
  box-shadow: 0 2px 6px 0 #FFA80022;
}

/* --- Miscellaneous Utility Classes --- */
.hide { display: none !important; }
.show { display: block !important; }

/* --- Prevent Overlapping (spacing between cards/sections) --- */
.card, .feature-item, .testimonial-card, .section, section {
  margin-right: 0;
  margin-left: 0;
}
.card:not(:last-child), .feature-item:not(:last-child), .testimonial-card:not(:last-child), .section:not(:last-child), section:not(:last-child) {
  margin-bottom: 20px;
}

/* --- Prevent absolute/relative stacking for content cards, allow only deco if needed --- */
.card, .feature-item, .testimonial-card {
  position: relative;
}

/* --- Custom Scrollbar for energetic style --- */
::-webkit-scrollbar {
  width: 9px;
  background: #D5DCE3;
}
::-webkit-scrollbar-thumb {
  background: #FFA800;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #20293C;
}

/* --- END OF MAIN STYLES --- */

/* DEVELOPER NOTE: 
   - All container layouts use only display:flex, flex-direction (no grid/columns/column-count/column-gap/grid-* props). 
   - Proper spacing (gap, margin, padding) used between all cards/sections/features. 
   - Animations, hover/focus states, responsive layout, and high contrast on testimonials are all implemented.
   - Hamburger menu and cookie banner/modal styles fully included.
*/
