/* GLOBAL */
:root {
    --brand-dark: #0a0a0a;
    --brand-blue: #1e90ff;
    --brand-light: #f8f9fb;
    --brand-lightpurple: #a78ac0;
    --brand-darkpurple: #662382;
    --brand-darkgrey: #5f5b66;
    --brand-text: #333;
    --font-sans: 'Source Sans Pro', sans-serif;
    --font-serif: 'Source Serif 4', serif;
  
}


/* ========================= */
/*   GLOBAL BRAND STYLING   */
/* ========================= */

body {
  
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  background: black;
  color: black;
  line-height: 1.6;
}
html, body {
    overflow-x: hidden;
}



h1, h2, h3 {
  font-weight: 300;
  letter-spacing: 0.5px;
}

section {
  padding: 80px 4%;
}





/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */
.nav {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: black;
    margin-bottom: 40px;
    
    padding: 12px 0;
}

.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
hr {
    border: none;
    height: 35px; /* thickness of the bar */
    width: 100%;
    

    background: linear-gradient(
        to left,
        var(--brand-darkpurple) 0%,
        var(--brand-darkpurple) 50%,
        var(--brand-lightpurple) 100%
    );

    margin-top: -11px;
    padding: 4px;
    border-radius: 0; /* optional */
}


.nav-contact {
    position: absolute;
    top: 14px;
    right: 30px;

    display: flex;
    align-items: center;
    gap: 19px;
    margin-right: -10px;
    
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 900;
}

.nav-contact a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: -8px;
    transition: opacity 0.25s ease;
}

.nav-contact a:hover {
    opacity: 1;
}

.nav-contact .icon {
    font-size: 1.1rem;
    line-height: 0;
    
}
.nav-contact {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    
}

.nav-contact__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-contact__icon img {
    width: 20px;   /* adjust to your design system */
    height: 20px;
    display: block;
    margin-right: -10px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.35)); /* subtle chrome glow */
}

.nav-contact__label {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-sans);
    color: white;
}



.nav-brand img {
    height: 138px;
    margin-right: 18px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links a {
    
    color: white;
    border-radius: 6px;
    padding: 6px;
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 18px;
    text-decoration: none;
    font-weight: 800;
    
}

.nav-links a:hover {
    opacity: 0.9;
    color: var(--brand-lightpurple);
}

.nav-cta {
    color: #000000;
   

    
    
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-brand img {
    height: 75px; /* adjust as needed */
    width: auto;
    margin-left: -25px;
    animation: LogoSlide 1.4s ease-out forwards;


}



/* Dropdown container */
.nav-links li {
    position: relative;
}
.dropdown ul,
.dropdown li {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* Hide dropdown by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -52px;
    background: black;
    border: 1px solid var(--brand-lightpurple);
    border-radius: 6px;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    flex-direction: column;
    z-index: 999;
}

/* Show on hover */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Dropdown links */
.dropdown-menu a {
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--brand-lightpurple);
    color: #000000;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s ease;
}
/* ============================================================
   IR‑ECO HYBRID THEME (Subtle Eco Green Accents)
============================================================ */

/* ============================
   ECO HERO (Stable Layout)
============================ */

.eco-hero {
    padding-top: 150px;
    position: relative;
    height: 100vh; /* use 100vh to avoid cumulative growth */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 4%;
    background: black; /* optional fallback */
}
.eco-subtitle {
    font-size: 3.2rem;
    color: #2ecc71; /* subtle eco green */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-weight: 600;
}

.eco-hero-bg {
    position: absolute;
    inset: 0;
    background: url("/images/Irecobackground.png") center/cover no-repeat;
    filter: brightness(0.45);
    z-index: 1;
    background-position: top 50px center;
}

.eco-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
}

/* Title styling */
.eco-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(80px);
    will-change: transform, opacity; /* isolates animation from layout */
}

.eco-title span {
    color: #2ecc71;
}

/* ============================
   Fade-up animation
============================ */
@keyframes ecoTitleUp {
    0% {
        opacity: 0;
        transform: translateY(40vh);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.eco-title.visible {
    animation: ecoTitleUp 1.2s ease-out forwards;
}




/* ============================
   SECTION DIVIDER (Subtle)
============================ */


.section-divider {
    position: relative; /* REQUIRED */
    width: 100%;
    height: 6px; /* gives space for the glow line */
    margin: 40px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}





.section-divider::before {
    content: "";
    position: absolute;
    top: 400%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(167, 138, 192, 0) 0%, rgba(167, 138, 192, 0.25) 15%, rgba(167, 138, 192, 0.55) 30%, rgba(167, 138, 192, 1) 50%, rgba(167, 138, 192, 0.55) 70%, rgba(167, 138, 192, 0.25) 85%, rgba(167, 138, 192, 0) 100%);
    box-shadow: 0 0 22px rgba(167, 138, 192, 0.7), 0 0 40px rgba(167, 138, 192, 0.45);
    transform: translateY(-50%);
}





/* ============================
   DESCRIPTION
============================ */

/* ============================
   DESCRIPTION FULL WIDTH
============================ */

.eco-description-text-full {
    max-width: 1100px;
    margin: 0 auto;
    border-left: 4px solid #2ecc71;
    padding-left: 22px;

    /* FIXES */
    padding-top: 0 !important;
    margin-top: 0 !important;
}


.eco-description-text-full p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #d8d8d8;
}
/* BASE STATE – off-screen + invisible */
.slide-left-kf,
.slide-right-kf,
.slide-up-kf {
    opacity: 0;
    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.8s ease-out;
}

/* Start positions (this is where VH matters) */
.slide-left-kf {
    transform: translateX(-120vh);
}

.slide-right-kf {
    transform: translateX(120vh);
}

.slide-up-kf {
    transform: translateY(120vh);
}

/* WHEN JS ADDS .visible */
.visible.slide-left-kf,
.visible.slide-right-kf,
.visible.slide-up-kf {
    opacity: 1;
    transform: translateX(0) translateY(0);
}



/* ============================
   PAIL SECTION LAYOUT
============================ */

.eco-pail-section {
    padding-top: 0 !important;
    background: #0b0b0d;
}

.eco-pail-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.eco-pail-image img {
    width: 340px;
    max-width: 100%;

    width: 320px;
    filter: drop-shadow(0 20px 40px rgba(166, 138, 192, 0.35));
    transition: 0.3s ease;
}


.eco-pail-side-text {
    flex: 1;
    color: #dcdcdc;
    font-size: 1.9rem;
}

.eco-pail-side-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 18px;
}

.eco-pail-side-text p {
    font-size: 1.4rem;
    line-height: 1.7;
    border-left: solid 4px var(--brand-lightpurple);
    padding-left: 12px;
}



/* Hidden state */
.slide-left-kf,
.slide-right-kf,
.slide-up-kf,
.slide-down-kf {
    opacity: 0;
    transform: translateY(0);
    will-change: transform, opacity;
}

/* Keyframes */
@keyframes slideLeftIn {
    0% { opacity: 0; transform: translateX(-80vh); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideRightIn {
    0% { opacity: 0; transform: translateX(80vh); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideUpIn {
    0% { opacity: 0; transform: translateY(80vh); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Triggered by your old JS */
.visible.slide-left-kf {
    animation: slideLeftIn 1.2s ease-out forwards;
}

.visible.slide-right-kf {
    animation: slideRightIn 1.2s ease-out forwards;
}

.visible.slide-up-kf {
    animation: slideUpIn 1.2s ease-out forwards;
}



/* ============================
   ADAPTABLE SOLUTIONS (CLEAN)
============================ */

.eco-adaptable {
    padding: 60px 12%;
    background: #0b0b0d;
    position: relative;
    overflow: hidden; /* prevents micro-jumps */
}

/* TITLE */
.adaptable-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 55px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.adaptable-title .lightpink {
    color: #2ecc71;;
}

/* GRID */
.adaptable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* CARD */
.adaptable-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 260px;
    display: block;
    background: #111;
    border: 1px solid rgba(255,255,255,0.06);
    transition: 0.35s ease;
}

/* IMAGE */
.adaptable-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) contrast(1.1);
    transition: 0.4s ease;
}

.adaptable-card:hover img {
    filter: brightness(0.8) contrast(1.15);
    transform: scale(1.06);
}

/* LABEL */
.adaptable-card span {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px 0;
    text-align: center;
    background: rgba(0,0,0,0.55);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    border-top: 2px solid #2ecc71;
    text-transform: uppercase;
}

/* Base hidden state */
[class*="slide-"] {
    opacity: 0;
}

/* Keyframes */
@keyframes slideLeftIn {
    0% { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideRightIn {
    0% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideUpIn {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideDownIn {
    0% { opacity: 0; transform: translateY(-60px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Activated */
.animate-in.slide-left-kf { animation: slideLeftIn 1s ease forwards; }
.animate-in.slide-right-kf { animation: slideRightIn 1s ease forwards; }
.animate-in.slide-up-kf { animation: slideUpIn 1s ease forwards; }
.animate-in.slide-down-kf { animation: slideDownIn 1s ease forwards; }

/* ============================
   OPTIONAL STATIC BACKGROUND
   (NO LAYOUT SHIFT)
============================ */

.flowing-bg {
    position: relative;
    background-image: url('/images/');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* NO background-attachment: fixed */
    /* NO animation */
}

/* DARK OVERLAY */
.flowing-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.flowing-bg > * {
    position: relative;
    z-index: 2;
}

/* ============================
   LIGHTBOX (STABLE)
============================ */

.lightbox {
    position: fixed !important;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999 !important;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.8rem;
    color: white;
    cursor: pointer;
    z-index: 1000000 !important;
    font-weight: bold;
}

.lightbox img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}
/* ============================
   TITLE FADE ANIMATION
============================ */

.title-fade {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.title-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.title-fade.hidden {
    opacity: 0;
    transform: translateY(18px);
}

/* ============================
   SOLUTIONS GALLERY SECTION
============================ */

.metal-3d-gallery {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

/* SAFE BACKGROUND (renamed) */
.solutions-gallery-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/flip1.JPG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

/* SAFE DARK OVERLAY (renamed) */
.solutions-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.85)
  );
  z-index: 2;
}

/* CTA BUTTON */
.gallery-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.gallery-button {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(90deg, var(--brand-darkpurple), var(--brand-lightpurple));
  color: white !important;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
  position: relative;
  z-index: 5;
}

.gallery-button:hover {
  background: linear-gradient(90deg, var(--brand-darkpurple));
  transform: translateY(-3px);
}

/* Layout adjustments */
.metal-gallery {
  margin-top: 0 !important;
  padding-top: 40px;
}

.metal-gallery .gallery-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Background for metal gallery */
.metal-gallery-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/flip1.JPG');
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 1;
}

.metal-gallery a {
  text-decoration: none;
  color: inherit;
}

/* Text colors */
.white {
  color: white;
}

.purple {
  background: linear-gradient(90deg, var(--brand-lightpurple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Summary paragraph */
.metal-gallery .gallery-summary {
  margin-top: 50px;
  margin-bottom: 40px;
  color: white;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Card title */
.metal-gallery .carousel-card h3 {
  color: white !important;
  position: relative;
  z-index: 5;
}

/* Section title */
.gallery-title,
.section-title {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  font-size: 4.4rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* Paragraph styling */
.metal-gallery p {
  color: white !important;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
  max-width: 800px;
  border-left: solid 4px var(--brand-darkpurple);
  padding-left: 12px;
  margin: 0 auto 40px auto;
}

/* ============================
   CAROUSEL WRAPPER
============================ */

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  overflow-x: auto;              /* enables finger swipe */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; /* smooth snapping */
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;             /* forces horizontal overflow */
  gap: 20px;
  scroll-behavior: smooth;

  /* REMOVE overflow: hidden */
}
/* Hide scrollbar on WebKit (Chrome, Safari, iOS) */
.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar on Firefox */
.carousel-wrapper {
    scrollbar-width: none;
}

/* Hide scrollbar on Edge */
.carousel-wrapper {
    -ms-overflow-style: none;
}


/* ============================
   CARDS
============================ */

.carousel-card {
  min-width: 280px;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 1px;
  text-align: center;
  transition: transform 0.3s ease;
}

.carousel-card:hover {
  transform: translateY(-10px);
}

.carousel-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 3px;
}

.carousel-card h3 {
  margin-top: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-darkpurple);

}

.carousel-card h3 ::hover {
  color: var(--brand-lightpurple)!important;
  transition: 0.3s ease;
}

/* ============================
   ARROWS
============================ */



.carousel-btn.prev { 
  left: -10px; 
  top: 150px;
}

.carousel-btn.next { 
  right: -10px; 
  top: 150px;
}

/* ============================
   DOTS
============================ */

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background: var(--brand-darkpurple);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.carousel-dot.active {
  background: var(--brand-darkpurple);
  transform: scale(1.2);
}

/* ============================
   CAROUSEL CONTAINER (FIXED ARROWS)
============================ */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px; /* keeps arrows from touching edges */
}

/* ============================
   WRAPPER (SCROLLABLE AREA)
============================ */
.carousel-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;        /* Firefox hide */
  -ms-overflow-style: none;     /* Edge hide */
}

.carousel-wrapper::-webkit-scrollbar {
  display: none;                /* Chrome/Safari hide */
}

/* ============================
   TRACK (NO OVERFLOW HERE)
============================ */
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  scroll-behavior: smooth;
}

/* ============================
   CARDS
============================ */
.carousel-card {
  flex: 0 0 auto;
  min-width: 280px;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 1px;
  text-align: center;
  transition: transform 0.3s ease;
  scroll-snap-align: center;
}

.carousel-card:hover {
  transform: translateY(-10px);
  color: var(--brand-lightpurple);
}

.carousel-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 3px;
}

.carousel-card h3 {
  margin-top: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-darkpurple);
}

.carousel-card h3:hover {
  color: var(--brand-lightpurple)!important;
  transition: 0.3s ease;
}

/* ============================
   FIXED ARROWS
============================ */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  color: var(--brand-darkpurple);
  font-size: 2rem;
  padding: 10px 5px;
  cursor: pointer;
  z-index: 10;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  color: var(--brand-lightpurple);

}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

/* ============================
   DOTS
============================ */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background: var(--brand-darkpurple);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.carousel-dot.active {
  transform: scale(1.2);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  color: var(--brand-darkpurple);
  font-size: 2rem;
  padding: 10px 5px;
  cursor: pointer;
  z-index: 10;
  border-radius: 3px;
  transition: background 0.2s ease;
}

/* Pull arrows inward toward the carousel center */
.carousel-btn.prev {
  left: 15px;   /* closer to the card area */
}

.carousel-btn.next {
  right: 15px;  /* visible and balanced */
}

/* Optional: smaller arrows and tighter spacing on mobile */
@media (max-width: 768px) {
  .carousel-btn {
    font-size: 1.6rem;
    padding: 8px 4px;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 30px;
  }
}






/* Italic text */
.italic {
  font-style: italic;
  color: #dcdcdc;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.fade-up-kf {
    opacity: 0;
    transform: translateY(60px);
}

@keyframes fadeUpIn {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-up-kf.visible {
    animation: fadeUpIn 1.1s ease-out forwards;
}
.fade-down-kf {
    opacity: 0;
    transform: translateY(-60px);
}

@keyframes fadeDownIn {
    0% { opacity: 0; transform: translateY(-60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-down-kf.visible {
    animation: fadeDownIn 1.1s ease-out forwards;
}
.fade-right-kf {
    opacity: 0;
    transform: translateX(60px);
}

@keyframes fadeRightIn {
    0% { opacity: 0; transform: translateX(60vh); }
    100% { opacity: 1; transform: translateX(0); }
}

.fade-right-kf.visible {
    animation: fadeRightIn 1.1s ease-out forwards;
}


/* ============================
   FEATURES
============================ */

.eco-features {
    padding: 40px 2%;
    background: linear-gradient(to bottom, #0d0d10, #0b0b0d);
}


.features-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2ecc71; /* subtle eco title */
    margin-bottom: 50px;
    text-transform: uppercase;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 60px;
    grid-auto-rows: minmax(0, auto); /* ensures balanced row heights */
    align-items: start;               /* keeps text aligned at top */
}


.features-list p {
    margin: 0;
    line-height: 1.65;
    color: #dcdcdc;
    position: relative;
    padding-left: 14px;
}

.features-list p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--brand-darkpurple); /* subtle eco bullet */
    border-radius: 50%;
}

.features-list strong {
    color: #2ecc71; /* subtle eco highlight */
}
.features-list strong {
    font-family: "Montserrat", sans-serif; /* or your preferred font */
    font-size: 1.15rem;                    /* larger title size */
    font-weight: 800;                      /* heavier for emphasis */
    color: var(--brand-lightpurple);       /* your purple accent */
    letter-spacing: 0.4px;                 /* subtle premium spacing */
    display: block;                        /* puts title on its own line */
    margin-bottom: 4px;                    /* spacing before description */
}

/* ============================
   CTA
============================ */

.eco-cta {
    background: #0b0b0d;
    padding: 4px 12%;
    text-align: center;
}

.eco-cta .cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: #2ecc71;
    color: black;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}

.eco-cta .cta-button:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

/* --------------------------------------------------
   BRAND STATEMENT
-------------------------------------------------- */
.brand-statement {
    padding: 20px 15px;
    text-align: center;
    background: var(--brand-dark);

    opacity: 0;
    transform: translateX(40px);
    z-index: 50; /* 🔥 ensures it sits ABOVE everything */
    position: relative; /* required for z-index to work */
}

/* When visible */
.brand-statement.visible {
    animation: brandSlideRight 0.9s ease-out forwards;
}

/* Small line */
.brand-statement .small {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-darkpurple);
    letter-spacing: 1px;
    font-style: italic;
    font-family: var(--font-sans);

    opacity: 0;
    transform: translateX(40px);
}

.brand-statement .small.visible {
    animation: brandTextRight 0.9s ease-out forwards;
    animation-delay: 0.15s;
}

/* Big line */
.brand-statement .big {
    margin: 5px 0 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    font-style: italic;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;

    opacity: 0;
    transform: translateX(40px);
}

.brand-statement .big.visible {
    animation: brandTextRight 1.4s ease-out forwards;
    animation-delay: 0.3s;
}

/* Animations */
@keyframes brandSlideRight {
    0% { opacity: 0; transform: translateX(40vh); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes brandTextRight {
    0% { opacity: 0; transform: translateX(40vh); }
    100% { opacity: 1; transform: translateX(0); }
}



/* ============================================
   MAIN FOOTER — 3 COLUMN LAYOUT
============================================ */
.impermitek-footer {
    background: #141414;
    color: #ffffff;
    padding: 70px 50px;

    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.footer-bottom p {
        text-align: center;
        margin: 0 auto;
        padding: 14px 0;
        color: white;
        font-size: 0.85rem;
    }
/* ============================================
   CENTER COLUMN — LOGO + DESCRIPTION + SOCIALS
============================================ */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-img {
    width: 350px;
    margin-bottom: 2px;
}

.footer-logo-wrapper {
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.footer-logo-wrapper::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-darkpurple), var(--brand-lightpurple));
    border-radius: 2px;
    margin-top: 8px;
}

.footer-desc {
    color: #dcdcdc;
    line-height: 1.6;
    max-width: 360px;
}

.footer-social-center {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-social-center .social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

/* ============================================
   LEFT COLUMN — QUICK LINKS
============================================ */
.footer-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
}

.footer-links-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
    padding-left: 50px;
}

.footer-link {
    color: white;
    text-decoration: none;
    padding: 0px 12px;

    text-align: center;
    font-weight: 600;
    font-size: 18px;
    
}
.footer-link-contact {
     color: white;
    background: var(--brand-darkpurple);
    text-decoration: none;
    padding: 5px;
    border-radius: 5px;
    transform: translateY(30px);

    text-align: center;
    font-weight: 600;
    font-size: 18px;
}




.footer-link:hover {
    color: white;
}

/* ============================================
   RIGHT COLUMN — CONTACT ABOVE SOCIALS
============================================ */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 5px;
    
}

.footer-contact-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: left;
    transform: translateY(44px);
}

.footer-social-right {
    align-items: flex-start !important;   /* ← finally moves left */
    text-align: left;
    margin-left: 0;                       /* reset your earlier test */
}



.footer-social-right .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}


.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-contact-item p {
    margin: 0;
    line-height: 1.15;
}

.footer-icon-svg {
    width: 20px;
    height: 20px;
    fill: var(--brand-darkpurple);
}

.footer-heading {
    font-size: 1.35rem;
    margin-bottom: 3px;
    font-weight: 700;
    text-align: center;
}

.footer-heading::after {
    content: "";
    width: 35px;
    height: 3px;
    background: #6a4dfc;
    margin-top: 6px;
    border-radius: 2px;
}

/* ============================================
   SOCIAL ICON CIRCLES
============================================ */
.social-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.social-icon-circle.facebook {
    background: #1877F2;
}

.social-icon-circle.linkedin {
    background: #0A66C2;
}

.social-icon-circle.instagram-bg {
    background: radial-gradient(circle at 30% 30%, #fdf497, #fd5949, #d6249f, #285AEB);
}

.social-icon-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: 0.25s ease;
}

.social-icon-circle:hover .social-icon-img {
    transform: translateY(-3px);
    opacity: 0.85;
}
.footer-follow-inline {
    font-size: 1.35rem;
    font-weight: 700;
    font-family: var(--font-sans);
    font-style: italic;
}

.footer-contact-right .footer-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  text-decoration: none;
  pointer-events: none;
  cursor: default;

  /* Positioning */
  align-self: flex-start;     /* keeps it aligned with info */
  margin-left: 4px;           /* subtle left alignment tweak */
  margin-top: -8px;           /* moves it closer to info block */
}

     .footer-links-left .footer-heading, .footer-links-left .footer-link {
        text-align: left !important;
        margin-left: 0 !important;
    }

/* ============================================================
   GLOBAL
============================================================ */
.nav-toggle {
    display: none;
}


/* ============================================================
   NAVIGATION
============================================================ */

/* ---------- Desktop (1400px+) ---------- */
@media (min-width: 1400px) {

    .nav-links a {
        font-size: 22px;
        padding: 10px 14px;
    }

    .nav-contact__label {
        font-size: 1.25rem;
    }

    .nav-brand img {
        height: 95px;
    }

    .nav-links {
        gap: 16px;
    }
}

/* ============================================================
   MOBILE NAVIGATION — FULL LEFT SLIDE PANELS
============================================================ */

@media (max-width: 600px) {

    /* NAV CONTAINER */
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        position: relative;
        width: 90%;
        margin: auto;
    }

    /* HAMBURGER */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 9999;
        order: 1;
        margin-right: 10px;
    }

    .nav-toggle span {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: 0.3s ease;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    /* LOGO */
    .nav-brand img {
        height: 75px;
        order: 2;
        margin-left: -5px;
    }

    /* CONTACT INFO */
    .nav-contact {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
        position: absolute;
        top: 20px;
        right: 42px;
        z-index: 9999;
    }

    .nav-contact__label {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* MAIN MOBILE MENU */
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: black;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        display: none;
        z-index: 9999;
        overflow: visible !important;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 18px;
        padding: 12px 0;
        width: 100%;
        text-align: center;
    }

    /* ============================================================
       FULL-SCREEN LEFT SLIDE PANEL FOR ALL DROPDOWNS
    ============================================================ */

    .dropdown-menu {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;

        background: #000;
        padding: 90px 30px 40px;

        display: flex;
        flex-direction: column;
        gap: 28px;

        z-index: 999999;

        /* Start hidden off-screen */
        transform: translateX(-100%);
        opacity: 0;

        /* Smooth premium animation */
        transition:
            transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
            opacity 0.35s ease;
    }

    /* Slide in when open */
    .dropdown.open > .dropdown-menu {
        transform: translateX(0);
        opacity: 1;
    }

    /* Close button */
    .dropdown-menu .close-panel {
        position: absolute;
        top: 22px;
        
        font-size: 2.2rem;
        color: var(--brand-darkpurple);
        cursor: pointer;
    }
    /* Center all dropdown content inside the slide panel */
.dropdown-menu {
    justify-content: center;      /* vertical centering */
    align-items: center;          /* horizontal centering */
    text-align: center;           /* center text */
}

/* Center each link */
.dropdown-menu li a {
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
}


/* =========================================================
   PURPLE ARROW — TOP CENTER
   ========================================================= */
.menu-arrow {
    position: absolute;
    top: 20px;                /* distance from top edge */
    left: 50%;                /* center horizontally */
    transform: translateX(-50%) rotate(180deg); /* rotate if needed */
    font-size: 2rem;          /* adjust size */
    color: var(--brand-lightpurple); /* your purple tone */
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 10;
}




}

@media (max-width: 600px) {

    /* ============================
       ECO HERO (Mobile)
    ============================ */
    .eco-hero {
        height: 90vh; /* reduce height for phones */
        padding: 0 6%;
        justify-content: flex-end; /* push content upward */
        padding-bottom: 80px;
        text-align: center;
    }

    .eco-hero-bg {
        background-position: center top 50px;
        filter: brightness(0.35); /* slightly darker for readability */
    }

    .eco-title {
        font-size: 2.8rem;
        line-height: 1.1;
        transform: translateY(30px);
    }

    .eco-subtitle {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    /* ============================
       SECTION DIVIDER (Mobile)
    ============================ */
    .section-divider {
        height: 50px;
        margin: 30px 0 10px;
    }

    

    /* ============================
       ECO DESCRIPTION (Mobile)
    ============================ */
    .eco-description-text-full {
        max-width: 100%;
        padding-left: 16px;
        border-left: 4px solid #2ecc71;
    }

    .eco-description-text-full p {
        font-size: 1.15rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    /* ============================
       KEYFRAME SLIDE-IN (Mobile)
    ============================ */

    /* Reduce travel distance so animations don't overshoot */
    .slide-left-kf {
        transform: translateX(-60vw);
    }

    .slide-right-kf {
        transform: translateX(60vw);
    }

    .slide-up-kf {
        transform: translateY(60vh);
    }

    /* When visible */
    .visible.slide-left-kf,
    .visible.slide-right-kf,
    .visible.slide-up-kf {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {

    /* ============================
       ECO PAIL SECTION (Mobile)
    ============================ */
    .eco-pail-section {
        padding: 40px 0 !important;
        background: #0b0b0d;
    }

    .eco-pail-inner {
        flex-direction: column;
        gap: 32px;
        padding: 0 22px;
        text-align: center;
    }

    .eco-pail-image img {
        width: 240px;
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .eco-pail-side-text {
        font-size: 1.4rem;
        line-height: 1.55;
        padding: 0 10px;
    }

    .eco-pail-side-text h3 {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .eco-pail-side-text p {
        font-size: 1.15rem;
        line-height: 1.6;
    }

    /* Animation distance reduced for mobile */
    .slide-left-kf {
        transform: translateX(-50vw);
    }

    .slide-right-kf {
        transform: translateX(50vw);
    }

    .slide-up-kf {
        transform: translateY(50vh);
    }

    .visible.slide-left-kf,
    .visible.slide-right-kf,
    .visible.slide-up-kf {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }


    /* ============================
       ADAPTABLE SOLUTIONS (Mobile)
    ============================ */
    .eco-adaptable {
        padding: 40px 6%;
    }

    .adaptable-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
        line-height: 1.2;
    }

    .adaptable-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .adaptable-card {
        height: 220px;
        border-radius: 10px;
    }

    .adaptable-card img {
        height: 220px;
        filter: brightness(0.6) contrast(1.1);
    }

    .adaptable-card span {
        font-size: 0.95rem;
        padding: 12px 0;
    }

    /* Animation distance reduced */
    .slide-left-kf {
        transform: translateX(-40vw);
    }

    .slide-right-kf {
        transform: translateX(40vw);
    }

    .slide-up-kf {
        transform: translateY(40vh);
    }

    .slide-down-kf {
        transform: translateY(-40vh);
    }

    .animate-in.slide-left-kf,
    .animate-in.slide-right-kf,
    .animate-in.slide-up-kf,
    .animate-in.slide-down-kf {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {

    /* ============================
       TITLE FADE (Mobile)
    ============================ */
    .title-fade {
        font-size: 1.9rem;
        transform: translateY(14px);
    }

    .title-fade.visible {
        transform: translateY(0);
    }


    /* ============================
       FEATURES SECTION (Mobile)
    ============================ */
    .eco-features {
        padding: 50px 8%;
    }

    .features-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .features-list p {
        font-size: 1.05rem;
        line-height: 1.55;
        padding-left: 12px;
    }

    .features-list p::before {
        width: 5px;
        height: 5px;
        top: 8px;
    }


    /* ============================
       CTA (Mobile)
    ============================ */
    .eco-cta {
        padding: 60px 8%;
    }

    .eco-cta .cta-button {
        padding: 14px 26px;
        font-size: 1.05rem;
        border-radius: 5px;
    }


/* ============================================================
   FOOTER (LAST SECTION)
============================================================ */
@media (max-width: 600px) {

    /* Make footer a vertical flexbox */
    .impermitek-footer {
        display: flex;
        flex-direction: column;
        align-items: center;   /* CENTER EVERYTHING */
        text-align: center;
        gap: 28px;
        padding: 32px 20px;
        flex-wrap: wrap;
    }
  .brand-statement .big {
    margin: 18px auto 1;     /* auto centers it */
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    font-style: italic;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;

    opacity: 0;
    transform: none;        /* remove the right shift */
    text-align: center;     /* ensure text is centered */
    animation: fadeIn 1.2s ease forwards;
}

    /* ============================
       FORCE MOBILE ORDER
       ============================ */

    /* LOGO FIRST */
    .footer-brand {
        order: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* CENTER LOGO + TEXT */
    }

    /* QUICK LINKS SECOND (BOTTOM LEFT BUTTON) */
    .footer-col:first-child {
        order: 2;
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center; /* CENTER BUTTON */
    }

    /* CONTACT THIRD (BOTTOM RIGHT BUTTON) */
    .footer-right {
        order: 3;
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center; /* CENTER BUTTON */
    }

    /* ============================
       TURN QUICK LINKS + CONTACT INTO BUTTONS
       ============================ */

    /* Hide desktop content */
    .footer-links-left .footer-link,
    .footer-contact-right .footer-contact-item,
    .footer-contact-right .footer-link-contact {
        display: none;
        text-align: center;
    }
    .footer-links-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
    padding-left: 0;
}
.footer-title {
    width: 140px;
    padding: 12px 0;
    background: var(--brand-darkpurple);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
    transition: all 0.25s ease;
    letter-spacing: 0.4px;
    margin: 0 auto;
    color: white;
    text-decoration: none;
    display: block;
}

.footer-title:hover {
    background: var(--brand-lightpurple);
    transform: translateY(-2px);
}


    /* BUTTON STYLE */
    .footer-heading {
        width: 140px;
        padding: 12px 0;
        background: var(--brand-darkpurple);
        border-radius: 5px;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.35);
        transition: all 0.25s ease;
        letter-spacing: 0.4px;
        margin: 0 auto; /* CENTER BUTTON */
    }

    .footer-heading:hover {
        background: var(--brand-lightpurple);
        transform: translateY(-2px);
    }

    /* ============================
       SHOW DROPDOWN CONTENT WHEN ACTIVE
       ============================ */
    .footer-links-left.active .footer-link {
        display: block;
        margin-top: 6px;
        text-align: center;
    }

    @media (max-width: 600px) {
    .footer-contact-right.active .footer-link-contact {
        display: block !important;
        margin-top: 10px;
        pointer-events: auto !important;
        z-index: 999;
    }
}


    /* ============================
       LOGO + SOCIALS
       ============================ */
    .footer-logo-wrapper img {
        width: 160px;
        margin: 0 auto;
    }

    .footer-desc {
        max-width: 50%;
        margin: 10px auto 18px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 14px;
        margin-top: 8px;
    }

    /* ============================
       BOTTOM BAR
       ============================ */
    .footer-bottom p {
        text-align: center;
        margin: 0 auto;
        padding: 14px 0;
    }
    .footer-contact-right .footer-title {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 22px;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
    align-self: flex-start;
    margin-left: 4px;
    margin-top: -70px;
}
}

@media (max-width: 600px) {
  /* Ensure CONTACT button is clickable */
  .footer-contact-right  {
    display: block !important;
    pointer-events: auto !important;
    z-index: 999 !important;
    position: relative;
  }
  .footer-links-left .footer-heading,
  .footer-links-left .footer-link {
    text-align: center !important;
    margin-left: 0 !important;
  }

  /* Prevent parent containers from blocking clicks */
  .footer-contact-right,
  .footer-contact-right * {
    pointer-events: auto !important;
  }

  /* Optional: keep dropdown reveal logic */
  .footer-contact-right.active .footer-link-contact {
    display: block !important;
  }
}
@media (max-width: 600px) {
  .footer-contact-right .footer-link-contact {
    display: none !important;
  }
}
@media (max-width: 600px) {
  footer a[href="/DealerPage/ContactUs.html"] {
    display: none !important;
  }
}

@media (max-width: 768px) {
    .eco-hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 80px; /* clears the fixed header */
        box-sizing: border-box;
    }

    .eco-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: calc(100vh - 80px); /* ensures true centering below header */
        text-align: center;
    }

    .eco-title {
        font-size: 2.8rem;
        line-height: 1.1;
        transform: translateY(40px); /* smaller animation offset */
    }

    .eco-subtitle {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
}

.features-list strong {
    font-family: "Montserrat", sans-serif; /* or your preferred font */
    font-size: 1.15rem;                    /* larger title size */
    font-weight: 800;                      /* heavier for emphasis */
    color: var(--brand-lightpurple);       /* your purple accent */
    letter-spacing: 0.4px;                 /* subtle premium spacing */
    display: block;                        /* puts title on its own line */
    margin-bottom: 4px;                    /* spacing before description */
}

@media (max-width: 768px) {

  /* Center the track inside the wrapper */




  .gallery-title, .section-title {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}
}

@media (max-width: 768px) {

  /* Keep horizontal scroll but visually center the cards */
  .carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .carousel-wrapper::-webkit-scrollbar {
    display: none;
  }

  .carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    scroll-behavior: smooth;
    justify-content: flex-start; /* keep scrollable row */
  }

  .carousel-card {
    flex: 0 0 auto;
    min-width: 240px;
    scroll-snap-align: center;
    margin: 0 auto; /* centers each card visually */
  }

  /* Center the title text under each card */
  .carousel-card h3 {
    text-align: center;
    margin-top: 12px;
  }

  /* Center dots under carousel */
  .carousel-dots {
    justify-content: center;
  }
}







/* ============================================
   FOOTER — CENTERED LAYOUT FOR LARGE SCREENS
============================================ */
@media (min-width: 1600px) {

  .impermitek-footer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    padding: 70px 100px;
    text-align: center;
  }

  .footer-col,
  .footer-brand,
  .footer-right {
    flex: 1;
    max-width: 420px;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-links-left {
    align-items: left;
    text-align: left;
    padding-left: 0;
  }

  .footer-right {
    align-items: center;
    text-align: center;
  }

  .footer-contact-right {
    align-items: flex-start;
    transform: translateY(99px);
    text-align: left;
  }

  /* 🚫 Hide ONLY the stray underlined link */
  .footer-contact-right a[href="/DealerPage/ContactUs.html"]:not(.footer-link-contact):not(.footer-title) {
    display: none !important;
  }
  .footer-links-left .footer-heading, .footer-links-left .footer-link {
    text-align: left !important;
    margin-left: 0 !important;
}



  /* ✅ CONTACT title — match QUICK LINKS */
  .footer-contact-right .footer-title {
    display: block !important;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    text-decoration: none;
    pointer-events: none;   /* not clickable */
    cursor: default;
    text-align: left;
    align-self: flex-start;
  }

  /* ✅ Purple Contact button */
  .footer-link-contact {
    display: inline-block !important;
    margin-top: 14px;
    background: var(--brand-darkpurple);
    color: white;
    text-align: center;
    font-weight: 700;
    padding: 12px 0;
    border-radius: 5px;
    width: 140px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
    transition: all 0.25s ease;
    letter-spacing: 0.4px;
    text-decoration: none;
  }

  .footer-link-contact:hover {
    background: var(--brand-lightpurple);
    
  }
}
@media (min-width: 1600px) {
  .footer-links-left {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    transform: translateX(160px);
  }

  .footer-links-left .footer-heading,
  .footer-links-left .footer-link {
    text-align: left !important;
    margin-left: 0 !important;
  }
}
}
@media (max-width: 600px) {
    .footer-links-left .footer-heading {
        display: none !important;
    }
     .footer-bottom p { 
        text-align: center; 
        margin: 0 auto; 
        padding: 14px 0;
        color: white; 
    }
}
@media (max-width: 600px) {

  /* --- MOBILE TRACK --- */
  .carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: flex-start;     /* first slide shows first */
    align-items: center;
    transform: translateX(0) !important;
    scroll-behavior: smooth;
  }

  /* --- MOBILE WRAPPER --- */
  .carousel-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .carousel-track > * {
    scroll-snap-align: start;
  }

  /* --- MOBILE CARDS --- */
  .carousel-card {
    flex: 0 0 80%;
    max-width: 80%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  }

  /* --- MOBILE ARROWS --- */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    color: var(--brand-darkpurple);
    font-size: 2rem;
    padding: 10px 5px;
    cursor: pointer;
    z-index: 10;
    opacity: 1 !important;        /* ← FIX: make arrows visible */
  }

  .carousel-btn.prev {
     left: 10px; 
     
    }
  .carousel-btn.next { 
    right: 50px;
     /* ← FIX: rotate next arrow */ 
}

  /* --- DOTS --- */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .carousel-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-lightpurple);
    border: none;
    opacity: 0.6;
  }

  .carousel-dots button.active {
    opacity: 1;
  }
}
@media (max-width: 600px) {

  .carousel-card {
    flex: 0 0 80%;
    max-width: 80%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  }

  .carousel-card img {
    width: 100%;
    height: 220px;        /* ← FIX: same height for all images */
    object-fit: cover;    /* ← FIX: crops perfectly, no distortion */
    object-position: center;
    display: block;
  }
}
