/* =========================
   CSS RESET & BASE STYLES
   ========================= */
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, main, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F4F6F7;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F6F7;
  color: #17202A;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

strong { font-weight: 700; }

/* Selection highlight */
::selection {
  background: #D5A021;
  color: #fff;
}

/* ================
   BRAND FONTS
   ================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #17202A;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(213,160,33,0.06);
}

h1 {
  font-size: 2.4rem;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.13;
}
@media (min-width:600px){ h1 { font-size: 3rem; } }
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
@media (min-width:600px){ h2 { font-size: 2rem; } }
h3 {
  font-size: 1.2rem; font-weight: 700;}
h4, h5, h6 { font-weight: 700; }

p,
ul,ol {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
  color: #17202A;
}

@media (min-width:900px){
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.4rem; }
}

.text-section, .content-wrapper {
  margin-bottom: 20px;
}

/* ==============================
   CONTAINER & LAYOUT UTILITIES
   ============================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper { padding: 0; margin: 0; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(23,32,42,0.06), 0 1.5px 8px rgba(213,160,33,0.05);
}

@media (max-width:900px) {
  .section { padding: 32px 8px; margin-bottom: 40px; }
}

.card-container {  /* Flexbox Layout for card container */
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(213,160,33,0.08);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .22s cubic-bezier(.44,1.24,.44,1), box-shadow .14s;
  border: 2px solid transparent;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(213,160,33,0.19);
  transform: translateY(-6px) scale(1.027);
  border-color: #D5A021;
  z-index: 1;
}

.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;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(23,32,42,0.11);
  background: #fff;
  margin-bottom: 24px;
  font-size: 1.06rem;
  color: #17202A;
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card p {
  flex: 1;
  color: #17202A;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #D5A021;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px 0 rgba(213,160,33,0.15);
  transform: translateY(-3px) scale(1.017);
}

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

/* =======================
   NAVIGATION & HEADER
   ======================= */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(23,32,42,0.06);
  width: 100%;
  position: relative;
  z-index: 12;
  padding-top: 6px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
  padding-bottom: 6px;
  position: relative;
}
header img {
  height: 49px;
  width: auto;
  margin-right: 28px;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 #F4F6F7;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #17202A;
  font-size: 1rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 3px 7px;
  transition: color .16s;
  border-radius: 6px;
}
header nav a:hover, header nav a:focus {
  color: #fff;
  background: #D5A021;
  outline: none;
  transition: background .18s, color .18s;
}

.cta-btn {
  background: #D5A021;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  border: none;
  border-radius: 26px;
  padding: 13px 36px;
  margin-left: 18px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 16px rgba(213,160,33,0.13);
  cursor: pointer;
  display: inline-block;
  transition: box-shadow .16s, background .18s, transform .16s;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #17202A;
  color: #fff;
  box-shadow: 0 5px 28px 0 #D5A02133,0 2px 10px #17202A17;
  transform: scale(1.05);
}

/* =====================
   BURGER / MOBILE MENU
   ===================== */
.mobile-menu-toggle,
.mobile-menu-close {
  background: #D5A021;
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px #D5A02126;
  transition: background .16s, color .16s;
  z-index: 41;
}
.mobile-menu-toggle:focus, .mobile-menu-close:focus { outline: 3px solid #D5A021; }
.mobile-menu-toggle:hover, .mobile-menu-close:hover {
  background: #17202A;
  color: #D5A021;
}

@media (max-width:1020px) {
  header nav, .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex !important; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,32,42, 0.97);
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.38,1.48,.38,1);
  padding: 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-menu.active {
  transform: translateX(0);
  animation: mobileSlideIn .31s cubic-bezier(.4,1.5,.36,1.02);
}
@keyframes mobileSlideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  position: absolute;
  top: 23px;
  right: 24px;
  background: #fff;
  color: #D5A021;
  box-shadow: 0 2px 14px #17202A16;
  z-index: 13;
  display: flex;
}
.mobile-nav {
  margin-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.36rem;
  font-weight: 700;
  padding: 10px 0 10px 2px;
  border-radius: 8px;
  background: none;
  transition: background .16s;
  line-height: 1.4;
  width: 100%;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #D5A021;
  color: #17202A;
}

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


/* ====================
   FOOTER
   ==================== */
footer {
  background: #17202A;
  color: #fff;
  padding: 36px 0 12px 0;
  border-top: 5px solid #D5A02122;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #D5A021;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 3px 8px;
  border-radius: 6px;
  transition: background .16s, color .16s;
}
footer nav a:hover, footer nav a:focus {
  color: #17202A;
  background: #fff;
}
.footer-info {
  color: #fff;
  font-size: 0.92rem;
  margin-top: 3px;
}

/* ================================
   LISTS & CONTENT PREVIEW STYLES
   ================================ */
.content-wrapper > ul, .content-wrapper > ol {
  margin: 0 0 18px 0;
  padding-left: 22px;
}
.content-wrapper ul li, .content-wrapper ol li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 8px;
  font-size: 1.025rem;
}
.content-wrapper ul li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 60% 20% 70% 30%/60% 30% 70% 40%;
  background: #D5A021;
  position: absolute;
  left: -22px;
  top: 2px;
  opacity: .87;
}
.content-wrapper ol {
  list-style: decimal inside;
  padding-left: 12px;
}
.content-wrapper ol li::before { display: none; }
.content-wrapper li strong { color: #D5A021; font-weight: 700; }

.text-section h2 { margin-top: 18px; font-size:1.14rem; }
.text-section ul li {
  list-style: disc;
  padding-left: 6px;
  font-size: 1rem;
}

/* ======================
   TEXT STYLING
   ====================== */
.text-section {
  margin-bottom: 18px;
  padding-bottom: 4px;
  color: #17202A;
}
.text-section p {
  font-size: 1.04rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.text-section ul {
  margin-left: 14px;
  margin-bottom: 14px;
}
.text-section ul li::before { display: none; }

/* ========================
   MISC & UTILITIES
   ======================== */
@media (max-width:900px) {
  .content-grid, .card-container, .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
  .container { padding: 0 10px; }
  .footer-info { font-size: 0.89rem; }
}

@media (max-width:768px) {
  .section { margin-bottom: 32px; padding: 24px 4px; }
  h1 { font-size:2rem; }
  h2 { font-size:1.34rem; }
  .testimonial-card, .card { padding:18px 10px; }
  .footer-info { font-size: 0.82rem; }
  .content-grid, .card-container, .text-image-section {
    flex-direction: column !important;
    gap: 14px;
  }
}

/* For cards inside mobile view - ensure 100% width */
@media (max-width:600px) {
  .card, .testimonial-card { width: 100%; }
}

/* ===============
   BUTTON STYLES
   =============== */
button, .cta-btn {
  transition: background .20s, transform .14s, box-shadow .16s, color .18s;
}
button:active, .cta-btn:active {
  transform: scale(.97);
}

/* =============
   FORM/BANNER (COOKIE CONSENT)
   ============= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(23,32,42,0.13);
  border-top: 4px solid #D5A021;
  padding: 22px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  z-index: 9999;
  font-size: 1.07rem;
  animation: bannerIn .45s cubic-bezier(.24,1.24,.48,1.02);
}
@keyframes bannerIn {
  from { transform: translateY(120%); opacity: .3; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner h2 {
  font-size: 1.2rem;
  color: #17202A;
  font-weight: 800;
  margin-bottom: 7px;
}
.cookie-btn-row {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 800;
  font-size: 1.01rem;
  padding: 10px 26px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(213,160,33,0.10);
}
.cookie-accept-btn {
  background: #D5A021;
  color: #fff;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #17202A;
  color: #fff;
}
.cookie-reject-btn {
  background: #17202A;
  color: #fff;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #D5A021;
  color: #fff;
}
.cookie-settings-btn {
  background: none;
  color: #D5A021;
  border: 2px solid #D5A021;
  font-weight: 700;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #D5A021;
  color: #fff;
}

@media (max-width:600px) {
  .cookie-banner { font-size: .95rem; padding: 15px 4px 13px 7px; }
  .cookie-btn-row { gap: 8px;  flex-wrap: wrap; }
  .cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn { font-size: .98rem; padding: 8px 12px; }
}

/* =====================
   COOKIE PREFS MODAL
   ===================== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,32,42,0.63);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .28s cubic-bezier(.23,1.09,.4,1.01);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 28px 0 #17202A13;
  padding: 36px 28px;
  min-width: 340px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  animation: fadeIn .33s cubic-bezier(.18,.92,.43,1.21);
}
@media (max-width:480px) {
  .cookie-modal { padding: 18px 5px; min-width: 0; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #17202A;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-category label {
  flex: 1;
  color: #17202A;
  font-weight: 700;
  margin-right: 8px;
}
.toggle-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.toggle-switch input[type=checkbox] {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}
.toggle-slider {
  width: 34px;
  height: 20px;
  background: #D5A02144;
  border-radius: 12px;
  position: relative;
  transition: background .17s;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .15s;
  box-shadow: 0 2px 7px #17202A14;
}
.toggle-switch input:checked + .toggle-slider {
  background: #D5A021;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(14px);
}
.cookie-modal .cookie-btn-row { justify-content: flex-end; }

/* =========================
   VIBRANT ENERGETIC SHADOWS
   ========================= */
.card, .testimonial-card {
  box-shadow: 0 3px 18px 0 #D5A02122,0 4px 14px 0 #17202A11;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 34px 0 #D5A02135,0 4.5px 18px 0 #17202A11, 0 0 3px #D5A02111;
}

/* =========================
   VIBRANT ACCENT DETAILS
   ========================= */
h1,h2,h3,.cta-btn,header nav a.active {
  text-transform: none;
  letter-spacing: 0.01em;
}
h1 span, h2 span, .cta-btn span {
  color: #D5A021;
  font-weight: 900;
}

/* =====================
   VIBRANT ENERGETIC HIGHLIGHTS
   ===================== */
.section {
  border: 3px solid #D5A02133;
  box-shadow: 0 6px 26px #D5A0210e, 0 2px 10px #17202A08;
}

@media (max-width:600px) {
  .section { border-width: 2px; border-radius: 13px; }
}

/* ================
   VISUAL EFFECTS
   ================ */
.card {
  background: linear-gradient(100deg, #fff 82%, #FFEED1 100%);
}
.card:hover {
  background: #fffbe6;
}

.cta-btn {
  box-shadow: 0 8px 18px 0 #D5A02124,0 1px 9px #17202A21;
}

/* =========================
   ACCESSIBLE CONTRAST GUARANTEE (testimonials)
   ========================= */
.testimonial-card {
  background: #fff;
  color: #17202A;
  border: 2px solid #D5A02124;
}
.testimonial-card>span {
  color: #D5A021;
  font-weight: 700;
}

/* ######################################
   SPACING & CARD ALIGNMENT (MANDATORY)
   ###################################### */
.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; }

/* Make sure all content cards/sections have at least 20px margin between them */
.card, .testimonial-card, .content-wrapper {
  margin-bottom: 20px;
}

/* ===========
   PRINT
   =========== */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* ===============
   VIBRANT COLOR SPLASH - Energetic details
   =============== */
.energetic-dot {
  width: 10px; height: 10px;
  border-radius: 100%;
  background: #D5A021;
  display: inline-block;
  margin-right: 6px;
}

/* ======================
   MICRO-INTERACTIONS
   ====================== */
a, .cta-btn, button, .mobile-nav a {
  transition: background .16s, color .16s, box-shadow .23s, transform .12s;
}
a:active, .cta-btn:active, button:active, .mobile-nav a:active {
  transform: scale(.98);
}

/* ================
   ANIMATION UTILITIES
   ================ */
.anim-fade-in { animation: fadeIn .92s cubic-bezier(.23,1.09,.4,1.01); }
.anim-slide-up { animation: slideUp .55s cubic-bezier(.42,1.34,.58,.96); }
@keyframes slideUp {
  from { opacity: .15; transform: translateY(90px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   SCROLLBARS (hide when overflow)
   ========================= */
::-webkit-scrollbar {
  width: 10px;
  background: #FFEED1;
}
::-webkit-scrollbar-thumb {
  background: #D5A021;
  border-radius: 16px;
}

/* =====================
   MISC UTILITIES
   ===================== */
.hide { display: none !important; }

/* =======================
   Z-INDEX LAYERING
   ======================= */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index:999; }

/* =====================
   END
   ===================== */
