/* ========================
   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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F4F6F7;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  outline: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
strong {
  font-weight: 700;
}

/* ========================
   CSS VARIABLES
======================== */
:root {
  --color-primary: #22313F;
  --color-secondary: #A13123;
  --color-accent: #F4F6F7;
  --color-vivid1: #FF4C2B;
  --color-vivid2: #FFCE2B;
  --color-vivid3: #00C6D7;
  --color-light: #FFFFFF;
  --color-dark: #1a242e;
  --color-shadow: rgba(34,49,63,0.07);
  --color-shadow-strong: rgba(34,49,63,0.14);
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ========================
   TYPOGRAPHY
======================== */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}
@media (min-width:768px) { h1, .h1 { font-size: 3rem; } }

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 18px;
  letter-spacing: .01em;
  line-height: 1.15;
  text-transform: uppercase;
}
@media (min-width:768px) { h2, .h2 { font-size: 2.125rem; } }

h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}
p, li, span, a, button {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width:768px){
  .content-wrapper {
    gap: 28px;
  }
}


/* ========================
   LAYOUTS (FLEXBOX ONLY)
======================== */
.features,
.feature-highlight,
.about,
.team,
.company-culture,
.jobs,
.services,
.process,
.industries,
.sustainability,
.policy,
.confirmation,
.contact,
.about-section,
.sustainability-highight,
.about-preview,
.services-preview {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 28px 22px;
}

.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; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #212b3b;
  font-family: var(--font-body);
}
.testimonial-card span {
  font-size: .93rem;
  color: var(--color-secondary);
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px var(--color-shadow-strong);
  transform: translateY(-2px) scale(1.02);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
   HERO & CTAS
======================== */
.hero {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 60px 0 44px 0;
  text-align: left;
  position: relative;
}
.hero h1, .hero h2 {
  color: var(--color-light);
  font-size: 2.1rem;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 6px rgba(34,49,63,0.18);
}
.hero p {
  color: #fafdff;
  font-size: 1.18rem;
  margin-bottom: 20px;
}
.hero .btn-primary {
  margin-top: 10px;
}

@media (min-width: 768px){
  .hero { padding: 92px 0 70px 0;}
  .hero h1, .hero h2{ font-size: 2.9rem; }
}

.cta {
  background: var(--color-vivid3);
  color: var(--color-primary);
  text-align: center;
  border-radius: 22px;
  box-shadow: 0 4px 18px var(--color-shadow-strong);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta h2 {
  color: var(--color-primary);
  margin-bottom: 20px;
}
.cta .btn-primary {
  margin-top: 10px;
}

/* ========================
   BUTTONS
======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--color-vivid1) 66%, var(--color-vivid2));
  color: var(--color-light) !important;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 22px;
  border: none;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 5px 0 0;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--color-vivid2) 50%, var(--color-vivid1) 100%);
  color: var(--color-light);
  box-shadow: 0 4px 16px var(--color-shadow-strong);
  transform: translateY(-2px) scale(1.04);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: var(--color-light);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 26px;
  border-radius: 20px;
  border: none;
  margin-right: 6px;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: background 0.2s, transform 0.13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #83241B;
  transform: translateY(-1px) scale(1.04);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--color-vivid2);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 24px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s;
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--color-vivid2);
  color: var(--color-primary);
}

/* ========================
   NAVIGATION (FLEXBOX ONLY)
======================== */
header {
  background: var(--color-light);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 10px;
}
.main-nav > a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.01rem;
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav > a.btn-primary {
  margin-left: auto;
  font-size: 1.06rem;
  padding: 11px 30px;
}
.main-nav > a:hover:not(.btn-primary), .main-nav > a:focus:not(.btn-primary) {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.main-nav img {
  width: 38px;
  margin-right: 13px;
  vertical-align: middle;
}
@media (max-width:1024px) {
  .main-nav {
    gap: 9px;
    padding: 10px 6px;
    font-size: 0.97rem;
  }
  .main-nav > a.btn-primary {padding: 7px 18px; font-size: 1rem;}
}

/* ===============  MOBILE NAVIGATION  =============== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 16px;
  width: 44px;
  height: 44px;
  z-index: 1202;
  background: var(--color-secondary);
  color: var(--color-light);
  font-size: 2rem;
  border-radius: 50%;
  box-shadow: 0 2px 10px var(--color-shadow-strong);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-vivid2);
}
@media (min-width:1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100vw) scale(1.02);
  transition: opacity 0.33s cubic-bezier(.75,0,.25,1), transform 0.33s cubic-bezier(.75,0,.25,1);
  z-index: 1400;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-secondary);
  color: var(--color-light);
  font-size: 2rem;
  margin: 24px 20px 12px 0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow-strong);
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-light);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--color-light);
  padding: 8px 0 8px 8px;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 7px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:last-child { margin-bottom: 0;}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-vivid1);
  color: var(--color-light);
}

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

/* ========================
   FOOTER
======================== */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 45px 0 22px 0;
  margin-top: 50px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1.02rem;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-vivid2);
}
.company-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 0.99rem;
  color: var(--color-accent);
}
.company-info img {
  width: 17px;
  margin-right: 6px;
}
.copy {
  text-align: center;
  color: #b5bac2;
  font-size: 0.93rem;
  margin-top: 6px;
}

/* ========================
   LISTS, ICONS, GENERAL SPACING
======================== */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
  list-style: none;
}
.content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
  list-style: decimal inside;
  counter-reset: my-sec-counter;
}
.content-wrapper ul li, .content-wrapper ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.09rem;
}
.content-wrapper li img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.content-wrapper .map-placeholder {
  width: 100%;
  min-height: 160px;
  border-radius: 16px;
  background: var(--color-light);
  box-shadow: 0 2px 10px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ========================
   CARD + TESTIMONIALS & CARDS SPACING
======================== */
.testimonials {
  background: var(--color-accent);
  border-radius: 18px;
  padding: 34px 12px 32px 12px;
  margin-bottom: 46px;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.testimonials h2 {
  margin-bottom: 26px;
  color: var(--color-secondary);
}
.testimonial-card {
  width: 100%;
  margin-bottom: 20px;
  background: var(--color-light);
  box-shadow: 0 2px 10px var(--color-shadow);
  color: #101726;
  border-left: 7px solid var(--color-vivid1);
}
.testimonials .testimonial-card:last-child {
  margin-bottom: 0;
}

/* ========================
   POLICY, CONFIRMATION, MAP ETC.
======================== */
.policy, .confirmation {
  padding: 44px 16px 54px 16px;
  background: var(--color-accent);
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 1.5px 8px var(--color-shadow);
}
.policy h1, .confirmation h1 { color: var(--color-secondary);}
.policy h2, .confirmation h2 { color: var(--color-primary); margin-top: 18px;}
.policy ul, .confirmation ul {
  margin-top: 8px;
  margin-bottom: 12px;
}

/* ========================
   MEDIA QUERIES (RESPONSIVE DESIGN)
======================== */
@media (max-width: 1024px) {
  .container {
    max-width: 99vw;
    padding-left: 6px;
    padding-right: 6px;
  }
  .hero, .section, .features, .cta, .about, .team, .company-culture, .confirmation, .policy, .about-section, .sustainability-highight, .about-preview, .services-preview {
    padding: 24px 6px !important;
  }
  .testimonials, .feature-highlight {
    padding-left: 9px; padding-right: 9px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.7rem; }
  h2, .h2 { font-size: 1.19rem; }
  .container { padding-left: 1.5vw; padding-right: 1.5vw;}
  .footer-nav, .company-info { gap: 8px; }
  .testimonial-card { padding: 13px; font-size: .98rem;}
}
@media (max-width: 480px) {
  .main-nav a.btn-primary { font-size: 0.96rem; padding: 8px 13px; }
}

/* ========================
   MICRO-INTERACTIONS & EFFECTS
======================== */
a, button, .btn-primary, .btn-secondary, .btn-outline {
  transition: background 0.21s, color 0.15s, box-shadow 0.24s, transform 0.17s;
}
.card, .testimonial-card, .cta, .testimonials { transition: box-shadow 0.21s, transform 0.14s; }
a:focus, button:focus { outline: 2px solid var(--color-vivid2); outline-offset: 2px;}

/* ========================
   COOKIE CONSENT BANNER & MODAL
======================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  color: var(--color-light);
  width: 100vw;
  z-index: 1999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 22px 16px 19px 28px;
  box-shadow: 0 -3px 16px var(--color-shadow-strong);
  font-size: 1rem;
  gap: 25px;
  opacity: 1;
  transition: opacity 0.32s, transform 0.3s;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary,
.cookie-banner .btn-outline {
  font-size: 0.96rem;
  padding: 8px 18px;
  margin-right: 0;
}
.cookie-banner .btn-outline {
  border: 2px solid var(--color-vivid1);
  background: transparent;
  color: var(--color-vivid1);
}
.cookie-banner .btn-outline:hover { background: var(--color-vivid1); color: var(--color-light); }

/* COOKIE MODAL  (Preferences) */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2222;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(34,49,63,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.27s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: var(--color-light);
  color: var(--color-primary);
  min-width: 320px;
  max-width: 94vw;
  border-radius: 15px;
  box-shadow: 0 7px 32px var(--color-shadow-strong);
  padding: 30px 34px 24px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: pop-in .26s ease;
}
@keyframes pop-in { 0%{ opacity:0; transform:scale(0.92);} 70%{ opacity:.9; transform:scale(1.06);} 100%{ opacity:1; transform:scale(1); } }
.cookie-modal h2 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  margin-bottom: 10px;
  font-size: 1.19rem;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 3px;
  border-radius: 9px;
}
.cookie-option label {
  font-weight: bold;
  color: var(--color-primary);
  font-size: 1.06rem;
}
.cookie-option input[type=checkbox]:disabled + label {color:#99a0a9;}
.cookie-option input[type=checkbox] {
  width: 17px; height: 17px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary,
.cookie-modal .btn-outline { font-size: .97rem; padding: 9px 22px; }
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 14px;
  font-size: 1.4rem;
  background: transparent;
  color: var(--color-secondary);
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: var(--color-vivid1); }

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7px 16px 11px;
    font-size: .97rem;
    gap: 15px;
  }
  .cookie-modal { padding: 18px 7px 14px 11px; min-width: 0; }
}

/* ========================
   VIBRANT/ENERGETIC ACCENT DECOR
======================== */
.hero, .cta, .main-nav, .btn-primary, .testimonials, .card,
.sustainability-highight, .about-preview, .services-preview, .feature-highlight {
  /* Use subtle lively box-shadows and bright border accents for energy */
  box-shadow: 0 2px 20px var(--color-shadow);
}
.features ul li, .feature-highlight ul li, .services ul li, .team ul li, .company-culture ul li, .about-preview ul li, .about-section ul li {
  border-left: 5px solid var(--color-vivid1);
  padding-left: 12px;
  background: rgba(255,76,43,0.045);
  border-radius: 6px;
  margin-bottom: 4px;
}
.services ul li strong{
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-weight: 700;
  font-size:1.09em;
}

/* ========================
   UTILITIES
======================== */
.text-center       { text-align: center; }
.mb-0              { margin-bottom: 0 !important; }
.mt-0              { margin-top: 0 !important; }
.no-list-style     { list-style: none !important; }

/* ========================
   END OF CSS
======================== */
