/* RESET & BASE STYLES (MOBILE-FIRST) */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #161a1d;
  color: #ececec;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-tap-highlight-color: rgba(25,169,116,0.09);
  transition: background 0.3s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul,ol {
  list-style: none;
}
a {
  color: #19a974;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,a:focus {
  color: #faf9f6;
  outline: none;
}
h1,h2,h3,h4,h5 {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #faf9f6;
  margin-top: 0;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem;  margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5 { font-size: 1rem; margin-bottom: 8px; color: #faf9f6; }
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #ececec;
}
strong { color: #faf9f6; font-weight: 700; letter-spacing: 0.1em; }

/* CONTAINER & CONTENT WRAPPER */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}

/* BUTTONS */
.cta-btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: #19a974;
  color: #112b49;
  border: none;
  border-radius: 7px;
  padding: 14px 36px;
  margin-top: 12px;
  box-shadow: 0 3px 16px rgba(25,169,116,0.10), 0 1.5px 5px #112b4933;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s, border 0.2s;
  outline: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus,
button:hover, button:focus,
input[type='submit']:hover, input[type='submit']:focus {
  background: #14a063;
  color: #faf9f6;
  box-shadow: 0 4px 24px #19a9744d, 0 2px 8px #161a1d55;
}

/* NAVBAR HEADER */
header {
  background: #13171b;
  border-bottom: 2px solid #313a41;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 70px;
}
header img {
  height: 34px;
}
.main-nav {
  display: none;
}
.cta-btn {
  margin-left: auto;
}

/* NAVIGATION (DESKTOP) */
@media (min-width: 992px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 28px;
    align-items: center;
    margin-left: 44px;
  }
  .main-nav a {
    color: #faf9f6; 
    text-decoration: none;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.1rem;
    padding: 5px 6px;
    border-bottom: 2px solid transparent;
    transition: color 0.18s, border-bottom-color 0.19s;
  }
  .main-nav a:hover, .main-nav a:focus {
    color: #19a974;
    border-bottom: 2px solid #19a974;
  }
  .cta-btn {
    margin-left: 28px;
  }
}

/* BURGER MENU BUTTON */
.mobile-menu-toggle {
  background: #232a30;
  color: #faf9f6;
  font-size: 2rem;
  border: none;
  border-radius: 9px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  box-shadow: 0 2px 12px #161a1d44;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
  z-index: 300;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #19a974;
  color: #112b49;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #13171b;
  box-shadow: 0 4px 24px #161a1d66;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.63,.15,.47,1.41);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 28px 24px 24px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #faf9f6;
  font-size: 2rem;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: color 0.2s;
  border-radius: 6px;
  margin-bottom: 20px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #19a974;
  background: #232a30;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #faf9f6;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.35rem;
  padding: 9px 0;
  border-bottom: 1px solid #232a30;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #112b49;
  color: #19a974;
}

/* HIDE MAIN NAV ON MOBILE */
@media (max-width: 991px) {
  .main-nav {display: none;}
  .mobile-menu-toggle {display: flex;}
}
@media (min-width: 992px) {
  .mobile-menu-toggle, .mobile-menu {display: none !important;}
}

/* SECTION SPACING (MANDATORY PATTERNS) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #181d20;
  border-radius: 14px;
  box-shadow: 0 2px 18px #171b1c22;
  position: relative;
}

/* FLEX UTILITY CLASSES AND STRUCTURES */
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card {
  background: #232a30;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px #171b1c46;
  position: relative;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #161a1d;
  border-radius: 12px;
  box-shadow: 0 2px 16px #13171b15, 0 1.5px 7px #171b1c22;
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* FEATURE/USP & CATEGORY LIST (USED IN .content-wrapper ul) */
.content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-wrapper ul li {
  background: #22272b;
  border-radius: 8px;
  color: #ececec;
  box-shadow: 0 1.5px 8px #171b1c2a;
  padding: 22px 18px 17px 18px;
  min-width: 180px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
  border-left: 4px solid #19a974;
  transition: box-shadow 0.18s, border-color 0.2s;
}
.content-wrapper ul li:hover, .content-wrapper ul li:focus-within {
  box-shadow: 0 4px 20px #19a97422;
  border-color: #faf9f6;
}
.content-wrapper ul li img {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
}

/* ARTICLE/BLOG/GUIDE CARDS */
.content-wrapper article {
  background: #232a30;
  border-radius: 12px;
  box-shadow: 0 2px 8px #171b1c33;
  padding: 22px 18px 20px 18px;
  margin-bottom: 20px;
  color: #ececec;
  transition: box-shadow 0.19s, background 0.18s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.content-wrapper article a {
  margin-top: 12px;
  color: #19a974;
  font-weight: 600;
  font-family: 'Oswald', Arial, sans-serif;
  text-decoration: underline;
}
.content-wrapper article:hover, .content-wrapper article:focus-within {
  box-shadow: 0 4px 20px #19a97415;
  background: #1d2328;
}

/* TESTIMONIAL CARDS: CONTRAST/FONT */
.testimonial-card {
  background: #faf9f6;
  color: #112b49;
  border-left: 5px solid #19a974;
  box-shadow: 0 2px 16px #19a97418, 0 2px 5px #161a1d14;
}
.testimonial-card strong {
  color: #19a974;
  font-weight: 700;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  margin: 0;
  flex: 1 1 auto;
  color: #112b49;
  line-height: 1.5;
}
.testimonial-card p {
  margin: 0;
  font-size: 0.98rem;
  color: #161a1d;
}

/* FOOTER */
footer {
  background: #13171b;
  padding: 40px 0 15px 0;
  border-top: 2px solid #232a30;
  color: #ececec;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 15px 0 10px 0;
}
.footer-nav a {
  color: #19a974;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #faf9f6;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.97rem;
  color: #ececec;
  margin-bottom: 0;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 7px;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  opacity: 0.78;
  transition: opacity 0.19s;
}
.footer-social a:hover img, .footer-social a:focus img {
  opacity: 1;
}

/* RESPONSIVE - TABLET & DESKTOP */
@media (min-width: 700px) {
  .content-wrapper {
    flex-direction: row;
    gap: 28px;
    align-items: stretch;
    justify-content: flex-start;
  }
  .content-wrapper > * {
    flex: 1 1 0;
    min-width: 0;
  }
  .footer-contact {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .footer-contact p { margin-right: 12px; }
  .footer-nav {
    gap: 28px;
  }
}
@media (min-width: 992px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .footer .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
  }
}

/* CONTENT BREATHING ROOM AND FLUIDITY */
section, .card, .testimonial-card, .content-wrapper > *, .feature-item, .content-wrapper ul li, .content-wrapper article {
  margin-bottom: 20px;
}

/* CTA/NEWSLETTER/FORM */
input[type='text'], input[type='email'], textarea {
  border-radius: 7px;
  background: #22272b;
  color: #faf9f6;
  border: 2px solid #232a30;
  font-size: 1rem;
  padding: 12px 17px;
  margin-bottom: 14px;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.17s, background 0.17s;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  border: 2px solid #19a974;
  background: #161a1d;
  outline: none;
}

/* BREADCRUMBS (if needed) */
.breadcrumbs {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #a0adb9;
}

/* ANIMATIONS */
.cta-btn, .mobile-menu-toggle, .mobile-menu, .mobile-nav a, .cookie-banner-btn {
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, border 0.19s, transform 0.26s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20000;
  background: #232a30;
  border-top: 2px solid #19a974;
  color: #faf9f6;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 18px 24px 16px 24px;
  box-shadow: 0 -4px 32px #161a1d60;
  font-size: 1rem;
  animation: slideUpBanner 0.32s cubic-bezier(.63,.15,.47,1.41) 0s 1;
  gap: 18px;
}
@keyframes slideUpBanner {
  from { transform: translateY(160px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  color: #faf9f6;
  margin-bottom: 6px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
}
.cookie-banner-btn {
  background: #19a974;
  color: #112b49;
  font-family: 'Oswald', Arial, sans-serif;
  border: none;
  border-radius: 7px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 5px;
  min-width: 120px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px #19a97444;
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus {
  background: #112b49;
  color: #faf9f6;
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(17,43,73,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 21000;
  transition: opacity 0.3s;
  animation: fadeModal 0.28s cubic-bezier(.63,.15,.47,1.41) 0s 1;
}
@keyframes fadeModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #232a30;
  border-radius: 18px;
  box-shadow: 0 4px 44px #161a1d66, 0 2px 14px #19a97442;
  width: 96%;
  max-width: 420px;
  min-width: 310px;
  color: #faf9f6;
  padding: 35px 24px 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  margin-bottom: 12px;
  color: #19a974;
  font-size: 1.25rem;
}
.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.cookie-pref-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #ececec;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #22272b;
  position: relative;
  cursor: pointer;
  margin-left: auto;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #ececec;
  box-shadow: 0 2px 6px #161a1d22;
  transition: left 0.19s, background 0.20s;
}
.cookie-toggle input[type="checkbox"]:checked + .slider {
  left: 20px;
  background: #19a974;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}

.cookie-modal-close {
  position: absolute;
  top: 10px; right: 17px;
  background: transparent;
  border: none;
  color: #faf9f6;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #19a974; }

/* END COOKIE SUPPORT */

/* MEDIA QUERIES - RESPONSIVE FLEX ALIGNMENTS */
@media (max-width: 768px) {
  .content-wrapper,
  .card-grid,
  .card-container,
  .content-grid,
  .footer .container {
    flex-direction: column !important;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-contact, .footer-social {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  section {
    padding: 25px 8px;
  }
}

/* VISUAL DESIGN - INDUSTRIAL MODERN */
section, .card, .testimonial-card, .content-wrapper article, .content-wrapper ul li {
  box-shadow: 0 2px 18px #171b1c22, 0 2px 8px #13171b12;
  border-radius: 14px;
}
section {
  border: 1.5px solid #232a30;
}
.card, .content-wrapper article, .content-wrapper ul li {
  border: 1px solid #292f36;
  background: linear-gradient(120deg,#232a30 0%,#232f39 96%);
}
.content-wrapper ul li {
  border-left: 4px solid #19a974;
}
.testimonial-card {
  border-left: 5px solid #19a974;
  background: #faf9f6;
  color: #112b49;
  font-family: 'Roboto', Arial, sans-serif;
}

/* SHADOWS/EFFECTS */
section, .card, .testimonial-card, .content-wrapper article {
  box-shadow:
    0 1.5px 8px #232a306e,
    0 3px 16px #19a97418;
}

/* SPACING AND WHITE SPACE */
.card-container .card,
.card-grid .card,
.content-grid > *,
.content-wrapper > * {
  margin-bottom: 20px;
}
section:last-child,
main>section:last-child {
  margin-bottom: 32px;
}

/* TYPOGRAPHY HIERARCHY */
h1, .hero-title { font-size: 2.6rem; font-family: 'Oswald', Arial Black, Arial, sans-serif; }
h2 { font-size: 2rem; font-family: 'Oswald', Arial Black, Arial, sans-serif; }
h3 { font-size: 1.25rem; font-family: 'Oswald', Arial, sans-serif; }
p, li, .footer-contact p { font-size: 1rem; }

/* ICONS METALLIC EFFECT */
.content-wrapper ul li img, .footer-contact img, .footer-social a img {
  filter: grayscale(45%) brightness(1.2) contrast(1.15) drop-shadow(0 1px 1.5px #faf9f6cc);
}

/* INDUSTRIAL FONTS */
body, p, li, a, input, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, .cta-btn, .main-nav a, .mobile-nav a, .footer-nav a {
  font-family: 'Oswald', Arial, Impact, 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ACCENT LINES AND URBAN DETAILS */
h2, h1 {
  position: relative;
  display: inline-block;
}
h2::after, h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #19a974;
  margin-top: 7px;
  border-radius: 2px;
}

/* SELECTION APPEARANCE */
::selection {
  background: #19a974;
  color: #112b49;
}

/* FOCUS STYLES */
a:focus-visible, .cta-btn:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #19a974;
  outline-offset: 2px;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 10px;
  background: #22272b;
}
::-webkit-scrollbar-thumb {
  background: #161a1d;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #19a97466;
}

/* MISC UTILITY */
.hide { display: none !important; }

/* ENSURE NO OVERLAP & ENOUGH SPACING */
section, .footer .container, .content-wrapper, .content-grid, .card-container, .testimonial-card, .feature-item, .content-wrapper ul, .content-wrapper ul li, .card, .card-content {
  margin-bottom: 20px;
  gap: 20px;
}

/* NO ABSOLUTE POSITIONING FOR CONTENT, ONLY FOR DECORATIVE USE */
.card, .testimonial-card, .content-wrapper article, .content-wrapper ul li {
  position: relative;
}

/* CUSTOM FONT FAMILY (FALLBACKS) -- Place in HTML <head> where possible */
@font-face {
  font-family: 'Oswald';
  src: local('Oswald'), local('Oswald-Regular'), url('https://fonts.gstatic.com/s/oswald/v36/TK3iWkUHHAIjg752FD8Gl-ZP.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v29/KFOmCnqEu92Fr1Mu4mxP.woff2') format('woff2');
  font-display: swap;
}

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