/* ===== CSS RESET & NORMALIZATION ===== */
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  line-height: 1.6;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background-color: #F4F7F3;
  color: #225463;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: #225463; text-decoration: none; transition: color 0.2s; }

ul, ol { list-style: none; }
strong { font-weight: bold; }

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

/* ===== COLOR VARIABLES ===== */
:root {
  --color-primary: #225463;
  --color-secondary: #A2C49B;
  --color-accent: #F4F7F3;
  --color-highlight: #ffe46c;
  --color-pop: #ff6472;
  --color-dark: #183242;
  --color-white: #fff;
  --color-text: #225463;
  --color-grey: #eaf0eb;
  --shadow-lift: 0 6px 24px 0 rgba(34, 84, 99, 0.10), 0 1.5px 4px 0 rgba(34,84,99,0.10);
}

/* ===== UTILITY FLEX CONTAINERS & SPACING ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px; padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-accent);
  border-radius: 32px;
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: visible;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 900;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 8px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}
p, li {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-dark);
}

.hero h1 {
  color: var(--color-pop);
  letter-spacing: -2px;
  font-size: 2.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  animation: heroPop 0.8s cubic-bezier(0.61,1,.88,1.07);
}
@keyframes heroPop {
  0% { transform: scale(0.96); opacity: 0; }
  80% { transform: scale(1.03); opacity: 1; } 
  100% { transform: scale(1); }
}

h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
h2:after {
  content: '';
  display: block;
  width: 48px;
  height: 6px;
  background-color: var(--color-highlight);
  border-radius: 8px;
  position: absolute;
  bottom: 0; left: 0;
}

/* Fun fonts for accents */
.btn-primary, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ===== LAYOUT SECTIONS ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  box-shadow: var(--shadow-lift);
  background: var(--color-accent);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: var(--shadow-lift);
  padding: 24px 20px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: transform 0.18s cubic-bezier(.6,1.5,.5,1), box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 28px 0 rgba(34, 84, 99, 0.16), 0 3px 9px 0 rgba(34,84,99,0.10);
  z-index: 2;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 28px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(34, 84, 99, 0.09);
  margin-bottom: 20px;
  min-width: 260px;
  border-left: 8px solid var(--color-secondary);
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: var(--color-pop);
  font-weight: bold;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(34, 84, 99, 0.15);
}

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

.feature-grid, .feature-list, .service-list, .tips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .feature-list > div, .service-list > div, .tips-list > div {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(34, 84, 99, 0.07);
  padding: 18px 16px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s cubic-bezier(.6,1.5,.5,1);
  position: relative;
}
.feature-grid > div:hover, .feature-list > div:hover, .service-list > div:hover, .tips-list > div:hover {
  box-shadow: 0 6px 20px 0 rgba(34,84,99,0.12);
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
  z-index: 2;
}

.project-timeline, .team-bios ul, .feature-list ul, .post-previews {
  margin: 0;
  padding: 0;
}
.project-timeline li {
  margin-bottom: 15px;
  font-size: 1rem;
}

.post-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.post-previews li {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(34, 84, 99, 0.07);
  padding: 18px 18px 16px 18px;
  flex: 1 1 280px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s cubic-bezier(.6,1.5,.5,1);
}
.post-previews li:hover {
  box-shadow: 0 6px 22px 0 rgba(34,84,99,0.14);
  transform: scale(1.04);
}

.legal {
  margin-bottom: 60px;
  padding: 40px 24px;
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 2px 14px 0 rgba(34, 84, 99, 0.09);
}

.success {
  margin-bottom: 60px;
  padding: 60px 24px 80px 24px;
  border-radius: 16px;
  background: var(--color-highlight);
  box-shadow: 0 3px 18px 0 rgba(34, 84, 99, 0.12);
  text-align: center;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px 0 rgba(34,84,99,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 20px;
}
header img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
nav a:hover, nav a:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}
.btn-primary {
  background: var(--color-pop);
  color: var(--color-white) !important;
  border: none;
  padding: 12px 27px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.09rem;
  letter-spacing: 0.7px;
  box-shadow: 0 3px 16px 0 rgba(255,100,114,0.11);
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.2s, transform 0.17s;
  margin-left: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-highlight);
  color: var(--color-primary)!important;
  box-shadow: 0 8px 28px 0 rgba(255,100,114,0.13);
  transform: scale(1.05) rotate(-2deg);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  padding: 9px 16px;
  border-radius: 21px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 14px;
  box-shadow: 0 2px 12px 0 rgba(162,196,155,0.12);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  outline: none;
}
.mobile-menu-toggle:hover {
  background: var(--color-pop);
  color: var(--color-white);
  box-shadow: 0 8px 18px 0 rgba(255,100,114,0.10);
  transform: rotate(-7deg) scale(1.05);
}

/* Hamburger visible on mobile */
@media (max-width: 992px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 998;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.61,.93,.65,1);
  box-shadow: 0 0 48px 0 rgba(34,84,99,0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px 20px 32px;
  gap: 0;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
  opacity: 1;
  transition: transform 0.32s cubic-bezier(.8,.4,.6,1), opacity 0.21s linear;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-pop);
  color: var(--color-white);
  border: none;
  border-radius: 22px;
  font-size: 2.2rem;
  padding: 7px 16px 5px 16px;
  margin-bottom: 18px;
  margin-right: -8px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 10px 0 rgba(255,100,114,0.13);
  transition: background 0.18s, transform 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
  transform: rotate(-7deg) scale(1.05);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.27rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 7px;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}
.mobile-nav .btn-primary {
  background: var(--color-pop);
  color: var(--color-white) !important;
  font-size: 1.15rem;
  margin: 10px 0;
}

@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(90deg, #A2C49B 15%, #F4F7F3 85%);
  margin-bottom: 60px;
  min-height: 320px;
  border-radius: 36px;
  padding: 48px 0 44px 0;
  box-shadow: 0 12px 64px 0 rgba(162,196,155,0.13);
  position: relative;
  overflow: visible;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 620px;
  gap: 20px;
}
.hero .btn-primary {
  margin-top: 14px;
}

/* ===== TESTIMONIAL SLIDER (INDEX) ===== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 18px;
}

/* ===== TEAM BIOS ETC ===== */
.team-introduction {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.team-bios ul li {
  margin-bottom: 12px;
  list-style: none;
  font-size: 16px;
}

/* ===== SOCIAL LINKS ===== */
.social-media-links {
  display: flex;
  gap: 13px;
  margin-top: 10px;
}
.social-media-links a {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34, 84, 99, 0.10);
  padding: 5px;
  transition: box-shadow 0.15s, background 0.13s;
}
.social-media-links a:hover {
  background: var(--color-pop);
  box-shadow: 0 6px 16px 0 rgba(255, 100, 114, 0.13);
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 45px 0 24px 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -6px 32px 0 rgba(34,84,99,0.09);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 42px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-right: 30px;
}
footer nav a {
  color: var(--color-accent);
  font-size: 1rem;
  padding: 1px 2px;
  border-radius: 3px;
  transition: color 0.12s, background 0.13s;
}
footer nav a:hover {
  color: var(--color-highlight);
  background: rgba(255,228,108,0.17);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-accent);
  font-size: 0.96rem;
}
.footer-contact a {
  color: var(--color-highlight);
  word-break: break-word;
}
.copyright {
  margin-top: 20px;
  font-size: 0.90rem;
  color: rgba(255,255,255,0.63);
  width: 100%;
}
footer img {
  height: 48px;
  width: auto;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3000;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 24px 16px;
  box-shadow: 0 -3px 40px 0 rgba(34,84,99,0.12);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  animation: cookiePop 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cookiePop {
  0% { transform: translateY(100%); opacity: 0; }
  80% { transform: translateY(-6px); opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  margin: 0 18px 0 0;
  max-width: 500px;
  font-size: 0.98rem;
  color: var(--color-primary);
}
.cookie-banner .cookie-btn {
  background: var(--color-pop);
  color: var(--color-white);
  border: none;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 10px;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(255,100,114,0.12);
  transition: background 0.17s, color 0.17s, transform 0.13s;
}
.cookie-banner .cookie-btn.cookie-secondary {
  background: var(--color-highlight);
  color: var(--color-primary);
}
.cookie-banner .cookie-btn.cookie-neutral {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .cookie-btn:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.06);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(34,84,99,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieOverlayFade 0.3s;
}
@keyframes cookieOverlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-accent);
  border-radius: 25px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 5px 40px 0 rgba(34,84,99,0.24);
  padding: 38px 30px 30px 30px;
  z-index: 4001;
  position: relative;
  animation: modalPop 0.33s cubic-bezier(.33,1.5,.6,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-pop);
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
}
.cookie-modal .cookie-info {
  font-size: 0.95rem;
  color: var(--color-primary);
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: var(--color-pop);
  color: var(--color-white);
  border: none;
  padding: 7px 15px 6px 15px;
  border-radius: 20px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--color-highlight);
  color: var(--color-primary);
}

/* ===== BUTTON/MICROINTERACTIONS ===== */
button, .btn-primary, .cookie-btn {
  outline: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.16s, transform 0.13s;
}
button:active, .btn-primary:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* ===== FORMS ===== */
input, textarea, select {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid var(--color-secondary);
  padding: 11px 16px;
  outline: none;
  transition: border 0.13s;
  background: #fafdfb;
  margin-bottom: 14px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-pop);
}
label {
  font-size: 1rem;
  margin-bottom: 5px;
}

/* ===== A11Y & FOCUS ===== */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--color-highlight);
  outline-offset: 2px;
}

/* ===== MEDIA QUERIES (RESPONSIVE: MOBILE-FIRST) ===== */
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding-left: 10px; padding-right: 10px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-grid, .card-container, .feature-grid, .feature-list, .service-list, .tips-list, .testimonial-slider, .post-previews {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .hero {
    border-radius: 19px;
    padding: 32px 0 32px 0;
    min-height: 160px;
    margin-bottom: 40px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card, .feature-grid > div, .feature-list > div, .service-list > div, .tips-list > div, .testimonial-card, .post-previews li {
    min-width: 80vw;
    flex-basis: auto;
    padding: 15px 10px;
    box-shadow: 0 2px 10px 0 rgba(34, 84, 99, 0.07);
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  .legal, .success {
    padding: 22px 4vw;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.23rem;
  }
  h2 {
    font-size: 1.09rem;
  }
  .hero {
    padding-left: 0;
    padding-right: 0;
    border-radius: 12px;
  }
  .footer-contact {
    font-size: 0.91rem;
  }
  .copyright {
    font-size: 0.83rem;
  }
}

/* ===== ANIMATIONS ===== */
.card, .feature-grid > div, .testimonial-card, .post-previews li {
  animation: fadeInCard 0.85s both;
}
@keyframes fadeInCard {
  0% { transform: translateY(30px); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translateY(0); }
}

.btn-primary, .cookie-btn {
  animation: btnPulse 2.0s infinite alternate cubic-bezier(.5,1,.5,1.6);
}
@keyframes btnPulse {
  from { box-shadow: 0 3px 14px 0 rgba(255, 100, 114, 0.11); }
  to { box-shadow: 0 8px 30px 0 rgba(255, 100, 114, 0.17); }
}

/* Pop/fun hover for icons */
.feature-grid img, .feature-list img, .service-list img, .tips-list img, .footer-contact img {
  transition: transform 0.25s cubic-bezier(.7,1.6,.5,1), filter 0.22s;
}
.feature-grid img:hover, .feature-list img:hover, .service-list img:hover, .tips-list img:hover {
  transform: scale(1.15) rotate(-7deg);
  filter: brightness(1.13) saturate(1.15);
}

/* Accessibility readable color for testimonial cards */
@media (prefers-color-scheme: dark) {
  .testimonial-card {
    background: #fff;
    color: #225463;
  }
}

/* ===== SCROLLBAR (for playful feel) ===== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-highlight);
}
