/* ====================================================== */
/*                     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: #FFFFFF;
  color: #20405B;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* ====================================================== */
/*            FONT IMPORT & BASE TYPOGRAPHY              */
/* ====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF;
  color: #20405B;
  font-size: 16px;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}
h1 {
  font-size: 2.8rem;
  color: #CB6C2E;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  color: #20405B;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  color: #A04B18;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
  font-size: 1.06rem;
  color: #20405B;
  font-family: 'Roboto', Arial, sans-serif;
}
strong, b {
  font-weight: 700;
  color: #A04B18;
}
ul {
  padding-left: 24px;
  margin-bottom: 20px;
}
ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #CB6C2E;
  display: inline-block;
}
table {
  width: 100%;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(39,76,91,0.07);
}
th, td {
  padding: 16px 10px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #E7E7E7;
  color: #20405B;
  font-family: 'Montserrat', Arial, sans-serif;
}
td {
  border-bottom: 1px solid #E7E7E7;
  color: #20405B;
}
.disclaimer {
  font-size: 0.98rem;
  color: #CB6C2E;
  margin: 8px 0 18px 0;
}

/* ====================================================== */
/*                 LAYOUT & SPACING                      */
/* ====================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
main {
  min-height: 68vh;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
.text-section {
  align-items: flex-start;
  justify-content: flex-start;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.feature-card {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 2.5px 14px 0 rgba(200,108,46,0.08);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  flex: 1 1 260px;
  position: relative;
  margin-bottom: 20px;
  transition: transform 0.22s cubic-bezier(.66,1.5,.56,1), box-shadow 0.24s;
}
.feature-card:hover {
  transform: translateY(-6px) rotate(-1deg) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(39,76,91,0.13);
  z-index: 2;
}
.feature-card img {
  height: 48px; width: 48px;
  margin-bottom: 4px;
  filter: hue-rotate(-13deg) drop-shadow(0px 2px 4px #FFD88066);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(39,76,91,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
}
.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;
  background: #FFF9F4;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(200,108,46,0.07);
  padding: 20px 20px 20px 32px;
  margin-bottom: 24px;
  min-height: 80px;
  font-size: 1.04rem;
  color: #222;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(200,108,46,0.14);
  transform: scale(1.02) rotate(0.5deg);
}
.testimonial-card p {
  flex: 2 1 0;
  margin-bottom: 0;
  color: #20405B;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  flex: 1 1 0;
  font-size: 1rem;
  text-align: right;
  color: #A04B18;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

.project-summary {
  background: #E7E7E7;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px 0 rgba(32,64,91,0.05);
}

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

.map-snippet {
  background: #E7E7E7;
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 16px;
  font-size: 1rem;
}

/* ====================================================== */
/*                  HEADER/NAVIGATION                    */
/* ====================================================== */
header {
  background: #CB6C2E;
  box-shadow: 0 6px 28px -10px rgba(32,64,91,0.1);
  width: 100%;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 500;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0px 3px 8px #FFD88055);
  border-radius: 4px;
  transition: transform 0.22s;
}
.logo:hover img {
  transform: scale(1.07) rotate(-2deg);
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.main-nav a {
  color: #FFF;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 3px 4px;
  border-radius: 8px;
  position: relative;
  transition: color 0.16s, background 0.14s;
}
.main-nav a:hover {
  color: #A04B18;
  background: #FFFFFFcc;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #20405B;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  padding: 14px 30px;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  box-shadow: 0 2px 14px 0 rgba(32,64,91,0.10);
  cursor: pointer;
  letter-spacing: 0.04em;
  margin-left: 20px;
  transition: background 0.18s, box-shadow 0.17s, transform 0.13s;
  position: relative;
  /* Animated underline */
  overflow: hidden;
}
.btn-primary:after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: #CB6C2E;
  transform: translateX(-100%);
  transition: transform 0.22s cubic-bezier(.63,.12,.41,2.57);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #A04B18;
  color: #FFF;
  transform: scale(1.04) rotate(-0.5deg);
  box-shadow: 0 8px 24px 0 rgba(32,64,91,0.16);
}
.btn-primary:hover:after,
.btn-primary:focus:after {
  transform: translateX(0);
}

.mobile-menu-toggle {
  font-size: 2rem;
  background: #E7E7E7;
  color: #CB6C2E;
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(200,108,46,0.09);
  transition: background 0.16s, color 0.14s;
  z-index: 800;
}
.mobile-menu-toggle:hover {
  background: #CB6C2E;
  color: #FFF;
}

/* -------------------- MOBILE MENU -------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,64,91,0.94);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.66,1.5,.56,1), opacity 0.24s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 26px; right: 34px;
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  border: none;
  z-index: 10001;
  cursor: pointer;
  line-height: 1;
  transition: color 0.17s;
}
.mobile-menu-close:hover {
  color: #FFD880;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 94px 42px 0 42px;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  border-radius: 12px;
  padding: 9px 24px;
  background: none;
  transition: background 0.16s, color 0.14s;
  min-width: 190px;
  min-height: 48px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #CB6C2E;
  color: #FFF9F4;
}

/* ====================================================== */
/*              HERO & CALL-TO-ACTION AREAS              */
/* ====================================================== */
.hero {
  background: #FFD880;
  background-image: linear-gradient(82deg,#FFD880 70%, #FFFFFF 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  box-shadow: 0 8px 34px 0 rgba(200,108,46,0.12);
  margin-bottom: 42px;
  animation: heroIn 1s cubic-bezier(.61,-0.4,.47,1.41);
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  gap: 20px;
}
.hero h1 {
  color: #CB6C2E;
  font-size: 2.8rem;
  text-shadow: 0 6px 12px #CB6C2E0c;
}
.hero p {
  color: #20405B;
  font-size: 1.16rem;
  font-weight: 500;
  margin-bottom: 14px;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(-28px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ====================================================== */
/*                   FOOTER                              */
/* ====================================================== */
footer {
  background: #20405B;
  color: #fff;
  width: 100%;
  padding: 30px 0 20px 0;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 34px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 3px 3px;
  transition: color 0.17s, background 0.14s;
  border-radius: 6px;
}
.footer-nav a:hover {
  color: #FFD880;
}
.footer-contact {
  font-size: 1rem;
}
.footer-contact a {
  color: #FFD880;
  margin: 0 7px;
  text-decoration: underline;
  transition: color 0.17s;
}
.footer-contact a:hover {
  color: #CB6C2E;
}

/* ====================================================== */
/*          COOKIE CONSENT BANNER & MODAL                 */
/* ====================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #FFE1B9;
  color: #20405B;
  box-shadow: 0 -3px 24px 0 rgba(32,64,91,0.11);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 30px 18px 26px;
  z-index: 12000;
  font-size: 1rem;
  animation: cookieSlideIn 0.7s cubic-bezier(.54,1.52,.91,.84);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #A04B18;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 22px;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #20405B;
  color: #FFF;
  cursor: pointer;
  transition: background 0.17s, color 0.14s, transform 0.17s;
}
.cookie-btn.accept {
  background: #CB6C2E;
  color: #FFF;
}
.cookie-btn.reject {
  background: #E7E7E7;
  color: #20405B;
}
.cookie-btn.settings {
  background: #FFD880;
  color: #A04B18;
}
.cookie-btn:hover {
  background: #A04B18;
  color: #FFF;
  transform: scale(1.03);
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,64,91,0.8);
  z-index: 13000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF9F4;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(200,108,46,0.09);
  padding: 36px 28px 30px 32px;
  min-width: 340px;
  max-width: 98vw;
  min-height: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalIn 0.38s cubic-bezier(.54,1.18,.71,1.44);
}
@keyframes cookieModalIn {
  from { transform: translateY(50px) scale(.96); opacity:0; }
  to   { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h2 {
  color: #CB6C2E;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 15px; right: 18px;
  background: none;
  color: #A04B18;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #20405B;
}
.cookie-category input[type="checkbox"] {
  accent-color: #CB6C2E;
  width: 22px; height: 22px;
}
.cookie-category input[disabled] {
  opacity: 0.65;
}

/* ====================================================== */
/*                RESPONSIVE DESIGN                      */
/* ====================================================== */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
  .features-grid { gap: 18px; }
}
@media (max-width: 991px) {
  .container { max-width: 90vw; }
  .main-nav { gap: 14px; }
  .features-grid { gap: 14px; }
  .footer-nav { gap: 18px; }
  header .container { padding: 10px 8px; }
  .hero { min-height: 220px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .btn-primary { margin-left: 0; }
  .features-grid, .content-grid, .card-container {
    flex-direction: column !important;
    gap: 18px;
  }
  .feature-card {
    min-width: unset;
    width: 100%;
    padding: 22px 14px 18px 14px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 18px 12px 18px 18px;
    gap: 4px;
  }
  .hero .container {
    min-height: 180px;
    padding: 24px 12px 0 12px;
  }
  .section {
    padding: 36px 6px;
    margin-bottom: 34px;
  }
  .footer-nav { flex-direction: column; gap: 8px; margin-bottom: 8px; }
  .footer-contact { font-size: 0.98rem; }
  .cookie-modal { min-width: 94vw; padding: 24px 8vw 20px 8vw; }
}
@media (max-width: 540px) {
  .cookie-consent-banner, .cookie-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px; padding: 10px 5vw 12px 5vw;
  }
  .cookie-consent-banner {
    font-size: 0.98rem;
    padding: 10px 10px;
  }
  .btn-primary { font-size: 0.98rem; padding: 11px 18px; }
  .project-summary, .map-snippet { padding: 12px; }
  table, th, td { font-size: 0.97rem; }
}

/* ====================================================== */
/*                   PLAYFUL ELEMENTS                    */
/* ====================================================== */
/* subtle swings for feature & testimonial cards */
@media (pointer: fine) {
  .feature-card, .testimonial-card {
    transition: box-shadow 0.22s, transform 0.21s cubic-bezier(.62,1.1,.65,1);
  }
  .feature-card:hover {
    animation: swing 0.5s;
  }
  .testimonial-card:hover {
    animation: swing 0.35s;
  }
  @keyframes swing {
    20% { transform: rotate(-3deg) scale(1.03); }
    50% { transform: rotate(2deg) scale(1.03); }
    100% { transform: rotate(0deg) scale(1.04); }
  }
}

/* FUN ANIMATION FOR BUTTONS */
.btn-primary, .cookie-btn {
  transition: background 0.22s, box-shadow 0.17s, transform 0.13s;
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.97) rotate(-1deg);
}

/* Animated hover underline for nav */
.main-nav a {
  position: relative;
}
.main-nav a:after {
  content: '';
  position: absolute;
  left: 0; bottom: 1px;
  width: 100%; height: 2.5px;
  border-radius: 2px;
  background: #FFD880;
  transform: scaleX(0);
  transition: transform 0.17s cubic-bezier(.68,.05,.07,1.53);
}
.main-nav a:hover:after {
  transform: scaleX(1);
}

/* Extra pop for feature icons */
.feature-card img {
  transition: filter 0.22s, transform 0.21s;
}
.feature-card:hover img {
  filter: hue-rotate(-6deg) saturate(1.3) drop-shadow(0 4px 10px #FFD88088);
  transform: scale(1.22) rotate(-8deg);
}

/* Animated check for ul */
ul li:before {
  transition: background 0.22s, transform 0.14s;
}
ul li:hover:before {
  background: #A04B18;
  transform: scale(1.26) rotate(-15deg);
  box-shadow: 0 1px 9px #CB6C2E33;
}

/* Playful rounded boxes */
.feature-card, .testimonial-card, .project-summary, .map-snippet, .cookie-modal {
  border-radius: 18px;
}

/* Make headings bounce in on page load */
h1, h2, h3 {
  animation: fadeUp 1.1s cubic-bezier(.5,1.5,.6,1.12) 0.1s backwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ====================================================== */
/*             UTILITY CLASSES AND OVERRIDES              */
/* ====================================================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.space-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* Hide scrollbars on mobile menu */
.mobile-menu::-webkit-scrollbar { display: none; }
.mobile-menu { scrollbar-width: none; }

/* Ensure no element overlaps */
section, .content-wrapper, .feature-card, .testimonial-card, .card, .project-summary {
  margin-bottom: 20px;
}

/* MINIMUM SPACING BETWEEN CARDS */
.card, .feature-card, .testimonial-card, .project-summary {
  margin-bottom: 20px;
}

/* Map snippet icon fix */
.map-snippet img {
  display: inline-block;
  vertical-align: middle;
  width:24px;
  height:24px;
  margin-right: 7px;
}

/* Responsive tables on smaller screens */
@media (max-width: 600px) {
  .pricing-table, .pricing-table thead, .pricing-table tbody, .pricing-table th, .pricing-table td, .pricing-table tr {
    display: block;
    width: 100%;
  }
  .pricing-table thead { display: none; }
  .pricing-table td {
    padding: 12px 8px;
    border-bottom: none;
    position: relative;
  }
  .pricing-table td:before {
    font-weight: bold;
    display: block;
    color: #CB6C2E;
    margin-bottom: 3px;
    content: attr(data-label);
  }
}

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