/*----------------------------------*
  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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #181C20; color: #ececec; min-height: 100vh; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
input, button, textarea, select { font: inherit; }
:focus { outline: 2px solid #FFD93B; outline-offset: 2px; }

/*----------------------------------*
  BRAND VARIABLES & FONT IMPORT
*-----------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&family=Montserrat:wght@400;600;700&display=swap');
:root {
  --primary: #2D5D89;
  --secondary: #FFD93B;
  --accent: #FFFFFF;
  --dark: #181C20;
  --darker: #101216;
  --surface: #24272B;
  --surface-alt: #23262A;
  --gray: #363B42;
  --gray-light: #4A5059;
  --brand-font-display: 'Baloo 2', cursive;
  --brand-font-body: 'Montserrat', Arial, sans-serif;
  --shadow-md: 0 2px 12px rgba(20,24,30,0.13);
  --shadow-lg: 0 6px 24px rgba(20,24,30,0.18);
  --border-metal: 1.5px solid #485066;
  --card-radius: 18px;
  --btn-radius: 8px;
}

/*----------------------------------*
  TYPOGRAPHY
*-----------------------------------*/
body { font-family: var(--brand-font-body); font-size: 16px; font-weight: 400; background-color: var(--dark); color: var(--accent); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--brand-font-display);
  color: var(--secondary);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  text-shadow: 0 1px 0 #000;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
}
h2 {
  font-size: 1.8rem;
  font-weight: 700;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
h4, h5, h6 { font-size: 1.1rem; font-weight: 500; }
p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--accent);
  margin-bottom: 17px;
}
strong, b { font-weight: 700; color: var(--secondary); }
.text-section h2, .text-section h3 { color: var(--secondary); margin-bottom: 7px; }

/*----------------------------------*
  LAYOUT: CONTAINER & SPACING
*-----------------------------------*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface-alt);
  color: var(--accent);
  border: var(--border-metal);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  min-width: 270px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.022);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  color: var(--dark);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  min-width: 250px;
  margin-bottom: 20px;
  flex: 1 1 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Min 20px margins between cards/sections ensured via gap and margin-bottom */

/*----------------------------------*
  HEADER & NAVIGATION
*-----------------------------------*/
header {
  background: var(--surface-alt);
  box-shadow: 0 2px 8px rgba(20,20,25,0.15);
  border-bottom: var(--border-metal);
  position: relative;
  z-index: 50;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 30px;
  padding: 14px 0 14px 0;
}
.logo img { height: 42px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 22px;
}
.main-nav a {
  font-family: var(--brand-font-body);
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: #C7D0DC;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus { background: var(--secondary); color: var(--dark); }
.button.primary {
  background: linear-gradient(90deg, var(--primary) 81%, #485066 120%);
  color: var(--secondary);
  font-family: var(--brand-font-display);
  font-size: 1.13rem;
  border: none;
  border-radius: var(--btn-radius);
  padding: 10px 26px;
  box-shadow: 0 1.5px 6px rgba(45,93,137,0.17);
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.18s, color 0.15s, box-shadow 0.17s, transform 0.15s;
}
.button.primary:hover, .button.primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.045);
}
.button.secondary {
  background: var(--gray-light);
  color: var(--secondary);
  border-radius: var(--btn-radius);
  border: 1.1px solid var(--secondary);
  padding: 9px 22px;
  font-family: var(--brand-font-display);
  font-weight: 600;
  margin-top: 12px;
  transition: background 0.16s, color 0.16s, box-shadow 0.14s, transform 0.12s;
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  justify-content: flex-start;
}

/* Mobile menu Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  cursor: pointer;
  z-index: 200;
  margin-left: auto;
  margin-right: 8px;
  padding: 7px 10px 7px 7px;
  transition: background 0.17s;
  border-radius: 5px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: var(--primary); }

/* Mobile Slide Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,39,43,0.99);
  box-shadow: 0 0 70px 15px #000a;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.72,-0.07,.38,1.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 18px 0 0;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.21s;
  z-index: 10001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-left: 30px;
}
.mobile-nav a {
  font-family: var(--brand-font-body);
  font-size: 1.17rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.19s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus { color: var(--accent); text-decoration: underline;  background: var(--primary); }

/* Hide main nav on mobile */
@media(max-width: 1020px) {
  .main-nav { display: none; }
  .button.primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media(min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/*----------------------------------*
  HERO & SECTION STYLES
*-----------------------------------*/
.hero {
  background: linear-gradient(120deg, #232930 60%, var(--primary) 106%);
  color: var(--secondary);
  border-radius: var(--card-radius);
  margin: 0 0 52px 0;
  padding: 52px 0 48px 0;
  box-shadow: 0 8px 32px 0 #14161b20;
}
.hero h1 {
  margin-bottom: 17px;
}
.hero .button.primary {
  margin-top: 25px;
}

/* FEATURE GRID (special icons/usp on homepage) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-grid li {
  background: var(--darker);
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 320px;
  border-radius: var(--card-radius);
  border: var(--border-metal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 22px 18px 19px 18px;
  box-shadow: var(--shadow-md);
  color: var(--accent);
  transition: box-shadow 0.21s, background 0.21s;
}
.feature-grid li:hover {
  background: var(--primary);
  box-shadow: var(--shadow-lg);
}
.feature-grid img { width: 36px; margin-bottom: 7px; }
.feature-grid h3 { color: var(--secondary); font-size: 1.08rem; margin-bottom: 3px; }
.feature-grid p { font-size: .97rem; color: #f4f4f6; }

/*----------------------------------*
  GENERAL CARDS & GRIDS
*-----------------------------------*/
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Testimonial slider/cards */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card p {
  color: var(--dark);
  font-size: 1.09rem;
  margin-bottom: 9px;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: .98rem;
}

/* Discount/Promo cards */
.discount-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.discount-grid > div {
  background: var(--surface-alt);
  border: var(--border-metal);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  padding: 23px 18px;
  flex: 1 1 250px;
  min-width: 230px;
  color: var(--secondary);
  font-family: var(--brand-font-display);
  font-size: 1.07rem;
  transition: box-shadow 0.19s, background 0.18s;
}
.discount-grid > div:hover { box-shadow: var(--shadow-lg); background: var(--primary); color: var(--accent); }
.limited-time-offer {
  background: var(--secondary);
  color: var(--dark);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  padding: 17px 22px;
  font-family: var(--brand-font-display);
  margin-bottom: 20px;
}
.promo-code-info {
  background: var(--gray-light);
  border-radius: 6px;
  padding: 12px 17px;
  margin-bottom: 20px;
  color: var(--secondary);
  font-family: var(--brand-font-body);
}

/* Blog featured posts */
.featured-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.featured-posts .text-section {
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 15px 17px 15px 18px;
  box-shadow: var(--shadow-md);
  flex: 1 1 260px;
  min-width: 210px;
  color: var(--accent);
  border: var(--border-metal);
  transition: box-shadow 0.17s;
}
.featured-posts .text-section:hover { box-shadow: var(--shadow-lg); }

/*----------------------------------*
  CONTACT LIST & SOCIAL LINKS
*-----------------------------------*/
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.11rem;
  color: var(--secondary);
  font-family: var(--brand-font-body);
}
.contact-list img { width: 19px; }
.social-links {
  display: flex;
  gap: 16px;
  margin: 13px 0 0 0;
  align-items: center;
}
.social-links img {
  width: 33px;
  filter: grayscale(30%) brightness(1.14) drop-shadow(1px 2px 4px #14161633);
  transition: filter 0.17s, transform 0.17s;
  cursor: pointer;
}
.social-links img:hover{ filter: brightness(1.22) grayscale(0%) drop-shadow(2px 4px 10px #FFD93B55); transform: scale(1.07); }

/*----------------------------------*
  FOOTER
*-----------------------------------*/
footer {
  background: var(--surface);
  color: var(--gray-light);
  font-size: .98rem;
  border-top: var(--border-metal);
  padding: 30px 0 20px 0;
  box-shadow: 0 -8px 24px 0 #23262a20;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-content > * { margin-bottom: 10px; }
.footer-content .footer-nav {
  display: flex;
  gap: 10px;
  font-size: .97rem;
  margin: auto 0;
}
.footer-content .footer-nav a {
  color: var(--secondary);
  font-weight: 500;
  margin-right: 2px;
  transition: color 0.14s;
}
.footer-content .footer-nav a:hover { color: var(--primary); text-decoration: underline; }
.company-info { color: #d0d4db; }
.company-info p { margin-bottom: 2px; font-size: .97rem; line-height: 1.45; }

/*----------------------------------*
  UTILITY & HELPER CLASSES
*-----------------------------------*/
.gap-16 { gap: 16px !important; } .gap-20 { gap: 20px !important; }
.flex { display: flex !important; }
.align-center { align-items: center !important; }
.flex-row { flex-direction: row !important; }
.flex-col { flex-direction: column !important; }
.w-100 { width: 100% !important; }

.text-section { margin-bottom: 24px; }
.category-filter p { margin-bottom: 6px; color: var(--secondary); font-weight: 500; font-size: 1.04rem; }
.category-filter a { color: var(--secondary); font-weight: 600; margin: 0 3px; transition: color 0.14s; }
.category-filter a:hover { color: var(--accent); }

/*----------------------------------*
  RESPONSIVE DESIGN (MOBILE FIRST)
*-----------------------------------*/
@media (max-width: 768px) {
  .container { padding: 0 9px; }
  .hero { padding: 35px 0 20px 0; }
  .content-wrapper { gap: 17px; }
  .section { padding: 22px 8px; margin-bottom: 32px; }
  .feature-grid, .card-container, .discount-grid, .content-grid, .testimonial-slider, .featured-posts, .footer-content {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  .feature-grid li, .card, .featured-posts .text-section, .discount-grid > div, .limited-time-offer {
    min-width: unset; max-width: unset; width: 100%;
  }
  .text-image-section { flex-direction: column !important; gap: 18px; align-items: stretch !important; }
  .main-nav, .button.primary { display: none !important; }
  .footer-content { gap: 13px; }
  .footer-content > * { margin-bottom: 5px; }
}
@media (max-width: 460px) {
  h1 { font-size: 1.29rem; }
  h2 { font-size: 1.08rem; }
}

/*----------------------------------*
  COOKIE CONSENT STYLES + MODAL
*-----------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--surface-alt);
  color: var(--secondary);
  box-shadow: 0 -7px 50px #23262a99, 0 -2px 16px #23262a22;
  z-index: 12060;
  padding: 23px 12px 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  border-radius: 12px 12px 0 0;
  animation: cookie-in 0.5s cubic-bezier(.29,.74,.32,1.3);
}
@keyframes cookie-in { from {transform: translateY(150px); opacity: 0;} to {transform: none; opacity: 1;}}
.cookie-banner p { flex: 1 1 200px; color: var(--secondary); margin-bottom:0; }
.cookie-banner .button, .cookie-banner button {
  margin-top: 0;
  font-size: 1rem;
  border-radius: 6px;
  font-family: var(--brand-font-body);
  padding: 7px 18px;
  cursor: pointer;
  margin-left: 7px;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--dark);
  border: none;
  font-weight: 700;
  transition: background 0.15s, color 0.11s, box-shadow 0.11s;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus { background: var(--primary); color: var(--accent); }
.cookie-banner .reject {
  background: none;
  border: 1.2px solid var(--secondary);
  color: var(--secondary);
  font-weight: 600;
  transition: background 0.17s, color 0.12s, box-shadow 0.14s;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus { background: var(--secondary); color: var(--dark); }
.cookie-banner .settings {
  background: var(--gray-light);
  color: var(--accent);
  border: 1px solid var(--accent);
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus { background: var(--primary); color: var(--secondary); }

/* Cookie Modal Overlay & Popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 12080;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,32,38,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open { opacity: 1; pointer-events: auto; }
.cookie-modal {
  background: var(--surface-alt);
  color: var(--secondary);
  padding: 32px 28px 26px 28px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  min-width: 340px; max-width: 95vw;
  animation: slideInModal .4s cubic-bezier(.3,.7,.18,1.2);
  display: flex; flex-direction: column; gap: 20px;
}
@keyframes slideInModal { from {transform: translateY(88px) scale(.96); opacity:.5;} to {transform: none; opacity: 1;}}
.cookie-modal h2 { color: var(--secondary); font-size: 1.25rem; margin-bottom: 9px; }
.cookie-modal .close {
  align-self: flex-end;
  background: none;
  color: var(--secondary);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: -10px;
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 18px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: var(--gray);
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--secondary);
  font-size: .99rem;
}
.cookie-category .switch {
  position: relative;
  width: 44px;
  height: 24px;
  display: flex;
  align-items: center;
}
.cookie-category input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category input[type="checkbox"] + .slider {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 24px;
  background: #363B42;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-category input[type="checkbox"]:checked + .slider {
  background: var(--secondary);
}
.slider:before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: var(--surface-alt);
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-category input[type="checkbox"]:checked + .slider:before {
  transform: translateX(20px);
  background: var(--primary);
}
.cookie-category .always-on {
  color: var(--accent);
  background: var(--primary);
  font-size: .90rem;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 600;
}
.cookie-modal .actions {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 9px;
}
.cookie-modal .actions .button {
  min-width: 120px;
  font-family: var(--brand-font-body);
  padding: 8px 0;
  border-radius: 7px;
  font-size: 1rem;
}
.cookie-modal .actions .accept { background: var(--secondary); color: var(--dark); border: none; font-weight: 700; }
.cookie-modal .actions .reject { background: none; border: 1.1px solid var(--secondary); color: var(--secondary); font-weight: 600; }
.cookie-modal .actions .accept:hover, .cookie-modal .actions .accept:focus { background: var(--primary); color: var(--accent); }
.cookie-modal .actions .reject:hover, .cookie-modal .actions .reject:focus { background: var(--secondary); color: var(--dark); }

@media(max-width:600px) {
  .cookie-modal { min-width: 90vw; padding: 18px 12px 15px 14px; font-size: .97rem; }
}

/*----------------------------------*
  SCROLLBAR (Industrial_urban look)
*-----------------------------------*/
body::-webkit-scrollbar { width: 11px; background: #1c1d23; }
body::-webkit-scrollbar-thumb {
  background: linear-gradient(145deg, #23262a 65%, #3A404E 96%);
  border-radius: 10px;
  border: 2.5px solid #181C20;
}

/*----------------------------------*
  INDUSTRIAL URBAN METALLIC DETAILS
*-----------------------------------*/
.card, .feature-grid li, .discount-grid > div, .featured-posts .text-section, .limited-time-offer {
  border: 1.7px solid #485066;
  box-shadow: 0 3px 15px 0 #18161F24, 0 1px 2.4px #26314B18;
}
.card::before, .feature-grid li::before, .testimonial-card::before {
  content: "";
  display: block;
  position: absolute;
  top: 6px; right: 14px;
  width: 21px; height: 3px;
  background: linear-gradient(90deg, #bfcad9 65%, #4A5059 100%);
  border-radius: 1px;
  opacity: 0.18;
}
.testimonial-card { border: 2px solid #d1d6df; border-left-width: 9px; border-left-color: var(--primary);  }

/*----------------------------------*
  ANIMATIONS & MICRO-INTERACTIONS
*-----------------------------------*/
.button, a.button {
  transition: background 0.18s, color 0.15s, box-shadow 0.21s, transform 0.14s;
  will-change: background, color, box-shadow, transform;
}
.button:active { transform: scale(0.97); }
.card, .feature-grid li, .discount-grid > div {
  transition: box-shadow 0.18s, transform 0.13s;
}
.main-nav a, .footer-nav a, .category-filter a, .mobile-nav a {
  transition: color 0.18s, background 0.13s;
}

/*----------------------------------*
  MODAL Z-INDEX LAYERING FOR NAV/COOKIES
*-----------------------------------*/
.mobile-menu { z-index: 9999; }
.cookie-banner { z-index: 12060; }
.cookie-modal-overlay { z-index: 12080; }

/*----------------------------------*
  PRINT/DISPLAY UTILITY
*-----------------------------------*/
@media print { .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; } }

/* End of Industrial Modern Responsive Flexbox CSS */
