: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: white;
  line-height: 1.6;
}
html, body {
    overflow-x: hidden;
}



h1, h2, h3 {
  font-weight: 300;
  letter-spacing: 0.5px;
}

section {
  padding: 80px 8%;
}
/* --------------------------------------------------
   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 SECTION       */
/* ========================= */
.hero-lowslope {
  position: relative;
  min-height: 110vh; /* controls picture size */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-bottom: 15px;
  padding: 0; /* important */
}

/* BACKGROUND IMAGE */
.hero-lowslope .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/lowslopebackgroundrevised.png'), url('/images/Shield transparent.png');
    background-size: cover, 40%;
    background-position: center, center;
    background-repeat: no-repeat;
    opacity: 0.95;
    height: 120%;
    filter: brightness(1.1);
}

/* CONTENT */
.hero-content {
  position: relative;
  max-width: 900px;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
  color: black;
  font-family: var(--font-sans);
  font-weight: 550;
  margin-bottom: 0; /* FIXED */
}

/* TITLE */
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: black;
  text-align: center;
  font-family: var(--font-sans);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-title .dark {
  color: var(--brand-darkpurple);
}



/* --------------------------------------------------
   BRAND INTRO
-------------------------------------------------- */
.brand-intro {
    position: relative;
    padding: 86px 4px;
    background: url('/images/headlinepicflip.PNG') center/cover no-repeat;
    background-size: 1200px;
    color: white;
    overflow: hidden;
}

/* Dark overlay ONLY on the image */
.brand-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85); /* adjust darkness here */
    z-index: 1;
}

/* 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.3rem;
    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: 360px;      /* make them taller */
    width: 490px;       /* give them a consistent shape */
    object-fit:fill;  /* prevents stretching, crops instead */
    border-radius: 6px; /* optional, looks cleaner */
    margin-right: 20px;
    flex-shrink: 0;
}

.intro-text p {
    margin: 0;
    text-align: left;
}


/* 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: white;
    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;

    text-decoration: none;

}

.inline-contact:hover {
    color: var(--brand-darkpurple);
}

/* INTRO PHOTO INSIDE CONTAINER */
.intro-photo {
    height: 460px;
    width: auto;
    border: 3px solid var(--brand-darkpurple);
    object-fit: cover;
    opacity: 0;
    animation: fadeInLeft 1.6s ease-out forwards;
    animation-delay: 0.5s;
}


/* ========================= */
/*   BRAND INTRO ANIMATIONS  */
/* ========================= */

/* TEXT — slide in from left */
.brand-intro .intro-text {
    opacity: 0;
    transform: translateX(-60px);
}

.brand-intro .intro-text.visible {
    animation: introTextLeft 1s ease-out forwards;
}

@keyframes introTextLeft {
    0% { opacity: 0; transform: translateX(-60vh); }
    100% { opacity: 1; transform: translateX(0); }
}

/* IMAGE — drop down */
.brand-intro .intro-inline-img {
    opacity: 0;
    transform: translateY(-60px);
}

.brand-intro .intro-inline-img.visible {
    animation: introImgDown 1s ease-out forwards;
}

@keyframes introImgDown {
    0% { opacity: 0; transform: translateY(-60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ========================= */
/*     APPLICATIONS INTRO    */
/* ========================= */
/* ========================= */
/*  REDESIGNED APPLICATIONS  */
/* ========================= */

/* SECTION behaves like a hero */
.applications-intro {
    position: relative;
    width: 100%;
    padding: 4rem 0;
    overflow: hidden;
}

/* Background (parallax) */
.applications-intro .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/background\ pic.\ 2jpg.jpg'); /* your IR-26 background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* EXACT SAME as hero */
    filter: brightness(0.6);
    z-index: 1;
}

/* Overlay (same as hero) */
.applications-intro .hero-overlay {
    position: absolute;
    inset: 0;
  
    
    z-index: 2;
}

/* Content above background */
.applications-intro > *:not(.hero-bg):not(.hero-overlay) {
    position: relative;
    z-index: 3;
}

.redesigned-applications {
    padding-top: 40px;
    padding-bottom: 3px;
    margin-bottom: 15px;
    width: 100%;
}

/* TITLES */
.section-title {
    font-size: 3.4rem;
    font-family: var(--font-sans);
    margin-bottom: 20px;
    font-weight: 900;
    color: rgb(192, 8, 8);
    
    padding-top: 80px;
    
}
.section-title .lightpink {
  color: var(--brand-lightpurple);
}

.section-title2 {
    color: var(--brand-lightpurple);
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    text-align: left;
    padding-bottom: 59px;
}

.section-title3 {
    font-size: 3.4rem;
    font-family: var(--font-sans);
    margin-bottom: 20px;
    font-weight: 900;
    color: var(--brand-dark);
    text-align: center;
    padding-top: 20px;
}
.section-title3 .lightpink {
  color: var(--brand-darkpurple);
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 1;
    text-align: center;
    font-weight: 700;
    margin-bottom: 5px;
    color: black;
    border-left: solid 4px var(--brand-darkpurple);
    padding-left: 12px;
    font-family: var(--font-sans);

    max-width: 750px;   /* keeps the line readable */
    margin-left: auto;  /* centers the block */
    margin-right: auto; /* centers the block */
}


.apps-header {
    text-align: center;
    margin-bottom: 10px;
}

/* ========================= */
/*   FLOWING BACKGROUND ENGINE */
/* ========================= */

/* Make the section behave like a hero */
.hero-style-section {
    position: relative;
    width: 100%;
    padding: 4rem 0;
    overflow: hidden;
}

/* FLOWING BACKGROUND (same as Simulated Metal) */
.hero-style-section .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/flip1.JPG'); /* your image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* EXACT SAME BEHAVIOR */
    z-index: 1;
}

/* OVERLAY (same as Simulated Metal) */
.hero-style-section .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.75)
    );
    z-index: 2;
}

/* CONTENT ABOVE BACKGROUND */
.hero-style-section > *:not(.hero-bg):not(.hero-overlay) {
    position: relative;
    z-index: 3;
}
/* ============================= */
/*   GR SYSTEMS HEADER ANIMATION */
/* ============================= */

/* Title slides in from LEFT */
.gr-systems-header .section-title {
    opacity: 0;
    transform: translateX(-60px);
}

.gr-systems-header.visible .section-title {
    animation: grTitleLeft 1s ease-out forwards;
}

@keyframes grTitleLeft {
    0% { opacity: 0; transform: translateX(-60vh); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Paragraph slides in from RIGHT */
.gr-systems-header p {
    opacity: 0;
    transform: translateX(60px);
}

.gr-systems-header.visible p {
    animation: grParagraphRight 1s ease-out forwards;
}

@keyframes grParagraphRight {
    0% { opacity: 0; transform: translateX(60vh); }
    100% { opacity: 1; transform: translateX(0); }
}

@media (min-width: 1700px) {
    .intro-text p {
        font-size: 1.35rem;   /* larger, premium text */
        line-height: 1.9;     /* more breathing room */
        text-align: left;     /* keep your alignment */
        margin: 0;            /* same margin */
    }
    
}
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    touch-action: pan-x;
}

/* hide scrollbar */
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track { scrollbar-width: none; -ms-overflow-style: none; }

.carousel-card {
    flex: 0 0 100%;
    height: 420px;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .carousel-card { height: 260px; }
}







/* ========================= */
/*        APPLICATIONS CARD  */
/* ========================= */


.ir26-applications {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
}

/* Flowing background */
.ir26-applications .flow-bg {
    position: absolute;
    inset: 0;
    background: white; /* or your IR-26 background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(1);
    
    z-index: 1;
}

/* Overlay */
.ir26-applications .flow-overlay {
    position: absolute;
    inset: 0;
    
}

/* Content */
.ir26-applications .ir26-container {
    position: relative;
    z-index: 3;
}
.ir-26-text {
  color: black;
}

.applications-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border-radius: 3px;
}

.apps-text h3 {
    font-size: 2.8rem;
    border-left: 4px solid var(--brand-lightpurple);
    padding-left: 14px;
    font-family: var(--font-sans);
    font-weight: 900;
    margin-top: 40px;
    color: var(--brand-dark);
    text-align: left;
}

.apps-title span {
    font-size: 4rem;
    font-weight: 900;
    color: black;
    display: inline-block;
}

.apps-text p {
    font-size: 1.4rem;
    opacity: 0.85;
    line-height: 1.6;
    text-align: left;
    margin-top: -30px;
    color: black;
    font-family: var(--font-sans);
}

.apps-image img {
    width: 100%;
    height: auto;
    border-radius: 3px;
 
}

/* ============================= */
/*   IR-26 APPLICATIONS ANIMATIONS */
/* ============================= */

/* TITLE — slide from LEFT */
.ir26-text .section-title1 {
    opacity: 0;
    transform: translateX(-60px);
}

.ir26-text.visible .section-title1 {
    animation: irTitleLeft 1s ease-out forwards;
}

@keyframes irTitleLeft {
    0% { opacity: 0; transform: translateX(-60vh); }
    100% { opacity: 1; transform: translateX(0); }
}

/* PARAGRAPH — slide UP from bottom */
.ir26-text p {
    opacity: 0;
    transform: translateY(60px);
}

.ir26-text.visible p {
    animation: irParagraphUp 1s ease-out forwards;
}

@keyframes irParagraphUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

/* WHEEL IMAGE — slide from RIGHT */
.ir26-wheel-block {
    opacity: 0;
    transform: translateX(60px);
}

.ir26-wheel-block.visible {
    animation: irWheelRight 1s ease-out forwards;
}

@keyframes irWheelRight {
    0% { opacity: 0; transform: translateX(60vh); }
    100% { opacity: 1; transform: translateX(0); }
    
}




/* ========================= */
/*        RESPONSIVE         */
/* ========================= */

@media (max-width: 900px) {
    .applications-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}



/* ========================= */
/*     SYSTEM BUILD-UPS      */
/* ========================= */

.gr-systems {
    position: relative;
    padding: 15px 4% 25px; /* EXTREMELY tight */
    overflow: hidden;
}

/* BACKGROUND */
.gr-systems .flow-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/Backgroundlowslope.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.55);
    z-index: 1;
}

.gr-systems .flow-overlay {
    position: absolute;
    inset: 0;
    background: transparent; /* ensure background stays visible */
    z-index: 2;
}

.gr-systems-content {
    position: relative;
    z-index: 3;
}

/* HEADER — ULTRA TIGHT */
.gr-systems-header {
    text-align: center;
    margin-bottom: 8px; /* was 20px */
}

.gr-systems-header h2 {
    font-size: 2.5rem; /* tighter */
    line-height: 2.6rem;
    margin: 0 0 4px 0; /* extremely tight */
    font-weight: 900;
    color: white;

    transform: none; /* remove the huge upward shift */
}

.gr-systems-header .lightpink {
    color: white;
}

.gr-systems-header p {
    font-size: 1.3rem;
    margin: 12px; /* no spacing */

    color: white;
    text-align: center;
}
/* TIGHTEN THE BUILD-UP STACK */
.buildups-2x2 .row {
    margin: 0;              /* remove default spacing */
    padding: 0;             /* remove internal padding */
}

.buildups-2x2 {
    display: flex;
    flex-direction: column;
    gap: 5px;              /* was likely 40–60px; tighten to 20px */
}


/* ========================= */
/*        ROW LAYOUT         */
/* ========================= */

.gr-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.gr-row.reverse {
    direction: rtl;
}

.gr-row.reverse > * {
    direction: ltr;
}
/* INITIAL STATE */
.slide-left,
.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.9s ease-out;
}

.slide-left {
    transform: translateX(-60px);
}

/* WHEN THE ROW IS REVEALED */
.gr-row.reveal.active .slide-left,
.gr-row.reveal.active .slide-right {
    opacity: 1;
    transform: translateX(0);
}



/* ========================= */
/*        IMAGE BLOCK        */
/* ========================= */

.gr-image {
    position: relative;
}

.gr-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
  
}

/* ========================= */
/*        TITLE ABOVE        */
/* ========================= */

.gr-system-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-lightpurple);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================= */
/*        LAYERS LIST        */
/* ========================= */

.gr-layers ul {
    list-style: none;
    padding: 0;
    margin-bottom: -100px;
}

.gr-layers li {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.gr-layer-icon {
    width: 40px;
    height: 40px;
    margin-right: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gr-layer-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(1.4) contrast(1.2);
}

/* ========================= */
/*      DESCRIPTION TEXT     */
/* ========================= */

.gr-systems-description {
    max-width: 900px;
    margin: 60px auto 0;
    color: white;
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.9;
}
/* --------------------------------------------------
   RIGHT-SIDE IMAGE (WHY SECTION)
-------------------------------------------------- */
.why-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-image-wrapper {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    overflow: hidden;
}

.why-right-image {
    width: 100%;
    height: auto;
    transform: translateX(-80px);
    display: block;
    border-radius: 12px;
    
    z-index: 10000; /* ensures it sits above all backgrounds */
    position: relative;
}

/* --------------------------------------------------
   CHOOSE IMPERMITEK SECTION
-------------------------------------------------- */
.choose-impermitek {
    position: relative;
    z-index: 10;          /* lifts entire section above background */
    overflow: visible !important; /* prevents clipping */
}

/* Pail + Roller Image */
.choose-impermitek img {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateX(-120px) scale(1.35);
    z-index: 20000;          /* ensures image is above all layers */
    pointer-events: none;    /* avoids blocking clicks */
    transition: all 0.4s ease;
}

/* Push diagonal pseudo-elements behind */
.choose-impermitek::before,
.choose-impermitek::after {
    z-index: 1 !important;
}

/* --------------------------------------------------
   LARGE SCREEN TUNING (1440PX+)
-------------------------------------------------- */
@media (min-width: 1440px) {
    .choose-impermitek img {
        transform: translateX(-160px) scale(1.5); /* more left + larger */
    }
}
/* --------------------------------------------------
   WHY CHOOSE — LAYOUT
-------------------------------------------------- */
.why-columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: visible;
}

/* --------------------------------------------------
   LEFT SIDE
-------------------------------------------------- */
.why-left {
    flex: 1;
}

/* Desktop list */
.why-desktop-list .why-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.why-icon {
    width: 48px;
    height: 48px;
}

.why-text {
    font-size: 18px;
    line-height: 1.5;
}

/* Mobile rotating version */
.why-rotate-mobile {
    display: none;
}

/* --------------------------------------------------
   RIGHT SIDE — IMAGE WRAPPER
-------------------------------------------------- */
.why-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.why-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    overflow: visible;
}

.why-right-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    transform: translateX(-80px);
    z-index: 5000;
    pointer-events: none;
}

/* --------------------------------------------------
   FORCE IMAGE ABOVE ALL BACKGROUNDS
-------------------------------------------------- */
.why-choose-us,
.why-inner,
.why-columns,
.why-right,
.why-image-wrapper,
.why-right-image {
    position: relative;
    z-index: 999;
}

.why-choose-us::before,
.why-choose-us::after,
.why-inner::before,
.why-inner::after {
    z-index: 1 !important;
}

/* --------------------------------------------------
   LARGE SCREENS (1440PX+)
-------------------------------------------------- */
@media (min-width: 1440px) {

    .why-columns {
        gap: 100px;
    }

    .why-image-wrapper {
        max-width: 650px;
    }

    .why-right-image {
        transform: translateX(-140px) scale(1.35);
    }
}

/* --------------------------------------------------
   MOBILE BEHAVIOR
-------------------------------------------------- */
@media (max-width: 900px) {

    .why-columns {
        flex-direction: column;
        text-align: center;
    }

    .why-desktop-list {
        display: none;
    }

    .why-rotate-mobile {
        display: block;
    }

    .why-right-image {
        transform: translateX(0) scale(1);
        max-width: 300px;
        margin: 0 auto;
    }
}



/* ========================= */
/*     IR-26 APPLICATIONS    */
/* ========================= */
/* ========================= */
/*   REDESIGNED IR‑26        */
/* ========================= */

.redesigned-ir26 {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom: 15px;

    background-image: url('/images/flip3.JPG');
    background-size: cover 90%;
    background-position: center, center;
    background-repeat: no-repeat;
    filter: brightness(1.2);
    overflow: hidden; /* prevents horizontal scroll from background layers */
}

.redesigned-ir26::before {
    content: "";
    position: absolute;
    inset: 0;
   opacity: 0.3;
    z-index: 0;
}

.redesigned-ir26 > * {
    position: relative;
    z-index: 1; /* ensures content stays above overlay */
}
.ir26-wheel-block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.ir26-wheel {
  width: 150%;
  max-width: 480px;
  transform: translateX(-30px);
  box-shadow:
    0 0 40px rgba(120,60,255,0.4),
   
}



.ir26-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ir26-wheel-block {
  margin-top: 30px;
  
  align-self: center;
}


.section-title1 {
    font-size: 3.4rem;
    font-family: var(--font-sans);
    margin-bottom: 20px;
    font-weight: 900;
    color: black;
    
    padding-top: 20px;
}
.section-title1 .lightpink {
  color: var(--brand-darkpurple);
}

.ir26-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    
}

.ir26-text h2 {
    margin-bottom: 20px;
    text-align: center;

}

.ir26-text p {
    font-size: 1.2rem;
    font-family: var(--font-sans);
    opacity: 0.9;
    max-width: 600px;        /* scales better on large screens */
    width: 95%;             /* prevents awkward centering */
    font-weight: 600;
    line-height: 1.6;
    margin: 0 auto 5px;     /* centers the block perfectly */
    padding: 0;              /* removes the right-shift */
    color: black;
    text-align: left;
}


.ir26-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ir26-list li {
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 4px solid var(--brand-lightpurple);
    font-size: 1.1rem;
    font-style: italic;
    font-family: var(--font-sans);
    opacity: 0.9;
    font-weight: 600;
    color: black;
}

.ir26-image img {
    width: 100%;
    height: 450px;
    border-radius: 6px;
    opacity: 0.8;
    
    /* REMOVE these — they break alignment */
    /* margin: 60px; */
    /* padding: -88px; */
    /* margin-top: -150px; */

    /* ADD these instead */
    margin: 0 auto;          /* centers horizontally */
    display: block;          /* required for margin auto to work */
    transform: translateX(-5px); /* pull image left */
    transform: translateY(-128px);
}

    
    


/* Chrome frame (subtle, premium) */
.chrome-frame {
    background: #151515;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        0 0 18px rgba(255,255,255,0.08),
        0 0 32px rgba(150,150,255,0.15);
}
.ir26-images-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.wheel-block img {
  
  object-fit: contain;
  height: 500px;
}


/* Responsive */
@media (max-width: 900px) {
    .ir26-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ir26-list li {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
    }
}


/* ========================= */
/*     ADVANTAGES SECTION    */
/* ========================= */

/* ========================= */
/*   REDESIGNED ADVANTAGES   */
/* ========================= */

.redesigned-advantages {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url('/images/flip4.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.redesigned-advantages::before {
    content: "";
    position: absolute;
    background: rgba(255,255,255,0.25); /* adjust opacity here */
    inset: 0;
    z-index: 0;
}

.redesigned-advantages > * {
    position: relative;
    z-index: 1; /* keeps content above the overlay */
}


.advantages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}
.advantages-description {
    font-size: 1.4rem;
    color: black;
    opacity: 0.9;
    max-width: 900px;
    margin: 20px auto 50px;
    text-align: left;
    border-left: solid 4px var(--brand-darkpurple);
    padding-left: 12px;
    line-height: 1.6;
    
}


.flip-card {
    width: 260px;
    height: 160px;
    perspective: 1000px;
}
.flip-card:last-child {
    order: -1;
}


.flip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background: #111;
    color: white;

    /* subtle chrome glow */
    box-shadow:
        0 0 12px rgba(255,255,255,0.35),
        0 0 25px rgba(180,180,180,0.25),
        inset 0 0 10px rgba(255,255,255,0.15);
}

.flip-front span {
    font-size: 2rem;
    margin-bottom: 8px;
}

.flip-front strong {
    font-size: 1.1rem;
}

.flip-back {
    transform: rotateY(180deg);
    font-size: 0.95rem;
    line-height: 1.4;
}



/* ============================= */
/*   IR-26 ADVANTAGES ANIMATION */
/* ============================= */

/* TITLE — slide from TOP */
.advantages-ir26 .section-title3 {
    opacity: 0;
    transform: translateY(-60px);
}

.advantages-ir26.visible .section-title3 {
    animation: advTitleTop 1s ease-out forwards;
}

@keyframes advTitleTop {
    0% { opacity: 0; transform: translateY(-60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

/* DESCRIPTION — slide from LEFT */
.advantages-ir26 .advantages-description {
    opacity: 0;
    transform: translateX(-60px);
}

.advantages-ir26.visible .advantages-description {
    animation: advDescLeft 1s ease-out forwards;
}

@keyframes advDescLeft {
    0% { opacity: 0; transform: translateX(-60vh); }
    100% { opacity: 1; transform: translateX(0); }
}

/* FLIP CARDS — base hidden state */
.advantages-list .flip-card {
    opacity: 0;
}

/* Odd cards → slide UP */
.advantages-list .flip-card:nth-child(odd).visible {
    animation: advCardUp 1s ease-out forwards;
}

/* Even cards → slide DOWN */
.advantages-list .flip-card:nth-child(even).visible {
    animation: advCardDown 1s ease-out forwards;
}

@keyframes advCardUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes advCardDown {
    0% { opacity: 0; transform: translateY(-60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

.advantages-cta {
    text-align: center;
    margin-top: 40px;
}

.learn-more-btn {
    display: inline-block;
    padding: 14px 34px;
    background: var(--brand-darkpurple); /* your lightpink brand tone */
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.learn-more-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-3px);
}



/* --------------------------------------------------
   GALLERY ROOT
-------------------------------------------------- */
.lowslope-gallery {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.lowslope-gallery .system-gallery-bg {
    position: absolute;
    inset: 0;
    background: url('/images/lowslope-bg.jpg') center/cover no-repeat;
    opacity: 0.25;
    z-index: 1;
}

.lowslope-gallery .gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* --------------------------------------------------
   SUMMARY TEXT
-------------------------------------------------- */
.lowslope-gallery .gallery-summary {
    position: relative;
    z-index: 5;
    max-width: 900px;
    padding: 12px;
    margin: 0 auto 80px;
    text-align: left;
    font-size: 22px;
    line-height: 1.6;
    color: #fff;
    border-left: solid 4px var(--brand-darkpurple);
    padding-left: 14px;
    font-family: "Montserrat", sans-serif;
}

/* --------------------------------------------------
   CAROUSEL WRAPPER
-------------------------------------------------- */
.lowslope-gallery .carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 5;
    overflow: hidden;
}

/* --------------------------------------------------
   TRACK + CARDS
-------------------------------------------------- */
.lowslope-gallery .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}


.lowslope-gallery .carousel-card {
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.lowslope-gallery .carousel-card img {
    width: 100%;
    height: 650px;
    object-fit: contain;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */
.lowslope-gallery .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;
}



.lowslope-gallery .carousel-btn.prev {
    left: 10px;
}

.lowslope-gallery .carousel-btn.next {
    right: 10px;
}

/* --------------------------------------------------
   DOTS
-------------------------------------------------- */
/* --------------------------------------------------
   DOTS
-------------------------------------------------- */
.lowslope-gallery .carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.lowslope-gallery .carousel-dots .dot {
    width: 12px;
    height: 12px;
    background-color: var(--brand-darkpurple) !important; /* purple */
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
    opacity: 1 !important;
}

.lowslope-gallery .carousel-dots .dot.active {
    background-color: #ffffff !important; /* white active dot */
    transform: scale(1.3);
}



/* --------------------------------------------------
   LIGHTBOX
-------------------------------------------------- */
#lowslope-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lowslope-lightbox-img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 12px;
}

#lowslope-lightbox .lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
}

/* --------------------------------------------------
   LOW-SLOPE GALLERY — 1440PX DESKTOP TUNING
-------------------------------------------------- */
@media (min-width: 1440px) {

    /* Bigger, cleaner layout */
    .lowslope-gallery {
        padding: 120px 0;
    }

    .lowslope-gallery .carousel-card img {
        height: 750px;          /* taller images for desktop */
        object-fit: contain;    /* no cropping */
    }

    /* Center the gallery more visually */
    .lowslope-gallery .carousel-wrapper {
        max-width: 1300px;
    }

    /* Brighter dots for dark backgrounds */
    .lowslope-gallery .carousel-dots .dot {
        background-color: #d8b6ff !important; /* lighter purple */
        box-shadow: 0 0 8px #d8b6ff;           /* glow so they pop */
        opacity: 1 !important;
    }

    .lowslope-gallery .carousel-dots .dot.active {
        background-color: #ffffff !important;
        box-shadow: 0 0 10px #ffffff;
        transform: scale(1.35);
    }

    /* Larger arrows for desktop */
    .lowslope-gallery .carousel-btn {
        font-size: 55px;
        padding: 14px 22px;
    }
}

/* --------------------------------------------------
   WHY CHOOSE US
-------------------------------------------------- */

.why-choose-us {
    width: 100%;
    position: relative;
     background-image: url('/images/background\ pic.\ 2jpg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 40px;
    
    
    
    margin: 8px auto;
    font-family: var(--font-sans);
    box-shadow: 0 0 40px rgba(0,0,0,0.45);
}

.why-inner {
    padding-left: 0;
}

.why-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.1;
    
    font-family: var(--font-sans);
   
}


.why-title .light {
    display: block;
    background: linear-gradient(90deg,#ffffff,#dcdcdc,#7a7a7a,#dcdcdc,#ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: black;
}

.why-title .dark {
    display: inline;
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--brand-darkpurple);
    display: flex;
}


.logo-inline {
    display: block;
    margin-top: 6px;
}

.logo-inline img {
    height: 90px;
    width: auto;
    display: block;
}

/* --------------------------------------------------
   TWO COLUMN LAYOUT
-------------------------------------------------- */

.why-columns {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* forces equal height columns */
    gap: 40px;
    width: 100%;
}

.why-left {
    flex: 1;
}

/* RIGHT COLUMN — card top-right, button bottom-right */
.why-right {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 30px; /* move button lower */
}


/* --------------------------------------------------
   ITEMS (icons + text)
-------------------------------------------------- */

.why-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2px;
}

.why-icon {
    width: 30px;
    height: 30px;
    filter: brightness(1.2);
    margin-left: -15px;
}

.why-text {
    font-size: 1.1rem;
    color: black;
    line-height: 1.2;
    font-weight: 600;
    font-family: var(--font-sans);
}

/* --------------------------------------------------
   PARTNER CARD (chrome glow)
-------------------------------------------------- */

.partner-card {
    background: var(--brand-lightpurple);
    padding: 32px 16px;
    border-radius: 2px;

    border: 1px solid white;

    box-shadow:
        0 0 22px rgba(162, 94, 255, 0.55),
        0 0 8px rgba(255,255,255,0.25),
        inset 0 0 14px rgba(255,255,255,0.12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    width: 85%;
    margin-right: 60px;
    font-family: var(--font-sans);
    margin-top: -150px; /* card stays lifted */
}

.partner-card h3 {
    font-size: 1.9rem;
    font-weight: 900;
    color: black;
    text-align: center;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
    font-family: var(--font-sans);
    text-transform: uppercase;
}

.partner-card h3::after {
    content: "";
    display: block;
    width: 270px;
    height: 5px;
    background: linear-gradient(90deg, var(--brand-dark), transparent);
    margin-top: 8px;
    border-radius: 2px;
}

.partner-card p {
    margin: 0;
    color: black;
    font-size: 1.15rem;
    line-height: 1.55;
    font-weight: 500;
    opacity: 0.9;
}
.partner-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 16px;
}

.partner-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-style: italic;

    font-size: 1.15rem;
    color: black;
    font-weight: 700;
    opacity: 0.9;
}
.partner-card .big {
    color: var(--brand-darkpurple);
    
}

/* Checkmark icon */
.partner-list li::before {
    content: "✔";
    color: var(--root-purple);
    font-weight: 900;
    font-size: 1.2rem;
    margin-right: 4px;
}


/* --------------------------------------------------
   BUTTON (bottom-right)
-------------------------------------------------- */

.why-btn {
    margin-top: auto; /* pins button to bottom */
    margin-right: 20px;
    padding: 16px 38px;
    background: blue;
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.25s ease;
    white-space: nowrap;
}

.why-btn:hover {
    background: #a56bff;
    transform: translateY(-3px);
}
.why-bottom-btn {
    width: 100%;
    padding: 0% 40px;

    margin-top: 50px; /* adjust spacing above button */
}

.why-btn {
    padding: 16px 18px;
    margin-left: 250px;
    background: var(--brand-darkpurple);
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.25s ease;
    white-space: nowrap;
    
}

.why-btn:hover {
    background: black;
    transform: translateY(-3px);
}

/* ============================= */
/* WHY CHOOSE US — ANIMATIONS   */
/* ============================= */

/* TITLE — slide from RIGHT */
.why-title {
    opacity: 0;
    transform: translateX(60px);
}

.why-title.visible {
    animation: whyTitleRight 1s ease-out forwards;
}

@keyframes whyTitleRight {
    0% { opacity: 0; transform: translateX(60vh); }
    100% { opacity: 1; transform: translateX(0); }
}

/* PARAGRAPH TEXT — slide UP */
.why-text {
    opacity: 0;
    transform: translateY(60px);
}

.why-text.visible {
    animation: whyTextUp 1s ease-out forwards;
}

@keyframes whyTextUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

/* PARTNER CARD — drop DOWN */
.partner-card {
    opacity: 0;
    transform: translateY(-60px);
}

.partner-card.visible {
    animation: partnerCardDown 1s ease-out forwards;
}


@keyframes partnerCardDown {
    0% { opacity: 0; transform: translateY(-60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

/* OPTIONAL: ICONS — fade + slight rise */
.why-icon {
    opacity: 0;
    transform: translateY(30px);
}

.why-icon.visible {
    animation: whyIconUp 0.8s ease-out forwards;
}

@keyframes whyIconUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}
/* BUTTON CONTAINER — slide UP */
.why-bottom-btn {
    opacity: 0;
    transform: translateY(60px);
}

.why-bottom-btn.visible {
    animation: whyBtnUp 1s ease-out forwards;
}

@keyframes whyBtnUp {
    0% { opacity: 0; transform: translateX(60vh); }
    100% { opacity: 1; transform: translateX(0); }
}



/* --------------------------------------------------
   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: 1rem;
    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); }
}





/* Responsive */
@media (max-width: 900px) {
    .advantages-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .advantages-list li {
        justify-content: center;
        text-align: left;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================= */
/*       ANIMATIONS          */
/* ========================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(60vh); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================= */
/*      RESPONSIVE TWEAKS    */
/* ========================= */

@media (max-width: 900px) {
  .advantages-collage {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-lowslope {
    height: 65vh;
  }
}



/* ========================= */
/*   SCROLL REVEAL EFFECTS   */
/* ========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Optional variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------
   SMALL BRAND STATEMENT (MINIMAL)
-------------------------------------------------- */




/* Small, centered brand statement */
.brand-statement {
    padding: 0; /* much smaller */
    text-align: center;
    
    background: var(--brand-dark);
}

.brand-statement p {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 700;
    
    color: var(--brand-darkpurple);
    letter-spacing: 1px;
   font-style: italic;
   font-family: var(--font-sans);
}

.brand-statement .big {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    font-style: italic;
    font-family: var(--font-sans);
}

/* ============================================
   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;
    }


/* Hide rotating version on desktop */
.why-rotate-mobile {
    display: none;
}

/* MOBILE ONLY */
@media (max-width: 768px) {

    /* Hide the entire DESKTOP list */
    .why-left .why-item {
        display: none;
    }

    /* Show rotating icon + text */
    .why-rotate-mobile {
        display: block;
        text-align: center;
        padding: 20px 10px;
        transform: translateX(-20px);
    }

    /* Each rotating pair (icon + text) */
    .why-rotate-mobile .rotate-item {
        display: none; /* JS will show one at a time */
    }

    /* ⭐ FORCE ICONS TO SHOW ⭐ */
@media (max-width: 768px) {
    .why-rotate-mobile .rotate-item img {
        display: block !important;
        width: 70px;
        height: auto;
        margin-left: auto;
        margin-right: auto;

        /* ⭐ FORCE ICON TO MOVE UP ⭐ */
        margin-top: -20px !important;

        margin-bottom: 12px;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
/* Apply to both desktop list and mobile rotator */
.why-item .why-icon,
.why-rotate-mobile .rotate-item img {
    display: block;
    margin-left: auto;
    margin-right: auto;

    /* 👇 increase this to push text further down (more readable) */
    margin-bottom: 40px;
}



    /* Text */
    .why-rotate-mobile .rotate-item p {
        font-size: 1.1rem;
        font-weight: 600;
        color: white;
        line-height: 1.5;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Stack columns */
    .why-columns {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    /* Benefits card under rotating list */
    .why-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Fade animation */
.rotate-item {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}




/* ============================================================
   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){ 
    /* ----------------------------- */
    /*        HERO SECTION           */
    /* ----------------------------- */
    .hero-lowslope {
        min-height: -10vh;
        padding: 0;
        margin-bottom: 10px;
    }

   

    .hero-content {
        max-width: 90%;
        margin: auto;
        text-align: center;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1;
        margin-bottom: 1rem;
        font-weight: 900;
    }


    /* ----------------------------- */
    /*         BRAND INTRO           */
    /* ----------------------------- */
    .brand-intro {
        padding: 50px 10px;
        background-size: 900px;
    }

    .brand-intro::before {
        background: rgba(0,0,0,0.75);
    }

    .intro-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        width: 100%;
    }

    .intro-logo {
        height: 150px;
        margin-bottom: 10px;
    }

    .intro-wrapper {
        flex-direction: column;
        padding: 10px;
        font-size: 1.05rem;
        line-height: 1.55;
    }

    /* INLINE IMAGE — MOVED BELOW TEXT */
    .intro-inline-img {
        order: 2;
        height: 280px;
        width: 360px;
        margin: 20px auto 0 auto;
    }

    .intro-text {
        order: 1;
        margin-bottom: 10px;
    }

    .contact-link {
        margin: 20px auto 0 auto;
        width: 140px;
        padding: 12px;
        font-size: 1rem;
        justify-content: center;
    }

    .dealer-link {
        font-size: 1.1rem;
        margin-top: 15px;
    }

    .intro-photo {
        height: 260px;
        width: 90%;
        margin: 20px auto 0 auto;
    }
}


/* ========================================= */
/*          PHONE MEDIA — FULL SECTION       */
/* ========================================= */
@media (max-width: 768px) {

    /* ----------------------------- */
    /*   APPLICATIONS INTRO HERO     */
    /* ----------------------------- */
    .applications-intro {
        padding: 3rem 0;
        text-align: center;
    }

    .applications-intro .hero-bg {
        background-attachment: scroll; /* prevents mobile jitter */
        background-position: center;
        filter: brightness(0.55);
    }

    .section-title {
        font-size: 2.2rem;
        padding-top: 40px;
        margin-bottom: 15px;
        text-align: center;
    }

    .section-title2 {
        font-size: 2rem;
        text-align: center;
        padding-bottom: 25px;
    }

    .section-title3 {
        font-size: 2.2rem;
        padding-top: 10px;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1rem;
        max-width: 90%;
        padding-left: 10px;
        margin-bottom: 10px;
    }


    /* ----------------------------- */
    /*   FLOWING BACKGROUND ENGINE   */
    /* ----------------------------- */
    .hero-style-section {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-style-section .hero-bg {
        background-attachment: scroll;
        background-position: center;
        filter: brightness(0.55);
    }

    .hero-style-section .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.35),
            rgba(0,0,0,0.75)
        );
    }

    .hero-style-section > *:not(.hero-bg):not(.hero-overlay),
    .applications-intro > *:not(.hero-bg):not(.hero-overlay) {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }


    /* ----------------------------- */
    /*       IR‑26 APPLICATIONS      */
    /* ----------------------------- */
    .ir26-applications {
        padding: 40px 0;
        text-align: center;
    }

    .ir26-applications .flow-bg {
        background-attachment: scroll;
        filter: brightness(0.65);
    }

    .applications-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
        text-align: center;
    }

    .apps-text h3 {
        font-size: 2rem;
        border-left: none;
        padding-left: 0;
        text-align: center;
        margin-top: 10px;
    }

    .apps-title span {
        font-size: 2.6rem;
    }

    .apps-text p {
        font-size: 1.1rem;
        margin-top: 0;
        text-align: center;
    }

    .apps-image img {
        width: 90%;
        margin: auto;
    }


    /* ----------------------------- */
    /*        SYSTEM BUILD-UPS       */
    /* ----------------------------- */
  .gr-systems {
    padding: 40px 5% 40px;
    text-align: center;
    margin-top: -120px; /* this actually moves the section upward */
}


    .gr-systems .flow-bg {
        background-attachment: scroll;
        filter: brightness(0.55);
    }

    .gr-systems-header h2 {
        font-size: 2rem;
        line-height: 2.2rem;
    }

    .gr-systems-header p {
        font-size: 1.05rem;
        margin: 10px auto;
        max-width: 90%;
    }

    .buildups-2x2 {
        gap: 20px;
    }


    /* ----------------------------- */
    /*        GR ROW LAYOUT          */
    /* ----------------------------- */
    .gr-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
        text-align: center;
    }

    .gr-row.reverse {
        direction: ltr; /* remove RTL flip on mobile */
    }

    .slide-left,
    .slide-right {
        transform: translateY(40px);
    }


    /* ----------------------------- */
    /*        IMAGE BLOCK            */
    /* ----------------------------- */
    .gr-image img {
        width: 90%;
        margin: auto;
    }


    /* ----------------------------- */
    /*        TITLES + LAYERS        */
    /* ----------------------------- */
    .gr-system-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
        color:var(--brand-lightpurple);
    }

    .gr-layers ul {
        margin-bottom: 0;
    }

    .gr-layers li {
        font-size: 1.05rem;
        margin-bottom: 15px;
        justify-self: left;
        padding-right: 80px;
        text-align: left;
    }

    .gr-layer-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }

    .gr-layer-icon img {
        width: 22px;
        height: 22px;
    }


    /* ----------------------------- */
    /*        DESCRIPTION TEXT       */
    /* ----------------------------- */
    .gr-systems-description {
        max-width: 90%;
        margin-top: 40px;
        font-size: 1.05rem;
        line-height: 1.55;
    }
}

/* ========================================= */
/*        PHONE MEDIA — IR‑26 + ADV + WHY    */
/* ========================================= */
@media (max-width: 768px) {

    /* ----------------------------- */
    /*        REDESIGNED IR‑26       */
    /* ----------------------------- */
    .redesigned-ir26 {
        padding: 40px 10px;
        background-size: cover;
        text-align: center;
    }

    .ir26-container {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .section-title1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        padding-top: 10px;
    }

    .ir26-text p {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px auto;
        font-size: 1.05rem;
        border-left: solid 4px var(--brand-darkpurple);
        padding-left: 12px;
        text-align: left;
    }

    .ir26-list li {
        font-size: 1rem;
        margin-bottom: 10px;
        padding-left: 0;
        border-left: none;
        text-align: center;
    }

    .ir26-image img {
        height: auto;
        width: 90%;
        margin: 0 auto;
        transform: none;
    }

    .ir26-wheel-block {
        margin-top: 20px;
    }

    .ir26-wheel {
        max-width: 300px;
        transform: none;
    }
}




/* --------------------------------------------------
   MOBILE ONLY — Center Everything Perfectly
-------------------------------------------------- */

/* DESKTOP: show desktop list, hide mobile slider */
@media screen and (min-width: 769px) {
  .advantages-list {
    display: flex !important;
  }
  .advantages-rotate-wrapper {
    display: none !important;
  }
}

/* MOBILE: show slider, DO NOT hide desktop list here */
@media screen and (max-width: 768px) {
  .advantages-rotate-wrapper {
    display: flex !important;
  }
  .advantages-rotate-mobile {
    display: block !important;
  }
  .advantages-rotate-dots {
    display: flex !important;
  }
  
}

/* --------------------------------------------------
   WHY CHOOSE US — MOBILE FIX (≤600px)
-------------------------------------------------- */
@media (max-width: 600px) {

    /* SECTION */
.why-choose-us {
    position: relative;
    padding: 40px 15px;
    text-align: center;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* DARK OVERLAY */
.why-choose-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55); /* adjust darkness */
    z-index: 1;
}

/* KEEP CONTENT ABOVE OVERLAY */
.why-choose-us > * {
    position: relative;
    z-index: 2;
}


    /* TITLE */
    .why-title {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 4px;
        font-size: 1.9rem;
        margin-bottom: 10px;
    }

    .why-title .light { font-size: 1.5rem; }
    .why-title .dark  { font-size: 1.3rem; }

    .logo-inline img {
        height: 55px;
        margin-top: 10px;
    }

    /* COLUMNS STACK */
    .why-columns {
        flex-direction: column;
        width: 100%;
        gap: 25px;
        align-items: center;
    }

    .why-left,
    .why-right {
        width: 100%;
        align-items: center;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    /* ITEMS */
    .why-item {
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-bottom: 10px;
    }

    .why-icon {
        width: 22px;
        height: 22px;
        margin: 0;
    }

    .why-text {
        font-size: 0.95rem;
        max-width: 90%;
        margin: 0 auto;
        line-height: 1.35;
        padding: 0;
    }

    /* PARTNER CARD */
    .partner-card {
        width: 100% !important;
        margin: 2px !important;
        padding: 20px 16px !important;
        border-radius: 8px;
        margin-right: -20px !important;
        margin-top: 0 !important;
        box-shadow:
            0 0 18px rgba(162, 94, 255, 0.45),
            0 0 6px rgba(255,255,255,0.25),
            inset 0 0 10px rgba(255,255,255,0.12);
    }

    .partner-card h3 {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }

    .partner-card h3::after {
        width: 140px;
        height: 3px;
        margin: 6px auto 0 auto;
    }

    .partner-card p,
    .partner-list li {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .partner-list li::before {
        font-size: 1rem;
    }

    /* BUTTON AREA */
    .why-bottom-btn {
        width: 100%;
        display: flex;
        justify-content: flex-start; /* left alignment */
        padding-left: 16px;          /* match card padding */
        margin-top: 20px;
    }

    .why-btn {
        width: auto;
        display: inline-block;
        padding: 12px 12px;
        font-size: 1rem;
        border-radius: 6px;
        background: var(--brand-darkpurple);
        color: #fff;
        font-weight: 700;
        margin-left: 12px;
    }

    /* MOBILE TITLE RESET */
    .why-title {
        all: unset;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-family: var(--font-sans);
        font-weight: 900;
        text-transform: uppercase;
        font-size: 1.8rem;
        line-height: 1.1;
        margin: 0 auto 20px auto;
        width: 100%;
    }

    .why-title .light,
    .why-title .dark {
        all: unset;
        display: block;
        font-family: var(--font-sans);
        text-transform: uppercase;
        line-height: 1.1;
    }

    .why-title .light {
        font-size: 3.2rem;
        color: white;
        opacity: 0.9;
        margin-bottom: 4px;
    }

    .why-title .dark {
        font-size: 2.8rem;
        color: var(--brand-darkpurple);
        font-weight: 900;
    }

    .logo-inline img {
        height: 50px;
        margin: 10px auto 0 auto;
    }
}
@media (max-width: 600px) {
    .why-title .logo-inline img {
        content: url("/images/IMPERMITEK\ Whiterevised.png");
    }
}

@media (max-width: 600px) {
    .partner-list {
        list-style: none;
        margin: 0;
        padding-left: 28px; /* moves whole list right */
        text-align: left !important;
        overflow: visible !important;
    }

    .partner-list li {
        position: relative;
        padding-left: 26px; /* space for checkmark */
        margin-bottom: 8px;
        display: block;
    }

    .partner-list li::before {
        content: "✔";
        position: absolute;
        left: 0;
        top: 0;
        color: var(--brand-darkpurple);
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1.2;
        transform: translateY(2px);
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 3;
    }
}
@media (min-width: 1400px) {
  .partner-card {
    width: 265%;                 /* wider */
    padding: 60px 40px;         /* more breathing room */
    margin-right: 0;            /* centers better */
    margin-top: -100px;         /* lifts it slightly */
    border-radius: 4px;         /* subtle upscale */
    font-size: 1.4rem;          /* scales inner text */
  }

  .partner-card h3 {
    font-size: 2.4rem;          /* bigger title */
  }

  .partner-list li {
    font-size: 1.3rem;          /* bigger list items */
    margin-bottom: 14px;
  }
}
@media (max-width: 768px) {

    /* Stack layout vertically */
    .brand-intro .intro-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    /* Inline image scaling */
    .brand-intro .intro-inline-img {
        width: 100%;
        max-width: 340px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    /* Text block full width */
    .brand-intro .intro-text {
        width: 100%;
        padding: 0 20px;
        text-align: center;
    }
    /* Always show the intro description */
.intro-description {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
}


    /* MOBILE TOGGLE BUTTON — visible only on phone */
    .mobile-toggle-desc {
        display: none !important;
        width: 100%;
        padding: 12px 16px;
        background: var(--brand-darkpurple);
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 14px;
        text-align: center;
    }

    /* Description collapsed by default */
    .intro-description {
        display: none;
        margin-top: 10px;
        text-align: left;
        background: none;
        padding: 16px;
        color: white;
        border-radius: 8px;
        line-height: 1.55;
    }

    /* When JS toggles it */
    .intro-description.active {
        display: block;
    }

    /* Contact link styling */
    .inline-contact {
        display: inline-block;
        margin-top: 12px;
        font-weight: 700;
        color: white;
    }
}
@media (min-width: 1024px) {
  .mobile-toggle-desc {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .intro-description {
    max-height: none !important;
    display: block !important;
    opacity: 1 !important;
  }
}
/* MOBILE: force button below image */
@media (max-width: 1024px) {
  .intro-wrapper {
    display: flex;
    flex-direction: column; /* stack vertically */
    align-items: center;
  }

  .intro-inline-img {
    order: 1; /* image first */
    margin-bottom: 20px;
  }

  .mobile-toggle-desc {
    order: 2; /* button second */
    display: block;
    margin: 0 auto 20px auto;
    background-color: var(--brand-darkpurple);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .intro-text {
    order: 3; /* description last */
  }
}



@media (max-width: 600px) {

    /* ========================= */
    /* BRAND STATEMENT           */
    /* ========================= */

    .brand-statement {
        padding: 12px 0;
        text-align: center;
    }

    .brand-statement p {
        font-size: 0.58rem;
        letter-spacing: 0.5px;
        color: white;
    }

    .brand-statement .big {
        font-size: 0.7rem;
        color: white;
    }
}

/* ============================================================
   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;
    }


    /* ============================
       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;
}

    /* 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;
    }

    .footer-contact-right.active .footer-contact-item,
    .footer-contact-right.active .footer-link-contact {
        display: block;
        margin-top: 6px;
    }

    /* ============================
       LOGO + SOCIALS
       ============================ */
    .footer-logo-wrapper img {
        width: 160px;
        margin: 0 auto;
    }

    .footer-desc {
        max-width: 90%;
        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;
    }
    /* =============================== */
/* MOBILE SLIDER ARROW STYLING FIX */
/* =============================== */

.adv-arrow {
    background: rgba(0,0,0,0.4) !important;
    color: white !important;
    border: none !important;
    font-size: 2.4rem !important;
    padding: 8px 14px !important;
    
    cursor: pointer !important;
    z-index: 20 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    transition: background 0.25s ease !important;
}

.adv-arrow:hover {
    background: rgba(0,0,0,0.65) !important;
}

.adv-left {
    margin-right: 10px !important;
}

.adv-right {
    margin-left: 10px !important;
}

/* Make sure wrapper doesn’t crush arrows */
.advantages-rotate-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
}
/* Bring mobile slider arrows closer to the card */
@media (max-width: 768px) {
  .advantages-rotate-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important; /* reduce spacing between arrows and card */
  }

  .adv-arrow {
   
    color: white;
    border: none;
    font-size: 2rem;
    
    cursor: pointer;
    padding: 6px 10px;
    transition: background 0.25s ease;
  }

  .adv-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
  }

  .adv-left {
    margin-right: -4px !important; /* pulls left arrow inward */
  }

  .adv-right {
    margin-left: -16px !important; /* pulls right arrow inward */
  }
}


}
/* --------------------------------------------------
   LOW-SLOPE GALLERY — MOBILE (max-width: 768px)
-------------------------------------------------- */
@media (max-width: 768px) {

    .lowslope-gallery {
        padding: 40px 0;
    }

    /* Background + overlay softened for readability */
    .lowslope-gallery .system-gallery-bg {
        opacity: 0.15;
    }

    .lowslope-gallery .gallery-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
    }

    /* Summary text */
    .lowslope-gallery .gallery-summary {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 20px;
        margin-bottom: 25px;
        text-align: center;
        border-left: solid 4px var(--brand-darkpurple);
        padding-left: 12px;
    }

    /* Carousel wrapper */
    .lowslope-gallery .carousel-wrapper {
        max-width: 100%;
        padding: 0 1px;
    }

    /* Track + cards */
    .lowslope-gallery .carousel-card {
        padding: 0;
    }

    .lowslope-gallery .carousel-card img {
        height: 260px;          /* mobile-friendly height */
        object-fit: contain;
        border-radius: 10px;
        
    }

    /* Buttons */
  .lowslope-gallery .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;
}

    .lowslope-gallery .carousel-btn.prev {
        left: 5px;
    }

    .lowslope-gallery .carousel-btn.next {
        right: 5px;
    }

    /* Dots */
    .lowslope-gallery .carousel-dots {
        margin-top: 15px;
        gap: 8px;
    }

    .lowslope-gallery .carousel-dots .dot {
        width: 10px;
        height: 10px;
        background-color: #d8b6ff !important; /* brighter purple for mobile */
        box-shadow: 0 0 6px #d8b6ff;
    }

    .lowslope-gallery .carousel-dots .dot.active {
        background-color: #ffffff !important;
        transform: scale(1.25);
        box-shadow: 0 0 8px #ffffff;
    }

    /* Lightbox mobile */
    #lowslope-lightbox img {
        max-width: 90%;
        max-height: 70%;
    }

    #lowslope-lightbox .lightbox-close {
        font-size: 40px;
        top: 20px;
        right: 20px;
    }
}

@media (min-width: 1440px) {

    /* Unlock the container so the button can move */
    .why-bottom-btn {
        display: flex;
        justify-content: flex-start; /* or flex-end if you want right side */
        padding-left: 260px;         /* moves the button horizontally */
    }

    /* Stronger selector overrides your base .why-btn */
    .why-bottom-btn .why-btn {
        padding: 22px 60px;     /* bigger button */
        font-size: 1.55rem;     /* bigger text */
        border-radius: 10px;
        margin-left: 130px;         /* container handles movement now */
        transform: scale(1.15); /* guaranteed size increase */
    }
}
/* ============================================================
   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;
  }
}



/* ============================================
   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 (min-width: 1700px) {
  .lowslope-gallery .carousel-card {
    height: 520px;              /* enlarge gallery cards */
    max-width: 1100px;          /* optional: widen image area */
    margin: 0 auto;             /* keep centered */
  }

  .lowslope-gallery .carousel-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 12px;
  }

  .lowslope-gallery .gallery-summary {
    font-size: 1.6rem;
    line-height: 1.9;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 80px;        /* space below text */
    padding: 0 40px;            /* breathing room left/right */
    color: #d8d8d8;
    text-align: left;
  }
}
