/* ===================== 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {display: block;}
body {
    line-height: 1.5;
    background: #FFF7E6;
    color: #312c22;
    min-height: 100vh;
}
ul, ol {
  padding-left: 1.2em;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}
a {
    color: #27639a;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover, a:focus {
    color: #F5B041;
    text-decoration: underline;
}
:focus {
    outline: 2px solid #3986C7;
    outline-offset: 2px;
}
button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

/* ===================== FONTS ===================== */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&family=Montserrat:ital,wght@0,400;0,600;1,400&display=swap');

body {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 16px;
  background: #FFF7E6;
  color: #312c22;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Quicksand', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #27639a;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  color: #3986C7;
  margin-bottom: 10px;
}
h4, h5 {
  font-size: 1.1rem;
  color: #312c22;
}
p, li, blockquote, cite {
  font-size: 1rem;
  color: #3a3223;
}
p {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  color: #1b2735;
  border-left: 3px solid #3986C7;
  padding-left: 18px;
  margin-bottom: 6px;
  background: #f8f9fa;
  border-radius: 5px;
}
cite {
  color: #3986C7;
  font-style: normal;
  display: block;
  margin-top: 7px;
}

/* ===================== LAYOUT: CONTAINER & SPACING ===================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===================== HEADER & MAIN MENU ===================== */
header {
  background: #ffffffcc;
  box-shadow: 0 2px 12px rgba(72, 71, 63, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px 20px;
  position: relative;
  gap: 20px;
}
.main-menu > a img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
.main-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 24px;
}
.main-menu li a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: #27639a;
  padding: 7px 12px;
  border-radius: 4px;
  transition: background 0.15s, color 0.2s;
}
.main-menu li a:hover,
.main-menu li a:focus {
  background: #F5B04122;
  color: #F5B041;
}
.cta-primary {
  display: inline-block;
  font-family: 'Quicksand', 'Georgia', serif;
  background: #3986C7;
  color: #fff;
  padding: 10px 32px;
  border-radius: 32px;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 1px 9px rgba(68,68,68,0.12);
  letter-spacing: 0.04em;
  transition: background 0.2s, box-shadow 0.24s, color 0.2s;
  border: 2px solid #3986C7;
  margin-left: 14px;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F5B041;
  border-color: #F5B041;
  color: #27639a;
  box-shadow: 0 1px 20px rgba(68,68,68,0.16);
  text-decoration: none;
}

/* =============== MOBILE BURGER MENU ================ */
.mobile-menu-toggle {
  background: #fff;
  border-radius: 6px;
  font-size: 2rem;
  color: #27639a;
  border: 1px solid #e1e4ea;
  padding: 5px 15px;
  margin-left: 12px;
  display: none;
  z-index: 1301;
  transition: background 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: #F5B041;
  color: #fff;
  border-color: #F5B041;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #FFF7E6ee;
  z-index: 1300;
  transition: transform 0.39s cubic-bezier(.86,0,.07,1);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(60,60,60,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #27639a;
  background: none;
  margin: 24px 0 32px 24px;
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding-left: 36px;
  padding-right: 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Quicksand', 'Georgia', serif;
  color: #27639a;
  padding: 12px 0 12px 0;
  border-radius: 6px;
  display: block;
  transition: background 0.15s, color 0.2s, padding-left 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #3986C722;
  color: #F5B041;
  padding-left: 10px;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 900px) {
  .main-menu ul,
  .main-menu .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================== HERO SECTION ===================== */
.hero-section {
  background: #FFFFFF;
  background-image: linear-gradient(110deg, #FFF7E6 70%, #fff 100%);
  border-bottom: 4px solid #F5B04144;
  padding: 56px 0 20px 0;
  margin-bottom: 0;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  min-height: 190px;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 10px;
  gap: 14px;
  text-align: left;
}
.hero-section h1 {
  color: #27639a;
  font-size: 2.5rem;
  line-height: 1.16;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.hero-section p {
  font-size: 1.18rem;
  max-width: 620px;
  color: #3a3223;
  margin-bottom: 10px;
}
.hero-section .cta-primary {
  margin-top: 18px;
}

/* ============= FEATURE/CONTENT GRIDS & CARD CONTAINER ============= */
.card-container, .feature-grid, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid {
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 1px 10px rgba(55, 60, 78, 0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.6px solid #f2f2ed;
  min-width: 220px;
  flex: 1 1 320px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 4px 28px rgba(55, 60, 78, 0.14);
  border-color: #F5B041;
}
.service-card, .feature-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(55, 60, 78, 0.045);
  border: 1.2px solid #f2efe3;
  padding: 26px 22px 22px 22px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.19s, border-color 0.19s;
}
.service-card:hover,
.feature-card:hover {
  box-shadow: 0 6px 20px rgba(85, 70, 40, 0.11);
  border-color: #F5B041;
}
.service-card h3, .feature-card h3 {
  margin-bottom: 6px;
  color: #3986C7;
}
.service-card span {
  margin-top: 8px;
  color: #F5B041;
  font-weight: 600;
}
.services-list {
  margin-bottom: 16px;
}

/* ================= TESTIMONIALS & REVIEW CARDS ================ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #FFEBCF;
  border-left: 5px solid #F5B041;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(215, 183, 111, 0.09);
  transition: box-shadow 0.2s, border-color 0.2s;
  font-size: 1.1rem;
  color: #2a2221;
}
.testimonial-card:hover {
  box-shadow: 0 7px 29px rgba(220, 183, 116, 0.19);
  border-left-color: #27639a;
}
.testimonial-card blockquote {
  color: #3c2a13;
  background: transparent;
  border-left: none;
  margin-bottom: 0;
  padding-left: 0;
}
.testimonial-card cite {
  color: #27639a;
  font-size: 1rem;
  font-style: normal;
  margin-top: 2px;
}

/* ========== TEXT/IMAGE & FLEX UTILITY SECTIONS ========== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ================ FOOTER STYLES =================== */
footer {
  background: #FFF7E6;
  padding: 42px 0 16px 0;
  border-top: 3px solid #F5B04155;
  margin-top: 56px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 19px;
  margin-bottom: 8px;
}
.footer-navigation a {
  color: #27639a;
  font-size: 0.99rem;
  font-family: 'Montserrat', serif;
  margin-bottom: 2px;
  transition: color 0.18s;
}
.footer-navigation a:hover {
  color: #F5B041;
}
.footer-contact {
  color: #7b715b;
  font-size: 0.98rem;
  max-width: 290px;
  line-height: 1.85;
  font-family: 'Montserrat', serif;
  margin-bottom: 5px;
}
.footer-contact a {
  color: #3986C7;
  font-weight: 600;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(140,130,100,0.09);
  transition: box-shadow 0.15s, background 0.21s;
}
.footer-social a:hover img {
  background: #F5B041;
  box-shadow: 0 4px 16px rgba(215, 183, 111, 0.14);
}

/* ===================== COOKIE CONSENT ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffdf9;
  border-top: 3px solid #F5B041;
  box-shadow: 0 -1px 18px rgba(215,183,111,0.10);
  z-index: 2025;
  padding: 28px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  animation: fadeInBanner 0.8s ease-out;
}
@keyframes fadeInBanner {from{opacity:0;transform:translateY(50px);} to{opacity:1;transform:translateY(0);}}
.cookie-banner p {color: #312c22; max-width: 400px;}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.cookie-btn {
  background: #3986C7;
  color: #fff;
  padding: 8px 24px;
  border-radius: 23px;
  font-family: 'Quicksand', serif;
  font-size: 1rem;
  border: none;
  margin-right: 4px;
  transition: background 0.19s, color 0.19s;
  min-width: 112px;
}
.cookie-btn.reject{
  background: #c7c1b9;
  color: #fff;
}
.cookie-btn.settings{
  background: #F5B041;
  color: #312c22;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #27639a;
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff;
  color: #27639a;
  border: 1.2px solid #27639a;
}
/* Cookie Modal Popup */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.29);
  z-index: 2026;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInBanner 0.13s;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 32px rgba(40, 40, 40, 0.21);
  padding: 38px 32px 26px 32px;
  min-width: 318px;
  max-width: 97vw;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2027;
  position: relative;
  animation: fadeInBanner 0.17s;
}
.cookie-modal .cookie-modal-title {
  font-family: 'Quicksand', 'Georgia', serif;
  font-size: 1.23rem;
  margin-bottom: 9px;
  color: #3986C7;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px; top: 12px;
  font-size: 1.8rem;
  background: none;
  color: #27639a;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #e7e0d4;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
  border: 1px solid #dfc7a0;
}
.cookie-modal .cookie-toggle[data-checked="true"] {
  background: #F5B041;
}
.cookie-modal .cookie-toggle .toggle-ball {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(120,90,50,0.11);
  transition: left 0.21s;
}
.cookie-modal .cookie-toggle[data-checked="true"] .toggle-ball {
  left: 18px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 13px;
  justify-content: flex-end;
}

/* =========== UTILITY CLASSES =========== */
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* =========== SPACING CONSTRAINTS ============ */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .services-list {
  gap: 24px;
}
.card, .service-card, .feature-card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  gap: 15px;
}


/* ================ RESPONSIVE DESIGN ================ */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .main-menu {
    flex-direction: row;
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    max-width: 98vw;
  }
  .card-container, .feature-grid, .services-list {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .footer-navigation {
    gap: 15px 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.16rem; }
  section, .section { padding: 28px 3vw; margin-bottom: 38px; }
  .content-wrapper { gap: 18px; }
  .card, .service-card, .feature-card {
    padding: 17px 10px 16px 12px;
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-contact {
    margin-bottom: 16px;
  }
  .footer-social { margin-top: 14px; }
  .footer-navigation {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 650px) {
  .main-menu {
    padding: 15px 8px;
  }
  .hero-section {
    padding: 38px 0 8px 0;
  }
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.03rem; }
  section, .section { padding: 19px 5px; margin-bottom: 22px; }
}
@media (max-width: 520px) {
  .footer-social img {
    width: 24px; height: 24px;
  }
  footer .container {
    gap: 18px;
  }
}

/* ============== ANIMATIONS (for menu, banner etc) ============== */
@keyframes slideInMenu {
  0% { transform: translateX(-100vw); }
  100% { transform: translateX(0); }
}
@keyframes slideOutMenu {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100vw); }
}

.mobile-menu.open {
  animation: slideInMenu 0.35s cubic-bezier(.86,0,.07,1);
}
.mobile-menu:not(.open) {
  animation: slideOutMenu 0.22s cubic-bezier(.86,0,.07,1);
}

/* ============== MICRO-INTERACTIONS ============== */
a, .cta-primary, button, .service-card, .feature-card, .card, .footer-navigation a {
  transition: 
    background 0.18s, color 0.21s, box-shadow 0.24s, border-color 0.17s;
}

/* ============== SELECTION STYLING ============== */
::selection {
  background: #F5B041;
  color: #fff;
}

/* ============== SCROLLBAR ELEGANCE ============== */
/* Chrome/Webkit */
::-webkit-scrollbar {
  width: 8px; height: 8px;
  background: #f6e9d6;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #c7c1b9;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F5B041;
}

/* Make sure cookie banner never gets covered */
body {padding-bottom: 90px;}

/* =============== END OF STYLE.CSS =============== */
