/* ----------- 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, 
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;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  background: #F8F9FB;
}
body {
  min-height: 100vh;
  color: #264653;
  background: #F8F9FB;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #407088;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e76f51;
  outline: none;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
}
strong, b {
  font-weight: 600;
}
em, i {
  font-style: italic;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #264653;
  margin-bottom: 0.5em;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.7rem; }
h2 { font-size: 2rem; margin-top: 24px; }
h3 { font-size: 1.3rem; margin-top: 18px; }
h4, h5, h6 { font-size: 1.04rem; }

/* ----------- SOFT PASTEL COLOR PALETTE ----------- */
:root {
  --brand-primary: #264653;
  --brand-secondary: #E9C46A;
  --brand-accent: #F4F4F4;
  --brand-green: #a8dadc;
  --brand-lilac: #ded8f7;
  --brand-pink: #ffe7eb;
  --brand-sky: #d1f6fa;
  --brand-peach: #feece2;
  --brand-button: #e9c46a;
  --brand-button-hover: #f4a261;
  --brand-shadow: rgba(110, 143, 155, 0.10);
  --brand-border: #ececfb;
}

/* ----------- CONTAINER ----------- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ----------- HEADER, NAV ----------- */
header {
  background: linear-gradient(90deg, #ded8f7 0%, #d1f6fa 100%);
  box-shadow: 0 2px 12px var(--brand-shadow);
  z-index: 30;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 84px;
}
.logo img {
  height: 48px;
  margin-right: 18px;
}
.main-navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.main-navigation a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 18px;
  transition: background 0.15s, color 0.15s;
}
.main-navigation a.cta {
  background: var(--brand-secondary);
  color: #264653;
  font-weight: 700;
  border-radius: 24px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  transition: background 0.15s, color 0.15s;
}
.main-navigation a.cta:hover {
  background: var(--brand-button-hover);
  color: #fff;
}
.main-navigation a:hover {
  background: #ffe7eb;
}

/* ---------- MOBILE NAVIGATION ---------- */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: #264653;
  border: 0;
  padding: 10px 14px;
  font-size: 1.65rem;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s;
  line-height: 1;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--brand-button-hover);
  color: #fff;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100dvh;
  background: rgba(220, 225, 238, 0.97);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.8,.01,.42,1.01);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 32px;
  font-size: 2.2rem;
  background: none;
  color: #264653;
  border: none;
  cursor: pointer;
  z-index: 1010;
  padding: 8px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e9c46a;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 100px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  background: #fdfaff;
  padding: 14px 40px;
  border-radius: 30px;
  box-shadow: 0 2px 6px var(--brand-shadow);
  margin-bottom: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9C46A;
  color: #264653;
}
@media (max-width: 992px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 992px) {
  header .container {
    height: 64px;
  }
  .logo img {
    height: 40px;
  }
}

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(135deg,#d1f6fa 50%, #ded8f7 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding-top: 48px;
  padding-bottom: 64px;
  box-shadow: 0 2px 24px var(--brand-shadow);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.35rem;
  color: #406274;
}


/* ----------- SECTION PADDING & SPACING ----------- */
.section,
.features,
.about,
.services-overview,
.about-team,
.about-features,
.services-detail,
.project-highlights,
.process-overview,
.about-sustainability,
.contact-info-section,
.thank-you,
.legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ----------- FLEXBOX SECTION GRID CLASSES (MANDATORY) ----------- */
.card-container, .feature-grid, .service-grid, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--brand-shadow);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 32px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 32px;
  background: #faf9fb;
  border-radius: 20px;
  box-shadow: 0 2px 10px var(--brand-shadow);
  margin-bottom: 24px;
  border: 1px solid #ececfb;
  min-width: 0;
}
.feature-item, .service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f9f6fa;
  gap: 15px;
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  padding: 28px 24px 22px;
  min-width: 240px;
  flex: 1 1 270px;
  margin-bottom: 12px;
}
.feature-item img, .service-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

@media (max-width: 950px) {
  .feature-grid, .service-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 32px 0;
    min-height: unset;
  }
  .section, .features, .about, .services-overview, .about-team, .about-features, .services-detail, .project-highlights, .process-overview, .about-sustainability, .contact-info-section, .thank-you, .legal {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .feature-item, .service-item {
    min-width: unset;
    padding: 20px 14px 16px;
  }
  .content-wrapper {
    padding: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
}

/* ----------- TYPOGRAPHY ----------- */
p, li {
  font-size: 1.11rem;
  color: #455c69;
}
ul li, ol li {
  margin-bottom: 8px;
}
li strong {
  color: #264653;
}
h1, .page-title {
  font-size: 2.3rem;
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
}
h2 {
  font-size: 1.65rem;
  color: #3b4d5c;
  margin-top: 14px;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.17rem;
  color: #4f5f71;
  margin-top: 10px;
  margin-bottom: 12px;
}

/* ----------- BUTTONS / CALL-TO-ACTION ----------- */
.cta,
button.cta,
input[type="submit"].cta {
  display: inline-block;
  padding: 16px 38px;
  background: var(--brand-secondary);
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  border-radius: 25px;
  border: 0;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 12px #ebebf9be;
  margin-top: 4px;
  margin-bottom: 2px;
  letter-spacing: 0.03em;
  transition: background 0.16s, color 0.13s, box-shadow 0.19s;
}
.cta:hover, .cta:focus,
button.cta:hover, button.cta:focus {
  background: var(--brand-button-hover);
  color: #fff;
  box-shadow: 0 6px 18px #c0cbef99;
  outline: none;
}

/* ----------- CARDS ----------- */
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px var(--brand-shadow);
  padding: 28px 24px;
  flex: 1 1 260px;
  min-width: 230px;
  margin-bottom: 20px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  margin-bottom: 0;
}

/* ----------- TESTIMONIALS ----------- */
.testimonials .content-wrapper {
  gap: 26px;
}
.testimonial-card {
  background: #fffaf9;
  border-left: 6px solid #a8dadc;
  border-radius: 20px;
  box-shadow: 0 2px 16px var(--brand-shadow);
  color: #2d353d;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border-color 0.24s, box-shadow 0.18s;
}
.testimonial-card:hover {
  border-left: 6px solid #ded8f7;
  box-shadow: 0 6px 20px #e8e0ff77;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #233040;
  margin-bottom: 3px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #264653;
  font-weight: 600;
  margin-top: 2px;
}
.testimonial-card strong {
  color: #1c232b;
}

/* ----------- FOOTER ----------- */
footer {
  background: linear-gradient(90deg, #d1f6fa 0%, #ded8f7 100%);
  border-top: 1px solid #ececfb;
  padding-top: 30px;
  padding-bottom: 32px;
  margin-top: 50px;
  box-shadow: 0 -2px 10px #e1f3f8;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
.footer-navigation a {
  color: #264653;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 10px;
  padding: 6px 12px;
  transition: background 0.13s, color 0.13s;
}
.footer-navigation a:hover {
  background: #faf2e9;
}
.contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 1rem;
  color: #406274;
  margin: 0 auto 10px auto;
}
.contact-info img {
  width: 20px; height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}
.footer-note {
  font-size: 0.97rem;
  color: #68838e;
  margin-top: 6px;
}
@media (max-width: 768px) {
  footer .container {
    gap: 12px;
  }
  .footer-navigation {
    gap: 7px;
  }
  .contact-info span {
    flex: 1 1 100%;
    margin-bottom: 2px;
  }
}

/* ---------- CONTACT INFO SECTION ---------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.map-placeholder {
  margin-top: 18px;
  background: #d1f6fa;
  border-radius: 12px;
  padding: 16px 14px;
  color: #264653;
  font-size: 1rem;
}

/* ---------- LEGAL / THANK-YOU PAGES ---------- */
.legal .content-wrapper, .thank-you .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  gap: 14px;
  align-items: flex-start;
}
.legal ul li {
  margin-bottom: 7px;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffefd;
  box-shadow: 0 -2px 14px #ded8f7bb;
  padding: 18px 16px 16px 16px;
  z-index: 1012;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: #3b4d5c;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.35s cubic-bezier(.63,.09,.54,1.02), opacity 0.28s;
  opacity: 1;
}
.cookie-banner.closed {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  padding: 10px 19px;
  border-radius: 25px;
  border: none;
  margin: 0 2px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #ececfb;
  color: #264653;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.cookie-banner button.accept {
  background: var(--brand-secondary);
  color: #264653;
  font-weight: 700;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: var(--brand-button-hover);
  color: #fff;
  outline: none;
}
.cookie-banner button.reject {
  background: #e3eaf3;
  color: #264653;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #ded8f7;
  color: #8872cb;
  outline: none;
}
.cookie-banner button.settings {
  background: #ded8f7;
  color: #264653;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #E9C46A;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100dvh;
  z-index: 1100;
  background: rgba(144,136,176,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.28s;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 6px 28px #ded8f7ee;
  padding: 34px 30px 28px 30px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  font-size: 1.08rem;
  color: #264653;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
}
.cookie-modal-category label {
  flex: 1;
  font-weight: 500;
  color: #566472;
  cursor: pointer;
}
.cookie-modal-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--brand-secondary);
}
.cookie-modal-category input[disabled] {
  opacity: 0.36;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 19px; right: 32px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #264653;
  cursor: pointer;
  transition: background 0.18s;
  border-radius: 6px;
  padding: 4px 8px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ded8f7;
  color: #613dc1;
}
@media (max-width: 520px) {
  .cookie-modal-content {
    min-width: 95vw;
    padding: 17px 6vw;
  }
}

/* ----------- FLEXBOX LAYOUT RULES ----------- */
/* Section/class spacing as required above */
.features, .about, .services-overview, .section, .about-features, .services-detail, .project-highlights, .process-overview, .about-sustainability, .contact-info-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .features, .about, .services-overview, .section, .about-features, .services-detail, .project-highlights, .process-overview, .about-sustainability, .contact-info-section {
    margin-bottom: 36px;
    padding: 24px 6px;
  }
}
.card-container, .feature-grid, .service-grid, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ----------- ANIMATIONS & MICRO-INTERACTIONS ----------- */
.cta, .main-navigation a, .feature-item, .service-item, .testimonial-card, .mobile-nav a, button, input[type="submit"] {
  transition: box-shadow 0.13s, background 0.14s, color 0.14s, border-color 0.12s;
}
.feature-item:hover, .service-item:hover {
  box-shadow: 0 6px 22px #bde0fe70;
  background: #d1f6fa;
}

/* ----------- SECTION COLOR VARIANTS ----------- */
.features {
  background: #f9f6f0;
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--brand-shadow);
}
.about-sustainability {
  background: #ded8f7;
  border-radius: 18px;
}
.cta {
  background: #d1f6fa;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 4px 20px #e7ffe6be;
}
.cta h2, .cta p {
  color: #26354c;
}
.cta .cta {
  margin-top: 16px;
}

/* ----------- RESPONSIVE TYPE SCALE ----------- */
@media (max-width: 650px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.21rem; }
  h3 { font-size: 1.03rem; }
  .hero h1 { font-size: 1.4rem; }
}

/* ----------- WHITE SPACE & SPACING ----------- */
.section:not(:last-child),
.about:not(:last-child),
.features:not(:last-child),
.services-overview:not(:last-child),
.project-highlights:not(:last-child),
.services-detail:not(:last-child),
.about-team:not(:last-child),
.about-features:not(:last-child),
.process-overview:not(:last-child),
.about-sustainability:not(:last-child),
.contact-info-section:not(:last-child),
.thank-you:not(:last-child),
.legal:not(:last-child) {
  margin-bottom: 60px;
}
@media (max-width: 650px) {
  .section:not(:last-child), .about:not(:last-child), .features:not(:last-child), .services-overview:not(:last-child), .project-highlights:not(:last-child), .services-detail:not(:last-child), .about-team:not(:last-child), .about-features:not(:last-child), .process-overview:not(:last-child), .about-sustainability:not(:last-child), .contact-info-section:not(:last-child), .thank-you:not(:last-child), .legal:not(:last-child) {
    margin-bottom: 28px;
  }
}

/* ----------- UTILITY CLASSES ----------- */
.hide {
  display: none!important;
}

/* ----------- SCROLLBAR (SUBTLE FOR SOFT PASTEL) ----------- */
::-webkit-scrollbar {
  width: 8px;
  background: #efecff;
}
::-webkit-scrollbar-thumb {
  background: #ded8f7;
  border-radius: 20px;
}
html {
  scrollbar-color: #ded8f7 #efecff;
  scrollbar-width: thin;
}

/* ----------- END ----------- */
