/* 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, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  font-size: 1rem;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #15315B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #69C153;
  text-decoration: underline;
}
strong {
  font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 0.5em;
  color: #15315b;
  letter-spacing: 1.5px;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
h5, h6 { font-size: 1rem; font-weight: 600; }
blockquote {
  font-style: italic;
  color: #15315B;
  background: #EAEAEA;
  border-left: 4px solid #69C153;
  margin: 0 0 1em 0;
  padding: 1em 1.5em;
  border-radius: 8px;
  box-shadow: 0 1px 6px 2px rgba(21,49,91,.05);
}

/* BRAND COLORS AS CSS VARIABLES --------------------------------------------- */
:root {
  --brand-primary: #15315B;
  --brand-secondary: #69C153;
  --brand-accent: #EAEAEA;
  --brand-dark: #102345;
  --brand-warning: #FBAD18;
  --brand-error: #D93636;
  --text-body: #222;
  --text-heading: #15315B;
  --text-light: #fff;
  --shadow-main: 0 2px 16px 0 rgba(21,49,91,0.13);
  --radius-main: 18px;
  --radius-sm: 10px;
}

/* CONTAINER AND LAYOUT ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  background: #fff;
  position: relative;
  min-width: 290px;
  padding: 32px 28px;
}
.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;
}

/* FEATURE ITEMS ------------------------------------------------------------- */
.feature-grid,
.service-grid,
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0 0;
}
.feature-item, .service-item, .project-item {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 220px;
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
}
.feature-item img,
.service-item img,
.project-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}
.feature-item:hover,
.service-item:hover,
.project-item:hover {
  box-shadow: 0 6px 24px 5px rgba(21,49,91,0.14);
  transform: translateY(-8px) scale(1.025);
  z-index: 2;
}

/* HERO SECTION ------------------------------------------------------------- */
.hero {
  background: linear-gradient(90deg, rgba(105,193,83,0.16) 0%, rgba(21,49,91,0.12) 100%), #fff;
  padding: 64px 0 64px 0;
  border-bottom: 4px solid var(--brand-secondary);
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 24px;
}
.hero h1 {
  color: var(--brand-primary);
  font-size: 2.8rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 800;
  text-shadow: 1px 3px 8px rgba(21,49,91,0.06);
  letter-spacing: 2px;
  line-height: 1.15;
}
.hero .subheadline {
  color: var(--brand-secondary);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* CTA BUTTONS ----------------------------------------------------------- */
.cta {
  display: inline-block;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1.125rem;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(21,49,91,0.09);
  border: none;
  margin-top: 6px;
  transition: background 0.28s, color 0.17s, box-shadow 0.16s, transform 0.16s;
  outline: none;
  position: relative;
}
.cta.primary {
  background: var(--brand-secondary);
  color: #fff !important;
  border: 2px solid var(--brand-secondary);
}
.cta.primary:hover, .cta.primary:focus {
  background: #4ba043;
  color: #fff !important;
  box-shadow: 0 4px 24px 0 rgba(21,49,91,0.21);
  transform: scale(1.04);
}
.cta.secondary {
  background: #fff;
  color: var(--brand-primary) !important;
  border: 2px solid var(--brand-secondary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--brand-secondary);
  color: #fff !important;
  box-shadow: 0 4px 18px 0 rgba(21,49,91,0.13);
  transform: scale(1.04);
}

/* TESTIMONIALS ---------------------------------------------------------- */
.testimonials {
  background: #F3F9F4;
  padding: 45px 0 35px 0;
}
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 14px 0 rgba(21,49,91,0.13);
  border-radius: var(--radius-main);
  padding: 24px 26px 18px 26px;
  min-width: 240px;
  max-width: 680px;
  border-left: 4px solid var(--brand-secondary);
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 22px 2px rgba(21,49,91,0.19);
  background: #EAEAEA;
  transform: scale(1.023);
}
.testimonial-card blockquote,
.testimonial-card p {
  color: #15315B;
}
.testimonial-card p strong {
  color: var(--brand-secondary);
  font-weight: 700;
}

/* FOOTER ----------------------------------------------------------------- */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 40px 0 24px 0;
  border-top: 4px solid var(--brand-secondary);
}
footer .container {
  width: 100%;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  opacity: 0.86;
  transition: opacity .14s, color .18s;
}
.footer-nav a:hover { opacity: 1; color: var(--brand-secondary); }
.footer-contact p, .footer-contact a {
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 8px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}
.social-media {
  display: flex;
  gap: 16px;
}
.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 8px 0 rgba(21,49,91,0.06);
  transition: background 0.15s, transform .16s;
}
.social-media a:hover {
  background: var(--brand-secondary);
  transform: scale(1.10);
}
.social-media img {
  width: 22px;
  height: 22px;
  filter: grayscale(30%);
}

/* MAIN NAVIGATION --------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 2px solid var(--brand-secondary);
  min-height: 68px;
  position: relative;
  z-index: 1002;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 0 20px;
  height: 68px;
  font-family: 'Oswald', Arial, sans-serif;
}
.main-nav a {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color .16s;
  padding: 5px 4px;
}
.main-nav img {
  height: 38px;
  margin-right: 12px;
  vertical-align: middle;
}
.main-nav .cta.primary {
  margin-left: auto;
  margin-right: 0;
  font-size: 1rem;
  padding: 10px 30px;
}
/* Hide mobile menu toggle by default on desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE NAVIGATION (BURGER MENU, OVERLAY) ----------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 1101;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(21,49,91,0.10);
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1201;
  box-shadow: 0 14px 48px 12px rgba(21,49,91,0.18);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
  padding: 36px 26px 22px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  color: var(--brand-primary);
  border: none;
  font-size: 2.3rem;
  cursor: pointer;
  z-index: 1221;
  transition: color .15s;
  opacity: 0.9;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-secondary);
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 58px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.27rem;
  color: var(--brand-primary);
  padding: 14px 0;
  border-bottom: 1px dashed #EAEAEA;
  transition: background 0.16s, color .16s;
  border-radius: 6px;
}
.mobile-nav a:hover {
  background: var(--brand-accent);
  color: var(--brand-secondary);
  padding-left: 8px;
}

/* Hide main nav on mobile */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* GENERAL PAGE + CONTENT STYLING ------------------------------------------ */
.page-content, main {
  min-height: 60vh;
  z-index: 1;
}

/* BUTTONS, FORMS & INTERACTIVES ------------------------------------------- */
button, .button {
  font-family: 'Oswald', Arial, sans-serif;
  outline: none;
  box-shadow: none;
  border: none;
  background: var(--brand-secondary);
  color: #fff;
  font-size: 1.07rem;
  line-height: 1;
  border-radius: 22px;
  padding: 12px 28px;
  margin: 4px 0;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.15s;
}
button:hover, button:focus {
  background: #4ba043;
  color: #fff;
  box-shadow: 0 3px 14px 0 rgba(21,49,91,0.11);
}
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid var(--brand-primary);
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  margin-bottom: 12px;
  width: 100%;
  background: #F7F7FA;
  transition: border 0.14s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--brand-secondary);
  outline: none;
}

/* COOKIE CONSENT BANNER (FIXED BOTTOM) ---------------------------------- */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #EAEAEA;
  color: #15315B;
  font-size: 1rem;
  width: 100vw;
  z-index: 2500;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 10px 18px 10px;
  box-shadow: 0 -1px 14px 2px rgba(21,49,91,0.08);
  animation: banner-fadein .7s;
}
#cookie-banner .cookie-inner {
  max-width: 1060px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
#cookie-banner p {
  color: #15315B;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
}
#cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 0px;
}
.cookie-btn {
  min-width: 140px;
  padding: 11px 22px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  border-radius: 30px;
  border: 2px solid var(--brand-secondary);
  background: var(--brand-secondary);
  color: #fff;
  font-size: 1.02rem;
  transition: background 0.19s, color 0.19s, border 0.13s;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--brand-primary);
}
.cookie-btn.reject {
  background: var(--brand-error);
  color: #fff;
  border: 2px solid var(--brand-error);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #4ba043;
  color: #fff;
  border-color: #4ba043;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-secondary);
  color: #fff;
  border-color: var(--brand-secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #9a2323;
  border-color: #9a2323;
}
@keyframes banner-fadein { from { opacity: 0; bottom: -60px; } to { opacity: 1; bottom: 0; } }

/* COOKIE MODAL ----------------------------------------------------------- */
#cookie-modal {
  display: none;
  position: fixed;
  top:0; left:0;
  width: 100vw; height: 100vh;
  background: rgba(21,49,91,0.15);
  z-index: 5000;
  justify-content: center;
  align-items: flex-end;
}
#cookie-modal.active {
  display: flex;
  animation: modal-in .28s;
}
@keyframes modal-in { from { opacity:0; } to { opacity: 1; } }
.cookie-modal-content {
  width: 96vw;
  max-width: 410px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -1px 32px 10px rgba(21,49,91,0.12);
  padding: 38px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 0;
  border-top: 4px solid var(--brand-secondary);
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--brand-primary);
  margin-bottom: 4px;
}
.cookie-modal-content label,
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  font-size: 1.01rem;
  font-family: 'Lato', Arial, sans-serif;
  margin-bottom: 12px;
  gap: 9px;
}
.cookie-modal-content input[type=checkbox] {
  accent-color: var(--brand-secondary);
  width: 18px; height: 18px;
  margin-right: 7px;
  border-radius: 3px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* SECTION SPACING -------------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 991px) {
  section {
    padding: 30px 0 32px 0;
    margin-bottom: 38px;
  }
}

/* FLEXBOX MOBILE-RESPONSIVE LAYOUTS -------------------------------------- */
.card-container, .content-grid, .feature-grid, .service-grid, .project-list, .footer-nav, .social-media, .main-nav, .text-image-section, .testimonials .content-wrapper {
  flex-direction: row;
}
@media (max-width: 991px) {
  .content-wrapper, .text-section {
    gap: 18px;
  }
  .card-container,
  .content-grid,
  .feature-grid,
  .service-grid,
  .project-list,
  .footer-nav,
  .social-media {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-contact,
  .footer-nav{
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .subheadline { font-size: 1.12rem; }
  .content-wrapper,
  .feature-item, .service-item, .card {
    padding-left: 10px; padding-right: 10px;
  }
  .feature-grid, .service-grid, .project-list, .card-container {
    gap: 14px;
  }
  .testimonials .content-wrapper {
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    margin-bottom: 14px;
    padding: 15px 9px 14px 12px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: center;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* Always prevent overlapping & card spacing */
.card, .feature-item, .service-item, .project-item, .testimonial-card {
  margin-bottom: 20px;
}

/* CREATIVE/ARTISTIC ACCENTS ---------------------------------------------- */
.feature-item, .service-item, .project-item, .card {
  border-left: 9px solid var(--brand-secondary);
  position: relative;
  background: #fff;
  transition: border 0.19s;
}
.feature-item:hover,
.service-item:hover,
.project-item:hover,
.card:hover {
  border-left: 9px solid var(--brand-primary);
}
.feature-item::before, .service-item::before, .project-item::before {
  content: '';
  display: block;
  position: absolute;
  left: -13px; top: 18px;
  width: 15px; height: 15px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0.07;
}
h2, h3 {
  position: relative;
  background: linear-gradient(to right, #69C153 0%, #15315B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  font-weight: 700;
  transition: background .2s;
}
h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--brand-secondary);
  margin-top: 7px;
  border-radius: 3px;
}

/* Artistic underlines for cta-contact sections */
.cta-contact h2 {
  position: relative;
}
.cta-contact h2::after {
  content: '';
  display: block;
  width: 68px;
  height: 6px;
  background: linear-gradient(90deg, #15315B 30%, #69C153 100%);
  border-radius: 20px;
  margin-top: 7px;
}

/* LISTS, ICONS & DECORATIVE ----------------------------------------------- */
ul li, ol li {
  position: relative;
  padding-left: 28px;
  color: #15315B;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--brand-secondary);
  border-radius: 50%;
  opacity: 0.18;
}
ul li img {
  position: absolute;
  left: 0; top: 1px;
  width: 18px;
  height: 18px;
  margin-right: 3px;
  opacity: 0.7;
}

/* TABLES - for privacy/gdpr pages if any */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
  font-size: 1rem;
}
th, td {
  padding: 12px 10px;
  border: 1.5px solid #D7D7EB;
  text-align: left;
}
th {
  background: var(--brand-accent);
  color: var(--brand-primary);
  font-family: 'Oswald', Arial, sans-serif;
}

/* ARTISTIC FONTS (fallbacks are fine for Oswald, Lato) ------------------- */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900&display=swap');

/* OTHER RESPONSIVE ADJUSTMENTS ------------------------------------------- */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.12rem; }
  .hero { padding: 28px 0 24px 0; }
  .cta, .cta.primary, .cta.secondary { font-size: 1.005rem; padding: 12px 16px; }
  .feature-item, .service-item, .project-item, .card { padding: 16px 7px; }
}

/* ACCESSIBILITY: FOCUS VISIBLE & CONTRAST ------------------------------- */
a:focus, .cta:focus, button:focus, input:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--brand-warning);
  outline-offset: 1px;
}
/* Testimonial readable backgrounds */
.testimonial-card, .testimonial-card blockquote, .testimonial-card p, .testimonial-card strong {
  color: #15315B !important;
  background: #fff !important;
}
.testimonials {
  background: #F3F9F4 !important;
}

/* PRINT STYLES ----------------------------------------------------------- */
@media print {
  * { color: #000 !important; background: none !important; box-shadow: none !important; }
  img, svg { filter: none !important; }
  .main-nav, .mobile-menu, footer, #cookie-banner, #cookie-modal { display: none !important; }
}

/* EASED ANIMATION FOR MICRO-INTERACTIONS --------------------------------- */
.card, .feature-item, .service-item, .project-item, .cta, .button, .mobile-menu, .testimonial-card {
  transition: box-shadow .19s, transform .16s, background .17s, border .15s;
}
/* End Creative Artistic Brand Style */
