/* ===========================================================
   ELEGANT CLASSIC CSS FOR FLUX SOURCE
   -----------------------------------------------------------
   Author: Professional CSS & UI Designer
   Brand: Flux Source
   Style: Timeless, elegant, muted, modern classic
   =========================================================== */

/* CSS RESET & BASES */
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #FAFAF7;
  color: #2f2d2a;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #153041; text-decoration: none; transition: color 0.2s ease; }
strong { font-weight: bold; }
ul, ol { margin-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 6px; }


/* -------------------------
   TYPOGRAPHY
-------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #153041;
  margin-bottom: 12px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.3rem; margin-bottom: 20px; }
h2 { font-size: 1.7rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 6px; font-weight: 500; }
p, li { font-size: 1rem; color: #2f2d2a; }
blockquote {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #153041;
  border-left: 4px solid #F1C232;
  padding-left: 18px;
  margin-bottom: 10px;
  background: #F7F7F7;
}


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

/* Flex Patterns (MANDATORY classes) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(21, 48, 65, 0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(21, 48, 65, 0.07);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.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;
  margin-bottom: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(21, 48, 65, 0.07);
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(21,48,65,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid and service cards use flex variant for 2-4 cols */
.feature-grid, .service-cards, .feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .service-cards > div, .feature-icons > div {
  flex: 1 1 210px;
  min-width: 200px;
  background: #F7F7F7;
  border-radius: 12px;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1px 6px rgba(21, 48, 65, 0.055);
  transition: box-shadow 0.2s, transform 0.15s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .service-cards > div:hover, .feature-icons > div:hover {
  box-shadow: 0 4px 18px rgba(21,48,65,0.10);
  transform: translateY(-2px) scale(1.015);
}
.feature-grid img,
.service-cards img,
.feature-icons img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  filter: grayscale(20%);
}

.text-section {
  max-width: 680px;
}

/* Section headings */
section > .container > h2 {
  margin-bottom: 14px;
}


/* ================================
   HEADER + NAVIGATION
================================ */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(21,48,65,0.07);
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  padding: 18px 0;
}
nav a {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #153041;
  padding: 6px 14px;
  border-radius: 5px;
  margin-right: 0;
  transition: color 0.18s, background 0.17s;
  letter-spacing: 0.01em;
  font-weight: 500;
}
nav a.cta {
  background: #F1C232;
  color: #153041;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 24px;
  box-shadow: 0 1px 6px rgba(21,48,65,0.09);
  margin-left: 6px;
}
nav a.cta:hover, .cta:focus {
  background: #153041;
  color: #F1C232;
  outline: none;
}
nav a:hover, nav a:focus {
  background: #F7F7F7;
  color: #153041;
  outline: none;
}
nav img {
  height: 44px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Hamburger Menu Styling */
.mobile-menu-toggle {
  display: none;
  background: #F1C232;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  color: #153041;
  font-size: 1.8rem;
  cursor: pointer;
  margin-left: auto;
  margin-right: 10px;
  z-index: 21;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #153041;
  color: #fff;
  outline: 0;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 40;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.68,-0.55,0.27,1.55), opacity 0.15s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #153041;
  margin: 28px 22px 0 0;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 7px;
  transition: background 0.15s,color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f7f7f7;
  color: #F1C232;
  outline: 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 42px 36px 0 36px;
}
.mobile-nav a {
  font-size: 1.17rem;
  color: #153041;
  padding: 13px 7px;
  border-radius: 7px;
  font-family: 'Georgia',serif;
  font-weight: 500;
  border-bottom: 1px solid #F7F7F7;
  transition: background 0.09s, color 0.12s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1C232;
  color: #153041;
  outline:0;
}


/* ==================================
   HERO SECTIONS & CTA
================================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
  border-radius: 20px;
}
section:first-of-type {
  background: #F7F7F7;
  box-shadow: none;
  padding-top: 60px;
}
.cta {
  display: inline-block;
  background: #F1C232;
  color: #153041;
  font-family: 'Georgia',serif;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 11px 32px;
  border-radius: 28px;
  transition: background 0.19s, color 0.13s, box-shadow 0.14s, transform 0.145s;
  box-shadow: 0 2px 8px rgba(21,48,65,0.07);
  margin-top: 6px;
  border: none;
}
.cta:hover, .cta:focus {
  background: #153041;
  color: #fff;
  box-shadow: 0 6px 22px rgba(21,48,65,0.08);
  transform: translateY(-2px) scale(1.02);
}


/* ==================================
   TESTIMONIALS
================================== */
.testimonial-card {
  background: #fff;
  color: #153041;
  border-left: 4px solid #F1C232;
  box-shadow: 0 2px 12px rgba(21,48,65,0.09);
  margin-bottom: 26px;
}
.testimonial-author {
  font-size: 0.98rem;
  font-style: italic;
  color: #6a6865;
  margin-left: 20px;
}


/* ==================================
   FOOTER DESIGN
================================== */
footer {
  background: #153041;
  color: #fff;
  padding: 40px 0 28px 0;
  margin-top: 60px;
  border-radius: 20px 20px 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
}
.footer-links, .social-links, .brand-info {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-links a {
  color: #F1C232;
  font-size: 1rem;
  font-family: 'Georgia',serif;
  margin-right: 0;
  font-weight: 500;
  transition: color 0.13s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #fff;
}
.brand-info {
  gap: 12px;
}
.brand-info img { height: 38px; width: auto; }
.social-links a img {
  width: 28px; height: 28px;
  filter: grayscale(42%) brightness(0.96);
  transition: filter 0.18s;
}
.social-links a:hover img,
.social-links a:focus img { filter: grayscale(0%) brightness(1.33); }
footer .brand-info span {
  font-size: 0.97rem;
  color: #F7F7F7;
}


/* ===============================
   CONTACT DETAILS & FORMS
=============================== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
}
.contact-details img {
  width: 24px; height: 24px;
  filter: grayscale(0.22) brightness(0.99);
}


/* ===============================
   LISTS & TEXT BLOCKS
=============================== */
ul li, ol li {
  font-size: 1rem;
  padding-left: 3px;
}
ul li strong, ol li strong {
  color: #153041;
}
.text-section ul {
  margin: 14px 0;
}
.text-section p {
  margin-bottom: 10px;
}


/* ===============================
   CARD & FEATURE ANIMATIONS
=============================== */
.card, .feature-grid > div, .service-cards > div {
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover, .feature-grid > div:hover,
.service-cards > div:hover {
  box-shadow: 0 8px 32px rgba(21,48,65,0.125);
  transform: translateY(-2px) scale(1.025);
  cursor: pointer;
}


/* ===============================
   COOKIE CONSENT BANNER
=============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: #fff;
  color: #153041;
  border-top: 2px solid #F1C232;
  box-shadow: 0 -2px 16px rgba(21,48,65,0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px;
  gap: 18px;
  font-family: 'Georgia',serif;
  font-size: 1rem;
  animation: cookiefadein 0.7s;
}
@keyframes cookiefadein {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cookie-banner p {
  margin-bottom: 0;
  max-width: 540px;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  background: #F1C232;
  color: #153041;
  font-family: 'Georgia',serif;
  font-weight: 600;
  transition: background 0.13s, color 0.13s, box-shadow 0.12s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(21,48,65,0.08);
}
.cookie-btn.cookie-reject {
  background: #F7F7F7;
  color: #2f2d2a;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: #153041;
  border: 1.5px solid #153041;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #153041;
  color: #fff;
  outline: 0;
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 130;
  background: rgba(21,48,65,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  padding: 38px 26px;
  border-radius: 20px;
  box-shadow: 0 6px 44px rgba(21,48,65,0.12);
  min-width: 320px;
  max-width: 380px;
  text-align: left;
  font-family: 'Georgia', serif;
  animation: cookiemodalfadein 0.6s;
}
@keyframes cookiemodalfadein {
  0% { opacity: 0; transform: translateY(-28px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #153041;
  font-family: 'Georgia',serif;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 16px;
  background: #F7F7F7;
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.1s;
}
.cookie-toggle[data-checked="true"] {
  background: #F1C232;
}
.cookie-toggle .knob {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1.5px;
  left: 2px;
  box-shadow: 0 1px 4px rgba(21,48,65,0.05);
  transition: left 0.13s;
}
.cookie-toggle[data-checked="true"] .knob {
  left: 19px;
}
.cookie-modal-controls {
  display: flex;
  gap: 11px;
  margin-top: 26px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  color: #153041;
  border: none;
  font-size: 1.8rem;
  position: absolute;
  right: 23px;
  top: 12px;
  cursor: pointer;
  padding: 3px 11px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F1C232;
}


/* ===============================
   RESPONSIVE DESIGN (MOBILE-FIRST)
=============================== */
@media (max-width: 1023px) {
  .container {
    max-width: 98vw;
    padding: 0 16px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

@media (max-width: 900px) {
  nav {
    gap: 18px;
  }
  .feature-grid > div, .service-cards > div {
    min-width: 160px;
    padding: 20px 10px;
  }
}

@media (max-width: 768px) {
  .container { max-width: 99vw; padding: 0 6px; }
  section {
    padding: 36px 4px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  .feature-grid, .service-cards, .feature-icons {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .service-cards > div, .feature-icons > div {
    min-width: 0; width: 100%;
    margin-bottom: 0;
    padding: 16px 9px 15px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px;
  }
  .content-wrapper, .contact-details {
    gap: 14px;
    padding-right: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 16px;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.03rem; }
  h3 { font-size: 0.99rem; }
  .testimonial-card { padding: 13px 7px; }
  .feature-grid > div, .service-cards > div {
    padding: 11px 5px;
  }
  nav a { font-size: 0.98rem; padding: 5px 7px; }
  .cta { padding: 7px 18px; font-size: 1rem; }
}

@media (max-width: 900px) {
  nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none;
  }
  nav { display: flex !important; }
}

/* Ensure all minimum spacings for content are obeyed */
.card, .feature-grid > div, .service-cards > div, .testimonial-card {
  margin-bottom: 20px;
}
.content-wrapper, .contact-details {
  gap: 22px;
}

/* Helper for hiding visually but not for screen readers */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

::selection {
  background: #F1C232;
  color: #153041;
}

/* End of Elegant Classic CSS */
