/* ---------------- 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;
}
/* Set base font-size for mobile-first */
html { font-size: 16px; }
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF9F2;
  color: #342E1B;
  min-height: 100vh;
  /* warm beige background for friendliness */
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: #1A237E; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #FFD600; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---------------- Brand Typography ----------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A237E;
  font-weight: 700;
  letter-spacing: .01em;
}
h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; font-weight: 600; }

p, ul li, ol li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #495058;
  margin-bottom: 10px;
  line-height: 1.7;
}
strong {
  font-weight: 600;
  color: #1A237E;
}

/* ---------------- Layout Containers ----------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
/* Section Spacing Rules (MANDATORY) */
section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(234,188,87,0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section { padding: 24px 8px; margin-bottom: 32px; }
}

/* -------------- Flexible Layout Components ---------- */
.content-wrapper, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.content-wrapper { flex-direction: column; }
@media (min-width: 768px) {
  .content-wrapper { flex-direction: row; }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 15px rgba(234,188,87,0.11);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.24s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(230,201,31,0.14);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}

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

/* -------------- Testimonial Cards ------------------ */
.testimonial-card {
  background: #FFF9F2;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(206, 138, 47, 0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(192,126,33,0.18);
  transform: translateY(-4px) scale(1.02);
}
.testimonial-card strong {
  margin-left: 18px;
  color: #1A237E;
  font-size: 1rem;
}
.testimonial-card p {
  color: #463616;
  margin-bottom: 0;
}

/* Ensure color contrast & legibility */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #463616 !important;
  background: #FFF9F2 !important;
}

/* ------------ Main Navigation Header --------------- */
header {
  background: #FFF9F2;
  box-shadow: 0 2px 12px rgba(255, 214, 0, 0.07);
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  width: 128px; height: auto;
  border-radius: 10px;
}
nav.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A237E;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 12px;
  font-size: 1rem;
  transition: background .18s, color .15s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: #FFD600;
  color: #1A237E;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #FFD600;
  color: #1A237E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(255,214,0,0.09);
  cursor: pointer;
  transition: background .2s, color .18s, box-shadow .21s, transform .14s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffe043;
  color: #342E1B;
  box-shadow: 0 6px 18px rgba(255, 214, 0, 0.18);
  transform: translateY(-3px) scale(1.02);
}

/* -------------- Footer Styles ----------------------- */
footer {
  background: #1A237E;
  color: #FFF9F2;
  padding: 32px 0 12px 0;
  margin-top: 32px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #FFD600;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 8px;
  padding: 6px 11px;
  transition: background .15s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFD600;
  color: #1A237E;
}
footer p { text-align: center; color: #FFD600; margin-top: 8px; font-size: 0.94rem; }

/* ------------ Lists and Features ------------------- */
ul {
  list-style: none;
  padding-left: 0;
}
ul li {
  background: #FFFBE2;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(255,214,0,0.06);
  padding: 18px 22px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: #342E1B;
}
ul li img { margin-right: 12px; width: 32px; height: 32px; }
ul li h3 { margin: 0 0 8px 0; color: #1A237E; font-size: 1.1rem; font-weight: 600; }
ul li p { margin-bottom: 0; color: #495058; }

/* ------------ Address/Contact Block ---------------- */
address {
  font-style: normal;
  background: #FFFBE2;
  border-radius: 13px;
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 7px rgba(255,214,0,0.06);
  font-size: 1rem;
  color: #1A237E;
}
address img { margin-right: 7px; width: 22px; height: 22px; vertical-align: middle; display: inline-block; }
address a { color: #1A237E; word-break: break-all; }

/* ------------- Responsive Spacing & Font Sizes ------------- */
@media (min-width: 500px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.18rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  .container { padding: 0 32px; }
}

/* -------------- MOBILE NAVIGATION ------------------- */
.mobile-menu-toggle {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 5001;
  background: #FFD600;
  color: #1A237E;
  border: none;
  border-radius: 14px;
  width: 50px; height: 50px;
  font-size: 2rem;
  box-shadow: 0 2px 10px rgba(255,214,0,0.13);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .16s, color .16s, transform .21s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fff986;
  color: #342E1B;
  transform: scale(1.07);
}
@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fffbe2ee;
  z-index: 5100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.85,-0.01,.38,1.08);
  box-shadow: 2px 0 22px 6px rgba(255,214,0,0.16);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition: transform .40s cubic-bezier(.70,-0.14,.36,1.17), opacity .18s;
}
.mobile-menu-close {
  background: #FFD600;
  color: #1A237E;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  width: 48px; height: 48px;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  box-shadow: 0 1px 8px rgba(255,214,0,0.09);
  cursor: pointer;
  transition: background .15s, color .14s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: #fff986;
  color: #342E1B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: flex-start;
  margin-top: 18px;
  gap: 10px;
  padding: 0 32px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #1A237E;
  background: #FFFBE2;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 7px;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD600;
  color: #1A237E;
}
@media (min-width: 992px) {
  .mobile-menu { display: none; }
  nav.main-nav { display: flex !important; }
}
@media (max-width: 991px) {
  nav.main-nav { display: none !important; }
  .btn-primary { display: none !important; }
  header .container { justify-content: flex-start; gap: 0; }
}

/* -------------- Cookie Consent Banner -------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  z-index: 5900;
  background: #1A237E;
  color: #FFD600;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  padding: 22px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 -2px 22px rgba(30,23,103,0.13);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  transition: transform .3s;
  gap: 18px;
}
.cookie-consent-banner.hide {
  /* For JS to hide */
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn {
  border: none;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  padding: 11px 26px;
  margin: 0;
  font-size: 1rem;
  cursor: pointer;
  background: #FFD600;
  color: #1A237E;
  box-shadow: 0 1px 5px rgba(255,214,0,0.13);
  transition: background .18s, color .16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFEE5A;
  color: #1A237E;
}
.cookie-btn.settings {
  background: #fff;
  color: #1A237E;
  box-shadow: 0 1px 11px rgba(26,35,126,.08);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFFFCF;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(39,41,92,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-dialog {
  background: #fffbe2;
  color: #1A237E;
  border-radius: 20px;
  padding: 38px 32px 24px 32px;
  max-width: 460px;
  width: 96vw;
  box-shadow: 0 6px 56px rgba(255,214,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 24px;
  animation: modalPop .38s;
}
@keyframes modalPop {
  from { transform: scale(.89); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: #FFD600;
  border: none;
  color: #1A237E;
  border-radius: 12px;
  width: 40px; height: 40px;
  font-size: 1.4rem;
  z-index: 2;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fde26b;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1A237E;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #FFD600;
  border-radius: 7px;
  border: 2px solid #FFD600;
}
.cookie-category .always-on {
  color: #b89d2c;
  background: #ffe067;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: .95em;
  margin-left: 5px;
  font-weight: 500;
}

/* ----------- Modal Save/Reject Buttons ----------- */
.cookie-modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 13px;
}

/* -------------- Utility & Micro-interactions -------------- */
::-webkit-scrollbar { width: 8px; background: #FFF9F2; }
::-webkit-scrollbar-thumb { background: #FFE26B; border-radius: 8px; }
input, textarea { border-radius: 9px; border: 1px solid #FFE26B; padding: 11px; background: #fff; }
input:focus, textarea:focus { outline: 2px solid #FFD600; border-color: #FFD600; }

/* --------------- Spacings for all elements --------------- */
section + section { margin-top: 10px; }
.content-wrapper > *, .content-grid > * {
  margin-bottom: 20px;
}
ul li + li { margin-top: 6px; }

/* --------------- Custom Micro Animations --------------- */
.btn-primary, .cookie-btn {
  will-change: transform, box-shadow;
  transition: background .15s, color .14s, box-shadow .22s, transform .11s;
}
.card, .testimonial-card {
  transition: box-shadow .19s, transform .15s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.96);
}

/* --------------- Text blocks & sections ----------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.text-section ul {
  margin: 10px 0 0 0;
}
.text-section h3, .text-section h2 { margin-bottom: 10px; }

/* --------------- Responsive Utility --------------- */
@media (max-width: 800px) {
  footer .container, .container { max-width: 96vw; }
  section { border-radius: 11px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }
  header img { width: 86px; }
  .btn-primary { padding: 11px 17px; font-size: 1rem; }
}

/* --------------- Z-Index Layers -------------------- */
.mobile-menu { z-index: 5100; }
.mobile-menu-toggle { z-index: 5001; }
.cookie-consent-banner { z-index: 5900; }
.cookie-modal { z-index: 9999; }

/* --------------- Accessibility -------------------- */
:focus { outline: 2px solid #FFD600; outline-offset: 2px; background: #fffde6; transition: background .11s; }

/* --------------- Special: Hide SEO elements visually but not for screen readers if needed */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; border: 0; padding: 0;
  clip: rect(0,0,0,0); overflow: hidden;
}

/* --------------- End of style.css --------------- */
