/* CSS RESET & BASE -------------------------- */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border-style: none; max-width: 100%; height: auto; }
table { border-collapse: collapse; border-spacing: 0; }
button, input, select, textarea { font: inherit; }

/* CSS VARIABLES - BRANDING ---------------------------- */
:root {
  --primary: #184D6B;
  --secondary: #33B86A;
  --accent: #F7F8FA;
  --creative-purple: #a239ea;
  --creative-orange: #ffb400;
  --creative-pink: #FF4585;
  --creative-blue: #36C6F0;
  --creative-yellow: #ffe066;
  --danger: #E63946;
  --body-bg: #fff;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --text-main: #21243d;
  --text-light: #fff;
  --shadow-creative: 0 6px 36px 0 rgba(24,77,107,0.10), 0 1.5px 6px 0 rgba(162,57,234,0.08);
  --radius-main: 22px;
  --transition-base: 0.32s cubic-bezier(.7,.2,.25,1);
}

/* BASE BODY & TYPOGRAPHY ---------------------------- */
body {
  font-family: var(--font-body);
  background: var(--body-bg);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.14; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
p, ul, ol, blockquote { margin-bottom: 16px; }
strong { font-weight: 700; color: var(--primary); }
.blockquote, blockquote { font-style: italic; color: var(--creative-purple); }

/* LAYOUT CONTAINERS ---------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER & NAVIGATION ---------------------------- */
header {
  background: linear-gradient(90deg, var(--creative-purple) 0%, var(--creative-orange) 100%);
  box-shadow: 0 7px 24px rgba(162,57,234,0.07);
  border-radius: 0 0 var(--radius-main) var(--radius-main);
  margin-bottom: 24px;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}
.logo img { height: 48px; display: block; }
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition-base);
  position: relative;
  padding: 4px 0;
}
nav a:not(.btn):hover, nav a:not(.btn):focus {
  color: var(--creative-yellow);
}
.btn.btn-primary { margin-left: 18px; }

/* BURGER BUTTON ---------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--creative-orange);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  border-radius: 15px;
  padding: 8px 18px;
  cursor: pointer;
  box-shadow: 0 7px 28px -10px #a239ea22;
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--creative-pink);
  color: #fff;
}

/* MOBILE NAVIGATION & OVERLAY ---------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--creative-purple) 60%, var(--creative-orange) 100%);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.33,1.32,.56,1);
  box-shadow: 0 8px 56px -8px #a239ea33;
  padding: 32px 24px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  padding: 2px 14px;
  border-radius: 50%;
  cursor: pointer;
  margin-bottom: 28px;
  transition: background var(--transition-base);
  z-index: 15;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--danger);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: var(--font-display);
  color: #fff;
  padding: 12px 0;
  border-radius: 12px;
  text-align: left;
  transition: background var(--transition-base), color var(--transition-base);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: var(--creative-yellow);
}

/* Hide nav on mobile, show burger         */
@media (max-width: 1024px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 768px) {
  header .container { flex-wrap: wrap; }
  .logo img { height: 40px; }
}

/* BUTTONS, CTAs ---------------------------- */
.btn {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius-main);
  color: var(--text-light);
  background: var(--secondary);
  letter-spacing: .02rem;
  box-shadow: 0 3px 17px -2px #33b86a1d;
  border: none;
  transition: background var(--transition-base), box-shadow var(--transition-base), color var(--transition-base);
  cursor: pointer;
  outline: none;
}
.btn.btn-primary {
  background: linear-gradient(90deg, var(--creative-purple) 45%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 4px 26px -6px #a239ea3D;
}
.btn:hover, .btn:focus {
  background: var(--creative-pink);
  color: #fff;
  box-shadow: 0 5px 22px -2px #ff458544;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
}

/* HERO SECTION ---------------------------- */
.hero {
  background: linear-gradient(100deg, #f7f3ff 60%, #FFEDDA 100%);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-creative);
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}
.hero .container { display: flex; align-items: center; justify-content: center; }
.hero .content-wrapper { align-items: flex-start; max-width: 700px; }
.hero h1 {
  font-family: var(--font-display);
  color: var(--creative-purple);
  margin-bottom: 16px;
  font-weight: 900;
  font-size: 2.7rem;
  letter-spacing: .01em;
}
.hero p {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 22px;
  font-family: var(--font-body);
}

/* SECTION/CONTENT LAYOUTS ---------------------------- */
.card-container, .service-list, .content-grid, .icons-row, .timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-list > div, .timeline > div {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-creative);
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover, .service-list > div:hover, .timeline > div:hover {
  box-shadow: 0 9px 36px -4px #33b86a66;
  transform: translateY(-6px) scale(1.03) rotate(-2deg);
}
.card h3, .service-list > div h2, .timeline > div h2 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: var(--creative-purple);
}
.card span, .service-list > div span {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.08rem;
  margin-top: 10px;
}

/* .feature-item & .text-image-section ------------- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}
.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: 20px;
  }
}

/* TESTIMONIALS ---------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-main);
  background: #faf8ff;
  border-left: 4px solid var(--creative-purple);
  margin-bottom: 20px;
  box-shadow: 0 4px 20px -8px #a239ea22;
}
.testimonial-card blockquote {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--creative-pink);
  font-size: 1.06rem;
}

/* CARDS, HIGHLIGHTS & INFO BOXES ---------------------------- */
.highlight-box {
  background: var(--accent);
  border-left: 7px solid var(--creative-orange);
  padding: 24px 32px;
  border-radius: var(--radius-main);
  box-shadow: 0 3px 18px -7px #ffb40055;
  margin-bottom: 24px;
}
.icons-row {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: flex-start;
}
.icons-row > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 17px -8px var(--creative-purple);
  padding: 18px 16px 14px;
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
  font-size: 1.12rem;
}

/* TABLES ---------------------------- */
table {
  width: 100%;
  margin-bottom: 28px;
  border-radius: var(--radius-main);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-creative);
}
thead {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
}
th, td {
  padding: 18px 12px;
  text-align: left;
  font-size: 1.04rem;
}
tbody tr {
  border-bottom: 1px solid #ececf2;
  transition: background 0.24s;
}
tbody tr:hover {
  background: var(--accent);
}
tbody td {
  color: var(--primary);
}

/* FAQ ACCORDION ---------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion > div {
  background: #fffdf8;
  padding: 14px 20px 14px 18px;
  border-radius: 13px;
  box-shadow: 0 2px 8px -2px #ffb40022;
}
.faq-accordion h3 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

/* NEWSLETTER & BLOG SNIPPET ---------------------------- */
.newsletter {
  background: linear-gradient(100deg, #e3fdfd 50%, #f7f3ff 100%);
  border-radius: var(--radius-main);
  box-shadow: 0 7px 24px -4px #36c6f066;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.newsletter-signup {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.newsletter-signup label {
  font-size: 1.05rem;
  margin-right: 12px;
  font-family: var(--font-display);
}
.newsletter-signup input[type=email] {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--creative-blue);
  font-size: 1.08rem;
  font-family: var(--font-body);
  outline: none;
  transition: border var(--transition-base);
}
.newsletter-signup input[type=email]:focus {
  border: 2px solid var(--creative-pink);
}

.blog-post-snippet {
  background: #fff;
  border-left: 5px solid var(--creative-blue);
  border-radius: 14px;
  padding: 21px 22px 15px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 12px -2px #36c6f022;
  transition: border-color .22s, box-shadow .24s;
}
.blog-post-snippet:hover {
  border-left-color: var(--creative-pink);
  box-shadow: 0 8px 26px -6px #ff458533;
}
.blog-post-snippet .category {
  display: inline-block;
  margin-top: 10px;
  background: var(--creative-yellow);
  color: var(--primary);
  font-weight: 600;
  font-size: .98rem;
  border-radius: 8px;
  padding: 3px 11px;
}
.categories {
  font-size: 1.02rem;
  margin-top: 13px;
}

/* CONTACT PAGE BOXES ---------------------------- */
.contact-info-box {
  background: var(--accent);
  border-radius: var(--radius-main);
  box-shadow: 0 3px 18px -7px #a239ea33;
  padding: 24px 32px;
  margin-bottom: 25px;
  font-size: 1.09rem;
}
.contact-info-box a { color: var(--secondary); font-weight: 600; }

/* FOOTER ---------------------------- */
footer {
  background: linear-gradient(90deg, var(--primary) 60%, var(--creative-purple) 100%);
  color: #fff;
  border-radius: var(--radius-main) var(--radius-main) 0 0;
  padding: 28px 0 14px 0;
  font-size: 1.03rem;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--creative-yellow);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  opacity: .92;
  transition: color var(--transition-base);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-logo img {
  height: 45px;
  margin-bottom: 7px;
}
.footer-contact {
  opacity: .88;
  font-family: var(--font-body);
  text-align: right;
  min-width: 220px;
}

/* RESPONSIVE DESIGN ---------------------------- */
@media (max-width: 900px) {
  .container { padding: 0 9px; }
  .content-wrapper, .card-container, .service-list, .content-grid, .icons-row, .timeline {
    gap: 16px;
  }
  .newsletter, .highlight-box, .contact-info-box {
    padding: 20px 10px;
  }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; }
  .section {
    margin-bottom: 38px;
    padding: 25px 5px;
  }
  .hero h1 { font-size: 2rem; }
  nav { display: none; }
  .newsletter, .highlight-box, .contact-info-box {
    padding: 16px 6px;
  }
  .footer-contact { text-align: left; margin-top: 16px; }
}
@media (max-width: 600px) {
  .footer-nav, .footer-logo { flex-direction: column; gap: 6px; }
  .footer-logo img { height: 36px; }
  .footer-contact { min-width: 100px; }
  .blog-post-snippet { padding: 13px 3px 10px; }
}

/* ANIMATIONS & MICROINTERACTIONS ---------------------------- */
.card,
.service-list > div,
.timeline > div,
.newsletter-signup input[type=email],
.btn, .btn.btn-primary {
  transition: 
    box-shadow var(--transition-base), 
    transform var(--transition-base), 
    border-color .2s, 
    color var(--transition-base), 
    background var(--transition-base);
}

h1, h2, h3 {
  transition: color .18s, text-shadow .18s;
}
h1:hover, h2:hover, h3:hover {
  color: var(--creative-pink);
  text-shadow: 0 3px 16px #ffb40022;
}

/* COOKIE CONSENT BANNER ---------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: linear-gradient(90deg, var(--creative-orange) 75%, var(--creative-purple) 100%);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  box-shadow: 0 -5px 32px -6px #a239ea66;
  padding: 30px 12px 24px 15px;
  font-size: 1.08rem;
  font-weight: 500;
  border-radius: var(--radius-main) var(--radius-main) 0 0;
  animation: slideUpIn .6s cubic-bezier(.28,1.3,.43,1);
}
@keyframes slideUpIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  font-size: 1.03rem;
  border-radius: 14px;
  color: var(--text-main);
  font-weight: 600;
  padding: 9px 18px;
  background: var(--accent);
  box-shadow: 0 1.5px 7px -2px #a239ea33;
  transition: background var(--transition-base), color var(--transition-base);
}
.cookie-banner .btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .btn.accept:hover { background: var(--creative-pink); color: #fff; }
.cookie-banner .btn.reject {
  background: var(--danger);
  color: #fff;
}
.cookie-banner .btn.reject:hover { background: var(--primary); color: #fff; }
.cookie-banner .btn.settings {
  background: var(--creative-yellow);
  color: var(--primary);
}
.cookie-banner .btn.settings:hover { background: var(--creative-blue); color: #fff; }

/* COOKIE PREFERENCES MODAL ---------------------------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1201;
  background: rgba(30,19,41,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg .32s cubic-bezier(.42,.9,.35,1);
}
@keyframes fadeInBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal .modal-box {
  background: linear-gradient(90deg, #f7f3ff 60%, #FFEDDA 100%);
  border-radius: 28px;
  box-shadow: 0 10px 48px -10px #a239ea33;
  padding: 34px 36px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 310px;
  max-width: 98vw;
  animation: slideInModal .35s cubic-bezier(.18,1,.41,.93);
}
@keyframes slideInModal {
  from { transform: scale(.8) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 { color: var(--creative-purple); margin-bottom: 0; font-size: 1.3rem; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.04rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 16px; height: 16px;
}
.cookie-category .desc { opacity: .75; font-size: .96rem; }
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .btn {
  font-size: 1.1rem;
  padding: 8px 18px;
  border-radius: 13px;
}

/* UTILITY CLASSES & GENERAL SPACING ---------------------------- */
.secondary-info {
  color: var(--creative-blue);
  font-size: .98rem;
  margin-top: 6px;
}
.next-steps-info ul {
  list-style: disc inside;
  font-size: 1.03rem;
  color: var(--primary);
  margin-bottom: 14px;
  padding-left: 16px;
}
ol, ul {
  padding-left: 23px;
  margin-bottom: 14px;
}
ul li, ol li { margin-bottom: 6px; }
ol { list-style: decimal inside; }
address {
  font-style: normal;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* CARDS & LAYOUT SPACING - 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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Prevent unwanted content overlap             */
.card, .service-list > div, .timeline > div, .testimonial-card, .blog-post-snippet, .highlight-box, .newsletter, .contact-info-box {
  margin-bottom: 20px;
}

/* VISUAL HIERARCHY & ARTISTIC TOUCH ---------------------------- */
h1, h2, h3 { letter-spacing: .015em; }
h1 {
  background: linear-gradient(90deg, var(--creative-orange) 7%, var(--creative-purple) 87%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent;
}
h2 {
  color: var(--creative-pink);
}
.grid, .service-list {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 12px;
}
.grid > div, .service-list > div {
  min-width: 210px;
  flex: 1 1 230px;
  background: #fff;
  border-radius: 12px;
  padding: 17px 18px 14px;
  margin-bottom: 0;
  box-shadow: 0 2px 11px -3px #a239ea18;
  text-align: center;
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.06rem;
}
.grid strong {
  font-size: 1.5rem;
  color: var(--creative-pink);
}

/* Ensure visuals and spacing on ALL sections */
section > .container > .content-wrapper > *:not(:last-child) {
  margin-bottom: 24px;
}

/* REMOVE GRID - ONLY FLEXBOX! (Verified) */
/* No grid properties used anywhere */

/* PRINT/ACCESSIBILITY OPTIMIZATION */
@media print {
  .mobile-menu, .mobile-menu-toggle, header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  main { padding: 0; }
}

/* Artistic touch: brush effect for h3 in about, process, etc. */
h3:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 17px;
  height: 18px;
  margin-right: 11px;
  border-radius: 40% 35% 60% 42%;
  background: linear-gradient(100deg, var(--creative-orange), var(--creative-pink));
  opacity: .6;
}

/* Add art shadow to cards & CTA */
.card, .service-list > div, .blog-post-snippet, .testimonial-card, .newsletter, .highlight-box {
  box-shadow: 0 7px 21px -5px var(--creative-blue), 0 2.5px 12px -5px #ffb40055;
}

/* END OF STYLE.CSS */
