/* Reset & Normalize (Mobile First) */
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, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F9FAFB;
  color: #232942;
  min-height: 100vh;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
a {
  color: #232942;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
  background: none;
  border: none;
}

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

:root {
  --color-primary: #232942;
  --color-secondary: #DAA520;
  --color-accent: #F9FAFB;
  --color-fun-a: #5CF6FF;
  --color-fun-b: #FF96AF;
  --color-fun-c: #7DF66C;
  --color-text: #232942;
  --color-card-bg: #fff;
  --color-border: #EBF0FA;
  --shadow-base: 0 3px 16px rgba(90,90,90,0.07);
  --radius-med: 18px;
  --radius-large: 32px;
}

/* ===================
   Layout Containers
  =================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-large);
  box-shadow: 0 2px 24px rgba(36,37,67,0.05);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 36px;
    border-radius: var(--radius-med);
  }
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-bottom: 8px;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.12rem;
}
strong {
  font-weight: 700;
}
p, li, span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1rem;
}

ul {
  margin: 8px 0 8px 20px;
  padding: 0;
}
ul li::before {
  content: '★';
  color: var(--color-secondary);
  margin-right: 8px;
  font-size: 0.95em;
}

/* ========== HEADER ========== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid var(--color-border);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 25;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.logo img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  border-radius: 2.5px;
  transition: border 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
}

/* ========== CTA BUTTONS ========== */
.cta-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--color-secondary);
  color: #232942;
  box-shadow: 0 2px 12px rgba(218,165,32, 0.13);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  outline: none;
  display: inline-block;
  margin-top: 8px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #ffd449;
  color: var(--color-primary);
  transform: scale(1.045) rotate(-2deg);
}
.cta-btn.primary {
  background: linear-gradient(90deg, #FF96AF 0%, #DAA520 70%, #5CF6FF 100%);
  color: #232942;
  box-shadow: 0 4px 24px rgba(31,218,255,0.11);
}
.cta-btn.primary:hover {
  background: linear-gradient(90deg, #7DF66C, #FFF4A3);
}

/* ========== MOBILE NAV ========== */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-fun-b);
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 16px;
  margin-left: 16px;
  transition: background 0.18s, color 0.18s, transform 0.19s;
  z-index: 90;
  cursor: pointer;
}
.mobile-menu-toggle:hover {
  background: var(--color-fun-a);
  color: #fff;
  transform: rotate(10deg) scale(1.07);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 3px 32px 4px rgba(50,50,100,0.13);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.45s cubic-bezier(0.7,0,0.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  gap: 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: var(--color-fun-c);
  color: var(--color-primary);
  border-radius: 12px;
  padding: 5px 14px;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  transition: background 0.22s, transform 0.19s;
}
.mobile-menu-close:hover {
  background: var(--color-fun-b);
  transform: rotate(-10deg) scale(1.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.4rem;
  color: var(--color-primary);
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  padding: 12px 0 12px 2px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-fun-c);
  color: #fff;
}

@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (max-width: 540px) {
  .mobile-nav a {
    font-size: 1.125rem;
  }
}

/* ========== HERO SECTION, FEATURES, CARDS, GRIDS ========== */
.features-grid, .service-list, .process-steps, .category-list, .team-overview, .testimonial-slider, .testimonial-list, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .features-grid, .service-list, .category-list, .team-overview {
    flex-direction: column;
    gap: 20px;
  }
}
.feature, .feature-item, .category-item, .team-member, .service-item, .process-step, .faq-item, .testimonial-card, .card {
  background: var(--color-card-bg);
  border-radius: var(--radius-med);
  box-shadow: var(--shadow-base);
  padding: 2rem 1.3rem 1.7rem 1.3rem;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 230px;
  flex: 1 1 300px;
  border: 3px solid transparent;
  transition: border 0.17s, box-shadow 0.17s, transform 0.18s;
  z-index: 2;
}
.feature:hover, .team-member:hover, .category-item:hover, .testimonial-card:hover, .service-item:hover, .faq-item:hover {
  border-color: var(--color-fun-a);
  box-shadow: 0 6px 24px 0 rgba(90,200,250,0.10);
  transform: translateY(-5px) scale(1.025) rotate(-1.2deg);
}
.feature img, .service-item img, .category-item img {
  width: 58px;
  height: 58px;
  margin-bottom: 5px;
  margin-top: -18px;
  align-self: flex-start;
}

.features-grid .feature {
  background: linear-gradient(98deg, #F9FAFB 65%, #7DF66C 260%);
  border: 2.5px dashed #FF96AF11;
}
.category-item, .team-member {
  border: 2.3px dotted #FF96AF44;
  background: linear-gradient(98deg, #F9FAFB 85%, #5CF6FF 340%);
}
@media (max-width: 600px) {
  .feature, .feature-item, .service-item, .team-member, .category-item, .testimonial-card {
    min-width: 0;
    padding: 1.2rem 1.0rem;
  }
  .faq-list, .testimonials-list {
    gap: 10px;
  }
}
.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; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
.feature-item      { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  background: #fffbe7;
  border-radius: var(--radius-med);
  box-shadow: 0 2px 16px rgba(255,190,46, 0.10);
  border: 2.5px solid #FF96AF33;
  color: #282932;
  font-size: 1.08em;
  position: relative;
  max-width: 410px;
  min-width: 220px;
  z-index: 2;
}
.testimonial-card p {
  color: #232942;
  font-size: 1.07em;
  font-family: 'Open Sans',sans-serif;
  line-height: 1.6;
}
.testimonial-card span {
  font-size: 0.97em;
  font-family: 'Montserrat',sans-serif;
  color: #232942;
  opacity: 0.87;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 700px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 15px;
  }
}

.client-logo img {
  height: 28px;
  margin-right: 18px;
  opacity: 0.75;
}
.client-logos {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin: 20px 0 0 0;
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  padding: 1.1rem 1.1rem 1.3rem 1.1rem;
  background: #fffbfb;
  border-radius: var(--radius-med);
  border-left: 6px solid #FF96AFaa;
  box-shadow: 0 0 0 2px #5CF6FF11;
  margin-bottom: 20px;
  min-width: 180px;
  transition: box-shadow 0.21s, border 0.22s;
}
.faq-item h3 {
  font-size: 1.09em;
  color: var(--color-primary);
}

/* ========== FOOTER ========== */
footer {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border-top: 3px solid var(--color-secondary);
  margin-top: 70px;
  position: relative;
  z-index: 10;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 12px 24px 12px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1em;
  opacity: 0.9;
  padding: 4px 0;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FF96AF;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.99em;
  color: #fff;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-contact img {
  width: 18px;
  margin-right: 4px;
}
.footer-logo img {
  height: 42px;
  opacity: 0.83;
  margin: 18px 0 0 0;
}
footer small {
  color: #E6DEBA;
  opacity: 0.77;
  font-size: 0.92em;
}

@media (max-width: 540px) {
  .footer-nav {
    gap: 10px;
  }
  .footer-contact {
    gap: 9px;
    font-size: 0.92em;
    flex-direction: column;
  }
}

/* ========== CUSTOM ANIMATIONS ========== */
@keyframes bounce-in {
  0%   { transform: scale(0.82) translateY(30px); opacity: 0; }
  60%  { transform: scale(1.09) translateY(-8px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.feature, .service-item, .team-member, .category-item, .testimonial-card {
  animation: bounce-in 0.8s cubic-bezier(.59,-0.07,.43,1.2);
}

.cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.17s, color 0.17s, transform 0.17s;
}
:focus-visible {
  outline: 2px dashed #FF96AF;
  outline-offset: 3px;
}

/* ========== RESPONSIVE FLEX LAYOUTS ========= */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content { display: flex; flex-direction: column; justify-content: center; }

/* ========== SPACING & GAPS ========= */
.section > .container > .content-wrapper > * + * {
  margin-top: 18px;
}
section ul, section ol {
  margin-top: 8px;
  margin-left: 18px;
}
section ul li {
  margin-bottom: 5px;
}

/* ========== CONTACT SECTION ========= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.contact-details span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

/* ========== COOKIE CONSENT BANNER ========== */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe7;
  color: #232942;
  border-top: 3px solid #daa520;
  box-shadow: 0 -2px 18px 0 rgba(36,36,50,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 17px 22px 22px 22px;
  z-index: 99999;
  font-size: 1.07rem;
  animation: banner-slide-up 0.7s cubic-bezier(.5,-0.07,.5,1.2);
}
@keyframes banner-slide-up {
  0% { transform: translateY(120%); opacity: 0; }
  80%{ transform: translateY(-10px); opacity: 1; }
  100%{ transform: translateY(0); opacity: 1; }
}
#cookie-consent.hide {
  display: none !important;
}
.cookie-consent-buttons {
  display: flex;
  gap: 17px;
  margin-top: 8px;
  flex-wrap: wrap;
}
#cookie-consent .cta-btn, .consent-modal .cta-btn {
  font-size: 0.98rem;
  padding: 10px 20px;
  border-radius: 18px;
  cursor: pointer;
}
.cookie-btn-accept {
  background: var(--color-fun-c);
  color: #232942;
}
.cookie-btn-accept:hover { background: #fff4a3; }
.cookie-btn-reject {
  background: var(--color-fun-b);
  color: #232942;
}
.cookie-btn-reject:hover { background: #ffd6e2; }
.cookie-btn-settings {
  background: var(--color-primary);
  color: #fff;
  border: 1.8px solid var(--color-secondary);
}
.cookie-btn-settings:hover { background: var(--color-secondary); color: #232942; }

/* Cookie Consent Modal */
.consent-modal-backdrop {
  position: fixed;
  z-index: 1000001;
  inset: 0;
  background: rgba(36,36,78,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .28s;
}
.consent-modal {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: 0 6px 44px 7px #5cf6ff16;
  padding: 38px 24px 26px 24px;
  min-width: 310px;
  max-width: 94vw;
  position: relative;
  z-index: 1000002;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-in .4s cubic-bezier(.42,-0.20,.45,1.8);
}
@keyframes modal-in {
  0% { transform: scale(.81) translateY(30px); opacity:0 }
  70% { transform: scale(1.04) translateY(-7px); opacity:1 }
  100%{ transform: scale(1) translateY(0); opacity:1 }
}
.consent-modal h2 {
  margin-bottom: 7px;
}
.consent-modal .consent-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}
.cookie-category label {
  font-size: 1em;
  font-family: 'Montserrat',sans-serif;
  color: #232942;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px; margin-right:6px;
}
.cookie-category span.category-essential {
  color: var(--color-secondary);
  font-weight: 700;
  font-style: italic;
}
.consent-modal .cta-btn {
  margin-top: 16px;
}
.consent-modal .close-modal {
  position: absolute;
  top: 12px; right: 12px;
  background: #FF96AF;
  border: none;
  color: #232942;
  font-size: 1.4rem;
  border-radius: 50%;
  width: 30px;height: 30px;
  cursor: pointer;
  transition: background 0.18s, transform 0.17s;
}
.consent-modal .close-modal:hover {
  background: #FFD6E2;
}

/* ========== PLAYFUL DECORATIVE ELEMENTS (optional) ========== */
.section::before, .section::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
}
.section::before {
  width: 56px; height: 56px;
  border-radius: 50%;
  top: -18px; left: -16px;
  background: linear-gradient(128deg, #FF96AF 0%, #5CF6FF 100%);
  opacity: 0.15;
  pointer-events: none;
}
.section::after {
  width: 38px; height: 38px;
  bottom: -13px; right: -11px;
  border-radius: 16px 48px 34px 11px;
  background: #7DF66C;
  opacity: 0.10;
  pointer-events: none;
}

/* ========== UTILITIES ========== */
.d-none { display: none !important; }
.align-center { align-items: center; justify-content: center; }
.text-center { text-align: center; }
.bg-primary { background: var(--color-primary); color: #fff; }
.bg-secondary { background: var(--color-secondary); color: #232942; }
.m-b-0 { margin-bottom: 0 !important; }

/* ========= RESPONSIVE FONTS ========= */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.07rem; }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.21rem; }
  h3 { font-size: 1rem; }
}

/* ==== PRINT ==== */
@media print {
  * {
    background: transparent !important;
    color: #232942 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }
  .mobile-menu, header, footer, #cookie-consent, .consent-modal-backdrop { display:none !important; }
}
