/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background-color: #101820;
  color: #F9F6EF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #E67E22; /* accent */
  text-decoration: none;
  transition: color 0.2s linear;
}
a:hover, a:focus {
  color: #FFF;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  padding-left: 0;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: 0.01em; }
h2 { font-size: 2rem; margin-bottom: 20px; letter-spacing: 0.01em; }
h3 { font-size: 1.5rem; margin-bottom: 16px; font-weight: 600; }
h4 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 600; }

/* GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #202B36 0%, #233D4D 100%);
  border-radius: 22px;
  box-shadow: 0 2px 24px rgba(30,54,80,0.08);
}

.text-section {
  margin-bottom: 20px;
  font-size: 1.07em;
  color: #DEDEDE;
}

main > section {
  margin-bottom: 60px;
}

/* MAIN NAVIGATION */
header {
  background: #181F24;
  box-shadow: 0 2px 15px 0 rgba(35,61,77,0.07);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 18px 0 18px 0;
}
.main-nav img {
  height: 38px;
  margin-right: 20px;
  filter: drop-shadow(0 1px 6px #E67E22A0);
  vertical-align: middle;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F9F6EF;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta {
  background: #E67E22;
  color: #FFF;
  box-shadow: 0 4px 16px #C16205AA;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 22px;
  margin-left: 16px;
  border-radius: 22px;
  text-shadow: 0 2px 12px #C1620540;
}
.main-nav a.cta:hover {
  background: #C16205;
}
.main-nav a:hover, .main-nav a:focus {
  background: #202B36;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 17px;
  background: #233D4D;
  color: #FFF;
  border: none;
  font-size: 2.1rem;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 1201;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #E67E22;
  color: #FFF;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181F24;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0.3, 0.2, 1);
  opacity: 0.98;
  box-shadow: -6px 0 36px #0B0E13C8;
  padding: 24px 32px 52px 32px;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  animation: mobileMenuIn 0.32s;
}
@keyframes mobileMenuIn {
  0% {transform: translateX(100%);}
  100% {transform: translateX(0);}
}
.mobile-menu-close {
  align-self: flex-end;
  background: #233D4D;
  color: #FFF;
  border: none;
  font-size: 2.1rem;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #E67E22;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.mobile-nav a {
  color: #F9F6EF;
  font-size: 1.3rem;
  padding: 12px 6px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E67E22;
  color: #FFF;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* SECTIONS, CARDS, FLEX CONTAINERS */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #202B36;
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 32px;
  box-shadow: 0 3px 18px rgba(35,61,77,.11);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.18s;
  min-width: 270px;
}
.card:hover {
  box-shadow: 0 9px 32px #E67E2237;
  border-color: #C16205;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F6EF;
  border-radius: 16px;
  box-shadow: 0 6px 32px #C1620533;
  color: #233D4D;
  transition: box-shadow 0.19s;
  margin-bottom: 20px;
  flex-wrap: wrap;
  min-width: 240px;
  max-width: 700px;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  font-style: italic;
  flex: 1;
}
.testimonial-card > div {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #C16205;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 15px 54px #E67E2245;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* COMPONENTS: CTA, TAGS, BUTTONS */
.cta, .button {
  display: inline-block;
  background: #E67E22;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 22px;
  box-shadow: 0 4px 26px #C1620599;
  text-shadow: 0 2px 10px #C1620520;
  letter-spacing: 0.04em;
  margin-top: 10px;
  margin-bottom: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.17s, transform 0.15s;
}
.cta:hover, .cta:focus, .button:hover, .button:focus {
  background: #233D4D;
  color: #E67E22;
  box-shadow: 0 7px 32px #C16205;
  transform: translateY(-2px) scale(1.03);
}
.tag, .project-tag {
  display: inline-block;
  background: #233D4D;
  color: #E67E22;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99em;
  border-radius: 17px;
  padding: 5px 14px;
  margin-left: 10px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.tag {
  background: #202B36;
  color: #C16205;
}

/* ACCORDION STYLES (FAQ) */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  margin-bottom: 5px;
  color: #E67E22;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 2px;
  transition: background 0.13s;
}
dd {
  margin-bottom: 17px;
  padding: 8px 12px 8px 16px;
  background: #223044;
  color: #F9F6EF;
  border-radius: 10px;
  font-size: 1em;
}

/* FOOTER */
footer {
  background: #181F24;
  color: #DEDEDE;
  padding: 0;
  margin-top: 44px;
}
footer .container {
  padding-top: 36px;
  padding-bottom: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #C16205;
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFF; 
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}
.footer-socials img {
  width: 28px; height: 28px;
  filter: brightness(1.3) drop-shadow(0 4px 9px #E67E2242);
  transition: filter 0.17s;
  cursor: pointer;
}
.footer-socials img:hover {
  filter: brightness(2) drop-shadow(0px 0px 13px #E67E22AA);
}
footer .text-section {
  color: #DEDEDE;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* FORMS (optional, if added later) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1.5px solid #233D4D;
  background: #F9F6EF;
  padding: 9px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #222;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #E67E22;
  outline: none;
  background: #FFF;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #181F24;
  color: #F9F6EF;
  font-size: 1.05em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 23px 16px 21px 16px;
  z-index: 1234;
  box-shadow: 0 -8px 36px #101820aa;
  transition: transform 0.3s, opacity 0.22s;
  border-radius: 20px 20px 0 0;
  animation: cookieFadeIn 0.8s;
}
@keyframes cookieFadeIn {
  0% {opacity: 0; transform: translateY(80px);}
  100% {opacity: 1; transform: translateY(0);}
}
.cookie-banner .button,
.cookie-banner .cta {
  font-size: 1.08rem;
  padding: 9px 21px;
  border-radius: 14px;
  margin: 0 8px;
  min-width: 135px;
}
.cookie-banner .button.settings {
  background: #233D4D;
  color: #FFF;
  font-weight: 600;
  border: 1px solid #233D4D;
}
.cookie-banner .button.settings:hover {
  background: #E67E22;
  color: #FFF;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-55%) scale(1);
  background: #233D4D;
  color: #F9F6EF;
  max-width: 370px;
  width: 92vw;
  padding: 34px 22px;
  border-radius: 22px;
  z-index: 1300;
  box-shadow: 0 12px 54px #233D4Df1;
  opacity: 1;
  animation: modalIn 0.31s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  visibility: visible;
}
@keyframes modalIn {
  0% {opacity: 0; transform: translate(-50%, -85%) scale(0.88);}
  100% {opacity: 1; transform: translate(-50%, -55%) scale(1);}
}
.cookie-modal h3 {
  color: #E67E22;
  font-size: 1.24rem;
  margin-bottom: 0;
}
.cookie-modal ul, .cookie-modal li {
  color: #FFF;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-toggle {
  appearance: none;
  background: #101820;
  border: 1.5px solid #E67E22;
  border-radius: 20px;
  width: 40px; height: 24px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #E67E22;
}
.cookie-toggle::before {
  content: '';
  display: block;
  background: #FFF;
  width: 18px; height: 18px;
  border-radius: 50%;
  position: absolute;
  top: 2.5px; left: 4px;
  transition: left 0.19s, background 0.15s;
}
.cookie-toggle:checked::before {
  left: 19px;
  background: #233D4D;
}
.cookie-modal .button {
  font-size: .98rem;
  margin-right: 8px;
}
.cookie-modal .button:last-child {
  margin-right: 0;
}
.cookie-modal .close {
  position: absolute;
  right: 14px; top: 15px;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close:hover {
  color: #E67E22;
}

/* SPACING BLOCKS & FLEX BOUNDS */
.card:not(:last-child),
.testimonial-card:not(:last-child),
.feature-item:not(:last-child) {
  margin-bottom: 20px;
}
/* Enforce min gap for all flex wrapper elements */
.container, .content-wrapper, .card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}

/* UTILITIES */
.mt-4 { margin-top: 32px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 32px !important; }

/* RESPONSIVE DESIGN */
@media (max-width: 1023px) {
  .container {
    max-width: 96vw;
    padding-left: 12px; padding-right: 12px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section {
    padding: 28px 8px;
    border-radius: 12px;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.01rem; }
  .card, .testimonial-card {
    padding: 18px 10px;
    border-radius: 12px;
    min-width: unset;
    max-width: 98vw;
  }
  .footer-socials img {
    width: 22px; height: 22px;
  }
  .footer-socials { gap: 12px; }
  .footer-nav { gap: 12px; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding-left: 6px; padding-right: 6px; }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 13px 7px 16px 7px;
  }
  .cookie-modal {
    max-width: 99vw;
    padding: 20px 7px 24px 7px;
    border-radius: 13px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
a, .cta, .button, .main-nav a, .mobile-nav a, .footer-nav a, input, textarea, select {
  transition: color 0.13s, background 0.19s, box-shadow 0.15s, border 0.13s;
}
section, .section, .container, .card, .testimonial-card {
  transition: box-shadow 0.15s, background 0.13s;
}

/* Brand-specific SCINTILA FLOW neon accent line for headings (futuristic) */
h1, h2, h3 {
  position: relative;
}
h1::after, h2::after, h3::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 7px;
  border-radius: 2px;
  background: linear-gradient(90deg,#E67E22 0%,#C16205 100%);
  box-shadow: 0 0px 9px #E67E22bb;
}
h3::after { width: 36px; }
@media (max-width:768px) {
  h1::after, h2::after { width:34px; height:2px; }
  h3::after { width:22px; height:2px; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 9px;
  background: #202B36;
}
::-webkit-scrollbar-thumb {
  background: #E67E2299;
  border-radius: 9px;
}

/* --- ICONS --- */
img[alt^="LinkedIn"], img[alt^="Instagram"] {
  background: #233D4D;
  padding: 3px;
  border-radius: 50%;
}
img[alt^="LinkedIn"] {
  box-shadow: 0 0 8px #2867b2AA;
}
img[alt^="Instagram"] {
  box-shadow: 0 0 8px #E67E22AA;
}
img[alt], img[alt] {
  vertical-align: middle;
}

/* --- OVERRIDES, DETAIL STYLES --- */
div.content-wrapper > ul, div.content-wrapper > ol {
  margin-top: 0;
  margin-bottom: 18px;
}
div.content-wrapper > ul li, div.content-wrapper > ol li {
  margin-bottom: 10px;
}
div.content-wrapper > ul img, div.content-wrapper > ol img {
  margin-right: 10px;
  height: 28px;
  filter: drop-shadow(0 2px 7px #C1620580);
  vertical-align: middle;
}
span.project-tag {
  background: #181F24;
  color: #E67E22;
  padding: 3px 13px;
  font-size: .98em;
  border-radius: 8px;
  margin-left: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h3 a, h2 a, .text-section h3 a {
  color: #E67E22;
  transition: color 0.11s, text-decoration 0.13s;
}
h3 a:hover, h2 a:hover, .text-section h3 a:hover {
  color: #FFF; text-decoration: underline;
}

/* Ensure min 20px margin/gap for cards, sections, between flex items */
section + section, .section + .section { margin-top: 32px; }
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px;
}

/* Prevent content overlap for all cards and testis */
.card, .testimonial-card, .feature-item {
  min-width: 0;
  max-width: 100%;
}

/* ACCESSIBILITY - FOCUS STYLES */
a:focus, button:focus, .cta:focus, .button:focus, input:focus {
  outline: 2px solid #E67E22;
  outline-offset: 2px;
  z-index: 1;
}

/* Hide visually but keep for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* DARK/BRIGHT COLOR OVERRIDES FOR TESTIMONIALS */
.testimonial-card {
  background: #F9F6EF;
  color: #233D4D;
}
.testimonial-card p,
.testimonial-card div {
  color: #233D4D;
}
.testimonial-card strong {
  color: #C16205;
}

/* Z-INDEX & PREVENT OVERLAPS */
header, .main-nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal {
  z-index: 1600;
}

/* PRINT IMPROVEMENTS */
@media print {
  header, footer, .main-nav, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  section, .section, .container { box-shadow: none !important; background: #fff !important; color: #222 !important; }
}
section {
  padding: 10px 0;
}