/* ==================== 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 {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FFFFFF;
  color: #205C3B;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #205C3B;
  font-size: 1rem;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #3178B7;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.32,1.12,.68,1.27);
}
a:hover, a:focus {
  color: #205C3B;
  text-decoration: underline;
}
section, header, main, footer, nav, aside {
  display: block;
}
button, input, select, textarea {
  font: inherit;
}

/* ==================== BRAND COLORS ==================== */
:root {
  --primary: #205C3B;
  --secondary: #ECD7B5;
  --accent: #3178B7;
  --bg-light: #FFFFFF;
  --bg-card: #F7FAFF;
  --brand-yellow: #FFD95A;
  --brand-pink: #FF8DA1;
  --brand-orange: #FFBB65;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #205C3B;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.11;
  margin-bottom: 24px;
  text-shadow: 2px 4px 0px var(--brand-yellow), 2px 10px 36px rgba(31,110,126,0.05);
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p, ul, ol, blockquote {
  margin-bottom: 16px;
  color: #296244;
}
blockquote {
  font-style: italic;
  color: #205C3B;
  background: var(--secondary);
  border-left: 4px solid var(--accent);
  padding: 12px 20px 12px 16px;
  margin: 0 0 16px 0;
  border-radius: 12px;
}
cite {
  display: block;
  margin-top: 6px;
  color: #296244;
  font-size: 0.97rem;
}

/* Subheadline + Fun Display */
.subheadline {
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 26px;
}

/* Fun playful fonts for accents */
.fun-accent {
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  color: var(--brand-pink);
  letter-spacing: 0.02em;
}

/* ==================== LAYOUT CONTAINERS (FLEXBOX) ==================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-light);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: 22px;
  box-shadow: 0 4px 16px rgba(49,120,183,0.12);
  margin-bottom: 20px;
  padding: 28px 28px 26px 28px;
  transition: transform 0.18s cubic-bezier(.32,1.12,.68,1.27), box-shadow 0.22s cubic-bezier(.32,1.12,.68,1.27);
  position: relative;
}
.card:hover {
  transform: translateY(-7px) scale(1.03) rotate(-1deg);
  box-shadow: 0 12px 28px 4px rgba(66,187,143,0.23), 0 0px 0px 0 var(--accent);
  background: #fffbe8;
}
.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: center;
  gap: 20px;
  background: #fffde7;
  border: 2.5px solid var(--brand-yellow);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 3px 16px 0 rgba(49,120,183,0.08);
  margin-bottom: 20px;
  min-width: 250px;
  width: 100%;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px 2px rgba(255,137,161,0.26);
  border-color: var(--brand-pink);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services-grid > div {
  background: #E3FBF3;
  border-radius: 20px;
  flex: 1 1 300px;
  min-width: 220px;
  margin-bottom: 20px;
  padding: 26px 22px 20px 22px;
  box-shadow: 0 2px 6px 0 rgba(32,92,59,0.13);
  border-left: 7px solid var(--brand-yellow);
  transition: background 0.25s;
  position: relative;
}
.services-grid > div:hover {
  background: #FFF4E3;
  border-left: 7px solid var(--accent);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.feature-list li {
  background: #F7FAFF;
  border: 2px dashed var(--brand-orange);
  border-radius: 19px;
  padding: 16px 18px 16px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205C3B;
  min-width: 210px;
  box-shadow: 0 1px 6px 0 rgba(49,120,183,0.09);
  transition: background 0.18s, border 0.15s;
}
.feature-list li:hover {
  background: #FFF4E3;
  border-color: var(--brand-yellow);
}
.feature-list img {
  height: 28px;
  width: 28px;
  display: inline-block;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
}
.team-list li {
  background: #F7FAFF;
  border-radius: 14px 36px 22px 18px;
  border: 2.3px solid var(--brand-pink);
  padding: 22px 18px 17px 18px;
  flex: 1 1 240px;
  min-width: 180px;
  box-shadow: 0 1.5px 5px 0 rgba(255,137,161,0.10);
  transition: border 0.15s, background 0.18s;
}
.team-list li:hover {
  border-color: var(--brand-yellow);
  background: #ffe9ef;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-table {
  width: 100%;
  margin-bottom: 20px;
  background: #fffbe8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px 0 rgba(240,180,50,0.07);
  border: 2px solid var(--brand-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205C3B;
  font-size: 1.07rem;
}
.price-table tr {
  display: flex;
  border-bottom: 1px dashed #F5C464;
}
.price-table td {
  flex: 1 1 50%;
  padding: 13px 18px;
}
.price-table tr:last-child {
  border-bottom: none;
}

/* ==================== BUTTONS & CTAs ==================== */
.btn-primary,
.btn-secondary {
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  padding: 13px 30px;
  margin-top: 10px;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  font-size: 1.18rem;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 2.7px 11px 0 rgba(49,120,183,0.09);
  transition: background 0.2s, color 0.2s, box-shadow .23s, transform 0.18s;
}
.btn-primary {
  background: linear-gradient(90deg, #FFD95A 60%, #E3FBF3 120%);
  color: #205C3B;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #FFBB65 60%, #FFD95A 120%);
  color: var(--accent);
  box-shadow: 0 5.5px 22px 0 rgba(49,120,183,0.10);
  transform: scale(1.05) rotate(-1deg);
}
.btn-secondary {
  background: linear-gradient(90deg, #3178B7 60%, #F7FAFF 120%);
  color: #fff;
  border: 2px solid #3178B7;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #205C3B;
  color: #FFD95A;
  border-color: #205C3B;
  transform: scale(1.04);
}

/* ==================== MAIN NAVIGATION (HEADER) ==================== */
header {
  position: relative;
  z-index: 22;
  background: var(--secondary);
  box-shadow: 0 2px 10px -2px rgba(49,120,183,0.09);
  width: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 22px;
  width: 100%;
}
.main-nav > a img {
  height: 47px;
  margin-right: 18px;
}
.main-nav ul {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav ul li a {
  font-size: 1.07rem;
  font-weight: 600;
  color: #205C3B;
  padding: 8px 14px;
  border-radius: 14px;
  transition: background 0.14s;
}
.main-nav ul li a:hover {
  background: var(--brand-yellow);
  color: var(--accent);
}
.main-nav .btn-primary {
  margin-left: 16px;
  margin-top: 0;
  box-shadow: 0 1px 6px 0 rgba(49,120,183,0.12);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  background: linear-gradient(115deg, #FFFDE7 60%, #E3FBF3 100%);
  border-radius: 0 0 50px 50px;
  box-shadow: 0 8px 48px 0 rgba(49,120,183,0.08);
  margin-bottom: 44px;
  padding-top: 48px;
  padding-bottom: 52px;
  animation: hero-pop 1s cubic-bezier(.13,1.26,.32,1.07) 1;
}
@keyframes hero-pop {
  0% { opacity:0; transform: translateY(-16px) scale(0.97); }
  70% { opacity:.82; transform: translateY(8px) scale(1.02); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}
.hero-section h1 {
  font-size: 2.3rem;
  text-shadow: 2px 4px 0px var(--brand-yellow), 2px 10px 36px rgba(31,110,126,0.07);
  margin-bottom: 16px;
}
.hero-section p {
  font-size: 1.13rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-stars {
  color: var(--accent);
  font-size: 1.4rem;
  letter-spacing: 1px;
}

/* ==================== FOOTER ==================== */
footer {
  background: #205C3B;
  color: #fff;
  border-top: 4px solid var(--brand-yellow);
  padding-top: 24px;
  padding-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1rem;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
}
.footer-nav a:hover {
  color: var(--brand-yellow);
  text-decoration: underline;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-top: 12px;
}
.brand-footer img {
  height: 37px;
}
.brand-footer span {
  font-size: 0.97rem;
}

/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg,var(--brand-yellow) 70%, var(--brand-orange) 120%);
  color: #205C3B;
  padding: 20px 18px 20px 20px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  z-index: 1011;
  box-shadow: 0 -2px 28px rgba(49,120,183,0.14);
  animation: cookieSlideUp .7s cubic-bezier(.22,1.12,.67,0.78);
}
@keyframes cookieSlideUp {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner__text {
  font-size: 1rem;
  flex: 1 1 340px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 20px;
  border: none;
  border-radius: 15px;
  margin-right: 9px;
  margin-bottom: 6px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1.5px 5px 0 rgba(49,120,183,0.08);
  transition: background .17s, color .17s;
}
.cookie-btn {
  background: #FFFFFF;
  color: #205C3B;
}
.cookie-btn:hover {
  background: var(--brand-pink);
  color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  color: #205C3B;
  border: 2px solid #205C3B;
}
.cookie-settings-btn:hover {
  background: #205C3B;
  color: #FFD95A;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(180%);
  width: 97vw;
  max-width: 400px;
  background: #fff;
  color: #205C3B;
  z-index: 1012;
  border-radius: 25px 25px 12px 12px;
  box-shadow: 0 -3px 28px 0 rgba(49,120,183,0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 22px 18px 22px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.22,1.12,.67,0.78), opacity 0.35s ease;
}
.cookie-modal.open {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h3 {
  color: var(--accent);
  font-size: 1.13rem;
  margin-bottom: 10px;
  margin-top: 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal input[type='checkbox']
{ accent-color: var(--brand-yellow); width: 20px; height: 20px; cursor: pointer; }
.cookie-modal .cookie-category span {
  font-size: .96rem;
  font-weight: 600;
}
.cookie-modal .essential {
  color: #205C3B;
  font-weight: 700;
  opacity: 1;
}
.cookie-modal .close-cookie-modal {
  background: none;
  border: none;
  color: var(--brand-pink);
  font-size: 1.82rem;
  position: absolute;
  top: 8px; right: 18px;
  cursor: pointer;
}
.cookie-modal .close-cookie-modal:hover {
  color: #FFBB65;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-yellow);
  color: #205C3B;
  border: none;
  font-size: 2.1rem;
  padding: 9px 17px 6px 17px;
  border-radius: 18px;
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 98;
  cursor: pointer;
  transition: background 0.16s;
  box-shadow: 0 2px 11px 0 rgba(49,120,183,0.06);
}
.mobile-menu-toggle:hover {
  background: var(--brand-orange);
  transform: scale(1.07);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 40px 0 rgba(49,120,183,0.12);
  z-index: 1003;
  transform: translateX(105%);
  transition: transform 0.42s cubic-bezier(0.67,0.45,0.38,1.02);
  display: flex;
  flex-direction: column;
  padding: 30px 24px 23px 32px;
  gap: 28px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.3rem;
  position: absolute;
  top: 9px;
  right: 17px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--brand-pink);
  transform: scale(1.11);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 38px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-weight: 700;
  color: #205C3B;
  padding: 12px 0 12px 6px;
  border-radius: 17px;
  transition: background 0.14s, color 0.14s;
  background: #fff;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--brand-yellow);
  color: #3178B7;
}

/* Overlay for mobile nav */
.mobile-menu-backdrop {
  position: fixed;
  top:0; left:0;
  width:100vw; height:100vh;
  background: rgba(32,92,59, 0.23);
  z-index: 1002;
  display: none;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  display: block;
}

/* ==================== RESPONSIVE DESIGN (MOBILE FIRST) ==================== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .main-nav ul {
    gap: 11px;
  }
  .card-container, .testimonials, .team-list, .feature-list, .services-grid {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section {
    margin-bottom: 40px;
    padding: 26px 8px;
  }
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .hero-section {
    border-radius: 0 0 30px 30px;
    padding-top: 32px;
    padding-bottom: 36px;
    margin-bottom: 18px;
  }
  .hero-section h1 {
    font-size: 1.42rem;
    margin-bottom: 11px;
  }
  .services-grid, .card-container, .testimonials, .team-list, .feature-list {
    flex-direction: column;
    gap: 14px;
  }
  .services-grid > div,
  .card, .testimonial-card, .team-list li, .feature-list li {
    min-width: 0;
    width: 100%;
  }
  .main-nav ul {
    display: none;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
  .brand-footer {
    flex-direction: column;
    gap: 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  .hero-section { padding-top: 17px; padding-bottom: 18px; }
  .section { padding: 16px 3px; }
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 10px 16px;
    min-width: 0;
  }
  .price-table td {
    padding: 9px 8px;
    font-size: 1rem;
  }
  .footer-nav { font-size: 0.95rem; }
}

/* ==================== MICRO-ANIMATIONS & EFFECTS ==================== */
.card, .testimonial-card, .services-grid > div, .team-list li, .feature-list li {
  transition: box-shadow 0.18s, transform 0.16s, background 0.18s, border-color .17s;
}
.card:hover, .testimonial-card:hover, .services-grid > div:hover, .team-list li:hover, .feature-list li:hover {
  transition: box-shadow 0.15s, transform 0.16s;
}
.btn-primary, .btn-secondary, .cookie-btn, .cookie-settings-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .18s, color .16s, transform .14s;
}

/* ==================== FORMS & CONTACT DETAILS ==================== */
input, textarea, select {
  border: 2px solid #E3FBF3;
  border-radius: 12px;
  padding: 13px 13px;
  width: 100%;
  margin-bottom: 18px;
  font-size: 1.03rem;
  color: #205C3B;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--brand-yellow);
  outline: none;
}

/* ==================== TABLES (PRICE TABLES) ==================== */
.price-table tr {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.price-table td span {
  font-weight: 600;
  color: var(--accent);
}

/* ============ VISUAL PLAYFUL DYNAMIC DECORATIONS =========== */
.section {
  position: relative;
  z-index: 1;
}
.section:after {
  content: '';
  position: absolute;
  right: -43px;
  bottom: -30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #FFD95A 50%, #FFBB65 100%);
  border-radius: 50%;
  opacity: 0.21;
  z-index: 0;
  pointer-events: none;
  animation: float-bubble 4s infinite ease-in-out alternate;
}
.section:nth-child(even):after {
  left: -53px; right: auto;
  top: -44px; bottom: auto;
  background: linear-gradient(115deg, #FF8DA1 30%, #ECD7B5 100%);
  opacity: 0.13;
  width: 94px; height: 72px;
  animation-delay: 0.7s;
}
@keyframes float-bubble {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-16px) scale(1.12); }
}

/* ========== ENSURE NO OVERLAPS (FOR FLEX GAPS) ========== */
.card, .testimonial-card, .services-grid > div, .team-list li {
  margin-bottom: 20px !important;
}
.section, .card-container, .content-grid, .testimonial-card, .feature-item, .services-grid {
  gap: 20px;
}

/* =========== VISUAL HIERARCHY AND CONTRAST =========== */
.testimonial-card, .testimonial-card blockquote, .testimonial-card cite {
  color: #205C3B !important;
  background: #fffde7 !important;
}

/* =========== UTILITIES ========== */
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

/* ==================== END ==================== */