: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   */
/* ========================= */

/* GLOBAL PAGE WRAPPER FOR LARGE SCREENS */
/* GLOBAL PAGE WRAPPER */



body {
  
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  background: black;
  color: black;
  line-height: 1.6;
}
html, body {
    overflow-x: hidden;
    /* Fix iPhone font rendering */
    -webkit-text-size-adjust: 100% !important;
    -webkit-font-smoothing: antialiased !important;
    font-smooth: always !important;
}






h1, h2, h3 {
  font-weight: 300;
  letter-spacing: 0.5px;
}

section {
  padding: 8px 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;
}



/* --------------------------------------------------
   HERO BASE
-------------------------------------------------- */
/* HERO ROOT */
/* ===========================
   HERO ROOT
/* --------------------------------------------------
   HERO
-------------------------------------------------- */
/* --------------------------------------------------
   HERO ROOT
-------------------------------------------------- */
.hero {
    position: relative;
    width: 100vw;
    height: 90vh;          /* full screen */
    overflow: hidden;
    padding-top: 140px;     /* space for title */
    margin: 0;
    text-align: center;
    z-index: 0;
}

/* Background */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/headlinepic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: heroFadeIn 2s ease forwards;
    z-index: 1;
}

@keyframes heroFadeIn {
    to { opacity: 1; }
}

.hero-title {
    position: relative;
    z-index: 10;
    margin-top: 0;
    margin-bottom: 30px;

    display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;

    line-height: 1.4;
    color: white;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(26px, 4vw, 30px);
    letter-spacing: 2px;
    font-family: var(--font-sans);
    background: linear-gradient(90deg, #b48cff, #6a00ff);
    -webkit-background-clip: text;
    text-shadow: 0 4px 2px rgb(0, 0, 0);

    opacity: 0;                 /* start invisible */
    animation: fadeIn 4s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;            /* no scale */
    }
    100% {
        opacity: 1;            /* no scale */
    }
}


/* --------------------------------------------------
   SLIDESHOW (FULL WIDTH + FULL HEIGHT UNDER TITLE)
-------------------------------------------------- */
.inside-hero {
    position: absolute;
    top: 200px;                     /* adjust this to move slideshow up/down */
    left: 0;
    width: 100vw;
    height: calc(100vh - 90px);    /* fills remaining screen */
    z-index: 4;
}

.slideshow {
    width: 100vw;
    height: 90%;
    overflow: hidden;
    border: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .slide-1 { background-image: url('images/Reviewed\ Image\ 1.png') !important; }
    .slide-2 { background-image: url('images/Reviewed\ Image\ 2.png') !important; }
    .slide-3 { background-image: url('images/Reviewed\ Image\ 3.png') !important; }
    .slide-4 { background-image: url('images/Reviewed\ Image\ 4.png') !important; }
    .slide-5 { background-image: url('images/Reviewed\ Image\ 5.png') !important; }
}



@media (max-width: 768px) {

    /* MOBILE SLIDES — override inline desktop images */
    .slideshow .slide:nth-child(1) {
        background-image: url('images/slide1.webp') !important;
    }

    .slideshow .slide:nth-child(2) {
        background-image: url('images/slide\ 2.png') !important;
    }

    .slideshow .slide:nth-child(3) {
        background-image: url('images/slide\ 3.png') !important;
    }

    .slideshow .slide:nth-child(4) {
        background-image: url('images/slide\ 4.png') !important;
    }

    .slideshow .slide:nth-child(5) {
        background-image: url('images/slide\ 5.webp') !important;
    }
}

/* BRAND INTRO — BASE */
.brand-intro {
    position: relative;
    padding-top: 0 !important;
    background: #000 !important;
    color: #fff;
    overflow: hidden;
    isolation: isolate; /* prevents hero bleed */
}

/* 🔥 DARK OVERLAY FOR PHONES ONLY */
@media (max-width: 768px) {
    .brand-intro::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #000; /* pure black overlay */
        opacity: 0.95; /* adjust darkness */
        z-index: 1;
    }

    /* Make sure all content stays ABOVE the overlay */
    .brand-intro > * {
        position: relative;
        z-index: 2;
    }
}







/* Make sure content sits ABOVE the dark overlay */
.intro-container {
    position: relative;
    z-index: 2;
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 35px;
}

/* LOGO */
.intro-logo {
    height: 200px;
    flex-shrink: 0;
    margin: 0;
    border: 3px solid var(--brand-darkpurple);
    opacity: 0;
    animation: fadeInLeft 1.2s ease-out forwards;
    animation-delay: 0.1s;
}

/* TEXT BLOCK */
.intro-wrapper {
    flex: 1;
    margin: 0;
    width: auto;
    text-align: left;
    line-height: 1.7;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 1; /* full brightness */
    color: white; /* ensure bright text */
    animation: fadeInLeft 1.4s ease-out forwards;
    animation-delay: 0.3s;

    display: flex;
    align-items: center;
    padding: 20px 25px;
}

.intro-inline-img {
    height: 260px;
    width: auto;
    margin-right: 20px;
    flex-shrink: 0;

    border-radius: 10px; /* adjust to taste */
    border: 2px solid rgb(249, 248, 251);

   
}


.intro-text p {
    margin: 0;
}


/* CONTACT BUTTON */
.contact-link {
    display: flex;
    font-weight: 800;
    background: var(--brand-darkpurple);
    padding: 12px;
    width: 100px;
    margin-left: 74px;
    margin-top: -px;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.25s ease;
}

.contact-link:hover {
    color: white;
}

/* DEALER LINK */
.dealer-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--brand-darkpurple);
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.25s ease;
}

.dealer-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}
/* INLINE CONTACT LINK */
.inline-contact {
    color: white;
    font-weight: 800;
    font-size: 1.4rem;

    text-decoration: none;

}

.inline-contact:hover {
    color: var(--brand-darkpurple);
}

/* INTRO PHOTO INSIDE CONTAINER */
.intro-photo {
    height: 260px;
    width: auto;
    border: 3px solid var(--brand-darkpurple);
    object-fit: cover;
    opacity: 0;
}

.fade-from-top.visible {
    animation: fadeInFromTop 1.6s ease-out forwards;
    animation-delay: 0.5s;
}




/* Fade from top */
@keyframes fadeFromTop {
    0% {
        opacity: 0;
        transform: translateY(-60vh);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-from-top.visible {
    animation: fadeFromTop 1.2s ease-out forwards;
}


/* Slide from right */
@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(60vh);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-from-right.visible {
    animation: slideFromRight 1.2s ease-out forwards;
}
.intro-inline-img,
.intro-text {
    opacity: 0;
    animation: none;
}



/* ============================================
   WHY CHOOSE US SECTION
============================================ */

.why-choose-us {
    position: relative;
    padding: 60px 40px;
    overflow: hidden;
}

/* FLOWING BACKGROUND */
.why-flow-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/flip1edit.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.6);
    z-index: 1;
}

/* OVERLAY */
.why-flow-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.45); /* ← increase this number for darker */
}


/* CONTENT ABOVE EVERYTHING */
.why-title,
.flip-grid {
    position: relative;
    z-index: 3;
}

/* TITLE */
.why-choose-us h2 {
    text-align: center;
    font-size: 4.4rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-sans);
    margin-top: 40px;

    opacity: 0;
    transform: translateX(-80px);
}

/* Title animates ONLY when scroll trigger adds .visible */
.why-title.visible {
    animation: whySlideLeft 1.1s ease-out forwards;
    animation-delay: 0.2s;
}


/* SUBTITLE */
.why-title {
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
}

.why-title .white { color: white; }
.why-title .purple { color: white; }

/* GRID */
.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;

    opacity: 0;
    animation: whySlideUp 1.2s ease-out forwards;
    animation-delay: 0.45s;
}

/* CARD WRAPPER */
.flip-card {
    width: 100%;
    height: 240px;
    perspective: 1200px;
    position: relative;
    border-radius: 3px;
    border: none;

    box-shadow:
        0 0 6px rgba(255, 255, 255, 0.35),
        0 0 12px rgba(160, 120, 255, 0.25),
        inset 0 0 8px rgba(255, 255, 255, 0.15);

    overflow: hidden;

    opacity: 0; /* base state for scroll animation */
}

/* CARD ANIMATIONS — ALTERNATING */
.flip-card:nth-child(1).visible {
    animation: whySlideLeft 1s ease-out forwards;
    animation-delay: 0.55s;
}

.flip-card:nth-child(2).visible {
    animation: whySlideRight 1s ease-out forwards;
    animation-delay: 0.70s;
}

.flip-card:nth-child(3).visible {
    animation: whySlideUp 1s ease-out forwards;
    animation-delay: 0.85s;
}

.flip-card:nth-child(4).visible {
    animation: whySlideLeft 1s ease-out forwards;
    animation-delay: 1.00s;
}

.flip-card:nth-child(5).visible {
    animation: whySlideRight 1s ease-out forwards;
    animation-delay: 1.15s;
}

.flip-card:nth-child(6).visible {
    animation: whySlideUp 1s ease-out forwards;
    animation-delay: 1.30s;
}

/* INNER FLIP */
.flip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.flip-card:hover .flip-inner {
    transform: rotateX(180deg);
}

/* FRONT + BACK */
.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 20px;
    border-radius: 3px;

    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    text-align: center;
    font-size: 22px;
    font-weight: 600;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    z-index: 2;
}

.flip-back {
    transform: rotateX(180deg);
}

/* ICONS */
.why-icon {
    width: 80px;
    height: 90px;
    object-fit: contain;
}
.why-title {
    opacity: 0;
    transform: translateX(-80px);
}

.why-title.visible {
    animation: whySlideLeft 1.1s ease-out forwards;
    animation-delay: 0.2s;
}
.why-title {
    opacity: 0;
    transform: translateX(-80px);
}

.why-title.visible {
    animation: whySlideLeft 1.1s ease-out forwards;
    animation-delay: 0.2s;
}



/* ============================================
   KEYFRAMES
============================================ */

/* Slide in from left */
@keyframes whySlideLeft {
    0% { opacity: 0; transform: translateX(-80px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Slide in from right */
@keyframes whySlideRight {
    0% { opacity: 0; transform: translateX(80px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Slide upward */
@keyframes whySlideUp {
    0% { opacity: 0; transform: translateY(80px); }
    100% { opacity: 1; transform: translateY(0); }
}




/* ============================
   SOLUTIONS GALLERY SECTION
============================ */

.metal-3d-gallery {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

/* SYSTEM GALLERY BACKGROUND */
.system-gallery-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/flip1.JPG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.55);
  z-index: 1;

  opacity: 0;
}
.system-gallery-bg.visible {
  animation: fadeUp 1.2s ease-out forwards;
}

/* OVERLAY */
.gallery-overlay {
  position: absolute;
  inset: 0;
  
  z-index: 2;

  opacity: 0;
}
.gallery-overlay.visible {
  animation: fadeUp 1.2s ease-out forwards;
}

/* CTA BUTTON */
.gallery-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;

  opacity: 0;
}
.gallery-cta.visible {
  animation: fadeUp 1s ease-out forwards;
}

.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);
}

/* SPACING */
.metal-gallery {
  margin-top: 0 !important;
  padding-top: 40px;
}
.metal-gallery .gallery-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* BACKGROUND */
.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;
}

.white { color: white; }

.purple {
  background: linear-gradient(90deg, white);
  -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;

  opacity: 0;
}
.metal-gallery .gallery-summary.visible {
  animation: fadeUp 1s ease-out forwards;
}

/* 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;

  opacity: 0;
}
.gallery-title.visible,
.section-title.visible {
  animation: fadeUp 1s ease-out forwards;
}

/* PARAGRAPHS */
.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;

  opacity: 0;
}
.metal-gallery p.visible {
  animation: fadeLeft 1s ease-out forwards;
}
.metal-gallery,
.next-section-class {
  border: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.previous-section-class {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* ============================
   CAROUSEL WRAPPER
============================ */

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  opacity: 0;
}
.carousel-wrapper.visible {
  animation: fadeUp 1s ease-out forwards;
}

.carousel-track {
  display: flex;
  flex-direction: row;       /* horizontal layout */
  overflow-x: auto;          /* enable horizontal scroll */
  overflow-y: hidden;        /* disable vertical scroll */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* smooth swipe on mobile */
  touch-action: pan-x;       /* allow horizontal swipe only */
  gap: 20px;
}


.carousel-card {
  flex: 0 0 auto;                /* prevent shrinking */
  scroll-snap-align: start;      /* snap each card to start */
  width: 260px;                  /* adjust per design */
  border-radius: 8px;
  background: black;
  text-align: center;
  transition: transform 0.3s ease;
}

.carousel-card img {
  width: 100%;
  border-radius: 8px;
}

.carousel-card:hover {
  transform: scale(1.03);
}

/* Hide scrollbar for a cleaner look */
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card.visible {
  animation: fadeUp 0.9s ease-out forwards;
}

/* Stagger */
.carousel-card:nth-child(1).visible { animation-delay: 0.15s; }
.carousel-card:nth-child(2).visible { animation-delay: 0.30s; }
.carousel-card:nth-child(3).visible { animation-delay: 0.45s; }
.carousel-card:nth-child(4).visible { animation-delay: 0.60s; }
.carousel-card:nth-child(5).visible { animation-delay: 0.75s; }
.carousel-card:nth-child(6).visible { animation-delay: 0.90s; }

.carousel-card:hover {
  transform: translateY(-10px);
}

/* CARD IMAGE */
.carousel-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 3px;
}

/* CARD TITLE */
.carousel-card h3 {
  margin-top: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
}
.carousel-card h3:hover{
    color: var(--brand-lightpurple);
}

/* ============================
   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: 4;

  opacity: 0;
}
.carousel-btn.visible {
  animation: fadeUp 0.8s ease-out forwards;
}

.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;

  opacity: 0;
}
.carousel-dots.visible {
  animation: fadeUp 0.8s ease-out forwards;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}
.carousel-dot.active {
  background: var(--brand-darkpurple);
  transform: scale(1.2);
}

/* ============================
   KEYFRAMES
============================ */

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-60vh);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeScale {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes titleColorFade {
  0% {
    opacity: 0;
    color: white;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    color: var(--brand-darkpurple); /* final color */
    transform: translateX(0);
  }
}
.gallery-title.visible,
.section-title.visible {
  animation: titleColorFade 1.2s ease-out forwards;
}


.metal-gallery .gallery-summary {
  opacity: 0;
}

.metal-gallery .gallery-summary.visible {
  animation: fadeLeft 1s ease-out forwards;
}


/* --------------------------------------------------
   BROCHURE CTA
-------------------------------------------------- */
/* ================================
   BROCHURE SECTION — IMPERMITEK STYLE
================================ */

.brochure-section {
    background: white;
    padding: 80px 40px;
    width: 100%;
    margin: 8px auto;
    box-shadow: 0 0 40px rgba(0,0,0,0.45);
}

.brochure-inner {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* ================================
   IMAGE — SLIDE FROM TOP
================================ */

.brochure-image img {
    width: 340px;
    border-radius: 6px;
   

    opacity: 0;
    transform: translateY(-80px);
}

.brochure-image.visible img {
    animation: brochureImgDown 1s ease-out forwards;
}

/* ================================
   RIGHT CONTENT
================================ */

.brochure-info {
    flex: 1;
    min-width: 300px;
}

/* ================================
   TITLE — SLIDE FROM LEFT
================================ */

.brochure-title {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-sans);
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.1;

    opacity: 0;
    transform: translateX(-80px);
}

.brochure-title.visible {
    animation: brochureTitleLeft 1s ease-out forwards;
}

/* Title colors */
.brochure-title .light {
    display: block;
    color: var(--brand-darkpurple);
}

.brochure-title .dark {
    display: block;
    color: var(--brand-darkpurple);
}

/* ================================
   SUBTITLE — SLIDE FROM BOTTOM
================================ */

.brochure-subtitle {
    font-size: 1.2rem;
    font-family: var(--font-sans);
    font-weight: 550;
    letter-spacing: 2px;
    color: black;
    margin-bottom: 20px;

    opacity: 0;
    transform: translateY(60px);
}

.brochure-subtitle.visible {
    animation: brochureTextUp 1s ease-out forwards;
}

/* ================================
   PARAGRAPHS — SLIDE FROM BOTTOM
================================ */

.brochure-text {
    font-size: 1rem;
    font-family: var(--font-sans);
    color: black;
    font-weight: 400;
    line-height: 1.6;
    margin-right: 60px;
    margin-bottom: 18px;

    opacity: 0;
    transform: translateY(60px);
}

.brochure-text.visible {
    animation: brochureTextUp 1s ease-out forwards;
}

/* ================================
   BUTTON
================================ */

.brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: var(--brand-darkpurple);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-sans);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;

    opacity: 0;
    transform: translateY(60px);
}

.brochure-btn.visible {
    animation: brochureTextUp 1s ease-out forwards;
}

.brochure-btn:hover {
    background: #a56bff;
    transform: translateY(-3px);
}


/* ================================
   KEYFRAMES
================================ */

@keyframes brochureImgDown {
    0% { opacity: 0; transform: translateY(-80vh); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes brochureTitleLeft {
    0% { opacity: 0; transform: translateX(-80vh); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes brochureTextUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------
   BRAND STATEMENT
-------------------------------------------------- */
.brand-statement {
    padding: 10px 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: -22px;
    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); }
}

.footer-bottom p {
        text-align: center;
        margin: 0 auto;
        padding: 14px 0;
        color: white;
        font-size: 0.85rem;
    }





/* ============================================
   MAIN FOOTER — 3 COLUMN LAYOUT
   LEFT = CONTACT
   CENTER = LOGO + DESCRIPTION
   RIGHT = QUICK LINKS + SOCIALS
============================================ */
/* ============================================
   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;
}

/* ============================================
   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) {

    /* Stack headline lines vertically + fix positioning */
/* MOBILE HEADLINE — FORCE ALL 3 LINES CENTERED */
.slide-headline {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 9999;
}

/* Nuke desktop positioning per line */
.slide-headline .line,
.slide-headline .one,
.slide-headline .two,
.slide-headline .three {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    display: block;
    margin: 0 auto 6px;
    font-size: 1.4rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
}



}



/* ============================================================
   HERO
============================================================ */

/* ---------- Desktop (1400px+) ---------- */
@media (min-width: 1400px) {

    .hero {
        padding-top: 40px;
        height: 900px;
    }

    .slideshow {
        width: 1200px;
        height: 620px;
    }


    .inside-hero {
        bottom: 80px;
    }

    .slide-headline {
        right: 320px;
        top: 60px;
    }

    .slide-headline .line {
        font-size: 2rem;
        margin: 0 0 16px 0;
    }
    .intro-inline-img {
        height: 400px;
    width: auto;
    margin-right: 20px;
    flex-shrink: 0;
    }
}

/* ============================================================
   BRAND INTRO
============================================================ */

/* ---------- Desktop (1400px+) ---------- */
@media (min-width: 1400px) {

    .brand-intro {
        background-size: cover;
        background-position: center;
        padding: 120px 4px;
    }

    .intro-logo {
        height: 240px;
    }

    .intro-wrapper {
        font-size: 1.35rem;
        line-height: 1.8;
    }

    .intro-photo {
        height: 300px;
    }
    
}

/* ---------- Medium Desktop (under 1280px) ---------- */
@media (max-width: 1280px) {

    .intro-container {
        width: 92%;
        gap: 30px;
    }

    .intro-wrapper {
        padding: 20px 22px;
    }

    .intro-inline-img {
        height: 270px;
    }
}

/* ---------- Mobile (under 600px) ---------- */
@media (max-width: 600px) {

    .brand-intro {
        padding: 40px 10px;
        background-size: cover;
        background-position: center;
    }
    

    .intro-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        width: 100%;
    }

    .intro-wrapper {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 10px;
    }

    

    .intro-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
    }

    .contact-link {
        margin-left: 0;
        width: 120px;
        padding: 10px;
        font-size: 0.9rem;
    }
}
@media (max-width: 768px) {

    /* HERO — remove all shadow bleed */
    .slideshow {
        box-shadow: none !important;
        filter: none !important;
    }

    /* HERO BACKGROUND — brighten bottom so it doesn't cast a shadow */
    .hero-bg {
        filter: brightness(1.35) !important;
    }

    /* HERO SPACING — ensure clean separation */
    .hero {
        padding-bottom: 10px !important;
        margin-bottom: 0 !important;
    }

    /* HEADLINE — centered, stacked */
    .slide-headline {
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        text-align: center;
        z-index: 20;
    }

    .slide-headline .line {
        display: block;
        margin: 6px 0;
        font-size: 1.3rem;
        font-weight: 600;
        font-style: italic;
        opacity: 0;
        transform: translateY(10px);
        animation: headlineInMobile 0.7s ease forwards;
        animation-play-state: paused;
    }

    .slide-headline.animate .line {
        animation-play-state: running;
    }

    @keyframes headlineInMobile {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* BRAND INTRO — overlay behind content */
    .brand-intro {
        position: relative;
        z-index: 0;
        padding: 50px 20px;
        background: black;
        background-size: 1200px;
        background-position: center top;
    }

    .brand-intro::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45) !important; /* lighter */
        z-index: -1 !important; /* behind everything */
    }

    /* PAIL IMAGE — now truly above overlay */
    .intro-inline-img {
        position: relative;
        z-index: 5;
        filter: brightness(1.25) contrast(1.05);
        margin: 0 auto 15px auto;
        display: block;
    }

    /* BRAND INTRO LAYOUT */
    .intro-container {
        display: block;
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .intro-wrapper {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0;
        margin: 0 auto;
    }

    .intro-photo {
        height: 200px;
        margin: 20px auto 0 auto;
        display: block;
        border: 3px solid var(--brand-darkpurple);
    }

    .contact-link {
        width: 140px;
        margin: 20px auto 0 auto;
        padding: 12px;
        font-size: 1rem;
    }
}


/* ============================================================
   GALLERIES
============================================================ */

/* ---------- Desktop (1400px+) ---------- */
@media (min-width: 1400px) {

    .metal-3d-gallery,
    .metal-gallery {
        padding: 120px 0;
    }

    .system-gallery-bg,
    .metal-gallery-bg {
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }

    .gallery-title,
    .section-title {
        font-size: 5rem;
    }

    .gallery-title:hover {
        color: var(--brand-darkpurple);
    }

    .metal-gallery .gallery-summary,
    .metal-gallery p {
        font-size: 1.45rem;
        max-width: 1200px;
    }
}

/* ============================================================
   CAROUSEL
============================================================ */

/* ---------- Desktop (1400px+) ---------- */
@media (min-width: 1400px) {

    .carousel-wrapper {
        max-width: 1500px;
    }

    .carousel-track {
        gap: 30px;
    }

    .carousel-card {
        min-width: 340px;
        padding: 26px;
    }

    .carousel-card img {
        height: 300px;
    }

    .carousel-btn.prev {
        left: -10px;
    }

    .carousel-btn.next {
        right: -10px;
    }
}

/* --------------------------------------------------
   HERO — PHONE MEDIA ONLY
-------------------------------------------------- */
@media (max-width: 600px) {

    /* HERO HEIGHT */
    .hero {
        position: relative;
        height: 420px;
        overflow: hidden;
    }

    /* BACKGROUND IMAGE */
    .hero-bg {
        position: absolute;
        inset: 0;
        background-image: url('images/headlinepic.png');
        background-size: cover;
        background-position: center;
        filter: brightness(1.9); /* remove darkness */
        z-index: 1;
    }

    /* REMOVE ANY DARK OVERLAY */
    .hero-overlay {
        display: none !important;
    }

    /* SLIDESHOW WRAPPER */
    .inside-hero {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        display: flex;
        justify-content: center;
        z-index: 4;
    }

    /* SLIDESHOW — REMOVE DARK LINE (shadow) */
    .slideshow {
        width: 95%;
        height: 250px;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: none !important; /* THIS removes the dark band */
    }

    /* SLIDES */
    .slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 0.6s ease;
    }

    .slide.active {
        opacity: 1;
    }

    /* --------------------------------------------------
       HEADLINE — VISIBLE, CENTERED, ABOVE IMAGE
    -------------------------------------------------- */
    .slide-headline {
        position: absolute;
        top: 20px; /* sits above slideshow */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        text-align: center;
        z-index: 20;
        pointer-events: none;
    }

    .slide-headline .line {
        display: inline-block;
        font-size: 1.2rem;
        font-weight: 600;
        font-style: italic;
        color: white;
        margin: 0 6px;

        opacity: 0;
        transform: translateY(10px);
        animation: headlineInMobile 0.7s ease forwards;
        animation-play-state: paused;
    }

    .slide-headline.animate .line {
        animation-play-state: running;
    }

    .slide-headline .line.one  { animation-delay: 0.15s; }
    .slide-headline .line.two  { animation-delay: 0.35s; }
    .slide-headline .line.three{ animation-delay: 0.55s; }

    @keyframes headlineInMobile {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* --------------------------------------------------
   PHONE MEDIA — STOP DARK LINE BEFORE BRAND INTRO
-------------------------------------------------- */
@media (max-width: 600px) {

    /* Remove any leftover shadow from slideshow */
    .slideshow {
        box-shadow: none !important;
    }

    /* Ensure hero ends cleanly */
    .hero {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Add a clean white buffer BEFORE Brand Intro */
    .brand-intro {
        margin-top: 20px !important;   /* pushes intro down */
        padding-top: 20px !important;  /* creates clean separation */
        background-color: #ffffff !important; /* ensures no dark bleed */
    }
}

/* --------------------------------------------------
   BRAND INTRO — PHONE MEDIA ONLY
-------------------------------------------------- */
@media (max-width: 600px) {

    .brand-intro {
        position: relative;
        padding: 50px 20px; /* tighter for phone */
        background: url('images/headlinepicflip.PNG') center/cover no-repeat;
        background-size: 1500px; /* smaller so image fits better */
        color: white;
        overflow: hidden;
        text-align: center; /* center everything on phone */
    }

    

    /* CONTENT WRAPPER */
    .intro-container {
        position: relative;
        z-index: 2;
        width: 100%;
        margin: 0 auto;
        display: block; /* stack vertically */
        text-align: center;
    }

    /* LOGO */
    .intro-logo {
        height: 140px;
        margin: 0 auto 20px auto;
        border: 3px solid var(--brand-darkpurple);
        animation: fadeInLeft 1s ease-out forwards;
    }

    /* TEXT BLOCK */
    .intro-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
        display: block;
        text-align: center;
        font-size: 1rem;
        line-height: 1.6;
        animation: fadeInLeft 1.2s ease-out forwards;
    }

    /* INLINE IMAGE (pail) */
    .intro-inline-img {
        height: 220px;
        margin: 0 auto 15px auto;
        display: block;
    }

    .intro-text p {
        margin: 0 0 12px 0;
    }

    /* CONTACT BUTTON */
    .contact-link {
        margin: 20px auto 0 auto;
        width: 140px;
        padding: 0;
        font-size: 1rem;
        display: flex;
        justify-content: center;
    }

    /* DEALER LINK */
    .dealer-link {
        font-size: 1.1rem;
        margin-top: 20px;
        display: inline-block;
    }

    /* INLINE CONTACT LINK */
    .inline-contact {
        font-size: 1.2rem;
        color: white;
    }

    /* INTRO PHOTO */
    .intro-photo {
        height: 200px;
        width: auto;
        margin: 20px auto 0 auto;
        border: 3px solid var(--brand-darkpurple);
        display: block;
        animation: fadeInLeft 1.4s ease-out forwards;
    }
}






/* ---------- Solutions Gallery (under 600px) ---------- */
@media (max-width: 600px) {

  /* Section padding tightened */
  .metal-gallery {
    padding: 40px 20px;
  }

  /* Horizontal title (NOT stacked) */
  .gallery-title,
  .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    margin-bottom: 24px;
  }

  /* Background behaves properly on mobile */
  .system-gallery-bg,
  .metal-gallery-bg {
    background-attachment: scroll;
    filter: brightness(0.55);
  }

  /* Summary paragraph */
  .metal-gallery .gallery-summary,
  .metal-gallery p {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 100%;
    padding-left: 10px;
    border-left-width: 4px;
    margin-bottom: 24px;
  }

  /* GRID / CAROUSEL CARDS SHRINK */
  .carousel-track {
    gap: 12px;
  }

  .carousel-card {
    min-width: 160px;
    padding: 12px;
    border-radius: 4px;
  }

  .carousel-card img {
    height: 140px;
    border-radius: 4px;
  }

  .carousel-card h3 {
    font-size: 1rem;
    margin-top: 8px;
    letter-spacing: 0.5px;
  }

  /* Arrows reposition */
  .carousel-btn.prev,
  .carousel-btn.next {
    top: 100px;
    font-size: 1.4rem;
    padding: 6px 4px;
  }

  /* Dots shrink */
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
}


/* ---------- Why Choose Us (under 600px) ---------- */
@media (max-width: 600px) {

  /* Section container */
  .why-choose-us {
    padding: 40px 20px;
    text-align: center;
  }

  /* Title — horizontal layout */
  .why-choose-us h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 30px;
  }

  /* If your title uses spans for color */
  .why-title .white,
  .why-title .purple {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 800;
  }

  /* Grid — two cards side by side */
  .flip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  /* Card sizing */
  .flip-card {
    height: 180px;
    border-radius: 6px;
    box-shadow:
      0 0 6px rgba(255, 255, 255, 0.25),
      0 0 12px rgba(160, 120, 255, 0.2),
      inset 0 0 8px rgba(255, 255, 255, 0.1);
  }

  /* Inner text scaling */
  .flip-front,
  .flip-back {
    font-size: 0.9rem;
    padding: 14px;
  }

  /* Icon scaling */
  .why-icon {
    width: 60px;
    height: 70px;
    margin-bottom: 6px;
  }

  /* Background flow remains fixed */
  .why-flow-bg {
    background-attachment: scroll;
    filter: brightness(0.55);
  }
}


@media (max-width: 600px) {

    /* Brochure section container */
    .brochure-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px 0;
        margin: 0 auto;
        width: 100%;
    }

    /* Inner wrapper */
    .brochure-inner {
        display: flex;
        flex-direction: column; /* enforce vertical order */
        align-items: center;
        justify-content: center;
        gap: 22px;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    /* 1️⃣ Title */
    .brochure-title {
        order: 1;
        font-size: 1.8rem;
        line-height: 1.2;
        margin: 0 auto;
        text-align: center;
    }

    /* 2️⃣ Subtitle */
    .brochure-subtitle {
        order: 2;
        font-size: 1rem;
        margin: 6px auto 0 auto;
        text-align: center;
        letter-spacing: 1px;
    }

    /* 3️⃣ Image */
    .brochure-image {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .brochure-image img {
        width: 85%;
        max-width: 260px;
        display: block;
        margin: 0 auto;
    }

    /* 4️⃣ Text */
    .brochure-text {
        order: 4;
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 90%;
        margin: 0 auto 10px auto;
        text-align: center;
    }

    /* 5️⃣ Button — ALWAYS LAST */
    /* 5️⃣ Button — ALWAYS LAST */
.brochure-btn {
    order: 5 !important; /* move below everything */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 260px;
    padding: 12px 20px;
    font-size: 1rem;
    margin: 10px auto 0 auto;
}


}
@media (max-width: 600px) {

    /* Stack the two main columns vertically */
    .brochure-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Image FIRST */
    .brochure-image {
        order: 1;
    }

    /* All text + button SECOND */
    .brochure-info {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    /* Inside .brochure-info, reorder elements */
    .brochure-title { order: 1; }
    .brochure-subtitle { order: 2; }
    .brochure-text { order: 3; }
    .brochure-btn { order: 4; } /* button ALWAYS last */
}








@media (min-width: 1440px) {
    .brochure-inner {
        justify-content: center; /* centers the whole block horizontally */
        gap: 70px; /* optional: more breathing room on big screens */
    }
}
@media (min-width: 1440px) {
    .brochure {
        display: flex;
        justify-content: center;
    }
}
@media (min-width: 1440px) {
    .brochure-section {
        display: flex;
        justify-content: center; /* centers the whole brochure-inner block */
    }

    .brochure-inner {
        justify-content: center; /* centers the image + text inside */
        max-width: 1400px;       /* prevents it from stretching too wide */
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .brand-intro {
        background: #000 !important;
        background-image: none !important;
        background-color: #000 !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .brand-intro::before,
    .brand-intro::after {
        content: none !important;
        display: none !important;
        background: none !important;
    }
}

@media (max-width: 768px) {

  /* HERO ROOT */
  .hero {
    position: relative;
    width: 100vw;
    height: 50vh;
    overflow: hidden;
    padding-top: 150px;
    margin: 0;
    text-align: center;
  }

  /* BACKGROUND */
  .hero-bg {
    background-position: center top;
    background-size: cover;
    height: 100vh;
  }

  /* TITLE */
  .hero-title {
    font-size: clamp(20px, 5vw, 26px);
    margin-bottom: 10px;
    line-height: 1.25;
    padding: 0 20px;
    z-index: 10;
  }

  /* SLIDESHOW */
  .inside-hero {
    position: absolute;
    top: 250px;
    left: 50%;                 /* 🔥 center anchor */
    transform: translateX(-50%); /* 🔥 perfect centering */
    width: 100vw;              /* FIXED: no more 150vw */
    height: calc(80vh - 240px);
    z-index: 4;
  }

  .slideshow {
    width: 100vw;              /* FIXED: centered width */
    height: 100%;
    overflow: hidden;
    border: none;
    margin: 0 auto;            /* 🔥 ensures centering */
    padding: 0;
    border-radius: 0;
  }

  .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  .slide.active {
    opacity: 1;
  }
}

@media (min-width: 1440px) {

  /* HERO ROOT */
  .hero {
    padding-top: 160px;          /* more breathing room for large screens */
    height: 90vh;               /* full viewport height */
  }

  /* TITLE */
  .hero-title {
    font-size: clamp(28px, 3vw, 42px);
    margin-bottom: 40px;
    letter-spacing: 3px;
  }

  /* SLIDESHOW */
  .inside-hero {
    top: 230px;                  /* aligns slideshow just below title */
    height: calc(100vh - 120px); /* fills remaining space exactly */
  }

  .slideshow {
    width: 100vw;
    height: 90%;
    border-radius: 8px;          /* subtle rounding for premium look */
    overflow: hidden;
  }

  .slide {
    background-position: center top;
    background-size: cover;
  }
}
@media (min-width: 1600px) {

  /* HERO ROOT */
  .hero {
    padding-top: 180px;          /* extra breathing room for very large screens */
    height: 92vh;                /* slightly taller for immersive feel */
  }

  /* TITLE */
  .hero-title {
    font-size: clamp(32px, 2.8vw, 48px);
    margin-bottom: 50px;
    letter-spacing: 3.5px;
  }

  /* SLIDESHOW */
  .inside-hero {
    top: 250px;                  /* aligns slideshow just below title */
    height: calc(100vh - 140px); /* fills remaining space exactly */
  }

  .slideshow {
    width: 100vw;
    height: 120%;
    border-radius: 10px;         /* subtle rounding for premium look */
    overflow: hidden;
  }

  .slide {
    background-position: center top;
    background-size: cover;
  }
}

/* --------------------------------------------------
   SAFARI / APPLE DEVICE FIXES
-------------------------------------------------- */
@supports (-webkit-touch-callout: none) {

  .hero {
    height: -webkit-fill-available;     /* 🔥 fixes Safari viewport bug */
    padding-top: 90px;                  /* balances title spacing */
  }

  .inside-hero {
    top: 200px;                         /* moves slideshow down */
    height: calc(100vh - 280px);        /* keeps full-screen layout */
  }

  .hero-title {
    margin-top: 40px;                   /* ensures title sits below nav */
  }
}
/* ============================================================
   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 0;     /* 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;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


    /* ============================
       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) */
   

    /* CONTACT THIRD (BOTTOM RIGHT BUTTON) */
    .footer-right {
        order: 1;
        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-title:hover {
    background: var(--brand-lightpurple);
    transform: translateY(-2px);
}




  

    /* ============================
       SHOW DROPDOWN CONTENT WHEN ACTIVE
       ============================ */
    




    /* ============================
       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;
        color: white;
        font-size: 0.85rem;
    }
  
}

@media (max-width: 600px) {
  /* Ensure CONTACT button is clickable */

  .footer-links-left ,
  .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;
  }
}



/* ============================================
   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 (min-width: 1600px) {
  .metal-gallery {
    padding-top: 40px !important;   /* reduce from 100px */
    margin-top: -55px !important;
  }
  .intro-wrapper {
    flex: 1;
    margin: 0;
    width: auto;
    text-align: left;
    line-height: 1.7;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 1;
    color: white;
    animation: fadeInLeft 1.4s ease-out forwards;
    animation-delay: 0.3s;
    display: flex;
    align-items: center;
    padding: 33px 35px;

}

}




/* ============================================================
   UNIVERSAL MOBILE FIX — iPhone + Android (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {

    /* NAVIGATION */
    .nav {
        padding: 6px 0;
    }

    .nav-container {
        width: 92%;
        padding: 0;
    }

    .nav-brand img {
        height: 70px;
        margin-left: -10px;
    }

    .nav-contact {
        top: 14px;
        right: 10px;
        gap: 12px;
    }

    .nav-toggle {
        display: flex;
        order: 1;
        margin-right: 10px;
    }

    .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;
    }

    .nav-links.open {
        display: flex;
    }

    .dropdown-menu {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: black;
        padding: 90px 30px 40px;
        display: flex;
        flex-direction: column;
        gap: 28px;
        transform: translateX(-100%);
        opacity: 0;
        transition: transform .45s cubic-bezier(0.25,0.8,0.25,1), opacity .35s ease;
        z-index: 999999;
    }

    .dropdown.open > .dropdown-menu {
        transform: translateX(0);
        opacity: 1;
    }

    /* HERO */
    .hero {
        height: 420px;
        padding-top: 120px;
        overflow: hidden;
    }

    .hero-bg {
        filter: brightness(1.9);
    }

    .slide-headline {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 20;
    }

    .slide-headline .line {
        font-size: 1.2rem;
        font-weight: 600;
        font-style: italic;
        margin: 0 6px;
    }

    .inside-hero {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .slideshow {
        width: 95%;
        height: 250px;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: none !important;
    }

    /* BRAND INTRO */
    .brand-intro {
        margin-top: 20px !important;
        padding: 40px 20px !important;
        background: url('images/headlinepicflip.PNG') center/cover no-repeat !important;
        background-size: 1500px !important;
        color: white;
        text-align: center;
        position: relative;
    }

    .brand-intro::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 1;
    }

    .brand-intro > * {
        position: relative;
        z-index: 2;
    }

    .intro-container {
        display: block;
        width: 100%;
        text-align: center;
    }

    .intro-logo {
        height: 140px;
        margin: 0 auto 20px auto;
    }

    .intro-inline-img {
        height: 220px;
        margin: 0 auto 15px auto;
    }

    .intro-wrapper {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0;
        margin: 0 auto;
    }

    .intro-photo {
        height: 200px;
        margin: 20px auto 0 auto;
        border: 3px solid var(--brand-darkpurple);
    }

    .contact-link {
        width: 140px;
        margin: 20px auto 0 auto;
        padding: 12px;
        font-size: 1rem;
    }

    /* GALLERIES */
    .metal-gallery {
        padding: 40px 20px;
    }

    .gallery-title {
        font-size: 2.2rem;
        margin-bottom: 24px;
    }

    .carousel-card {
        min-width: 160px;
        padding: 12px;
    }

    .carousel-card img {
        height: 140px;
    }

    /* WHY CHOOSE US */
    .why-choose-us {
        padding: 40px 20px;
    }

    .why-choose-us h2 {
        font-size: 2.2rem;
    }

    .flip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .flip-card {
        height: 180px;
    }

    /* BROCHURE */
    .brochure-section {
        padding: 40px 0;
        text-align: center;
    }

    .brochure-inner {
        flex-direction: column;
        gap: 22px;
    }

    .brochure-image img {
        width: 85%;
        max-width: 260px;
    }

    .brochure-text {
        max-width: 90%;
        margin: 0 auto 10px auto;
    }

    .brochure-btn {
        width: 80%;
        max-width: 260px;
        margin: 10px auto 0 auto;
    }
    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;
}
}
#project-support {
  scroll-margin-top: 200px; /* adjust to your header height */
}


/* ============================================================
   iPHONE-SPECIFIC FIXES ONLY
   ============================================================ */
@supports (-webkit-touch-callout: none) {

    /* Fix iPhone viewport height bug */
    .hero {
        height: calc(100vh - 80px) !important;
        min-height: 420px !important;
    }

    /* Fix iPhone absolute positioning drift */
    .slide-headline {
        top: 30px !important;
    }

    /* Fix iPhone background zoom */
    .hero-bg {
        background-position: center top !important;
        background-size: cover !important;
    }

    /* Fix iPhone flexbox spacing */
    .intro-wrapper {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* Fix iPhone animation throttling */
    .fade-from-top,
    .slide-from-right,
    .intro-logo,
    .intro-inline-img,
    .intro-photo {
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
    }

    /* Fix iPhone background-attachment bug */
    .why-flow-bg,
    .system-gallery-bg,
    .metal-gallery-bg {
        background-attachment: scroll !important;
        background-position: center top !important;
    }

    /* Fix iPhone text auto-enlarge */
    body {
        text-size-adjust: 100% !important;
        -webkit-text-size-adjust: 100% !important;
    }
}
/* Hide the mobile QUICK LINKS button */

@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; 
    }
}
