/* CSS RESET & NORMALIZE */
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  background: #fff;
  color: #2B3643;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FD56E3;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* BRAND COLORS + ENERGETIC ACCENTS */
:root {
  --primary: #2B3643;
  --secondary: #849694;
  --accent: #EBE6DF;
  --electric-blue: #19AFE6;
  --hot-pink: #FD56E3;
  --lemon: #FFF82E;
  --signal-green: #5DFF64;
  --shadow-card: 0 2px 20px 0 rgba(32,44,89,0.09);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: bold;
  line-height: 1.12;
  text-transform: none;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.text-section h1,
.text-section h2,
.text-section h3, .text-section h4 { margin-top: 0; }
p, li, dl, blockquote {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 500;
  color: var(--primary);
  border-left: 4px solid var(--electric-blue);
  padding-left: 16px;
  margin-bottom: 8px;
}
dt { font-weight: bold; margin-bottom: 4px; }
dd { margin-bottom: 8px; }

/* GENERAL CONTAINER + STRUCTURE */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  /* Give a slight accent line at top for energy */
  border-top: 5px solid var(--electric-blue);
}
/* ENERGY: alternate sections with hot pink border on even */
.section:nth-of-type(even) {
  border-top: 5px solid var(--hot-pink);
}

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

.text-section {
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
}

/* FLEXBOX LAYOUTS */
.card-container,
.feature-grid,
.service-list,
.portfolio-categories,
.post-grid,
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.card-container { gap: 24px; }
.card { margin-bottom: 20px; position: relative; flex: 1 1 230px; background: var(--accent); border-radius: 18px; box-shadow: var(--shadow-card); padding: 24px 18px; display: flex; flex-direction: column; min-width: 220px; max-width: 100%; }
.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: #fff;
  box-shadow: 0 4px 36px 0 rgba(32,44,89,0.08);
  border-radius: 16px;
  border-left: 6px solid var(--lemon);
  margin-bottom: 20px;
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left: 6px solid var(--hot-pink);
  box-shadow: 0 8px 32px 0 rgba(32,44,89,0.14);
}
.testimonial-meta {
  font-size: 0.98rem;
  color: var(--electric-blue);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
  min-width: 200px;
  max-width: 320px;
  transition: box-shadow 0.17s, transform 0.17s;
  border-top: 3px solid var(--signal-green);
  position: relative;
}
.feature-item img {
  width: 48px; height: 48px;
}
.feature-item h3 {
  margin-bottom: 0; color: var(--hot-pink); font-weight: 800;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 8px 20px 0 rgba(89,32,44,0.11);
  transform: translateY(-4px) scale(1.018);
  border-top-color: var(--electric-blue);
}

/* SERVICE LIST / CARD */
.service-list {
  gap: 24px;
  flex-wrap: wrap;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  position: relative;
  padding: 22px 16px 18px 16px;
  border-left: 5px solid var(--electric-blue);
  transition: box-shadow 0.22s, border-left-color 0.18s;
}
.service-card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,44,89,0.14);
  border-left-color: var(--hot-pink);
}
.service-card h2 {
  color: var(--primary);
  font-size: 1.21rem;
  margin-bottom: 6px;
}

/* PORTFOLIO CATEGORIES */
.portfolio-categories {
  gap: 24px;
}
.portfolio-item {
  background: var(--accent);
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  flex: 1 1 280px;
  padding: 24px 20px;
  min-width: 220px;
}
.portfolio-item h3 {
  color: var(--electric-blue);
  margin-bottom: 8px;
}

/* BLOG CARDS */
.post-grid {
  gap: 24px;
  flex-wrap: wrap;
}
.post-card {
  flex: 1 1 220px;
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 18px 14px;
  margin-bottom: 20px;
  border-top: 3px solid var(--hot-pink);
  transition: border-top-color 0.14s, box-shadow 0.18s;
}
.post-card h3 {
  color: var(--hot-pink);
  margin-bottom: 6px;
}
.post-card:hover, .post-card:focus-within {
  border-top-color: var(--electric-blue);
  box-shadow: 0 6px 18px 0 rgba(32,44,89,0.11);
}

/* FAQ LIST */
.faq-list {
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  padding: 18px 14px;
  margin-bottom: 20px;
  border-left: 4px solid var(--electric-blue);
  transition: border-left-color 0.19s;
}
.faq-item h3 {
  color: var(--electric-blue);
  margin-bottom: 6px;
}
.faq-item:hover, .faq-item:focus-within {
  border-left-color: var(--hot-pink);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  padding: 0 0 0 0;
  box-shadow: 0 1px 8px 0 rgba(32,44,89,.07);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header > a {
  display: flex;
  align-items: center;
  margin-right: 22px;
  padding: 15px 0 15px 22px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 8px 4px;
  color: var(--primary);
  transition: color 0.16s;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus {
  color: var(--hot-pink);
  border-bottom: 2px solid var(--hot-pink);
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .01em;
  font-size: 1.06rem;
  line-height: 1.8;
  border-radius: 28px;
  padding: 10px 32px;
  background: var(--electric-blue);
  color: #fff;
  margin-left: 26px;
  box-shadow: 0 3px 14px 0 rgba(25,175,230,.14);
  border: none;
  transition: background 0.18s, transform 0.17s, box-shadow 0.17s;
  text-align: center;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--hot-pink);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 6px 28px 0 rgba(253,86,227,.15);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  padding: 9px 18px;
  background: var(--hot-pink);
  color: #fff;
  border-radius: 8px;
  margin-left: auto;
  margin-right: 16px;
  border: none;
  transition: background 0.18s;
  z-index: 1202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--electric-blue);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #fff;
  z-index: 2001;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.75,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 34px;
  box-shadow: 0 0 64px rgba(32,44,89,.18);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--hot-pink);
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  border: none;
  padding: 8px 12px;
  margin-left: auto;
  margin-right: 26px;
  margin-bottom: 8px;
  align-self: flex-end;
  z-index: 2204;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--electric-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: flex-start;
  padding-left: 32px;
  margin-top: 18px;
}
.mobile-nav a {
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 0;
  color: var(--primary);
  transition: color 0.16s;
  border-bottom: 2.5px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--hot-pink);
  border-bottom: 2.5px solid var(--electric-blue);
}

/* sticky header logo for mobile */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 4px 0 0;
    box-shadow: 0 2px 18px 0 rgba(32,44,89,.05);
    min-height: 60px;
  }
  header > a {
    margin-right: 5px;
    padding: 8px 0 8px 6px;
    height: 42px;
  }
  nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 36px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  font-size: 1rem;
  margin-top: auto;
  min-height: 90px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--signal-green);
}
.footer-contact {
  text-align: center;
  margin-bottom: 6px;
  font-size: 0.98rem;
}
.footer-logo {
  padding-top: 10px;
}
.footer-logo img { width: 60px; height: auto; display: block; margin: 0 auto; }

/* RESPONSIVE FLEX SUPPORT */
@media (max-width: 1024px) {
  .container { max-width: 1010px; }
  .feature-grid, .portfolio-categories, .service-list, .card-container, .post-grid, .faq-list {
    gap: 18px;
  }
  .section {
    padding: 32px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1rem; }
  .container { padding-left: 8px; padding-right: 8px; }
  .feature-grid, .portfolio-categories, .service-list, .card-container, .post-grid, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper, .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .section {
    padding: 22px 3px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.02rem; }
  .section { padding: 12px 1px; }
}

/* BUTTONS & LINK STYLES */
button, .cta-primary, .btn, input[type=submit] {
  border: none;
}
.btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 19px;
  background: var(--signal-green);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  margin: 6px 8px;
  box-shadow: 0 2px 8px 0 rgba(93,255,100,.11);
  transition: background 0.16s, color 0.17s;
}
.btn:hover, .btn:focus {
  background: var(--electric-blue);
  color: #fff;
}
a {
  transition: color 0.16s, border 0.14s;
}
a:active {
  color: var(--electric-blue);
}

/* COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3002;
  width: 100%;
  background: #fff;
  border-top: 3px solid var(--hot-pink);
  box-shadow: 0 -2px 24px 0 rgba(32,44,89,0.13);
  padding: 18px 26px 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.99rem;
  animation: slideUp 0.42s cubic-bezier(.65,.03,.28,.99);
}
@keyframes slideUp {
  from { transform: translateY(110%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner .cookie-btns button {
  padding: 8px 18px;
  border-radius: 18px;
  font-size: 1rem;
  margin: 0 1px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  transition: background 0.14s, color 0.13s;
}
.cookie-accept {
  background: var(--signal-green);
  color: var(--primary);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-reject {
  background: var(--lemon);
  color: var(--primary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--hot-pink);
  color: #fff;
}
.cookie-settings {
  background: none;
  color: var(--hot-pink);
  border: 2px solid var(--hot-pink);
  padding: 6px 14px;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--hot-pink);
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 9px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-btns {
    gap: 5px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 3112;
  left: 0; top:0;
  width: 100vw; height: 100vh;
  background: rgba(43,54,67,0.87);
  backdrop-filter: blur(1.2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s cubic-bezier(.7,0,.35,1);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  padding: 38px 32px 28px 32px;
  border-radius: 20px;
  min-width: 330px;
  max-width: 95vw;
  box-shadow: 0 8px 48px 0 rgba(32,44,89,0.25);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  animation: popInModal 0.27s cubic-bezier(.68,.12,.23,1);
}
@keyframes popInModal {
  from { transform: scale(.87) translateY(32px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.26rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1.05rem;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--electric-blue);
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.cookie-modal-close {
  background: var(--hot-pink);
  color: #fff;
  font-size: 1.66rem;
  border-radius: 8px;
  border: none;
  padding: 7px 15px;
  align-self: flex-end;
  margin-top: -18px;
  margin-bottom: 10px;
  transition: background 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--electric-blue);
}
.cookie-modal-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-modal-actions button {
  padding: 8px 18px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
}
.cookie-modal-save {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-modal-save:hover, .cookie-modal-save:focus {
  background: var(--signal-green);
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-modal-content {
    min-width: 0;
    padding: 18px 7px 12px 7px;
    gap: 16px;
  }
}

/* MICRO-ANIMATIONS AND EFFECTS */
.card, .feature-item, .service-card, .portfolio-item, .post-card, .faq-item, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.17s, border 0.13s, border-left-color 0.13s;
}
.card:hover, .card:focus-within,
.feature-item:hover, .feature-item:focus-within,
.service-card:hover, .service-card:focus-within, 
.portfolio-item:hover, .portfolio-item:focus-within, 
.post-card:hover, .post-card:focus-within, 
.faq-item:hover, .faq-item:focus-within {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 12px 36px 0 rgba(32,44,89,0.11);
}

/* ACCESSIBILITY */
:focus {
  outline: 2.5px dotted var(--hot-pink) !important;
  outline-offset: 2px;
}

/* RICH LIST SPACING + INTERACTIVE */
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
ul li, ol li { position: relative; }
ul li::before, ol li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--electric-blue);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.section ul li::before,
.text-section ul li::before {
  background: var(--hot-pink);
}

@media (max-width: 768px) {
  ul, ol {
    padding-left: 18px;
  }
}

/* TABLE SPACING (if any) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  padding: 11px 13px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  font-size: 1rem;
}

/* DL SPACING */
dl {
  margin-bottom: 18px;
}
dt { margin-top: 12px; }

/* ----------- END ----------- */

