/* RESET & BASE TYPOGRAPHY */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F6F6;
  color: #38435B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
a {
  color: #38607B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6BB7BC;
}
ul, ol {
  padding-left: 1.6em;
}
strong, b {
  font-weight: 600;
}

/* BRAND & THEME COLORS */
:root {
  --primary: #2C3E50;
  --secondary: #86C232;
  --accent: #F6F6F6;
  --pastel-blue: #bad6eb;
  --pastel-green: #bee7e3;
  --pastel-purple: #eedbfa;
  --pastel-pink: #ffd2e2;
  --pastel-yellow: #fff9c7;
  --pastel-mint: #cdfaed;
  --pastel-gray: #ebe9f9;
}

/* CONTAINER & BASE LAYOUT */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(180, 181, 254, 0.10);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
    border-radius: 18px;
  }
}

/* HEADINGS & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, li {
  font-size: 1rem;
  color: #38435B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
blockquote {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #343c58;
  font-style: italic;
  margin-bottom: 8px;
  position: relative;
  background: var(--pastel-gray);
  border-left: 4px solid var(--pastel-purple);
  padding: 18px 26px 18px 32px;
  border-radius: 12px 22px 20px 12px;
}
.testimonial-author {
  font-size: 1rem;
  color: #506888;
  font-weight: 600;
  margin-top: 4px;
}
.text-section {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FLEX LAYOUTS & MANDATORY PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  padding: 20px;
  background: var(--pastel-gray);
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(154, 144, 162, 0.10);
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .testimonial-card { flex-direction: column; gap: 10px; }
}

/* HEADER & TOPNAV */
header {
  background: linear-gradient(90deg, var(--pastel-purple) 0%, var(--pastel-mint) 95%);
  box-shadow: 0 2px 18px 0 rgba(192, 183, 220, 0.09);
  padding: 0;
  border-bottom: 2px solid var(--pastel-blue);
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 0 20px;
  height: 80px;
}
header img {
  max-height: 52px;
}
.main-nav {
  display: flex;
  gap: 25px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 500;
  transition: background 0.2s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 28px;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--pastel-blue) 45%, var(--pastel-mint) 100%);
  color: var(--primary);
  box-shadow: 0 4px 16px 0 rgba(192, 227, 220, 0.19);
  margin: 8px 0 0 0;
  transition: background 0.25s, color 0.2s, transform 0.09s;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(102, 171, 132, 0.13);
}
.btn-secondary {
  background: linear-gradient(90deg, var(--pastel-purple) 20%, var(--pastel-pink) 100%);
  color: var(--primary);
  margin-top: 18px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.03);
}

/* Burger & Mobile Nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--primary);
  font-size: 2rem;
  padding: 6px 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.1s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-mint);
  color: var(--secondary);
}
@media (max-width: 980px) {
  .main-nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 12px;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,240,255, 0.93);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.68, -.55, .27, 1.55);
  display: flex;
  flex-direction: column;
  padding-top: 48px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 22px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 999;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 40px;
  width: 100vw;
  margin: 0 auto;
  margin-top: 30px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  padding: 13px 0 13px 12px;
  border-radius: 10px;
  font-weight: 500;
  width: 85vw;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-purple);
  color: var(--secondary);
}

/* SERVICE / CARD LISTS */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-card {
  background: linear-gradient(135deg, var(--pastel-blue) 60%, var(--pastel-pink) 100%);
  border-radius: 24px;
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 280px;
  box-shadow: 0 2px 18px 0 rgba(150, 159, 210, 0.10);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
  transition: transform 0.15s, box-shadow 0.18s;
}
.service-card:hover, .service-card:focus-within {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 7px 36px 0 rgba(150, 212, 180, 0.14);
}
.service-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
}
.service-price {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-card { min-width: unset; flex: initial; }
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.team-member {
  flex: 1 1 290px;
  background: linear-gradient(110deg, var(--pastel-mint) 55%, var(--pastel-purple) 100%);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 2px 16px rgba(200, 220, 230, 0.07);
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.team-member:hover {
  box-shadow: 0 6px 24px rgba(120,190,170,0.15);
  transform: translateY(-2px) scale(1.015);
}
@media (max-width: 768px) {
  .team-grid { flex-direction: column; gap: 14px; }
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, var(--pastel-yellow) 10%, var(--pastel-blue) 90%);
  border-top: 2px solid var(--pastel-purple);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 16px 10px 16px;
}
.footer-nav {
  display: flex;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 12px;
  padding: 4px 8px;
  transition: background 0.15s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.brand-info img {
  width: 32px;
  height: 32px;
}
.brand-info p {
  font-size: 0.96rem;
  color: #476370;
  margin-bottom: 0;
}

/* GENERAL FORMATTING */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 26px 0 0 0;
  }
}

/* LIST STYLES */
ul {
  list-style: disc inside;
  margin-bottom: 12px;
}
ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #3a4565;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding-left: 0.2em;
}

/* TEXT-ONLY SECTIONS */
.text-section {
  background: var(--pastel-yellow);
  border-radius: 16px;
  padding: 18px 24px;
  margin-top: 10px;
}

/* TESTIMONIALS */
.testimonial-card {
  background: linear-gradient(95deg, var(--pastel-gray) 80%, var(--pastel-blue) 100%);
  border-left: 6px solid var(--pastel-purple);
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(154, 144, 162, 0.10);
  margin-bottom: 20px;
  transition: transform 0.13s, box-shadow 0.14s;
  align-items: flex-start;
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 18px 0 rgba(180, 181, 254, 0.12);
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 1.13rem;
  color: var(--primary);
  padding-left: 0;
  margin-right: 16px;
}
.testimonial-card .testimonial-author {
  color: #4e6282;
  font-size: 0.98rem;
}

/* FOR CONTACT & INFO SECTIONS */
@media (min-width: 1000px) {
  .contact-info {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 768px) {
  h1 { font-size: 1.66rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .btn-primary, .btn-secondary { padding: 10px 14px; font-size: 1rem; }
}

/* MODALS / COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  box-sizing: border-box;
  background: linear-gradient(90deg, var(--pastel-pink) 10%, var(--pastel-mint) 90%);
  color: var(--primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 22px 24px;
  z-index: 20000;
  box-shadow: 0 -2px 28px 0 rgba(160, 159, 210, 0.08);
  font-size: 1rem;
  animation: cookieBannerFadeIn 0.9s cubic-bezier(0.33,1,0.68,1);
}
@keyframes cookieBannerFadeIn {
  0% {opacity:0;transform:translateY(80px);}
  70% {opacity:1;}
  100% {opacity:1;transform:translateY(0);}
}
.cookie-banner button {
  margin-left: 0.8em;
  margin-right: 0.4em;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 16px;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  transition: background 0.15s, color 0.13s, transform 0.13s;
  box-shadow: 0 2px 10px 0 rgba(166, 207, 206, 0.06);
  cursor: pointer;
}
.cookie-banner .cookie-accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #5da426;
  transform: translateY(-2px);
}
.cookie-banner .cookie-reject {
  background: #f2bbdb;
  color: #784063;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #e89bbd;
  color: #441535;
  transform: translateY(-2px);
}
.cookie-banner .cookie-settings {
  background: var(--pastel-gray);
  color: var(--primary);
}
.cookie-banner .cookie-settings:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
    padding: 13px 10px;
  }
  .cookie-banner .cookie-btn {
    margin: 6px 0 0 0;
  }
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 30000;
  background: rgba(240,240,255, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.45s cubic-bezier(0.33,1,0.68,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookieModalFadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}
.cookie-modal-content {
  background: linear-gradient(100deg, var(--pastel-mint) 10%, var(--pastel-blue) 90%);
  padding: 40px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 30px 0 rgba(180, 181, 254, 0.13);
  max-width: 410px;
  width: 95vw;
  position: relative;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--pastel-gray);
  border-radius: 15px;
  position: relative;
  outline: none;
  cursor: pointer;
  border: 1px solid #dde1f7;
  transition: background 0.14s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(160,160,160,0.11);
  transition: left 0.15s;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
}
/* END Cookie Consent */

/* MICRO-INTERACTIONS / ANIMATION */
.card, .service-card, .team-member, .testimonial-card, .btn-primary, .btn-secondary {
  transition: box-shadow 0.14s, transform 0.14s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.985);
}

/* Z-INDEX CONTROLS */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 9900;
}

/* FORMS (if any) - neutral, soft style, unobtrusive with enough spacing */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  border: 1.7px solid #e3eaf3;
  background: var(--pastel-gray);
  border-radius: 13px;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border 0.12s, background 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--secondary);
  border-color: var(--secondary);
  background: #fff;
}

/* ACCESSIBILITY: FOCUS STYLES */
a:focus, button:focus, input:focus, select:focus {
  outline: 2px solid var(--pastel-blue);
  outline-offset: 2px;
}

/* MINIMUM SPACING BETWEEN CARDS/ELEMENTS */
.card, .service-card, .testimonial-card, .team-member, .feature-item {
  margin-bottom: 20px;
}

/* Prevent overlap (no absolute positioning for content) */
/* Decorative uses only for .cookie-modal-close, .mobile-menu-close */

/* Hide visually when not needed, but not for accessibility */
@media (max-width: 480px) {
  html { font-size: 15px; }
}

/* BRAND PERSONALITY: Soft Pastel Style */
body, .section, .container, .service-card, .testimonial-card, .team-member, .card {
  background-clip: padding-box;
}
main {
  position: relative;
  min-height: 70vh;
}

/* ELEVATION - SUBTLE SHADOWS FOR SOFTNESS */
.service-card, .team-member, .testimonial-card, .card {
  box-shadow: 0 2px 18px 0 rgba(180, 181, 254, 0.08);
}

/* CUSTOM SCROLLBAR FOR DESKTOP */
@media (min-width: 900px) {
  ::-webkit-scrollbar {
    width: 9px;
    background: var(--pastel-gray);
    border-radius: 12px;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--pastel-purple);
    border-radius: 12px;
  }
}

/* Hide elements visually for accessibility */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* For Thank-you and call-to-action pages */
.main-cta {
  text-align: center;
  font-size: 1.35rem;
  color: var(--primary);
  margin: 30px auto;
  padding: 28px 12px;
  border-radius: 18px;
  background: var(--pastel-mint);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Utility: Show/hide helpers */
.hide { display: none !important; }
.show { display: block !important; }

/* End of CSS */
