/* ------------------- 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,
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F6F6F6;
  color: #1C2640;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.26s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}
/* Scrollbar styling */
::-webkit-scrollbar { width: 10px; background: #F6F6F6; }
::-webkit-scrollbar-thumb { background: #E7A633; border-radius: 6px; }
/* ------------------- BRAND COLORS ------------------- */
:root {
  --color-primary: #1C2640;
  --color-secondary: #F6F6F6;
  --color-accent: #E7A633;
  --color-electric-blue: #3124fa;
  --color-hot-pink: #ff38a1;
  --color-lime: #12eb5b;
  --color-cyan: #14eefd;
  --color-dark: #181829;
  --color-white: #fff;
  --sidebar-z: 1200;
  --modal-z: 1300;
  --cookie-z: 1500;
}
/* ------------------- TYPOGRAPHY ------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}
h1 {
  font-size: 2.6rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.center,
.text-section.center {
  text-align: center;
  align-items: center;
  justify-content: center;
}
p {
  font-size: 1.1rem;
  margin-bottom: 14px;
}
strong, b {
  font-weight: 800;
}
.text-section {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------- LAYOUT & CONTAINER ------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.content-wrapper.center {
  align-items: center;
  text-align: center;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 20px;
}
.hero {
  background: linear-gradient(92deg,var(--color-accent) 0%,#FFD47A 100%) no-repeat;
  color: var(--color-dark);
  min-height: 290px;
  padding-top: 40px;
  padding-bottom: 30px;
  border-radius: 0 0 2rem 2rem;
}
.hero .text-section h1 {
  color: var(--color-primary);
  background: none;
}
.hero .text-section {
  align-items: flex-start;
  padding: 24px 0 0 0;
}

/* ------------------- NAVIGATION ------------------- */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 12px 0 rgba(40,48,84,0.08);
  z-index: 120;
  position: relative;
}
nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}
nav > a > img {
  height: 48px;
  margin-right: 14px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 0 10px;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  color: var(--color-primary);
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--color-electric-blue);
  color: var(--color-white);
}
nav .cta.primary {
  margin-left: 20px;
}
/* ------------- Mobile Menu --------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  font-size: 2.2rem;
  background: transparent;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  z-index: 1100;
  transition: color 0.16s;
}
.mobile-menu-toggle:hover {
  color: var(--color-hot-pink);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-dark);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.85,.04,.21,.92);
  z-index: var(--sidebar-z);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--color-accent);
  background: none;
  border: none;
  margin: 22px 0 0 26px;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover {
  color: var(--color-hot-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 46px;
  /* Use gap for spacing between links */
  gap: 18px;
  align-items: flex-start;
  padding-left: 42px;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-cyan);
  font-weight: 700;
  padding: 8px 0;
  transition: color 0.2s, background 0.19s;
  border-radius: 7px;
  min-width: 180px;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-lime);
  background: rgba(231,166,51,0.09);
}

@media (max-width: 1024px) {
  nav ul {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  nav ul {display: none;}
  nav .cta.primary {display: none;}
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------------- BUTTONS / CTAS ------------------- */
.cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-electric-blue);
  color: var(--color-white);
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 800;
  padding: 12px 32px;
  box-shadow: 0 6px 24px 0 rgba(49,36,250,0.11);
  letter-spacing: 0.03em;
  min-width: 178px;
  border: none;
  margin-top: 10px;
  margin-bottom: 10px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.18s, color 0.14s, transform 0.15s;
  position: relative;
  z-index: 1;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 8px 20px 0 rgba(231,166,51,0.25);
  transform: translateY(-2px) scale(1.022);
}
button, .btn, .cta {
  cursor: pointer;
  font-weight: 700;
  border-radius: 10px;
  outline: none;
  border: none;
  transition: background 0.19s, color 0.13s, box-shadow 0.17s;
}

/* ------------------- SECTIONS, CARDS, FEATURE LIST ------------------- */
.features-grid, .service-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature, .service-card {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 6px 28px 0 rgba(49,36,250,0.08), 0 2px 6px 0 rgba(28,38,64,0.02);
  padding: 30px 24px 26px 24px;
  min-width: 270px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 20px;
}
.feature img, .service-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
}
.feature h3, .service-card h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  color: var(--color-electric-blue);
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 12px;
  color: var(--color-accent);
}
.feature:hover, .service-card:hover {
  box-shadow: 0 10px 32px 0 rgba(255,56,161,0.13), 0 6px 26px 0 rgba(49,36,250,0.10);
  transform: translateY(-5px) scale(1.026);
  transition: box-shadow 0.2s, transform 0.19s;
}

/* ------------------- TRUST BADGES ------------------- */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-accent);
  color: var(--color-dark);
  padding: 7px 16px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 1px 8px 0 rgba(39,38,60,0.065);
  margin-top: 22px;
}
.trust-badges img { height:32px; width:32px; margin-right: 5px; }

/* ------------------- TESTIMONIALS ------------------- */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(49,36,250,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 22px 18px 26px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  min-width: 0;
  max-width: 370px;
  color: #181829;
  position: relative;
  border-left: 6px solid var(--color-accent);
  transition: box-shadow 0.22s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(231,166,51,0.10),0 2px 8px 0 rgba(49,36,250,0.18);
  transform: translateY(-3px) scale(1.011);
}
.testimonial-card p {
  font-size: 1.12rem;
  font-weight: 500;
  color: #292929;
  margin-bottom: 8px;
  margin-top: 0;
}
.testimonial-author {
  font-size: 1em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 6px;
}
.star-rating {
  font-size: 1.2em; color: #ffb400; letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}
.average-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.97rem;
  color: var(--color-hot-pink);
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 6px 0 rgba(49,36,250,0.04);
  padding: 7px 18px 7px 10px;
  font-weight: 700;
}
.average-rating img {
  height: 22px; width: 22px;
}

/* ------------------- FAQ SECTION ------------------- */
.faq-search-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 18px 0;
}
.faq-search-section input[type="search"] {
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--color-primary);
  font-size: 1.03rem;
  border: 1.5px solid #dae0e8;
  box-shadow: 0 2px 6px 0 rgba(49,36,250,0.07);
  transition: border 0.18s, background 0.12s;
}
.faq-search-section input[type="search"]:focus {
  outline: 1.5px solid var(--color-accent);
  border-color: var(--color-accent);
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(49,36,250,0.05);
  padding: 24px 20px 16px 24px;
  margin-bottom: 8px;
  transition: box-shadow 0.18s, background 0.17s;
}
.faq-item h3 {
  color: var(--color-hot-pink);
  font-size: 1.18rem;
}
.faq-item p {
  font-size: 1.045rem;
}
.faq-item:hover, .faq-item:focus-within {
  background: #f4ecff;
  box-shadow: 0 5px 22px 0 rgba(255,38,161,0.10);
}

/* ------------------- Misc UTILITIES ------------------- */
.map-placeholder {
  min-height: 120px;
  background: #F6F6F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 14px;
  color: #638edf;
  font-weight: 600;
  box-shadow: 0 2px 12px 0 rgba(28,38,64,0.03);
  margin: 24px 0 0 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1.08rem;
  margin: 14px 0 24px 0;
}
.trust-badges {
  gap: 12px;
}

/* ------------------- FOOTER ------------------- */
footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  padding: 40px 0 28px 0;
  font-size: 1rem;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  padding: 0;
}
footer nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  opacity: 0.92;
  transition: opacity 0.18s, color 0.16s;
}
footer nav a:hover {
  opacity: 1;
  color: var(--color-lime);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  color: var(--color-white);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ------------------- COOKIE BANNER ------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: 18px;
  box-shadow: 0 7px 32px 0 rgba(28,38,64,0.16);
  padding: 28px 34px 18px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: var(--cookie-z);
  width: 95vw;
  max-width: 450px;
  animation: fadeInUp 1.1s cubic-bezier(.52,1.42,.33,.99);
  font-size: 1.04rem;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translate(-50%, 42px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  justify-content: flex-start;
}
.cookie-banner button {
  min-width: 0;
  padding: 10px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 12px;
  transition: background 0.14s, color 0.12s, box-shadow 0.16s;
  border: none;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--color-lime);
  color: var(--color-primary);
  box-shadow: 0 2px 8px 0 rgba(18,235,91,0.12);
}
.cookie-banner .accept:hover {
  background: var(--color-electric-blue);
  color: var(--color-white);
}
.cookie-banner .reject {
  background: var(--color-hot-pink);
  color: var(--color-white);
  box-shadow: 0 2px 8px 0 rgba(255,56,161,0.13);
}
.cookie-banner .reject:hover {
  background: var(--color-dark);
}
.cookie-banner .settings {
  background: var(--color-cyan);
  color: var(--color-primary);
  box-shadow: 0 2px 7px 0 rgba(20,238,253,0.10);
}
.cookie-banner .settings:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}
/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%) scale(1);
  background: var(--color-white);
  border-radius: 28px;
  box-shadow: 0 14px 56px 0 rgba(49,36,250,0.18),0 4px 18px 0 rgba(231,166,51,0.09);
  padding: 36px 38px 28px 38px;
  z-index: var(--modal-z);
  max-width: 470px;
  width: 93vw;
  display: none;
  flex-direction: column;
  gap: 24px;
  font-size: 1.08rem;
  animation: modalFadeIn 0.5s ease;
}
.cookie-modal.open {
  display: flex;
}
@keyframes modalFadeIn {
  0% { opacity: 0; transform: translate(-50%,-32%) scale(0.92); }
  100% { opacity: 1; transform: translate(-50%,-54%) scale(1); }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-weight: 700;
  min-width: 150px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-electric-blue);
  width: 22px;
  height: 22px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-hot-pink);
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: -10px;
}
.cookie-modal .close-modal:hover {
  color: var(--color-cyan);
}

/* ------------------- RESPONSIVE FLEX ALIGNMENTS ------------------- */
.card-container, .features-grid, .service-cards-grid, .testimonials-slider, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card, .card, .feature, .service-card {
  margin-bottom: 20px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}

/* -------------- SPACING RULES (COLLISION PREVENTION) ------------- */
.card, .feature, .service-card, .testimonial-card {
  margin-bottom: 20px;
}
.section > .container, .section > .content-wrapper {
  gap: 28px !important;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
}
/* Avoid card overlapping on mobile */
@media (max-width: 600px) {
  .card-container, .features-grid, .service-cards-grid, .testimonials-slider, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .service-card, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .hero {
    padding-top: 18px;
    padding-bottom: 10px;
  }
  nav > a > img {
    height: 38px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  section {
    padding: 22px 5px 28px 5px;
    border-radius: 16px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 { font-size: 1.08rem; }
}
@media (max-width: 768px) {
  .content-wrapper, .content-wrapper.text-section, .section .content-wrapper {
    gap: 20px;
    padding: 0;
  }
  .text-section, .content-wrapper.text-section {
    padding: 0;
    margin: 0;
    max-width: 100vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .cta.primary {
    min-width: 130px;
    padding: 11px 13px;
    font-size: 1rem;
  }
  .trust-badges { font-size: 0.84rem; border-radius: 13px; }
}
/* ------------------- SMALL DEVICES OPTIMIZATION ------------------- */
@media (max-width: 390px) {
  .cookie-banner, .cookie-modal {
    padding: 16px 5px 12px 5px;
    font-size: 0.97rem;
    border-radius: 10px;
  }
  nav > a > img { height: 30px; }
}

/* ------------------- ANIMATIONS/MICRO-INTERACTIONS ------------------- */
.cta.primary, .feature, .service-card, .testimonial-card, .faq-item {
  will-change: transform;
}
.cta.primary:active {
  transform: translateY(2px) scale(0.99);
}

/* ------------------- FORMS & INPUTS ------------------- */
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #dae0e8;
  margin-bottom: 8px;
  background: #fff;
  color: var(--color-primary);
  transition: border 0.15s;
}
input:focus, textarea:focus {
  outline: 1.5px solid var(--color-accent);
  border-color: var(--color-accent);
}

/* ------------------- HTML ELEMENTS LISTS ------------------- */
ul, ol {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}
ul > li, ol > li {
  font-size: 1.07rem;
  margin-bottom: 7px;
  color: #242440;
  font-weight: 500;
}
.section ul {
  list-style-type: disc;
}

/* ------------------- MISCELLANEOUS ------------------- */
::-moz-selection { background: var(--color-accent); color: var(--color-white); }
::selection { background: var(--color-accent); color: var(--color-white); }

/* Hide scroll when mobile-menu or cookie-modal open */
body.mobile-menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* ------------------- PRINT PROTECTION ------------------- */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle { display: none !important; }
}
