/* ==================================================  
  HYDROÉLITE - INDUSTRIAL MODERN CSS STYLE SHEET
  Brand: HydroÉlite | industrial_modern aesthetic
  Responsive, Flexbox-only layout
  Do not use grid/columns anywhere
  ================================================== */
/* ========== RESET AND 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 {
  scroll-behavior: smooth;
  background: #181d23;
}
body {
  background: #22262b;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #f5f7fa;
  line-height: 1.55;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #7BAF47;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b1e076;
  outline: none;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}
hr {
  border: none;
  border-top: 1px solid #393d43;
  margin: 32px 0;
}

/* ========== FONT IMPORTS (Google Fonts) ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* ========== VARIABLES (with fallbacks) ========== */
:root {
  --color-primary: #24466B;
  --color-primary-dark: #1b334c;
  --color-secondary: #7BAF47;
  --color-secondary-dark: #5e8536;
  --color-accent: #F5F7FA;
  --color-bg: #22262b;
  --color-bg-alt: #181d23;
  --color-bg-light: #343941;
  --color-metal: #7a8795;
  --color-metal-dark: #444b55;
  --color-card: #232a32;
  --color-border: #353b42;
  --color-error: #ce4844;
  --color-success: #61c26d;
  --font-display: 'Montserrat', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --shadow-main: 0 2px 12px rgba(28,36,45,0.18);
  --radius-medium: 8px;
  --radius-card: 14px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  color: #e9ecef;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(24,29,35,0.10);
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: #BDD4EA;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 14px;
}
.text-section p:last-child {
  margin-bottom: 0;
}
.text-section strong {
  color: var(--color-secondary);
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
  width: 95%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 8px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
/* ========== FLEXBOX PATTERNS REQUIRED ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  padding: 32px 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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: #f5f7fa;
  color: #22262b;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(54,57,60,0.12);
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 490px;
}
.testimonial-card p {
  font-size: 1.14rem;
  color: #292c33;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-primary-dark);
  opacity: 0.8;
  font-family: var(--font-body);
}

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

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #181d23;
  box-shadow: 0 2px 8px rgba(19,23,27,0.17);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
header a img {
  height: 50px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  color: #e3e6eb;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  border-bottom: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}
.btn-primary, .btn-secondary {
  display: inline-block;
  border: none;
  border-radius: 6px;
  padding: 10px 26px;
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.16s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 7px rgba(24,29,35,0.10);
  margin-left: 18px;
}
.btn-primary {
  background: linear-gradient(90deg, #24466B 70%, #37526c 100%);
  color: #f5f7fa;
  border: 1.5px solid #353b42;
}
.btn-primary:hover, .btn-primary:focus {
  background: #7BAF47;
  color: #22262b;
  border-color: #7BAF47;
  outline: none;
}
.btn-secondary {
  background: #f5f7fa;
  color: #24466B;
  border: 1.5px solid #b3bdd7;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #24466B;
  color: #f5f7fa;
  border-color: #24466b;
  outline: none;
}

/* Hamburger Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #f5f7fa;
  padding: 6px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.21s;
  z-index: 201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #353b42;
}
/* ========== MOBILE MENU STYLES ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #232a32;
  box-shadow: 0 6px 33px rgba(36,70,107,0.1);
  z-index: 2100;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.61,-0.06,.41,1.11);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 42px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #f5f7fa;
  margin: 28px 24px 12px 0;
  cursor: pointer;
  transition: background 0.12s;
  border-radius: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2e353f;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px 0 0 38px;
}
.mobile-nav a {
  color: #e5e7ea;
  font-size: 1.28rem;
  font-family: var(--font-display);
  padding: 10px 5px;
  border-radius: 5px;
  transition: background 0.18s, color 0.17s;
  min-width: 220px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #24466B;
  color: #FFF;
  outline: none;
}
@media (max-width: 1024px) {
  .main-nav { gap: 16px; }
  .btn-primary { margin-left: 7px; }
}
@media (max-width: 900px) {
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== FOOTER ========== */
footer {
  background: #181d23;
  border-top: 1.5px solid #353b42;
  margin-top: 70px;
  text-align: center;
  padding: 0 0 24px 0;
}
footer .container {
  display: flex;
  justify-content: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0 16px 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-bottom: 6px;
}
footer nav a {
  color: #aaa;
  font-size: 1rem;
  transition: color .2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
}
footer p {
  color: #555e6b;
  font-size: 0.98rem;
}

/* ========== SECTIONS & CARDS ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 0 0 16px 16px;
}
@media (max-width: 600px) {
  section { padding: 28px 4px; }
}

.brand-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 38px;
  margin: 18px 0 10px 0;
}
.brand-logos img {
  filter: grayscale(0.15) drop-shadow(0 1px 5px rgba(20,20,25,0.04));
  max-height: 38px;
  min-width: 68px;
  background: #181d23;
  border-radius: 7px;
  padding: 6px 13px;
}
.brand-logos span {
  color: #81a1c1;
  opacity: .83;
  font-size: 1.05rem;
}
.partnership-desc {
  margin-top: 10px;
  color: #c7e193;
  font-size: 1.05rem;
}

.service-card, .project-card, .faq-item {
  background: var(--color-card);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-main);
  padding: 22px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}
.service-card h3, .project-card h3 {
  color: #BDD4EA;
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.service-card span, .project-card span {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.99rem;
  margin-top: 2px;
}
.faq-item h3 {
  color: var(--color-secondary);
  font-size: 1.13rem;
}

/* ========== TEXT-IMAGE SECTIONS ========== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ========== LISTS WITH ICONS ========== */
ul li img {
  vertical-align: middle;
  margin-right: 8px;
  height: 26px;
  width: auto;
  filter: grayscale(0.25) contrast(1.05);
}

/* ========== BUTTON MICRO-INTERACTIONS ========== */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.17s, color 0.17s, border 0.13s, box-shadow 0.17s;
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: translateY(1.5px) scale(.97);
  box-shadow: 0 1px 2px rgba(27,51,76,0.10);
}

/* ========== FORMS (for contact, lead capture) ========== */
input, textarea, select, button {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-medium);
  border: 1.5px solid #333a46;
  background: #24282d;
  color: #f5f7fa;
  padding: 10px 13px;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  outline: none;
  background: #232a32;
}
button[type="submit"] {
  background: var(--color-secondary);
  color: #181d23;
  font-weight: bold;
}
button[type="submit"]:hover, button[type="submit"]:focus {
  background: #add277;
  color: #181d23;
}

/* ========== COOKIE CONSENT BANNER AND MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #232a32;
  color: #f5f7fa;
  border-top: 2.5px solid var(--color-primary);
  box-shadow: 0 -2px 30px rgba(24,29,35,0.27);
  z-index: 3101;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  padding: 26px 20px;
  font-size: 1rem;
  animation: fadeInUp 0.44s cubic-bezier(.61,.07,.59,1.12);
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(70px)}
  to {opacity: 1; transform: translateY(0)}
}
.cookie-banner .cookie-btn {
  margin-left: 18px;
  background: var(--color-secondary);
  color: #232a32;
  border: none;
  border-radius: 7px;
  padding: 10px 17px;
  font-weight: bold;
  font-family: var(--font-display);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
  margin-right: 7px;
}
.cookie-banner .cookie-btn.reject {
  background: #444b55;
  color: #c9ced3;
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #bdec8b;
  color: #232a32;
}

.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(24,29,35,.74);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.29s;
}
@keyframes fadeInBg {
  from { opacity: 0 }
  to { opacity: 1 }
}
.cookie-modal {
  background: #181d23;
  color: #f5f7fa;
  padding: 34px 28px;
  border-radius: 14px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 10px 36px rgba(40,53,70,0.22);
  position: relative;
  text-align: left;
  animation: scaleIn 0.19s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@keyframes scaleIn { from {transform:scale(0.88);} to{transform:scale(1);} }
.cookie-modal h3 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.21rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
}
.cookie-category label {
  font-size: 1.06rem;
  color: #e1e4e8;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
  margin-right: 6px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  background: var(--color-secondary);
  color: #232a32;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.14s, color 0.12s;
}
.cookie-modal .cookie-btn.reject {
  background: #393d43;
  color: #e3e6eb;
}
.cookie-modal .cookie-btn.settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 19px;
  background: none;
  border: none;
  color: #b9bac1;
  font-size: 1.65rem;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-secondary);
  outline: none;
}

/* ========== RESPONSIVE RULES ========== */
@media (max-width: 1023px) {
  .brand-logos { gap: 18px; }
  .container {
    max-width: 98vw;
    width: 98vw;
    padding: 0 4px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 2px;
  }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .brand-logos { flex-direction: column; align-items: flex-start; gap: 13px; }
  .testimonial-card, .service-card, .project-card, .faq-item, .card {
    min-width: unset;
    max-width: 99vw;
    width: 100%;
    padding: 18px 10px;
  }
  .main-nav { display: none !important; }
  .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .text-image-section { flex-direction: column; gap: 15px; }
}
@media (max-width: 480px) {
  .container { width: 100vw; max-width: 100vw; padding: 0 1vw; }
  section { padding-left: 2px; padding-right: 2px; margin-bottom: 40px; }
  h1 { font-size: 1.42rem; }
}

/* ========== MICRO-DETAILS/INDUSTRIAL-MODERN EFFECTS ========== */
.card, .service-card, .project-card, .faq-item {
  border: 1.5px solid #2e353f;
  background: linear-gradient(130deg, #232a32 90%, #34495e 120%);
  box-shadow: 0 3px 16px rgba(19,30,48,0.10);
}
.section {
  border-radius: 0 0 16px 16px;
  background: linear-gradient(135deg, #232a32 80%, #181d23 100%);
  box-shadow: 0 2px 40px rgba(27,51,76,0.09);
}
.brand-logos img, .footer-logo {
  box-shadow: 0 1px 6px rgba(32,34,42,0.08);
  border: 1.5px solid #353b42;
  background: #22262b;
  border-radius: 8px;
}

/* ========== VISUAL HIERARCHY & SPACING ========== */
.section > .container > h1, .section > .container > h2 {
  margin-bottom: 22px;
  border-left: 5px solid var(--color-secondary);
  padding-left: 13px;
  letter-spacing: .02em;
  font-family: var(--font-display);
}
.section:last-of-type {
  margin-bottom: 0 !important;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}

/* ========== VISUALLY DISTINCT TESTIMONIALS ========== */
.testimonial-card {
  border-left: 7px solid #7baf47;
  border-right: 3px solid #bdd4ea;
  background: #f5f7fa;
  color: #232a32;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(123,175,71,.10);
}
.testimonial-card p {
  color: #232a32;
  font-size: 1.18rem;
  padding-left: 2px;
}

/* ========== ICONS AND ACCENTS ========== */
ul li img, .feature-item img {
  filter: grayscale(0.28) contrast(1.2) drop-shadow(0 1px 5px rgba(36,70,107,0.06));
}

/* ========== COLORS & FONT CONSISTENCY ========== */
::-webkit-scrollbar { width: 10px; background: #22262b; }
::-webkit-scrollbar-thumb { background: #353b42; border-radius: 6px; }

/* ========== UTILITY CLASSES ========== */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 32px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ========== ANIMATION CLASSES ========== */
.fade-in {
  animation: fadeInMain .6s cubic-bezier(.62,-0.01,.52,1.02);
}
@keyframes fadeInMain {
  from {opacity:0;transform:translateY(16px);}
  to{opacity:1;transform:translateY(0);}
}

/* ========== ERROR/SUCCESS/INFO COLORS ========== */
.alert-error {
  background: #ce4844;
  color: #fff;
  border-radius: 7px;
  padding: 14px 18px;
  margin: 18px 0;
}
.alert-success {
  background: #61c26d;
  color: #1b334c;
  border-radius: 7px;
  padding: 14px 18px;
  margin: 18px 0;
}

/* ========== ACCESSIBILITY ========== */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ========== PRINT OPTIMIZED ========== */
@media print {
  header, footer, .btn-primary, .btn-secondary, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body, html, section { background: #fff !important; color: #181d23 !important; }
}

/* ========== END HYDROÉLITE STYLE SHEET ========== */
