/* 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;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #F5F6F1;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F6F1;
  color: #22557D;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}
a {
  color: #22557D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #98B579;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  border: none;
  cursor: pointer;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* SPACING HELPERS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 28px rgba(152, 181, 121, 0.08), 0 1.5px 7px rgba(34, 85, 125, 0.07);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 16px rgba(34,85,125,0.07),0 1.5px 7px rgba(152,181,121,0.08);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 28px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: transform 0.14s, box-shadow 0.14s;
}
.card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 8px 32px rgba(152,181,121,0.14), 0 2px 12px rgba(34,85,125,0.09);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #FFFAF1;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(152,181,121,0.06);
  padding: 20px;
  color: #22557D;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 260px;
  max-width: 410px;
  /* Contrast for accessibility */
}
.testimonial-author {
  font-weight: 600;
  color: #98B579;
  font-size: 1rem;
  align-self: flex-end;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(34, 85, 125, 0.06);
  border-radius: 0 0 28px 28px;
  margin-bottom: 32px;
  padding-bottom: 0;
  position: relative;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 16px 16px 0 16px;
}
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #22557D;
  padding: 8px 16px;
  border-radius: 14px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F7E7BE;
  color: #98B579;
}
.nav-cta {
  background: #98B579;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 18px;
  padding: 10px 22px;
  box-shadow: 0 2px 6px rgba(152,181,121, 0.10);
  margin-left: 18px;
  transition: background 0.17s, box-shadow 0.17s, color 0.19s;
  display: inline-block;
}
.nav-cta:hover, .nav-cta:focus {
  background: #22557D;
  color: #fff;
  box-shadow: 0 5px 24px rgba(34,85,125,0.16), 0 2px 10px rgba(152,181,121,0.12);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #22557D;
  margin-left: 22px;
  border-radius: 14px;
  padding: 3px 15px 2px 15px;
  align-self: center;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F7E7BE;
  color: #98B579;
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 24px rgba(34,85,125,0.13);
  z-index: 999;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.73,0.10,0.18,1), opacity 0.32s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #FFE8BF;
  color: #22557D;
  font-size: 2rem;
  border-radius: 50%;
  align-self: flex-end;
  margin-bottom: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.14s;
  z-index: 1223;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #98B579;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #22557D;
  padding: 12px 8px;
  border-radius: 12px;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7E7BE;
  color: #98B579;
}

/* =============== HERO HEADER =============== */
.hero, .thankyou-hero {
  background: linear-gradient(110deg, #FFFAF1 78%, #EFE7DD 100%);
  border-radius: 26px;
  box-shadow: 0 4px 24px rgba(152,181,121,0.11);
  margin-bottom: 48px;
  padding: 40px 16px 56px 16px;
}
.hero .container, .thankyou-hero .container {
  align-items: center;
  justify-content: center;
}
.hero h1, .thankyou-hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #22557D;
  font-size: 2.1rem;
  text-align: center;
  line-height: 1.18;
  margin-bottom: 16px;
}
.hero p, .thankyou-hero p {
  color: #4D718F;
  font-size: 1.18rem;
  text-align: center;
  max-width: 540px;
  margin: 0 auto 22px auto;
}
.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0 0 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 0;
}
.cta-btn,
section.thankyou-cta .cta-btn {
  display: inline-block;
  background: #22557D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  border-radius: 19px;
  padding: 14px 36px;
  box-shadow: 0 3px 22px rgba(34, 85, 125, 0.15);
  transition: background 0.19s, color 0.18s, box-shadow 0.19s, transform 0.15s;
  margin-top: 12px;
  letter-spacing: 0.01em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #98B579;
  color: #fff;
  box-shadow: 0 7px 32px rgba(152, 181, 121,0.18);
  transform: translateY(-1.5px) scale(1.017);
}

/* ============== LANDING FEATURES ============== */
.features, .gallery-features, .category-features {
  background: #fff;
}
.features .container,
.gallery-features .container,
.category-features .container {
  align-items: stretch;
}
.features h2, .gallery-features h2, .category-features h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #22557D;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.feature-grid, .service-list, .category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 auto;
  justify-content: center;
}
.feature-grid li,
.service-list li,
.category-grid li {
  background: #FFFAF1;
  border-radius: 22px;
  box-shadow: 0 2.5px 15px rgba(152,181,121,0.09), 0 1.5px 5px rgba(34,85,125,0.03);
  padding: 24px 20px 26px 20px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 240px;
  transition: transform 0.14s, box-shadow 0.14s;
}
.feature-grid li:hover,
.service-list li:hover,
.category-grid li:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 8px 32px rgba(152,181,121,0.19), 0 2px 12px rgba(34,85,125,0.11);
}
.feature-grid img, .service-list img, .features-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}
.feature-grid h3, .service-list h3, .category-grid h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22557D;
  font-weight: 600;
  font-size: 1.16rem;
  margin-bottom: 4px;
}
.feature-grid p, .service-list p, .category-grid p {
  color: #4D718F;
  font-size: 1rem;
  line-height: 1.5;
}
.feature-grid a, .service-list a {
  color: #98B579;
  font-weight: 600;
  margin-top: 6px;
  font-size: 1rem;
  transition: color 0.14s;
}
.feature-grid a:hover, .service-list a:hover {
  color: #22557D;
}
.service-price {
  color: #22557D;
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 5px;
}
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 0 0;
  justify-content: flex-start;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #F5F6F1;
  border-radius: 14px;
  padding: 9px 20px 9px 11px;
  color: #22557D;
  font-weight: 600;
  min-width: 200px;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(152,181,121,0.05);
}
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  color: #98B579;
  font-size: 1rem;
}
.highlights li {
  background: #FFFAF1;
  border-radius: 12px;
  padding: 8px 22px;
  font-weight: 600;
}

/* ========== TEXT & INFO SECTIONS ============ */
.about, .about-section, .team-section, .gallery-features, .privacy-policy, .gdpr-section, .terms-section, .cookies-policy, .contact-section {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 23px rgba(152,181,121,0.06), 0 1.5px 7px rgba(34,85,125,0.07);
  padding: 40px 18px;
  margin-bottom: 60px;
}
.about h2, .about-section h2, .team-section h2, .gallery-features h2, .privacy-policy h1, .gdpr-section h1, .terms-section h1, .cookies-policy h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22557D;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.55rem;
}
.text-section h3 {
  color: #98B579;
  font-size: 1.11rem;
  font-weight: 700;
  margin: 22px 0 8px 0;
}
.text-section p, .about ul, .team-section p {
  color: #4D718F;
  font-size: 1rem;
  margin-bottom: 10px;
}
.about ul, .about-section ul, .team-section ul {
  margin: 12px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about ul li, .about-section ul li, .team-section ul li {
  padding-left: 24px;
  color: #22557D;
  position: relative;
  font-size: 1rem;
}
.about ul li:before, .about-section ul li:before, .team-section ul li:before {
  content: '\2022';
  color: #98B579;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.14em;
}
.privacy-policy ul, .gdpr-section ul, .terms-section ul, .cookies-policy ul {
  margin: 13px 0 14px 0;
  color: #22557D;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.privacy-policy h2, .gdpr-section h2, .terms-section h2, .cookies-policy h2 {
  color: #98B579;
  margin-top: 22px;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.contact-details {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #22557D;
}
.contact-details img {
  width: 26px;
  height: 26px;
}
.contact-details a {
  color: #98B579;
  font-weight: 600;
}

/* ============== TESTIMONIALS =============== */
.testimonials {
  background: #FFFAF1;
  border-radius: 26px;
  box-shadow: 0 3px 16px rgba(152,181,121,0.05);
  padding: 40px 18px;
  margin-bottom: 60px;
}
.testimonials h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22557D;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

/* ============== FOOTER ================= */
footer {
  background: #fff;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -2px 18px rgba(152,181,121,0.10);
  margin-top: 60px;
  padding-top: 36px;
  padding-bottom: 22px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.99rem;
  color: #22557D;
}
.footer-branding img {
  width: 80px;
  margin-bottom: 4px;
  border-radius: 18px;
}
.footer-nav, .legal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a, .legal-links a {
  color: #22557D;
  font-size: 1rem;
  padding: 2px 0;
  transition: color 0.13s;
}
.footer-nav a:hover, .legal-links a:hover {
  color: #98B579;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}
.footer-social img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #FFFAF1;
  transition: box-shadow 0.14s;
}
.footer-social img:hover, .footer-social img:focus {
  box-shadow: 0 3px 14px rgba(152,181,121,0.14);
}

/* =============== THANK YOU PAGE =============== */
.thankyou-hero {
  padding: 53px 16px 45px 16px;
}
.thankyou-cta .cta-btn {
  font-size: 1.15rem;
  padding: 13px 32px;
  background: #98B579;
}
.thankyou-cta .cta-btn:hover, .thankyou-cta .cta-btn:focus {
  background: #22557D;
}

/* ============= COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbea;
  box-shadow: 0 -4px 32px rgba(34,85,125,0.13);
  z-index: 1400;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 32px 16px 22px 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.25s, transform 0.34s cubic-bezier(0.6,0.12,0.36,1);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  flex: 1 1 360px;
  font-size: 1rem;
  color: #22557D;
  padding-right: 8px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 16px;
  transition: background 0.15s, color 0.16s;
  font-weight: 600;
}
.cookie-btn-accept {
  background: #98B579;
  color: #fff;
  border: none;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #22557D;
}
.cookie-btn-reject {
  background: #FAD9C9;
  color: #22557D;
  border: none;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #FFD3A8;
  color: #22557D;
}
.cookie-btn-settings {
  background: #fff;
  color: #22557D;
  box-shadow: 0 1px 6px rgba(34,85,125,0.07);
  border: 1px solid #98B579;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #FFFAF1;
  color: #98B579;
  border-color: #22557D;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,85,125,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  padding: 32px 26px 30px 26px;
  border-radius: 28px;
  box-shadow: 0 10px 56px rgba(34,85,125,0.19);
  max-width: 430px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  color: #22557D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 9px;
}
.cookie-category label {
  font-weight: 600;
  color: #22557D;
  font-size: 1rem;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #EFE7DD;
  cursor: pointer;
  position: relative;
  margin-left: 6px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cookie-toggle.enabled {
  background: #98B579;
}
.cookie-toggle::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.2s;
  box-shadow: 0 1px 5px rgba(34,85,125,0.08);
}
.cookie-toggle.enabled::before {
  left: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 12px;
  background: #F5F6F1;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #22557D;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFE8BF;
}

/* ============= RESPONSIVE DESIGN ============= */
@media (max-width: 1120px) {
  .container { max-width: 96vw; }
  .feature-grid, .service-list, .category-grid, .testimonial-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
  .feature-grid li, .service-list li, .category-grid li {
    max-width: 96vw;
  }
  .footer-nav, .legal-links { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 820px) {
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 6px;
  }
  .section, .about, .about-section, .team-section, .gallery-features, .privacy-policy, .gdpr-section, .terms-section, .cookies-policy, .testimonials {
    padding: 24px 2vw;
  }
  .hero, .thankyou-hero {
    padding: 28px 2vw 37px 2vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .service-list, .category-grid, .testimonial-list, .features-list, .highlights {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card-container {
    gap: 12px;
  }
  .main-nav, .nav-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    padding: 10px 8px 5px 8px;
  }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  .feature-grid li, .service-list li, .category-grid li {
    min-width: 0;
    padding: 16px 8px 16px 9px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 13px 8px 13px 9px;
  }
  .footer-branding img {
    width: 62px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 8px 14px 8px;
  }
}

/* MOBILE MENU ANIMATION FOR SAFARI FIX */
@media (max-width: 768px) {
  .mobile-menu {
    will-change: transform, opacity;
  }
}
