/* --- CSS RESET & NORMALIZE --- */
* {box-sizing: border-box; margin: 0; padding: 0;}
html {scroll-behavior: smooth;}
body, html {height: 100%;}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #23272b;
  color: #F8F8F8;
  min-height: 100vh;
  line-height: 1.6;
}
img, video {max-width: 100%; display: block;}
ul, ol {padding-left: 1.5em;}
a {text-decoration: none; color: #65B485; transition: color .2s;}
a:hover, a:focus {color: #fff;}

/* --- VARIABLES (WITH FALLBACKS) --- */
:root {
  --ai-primary: #23647D;
  --ai-primary-dark: #162f38;
  --ai-secondary: #65B485;
  --ai-accent: #F8F8F8;
  --ai-dark-bg: #23272b;
  --ai-card-bg: #242a30;
  --ai-card-lighter: #29313a;
  --ai-metal: #798086;
  --ai-border: #444c56;
  --ai-box: #181a1b;
  --ai-shadow: 0 4px 24px rgba(20,28,38,0.18), 0 1.5px 8px rgba(35,100,125,0.12);
  --ai-shadow-hover: 0 6px 32px rgba(35,100,125,0.23), 0 3px 14px rgba(101,180,133,0.10);
  --ai-radius: 10px;

  /* FONT */
  --font-display: 'Montserrat', 'Arial Narrow', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- TYPOGRAPHY SCALE & INDUSTRIAL MODERN LOOK --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  color: #F8F8F8;
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.15;
}
h1 {font-size: 2.6rem; text-transform: uppercase;}
h2 {font-size: 2rem; color: #65B485;}
h3 {font-size: 1.3rem; color: #F8F8F8; letter-spacing: 0.02em;}
h4 {font-size: 1.1rem;}
p, li, ul, ol, a, span, div {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.015em;
  color: #c0c4c9;
}
strong {color: #F8F8F8; font-weight: 700;}

.text-section h1, .text-section h2, .text-section h3 {color: var(--ai-primary);}
.text-section {color: #ececec;}

/* ---- CONTAINER & LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  background: none;
}

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

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F8F8F8;
  color: #222;
  padding: 20px;
  border-radius: var(--ai-radius);
  box-shadow: 0 4px 18px rgba(35,100,125,0.08);
  margin-bottom: 24px;
  border-left: 6px solid var(--ai-primary);
  font-size: 1.1rem;
  min-width: 0;
  transition: box-shadow .15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(35,100,125,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  margin-bottom: 20px;
}

/* --- FLEX-ONLY GRIDS & RESPONSIVE PATTERNS --- */
.feature-grid, .service-cards, .blog-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.feature-grid > div, .service-cards > div, .blog-preview-grid article {
  background: var(--ai-card-bg);
  border-radius: var(--ai-radius);
  padding: 28px;
  flex: 1 1 250px;
  min-width: 210px;
  box-shadow: var(--ai-shadow);
  border: 1.5px solid var(--ai-border);
  transition: box-shadow .2s, transform .2s;
}
.feature-grid > div:hover, .service-cards > div:hover, .blog-preview-grid article:hover {
  box-shadow: var(--ai-shadow-hover);
  transform: translateY(-3px) scale(1.03);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-accordion > div {
  background: var(--ai-card-lighter);
  border-radius: var(--ai-radius);
  padding: 18px 22px;
  border-left: 4px solid var(--ai-secondary);
  box-shadow: 0 2px 10px rgba(20,28,38,0.06);
  transition: box-shadow .18s;
  color: #ecf0f2;
  margin-bottom: 10px;
}
.faq-accordion h3 {
  font-size: 1.13rem;
  color: var(--ai-secondary);
  margin-bottom: 9px;
}

/* AWARDS SECTION */
.awards-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  color: var(--ai-secondary);
  font-size: 1.1rem;
}
.awards-section img {
  width: 34px;
  filter: grayscale(45%) contrast(1.12);
}

/* --- BUTTONS/STYLED CTA --- */
.cta-primary,
button.cta-primary {
  display: inline-block;
  background: var(--ai-primary);
  color: #fff;
  border: none;
  border-radius: var(--ai-radius);
  padding: 15px 34px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 14px rgba(35,100,125,0.16);
  cursor: pointer;
  margin-top: 16px;
  margin-bottom: 8px;
  transition: background .22s, box-shadow .22s, transform .12s;
  position: relative;
  outline: none;
}
.cta-primary:active,
.cta-primary:focus {
  background: #143540;
  box-shadow: 0 1.5px 4px rgba(25,25,25,0.13);
  outline: 2px solid var(--ai-secondary);
}
.cta-primary:hover {
  background: var(--ai-secondary);
  color: #222;
  transform: translateY(-2px) scale(1.04);
}

/* --- NAVIGATION & HEADER --- */
header {
  width: 100%;
  background: #181d22;
  box-shadow: 0 2px 8px #15171a66;
  position: sticky;
  top: 0;
  z-index: 120;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 0 0 0 8px;
  min-height: 64px;
}
.main-nav a {
  font-size: 1rem;
  color: #dde3ea;
  font-family: var(--font-display);
  padding: 10px 10px;
  border-radius: 6px;
  transition: color .19s, background .17s;
  position: relative;
}
.main-nav a.cta-primary {
  margin-left: 18px;
  background: var(--ai-secondary);
  color: #23272b;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 7px;
  box-shadow: 0 2px 8px #283a3a50;
}
.main-nav a.cta-primary:hover {
  background: var(--ai-primary);
  color: #FFF;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #232d36;
  color: var(--ai-secondary);
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: 160;
  outline: none;
  transition: color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--ai-secondary);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #1b2328;
  box-shadow: 3px 0 32px #0e161a88;
  z-index: 1922;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .43s cubic-bezier(.77,.04,.19,1), opacity .19s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  z-index: 14;
  transition: color .2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--ai-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 35px 22px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #d3ebed;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 12px 7px;
  min-width: 130px;
  border-radius: 6px;
  background: none;
  transition: background .19s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--ai-primary);
  color: #fff;
}

/* --- HERO & CTAs --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section:first-of-type {padding-top: 20px;}

/* --- CARD STYLES --- */
.card, .service-cards > div, .feature-grid > div, .blog-preview-grid article  {
  border-radius: var(--ai-radius);
  background: var(--ai-card-bg);
  box-shadow: var(--ai-shadow);
  padding: 30px;
  border: 1px solid var(--ai-border);
  color: #e6eceb;
  transition: box-shadow .19s, transform .18s;
}
.card:hover, .service-cards > div:hover, .feature-grid > div:hover, .blog-preview-grid article:hover  {
  box-shadow: var(--ai-shadow-hover);
  transform: translateY(-2px) scale(1.03);
}

/* --- FOOTER --- */
footer {
  background: #14171b;
  margin-top: 70px;
  padding: 46px 0 12px 0;
  color: #b7c2ca;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-nav a {
  color: #76bbab;
  font-size: 1rem;
  font-family: var(--font-display);
  opacity: 0.87;
  transition: color .18s;
}
.footer-nav a:hover {
  color: var(--ai-primary);
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 12px;
}
.footer-contact img {
  width: 42px;
  height: 42px;
  filter: grayscale(62%) brightness(1.1) contrast(1.07);
}
.footer-contact div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.98rem;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.contact-details p {
  display: flex;
  align-items: center;
  font-size: 1.06rem;
  gap: 14px;
  color: #dde8ef;
}
.contact-details img {
  width: 24px;
  height: 24px;
  filter: grayscale(70%) brightness(1.1);
}

/* --- LISTS --- */
ul, ol {
  margin-bottom: 18px;
  color: #d9f0ea;
  letter-spacing: 0.02em;
}
ul li, ol li {margin-bottom: 8px; padding-left: 2px;}

/* --- BLOG PREVIEW --- */
.blog-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
}
.blog-preview-grid article {
  flex: 1 1 270px;
  min-width: 210px;
  background: var(--ai-card-bg);
  color: #ececec;
  padding: 23px;
  border-radius: var(--ai-radius);
  border: 1px solid var(--ai-border);
  transition: box-shadow .2s, transform .18s;
}
.blog-preview-grid h2 {
  color: var(--ai-secondary);
}

/* --- RESPONSIVE DESIGN (Mobile-first!) --- */
@media (max-width: 1100px) {
  .container {
    max-width: 93vw;
    padding: 0 8px;
  }
}
@media (max-width: 990px) {
  .content-grid, .feature-grid, .service-cards, .card-container, .blog-preview-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2.0rem;}
  h2 {font-size: 1.25rem;}
  .main-nav {display: none;}
  .mobile-menu-toggle {display: block;}
  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
  .awards-section {
    flex-direction: column;
    gap: 10px;
    font-size: 1rem;
  }
  .content-grid, .feature-grid, .service-cards, .blog-preview-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 28px 4vw;
    margin-bottom: 34px;
  }
  .card, .service-cards > div, .feature-grid > div, .blog-preview-grid article {
    padding: 18px 12px;
    min-width: 0;
  }
  .testimonial-card {
    padding: 13px 10px;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  h1 {font-size: 1.18rem;}
  h2 {font-size: 1.05rem;}
  .footer-contact img {width: 32px; height: 32px;}
}

/* --- TESTIMONIAL SLIDER / CARDS --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-slider .testimonial-card {
  min-width: 220px;
  max-width: 390px;
  background: #F8F8F8;
  color: #23272b;
}

.testimonial-card span {
  color: var(--ai-primary);
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-card p {
  color: #202125;
}

/* --- SECTION/CONTENT UTILITIES --- */
.text-section {
  background: none;
}
.text-section ul {
  color: #d9f0ea;
  font-size: 1.08rem;
  margin-bottom: 12px;
}

/* --- ANIMATIONS/MICRO-INTERACTIONS --- */
a, button, .card, .cta-primary, .main-nav a, .mobile-nav a, .service-cards > div,
.feature-grid > div, .testimonial-card, .faq-accordion > div, .blog-preview-grid article {
  transition: box-shadow .18s, transform .15s, color .18s, background .16s;
}
.card:active, .faq-accordion > div:active, .service-cards > div:active  {
  transform: scale(0.99) translateY(1px);
}

/*****************************************
  COOKIE CONSENT BANNER & MODAL
*****************************************/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  background: #221f1a;
  color: #f9f7f2;
  box-shadow: 0 -3px 12px #21211c55;
  padding: 22px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3000;
  font-size: 1rem;
  align-items: center;
  animation: cookiefadein 0.8s cubic-bezier(.5,2,.5,1.1);
}
@keyframes cookiefadein {
  from {transform: translateY(50px); opacity:0;}
  to {transform: none; opacity:1;}
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.cookie-banner button {
  padding: 11px 24px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .21s, color .21s;
  margin-right: 3px;
  outline: none;
}
.cookie-banner button.accept {
  background: var(--ai-secondary);
  color: #152226;
}
.cookie-banner button.reject {
  background: #b93b3b;
  color: #fff;
}
.cookie-banner button.settings {
  background: #F8F8F8;
  color: #23272b;
  border: none;
}
.cookie-banner button:focus {outline: 2px solid var(--ai-primary);}
.cookie-banner button:hover {filter:brightness(1.12);}

.cookie-modal {
  position: fixed;
  z-index: 3999;
  left: 0; right: 0; top:0; bottom:0;
  background: rgba(22,24,26,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .21s;
}
.cookie-modal[aria-hidden="true"] { opacity: 0; pointer-events: none;}
.cookie-modal .cookie-modal-content{
  background: #23272b;
  border-radius: 16px;
  padding: 36px 22px 22px 22px;
  color: #F8F8F8;
  min-width: 290px;
  max-width: 95vw;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 44px #11151c55;
  position: relative;
}
.cookie-modal .cookie-modal-close{
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #F8F8F8;
  cursor: pointer;
  transition: color .19s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {color: var(--ai-secondary);}
.cookie-modal h3 {color: var(--ai-secondary); margin-bottom: 12px;}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  background: #1a2329;
  border-radius: 7px;
  padding: 14px 13px 11px 13px;
  color: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category .label {
  font-size: 1.06rem;
  font-family: var(--font-body);
}
.cookie-category .toggle {
  margin-left: 18px;
}
/* Essential cookies always checked/disabled */
.cookie-category input[type=checkbox][disabled] + label {
  opacity: 0.8;
}
/* Switch-style checkbox */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: auto;
}
.cookie-switch span {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #aaa;
  border-radius: 24px;
  transition: background-color .18s;
}
.cookie-switch span:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .23s;
}
.cookie-switch input:checked + span {
  background-color: var(--ai-secondary);
}
.cookie-switch input:checked + span:before {
  transform: translateX(22px);
}

/*********************************
  MISC/UTILITY CLASSES
*********************************/
.industry-metal {
  color: var(--ai-metal);
}
.text-muted {
  color: #90969A;
}
.bg-card {
  background: var(--ai-card-bg);
  border-radius: var(--ai-radius);
  padding: 24px 20px;
}

/*********** SCROLLBARS *********/
body, .content-wrapper {scrollbar-color: #2f4755 #20272d; scrollbar-width: thin;}
::-webkit-scrollbar {width: 7px; background: #1d2327;}
::-webkit-scrollbar-thumb {background: #345464; border-radius: 5px;}

/********* FADE ANIMS **********/
.fade-in {animation: fadeIn .67s cubic-bezier(.5,.1,.5,1.04) both;}
@keyframes fadeIn {from {opacity:0;transform:translateY(25px);} to {opacity:1;transform:none;}}

/******* DISABLED ********/
[disabled], .disabled {
  pointer-events: none;
  opacity: 0.50;
  filter: grayscale(25%);
}

/* --- OVERRIDE ALL GRID/COL/ABSOLUTE USE PER REQUIREMENT --- */
/* No use of grid, grid-template-columns, column-count, etc. */
