:root {
    --brand-dark: #0a0a0a;
    --brand-blue: #1e90ff;
    --brand-light: #f8f9fb;
    --brand-lightpurple: #a78ac0;
    --brand-darkpurple: #662382;
    --brand-darkgrey: #5f5b66;
    --brand-text: #333;
    --font-sans: 'Source Sans Pro', sans-serif;
    --font-serif: 'Source Serif 4', serif;
}


/* ========================= */
/*   GLOBAL BRAND STYLING   */
/* ========================= */

body {
  
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  background: black;
  color: black;
  line-height: 1.6;
}
html, body {
    overflow-x: hidden;
}



h1, h2, h3 {
  font-weight: 300;
  letter-spacing: 0.5px;
}

section {
  padding: 80px 4%;
}





/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */
.nav {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: black;
    margin-bottom: 40px;
    
    padding: 12px 0;
}

.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
hr {
    border: none;
    height: 35px; /* thickness of the bar */
    width: 100%;
    

    background: linear-gradient(
        to left,
        var(--brand-darkpurple) 0%,
        var(--brand-darkpurple) 50%,
        var(--brand-lightpurple) 100%
    );

    margin-top: -11px;
    padding: 4px;
    border-radius: 0; /* optional */
}


.nav-contact {
    position: absolute;
    top: 14px;
    right: 30px;

    display: flex;
    align-items: center;
    gap: 19px;
    margin-right: -10px;
    
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 900;
}

.nav-contact a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: -8px;
    transition: opacity 0.25s ease;
}

.nav-contact a:hover {
    opacity: 1;
}

.nav-contact .icon {
    font-size: 1.1rem;
    line-height: 0;
    
}
.nav-contact {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    
}

.nav-contact__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-contact__icon img {
    width: 20px;   /* adjust to your design system */
    height: 20px;
    display: block;
    margin-right: -10px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.35)); /* subtle chrome glow */
}

.nav-contact__label {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-sans);
    color: white;
}



.nav-brand img {
    height: 138px;
    margin-right: 18px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links a {
    
    color: white;
    border-radius: 6px;
    padding: 6px;
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 18px;
    text-decoration: none;
    font-weight: 800;
    
}

.nav-links a:hover {
    opacity: 0.9;
    color: var(--brand-lightpurple);
}

.nav-cta {
    color: #000000;
   

    
    
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-brand img {
    height: 75px; /* adjust as needed */
    width: auto;
    margin-left: -25px;
    animation: LogoSlide 1.4s ease-out forwards;


}



/* Dropdown container */
.nav-links li {
    position: relative;
}
.dropdown ul,
.dropdown li {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* Hide dropdown by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -52px;
    background: black;
    border: 1px solid var(--brand-lightpurple);
    border-radius: 6px;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    flex-direction: column;
    z-index: 999;
}

/* Show on hover */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Dropdown links */
.dropdown-menu a {
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--brand-lightpurple);
    color: #000000;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s ease;
}


/* ========================= */
/*        HERO SECTION       */
/* ========================= */

/* --- Green Roof Hero --- */

/* HERO WRAPPER */
.hero-lowslope,
.hero-greenroof {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    min-height: 100vh; /* controls picture size */
    padding: 0; /* remove padding that breaks centering */
    overflow: hidden;
}

/* BACKGROUND IMAGE */
.hero-greenroof .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/greenroof6.jpg');
    background-size: cover; /* picture fills hero */
    background-position: center;
    filter: brightness(1.3);
    z-index: 1;
}

/* OVERLAY */
.hero-greenroof .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.25)
    );
    z-index: 2;
}

/* CONTENT */
.hero-greenroof .hero-content {
    position: relative;
    z-index: 3;
    max-width: 750px;
    padding: 0 2rem;
    margin: 0 auto;
    /* REMOVE min-height */
}

/* TITLE */
.hero-greenroof .hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-align: center;
    font-family: var(--font-sans);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.hero-title .dark {
    color: var(--brand-lightpurple);
}


/* ============================= */
/* GREEN ROOF HERO — TITLE UP   */
/* ============================= */

.hero-greenroof .hero-title {
    opacity: 0;
    transform: translateY(60px);
    transition: none !important; /* prevents other animations from overriding */
}

.hero-greenroof .hero-title.visible {
    animation: heroTitleUp 1s ease-out forwards;
}

@keyframes heroTitleUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}




/* --------------------------------------------------
   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: center;
    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: 399px;      /* make them taller */
    width: 360px;       /* give them a consistent shape */
    object-fit: cover;  /* prevents stretching, crops instead */
    border-radius: 6px; /* optional, looks cleaner */
    margin-right: 20px;
    flex-shrink: 0;
}
@media (min-width: 1700px) {

    .intro-wrapper {
        font-size: 1.25rem;     /* bigger text */
        line-height: 1.9;       /* more breathing room */
        padding: 40px 50px;     /* larger spacing */
    }

    .intro-inline-img {
        height: 380px;          /* taller image */
        width: 320px;           /* wider image */
        object-fit: cover;
        border-radius: 8px;
        margin-right: 30px;
    }
}


.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: var(--brand-darkpurple);
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.25s ease;
}

.dealer-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}
/* INLINE CONTACT LINK */
.inline-contact {
    color: white;
    font-weight: 800;

    text-decoration: none;

}

.inline-contact:hover {
    color: var(--brand-darkpurple);
}

/* INTRO PHOTO INSIDE CONTAINER */
.intro-photo {
    height: 260px;
    width: auto;
    border: 3px solid var(--brand-darkpurple);
    object-fit: cover;
    opacity: 0;
    animation: fadeInLeft 1.6s ease-out forwards;
    animation-delay: 0.5s;
}


/* BRAND INTRO ANIMATION */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================= */
/*   STAGGERED REVEAL ANIM   */
/* ========================= */

.reveal-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.reveal-body {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================= */
/* BRAND INTRO — NEW ANIMATIONS */
/* ============================= */

/* IMAGE — slide DOWN from TOP */
.intro-inline-img {
    opacity: 0;
    transform: translateY(-60px);
}

.intro-inline-img.visible {
    animation: introImgDown 1s ease-out forwards;
}

@keyframes introImgDown {
    0% { opacity: 0; transform: translateY(-60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

/* TEXT — slide IN from LEFT */
.intro-text {
    opacity: 0;
    transform: translateX(-60px);
}

.intro-text.visible {
    animation: introTextLeft 1s ease-out forwards;
}

@keyframes introTextLeft {
    0% { opacity: 0; transform: translateX(-60vh); }
    100% { opacity: 1; transform: translateX(0); }
}


/* ========================= */
/*       RESPONSIVE FIX      */
/* ========================= */

@media (max-width: 1024px) {
    .gr-hero,
    .hero-greenroof,
    .hero-lowslope {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero-title,
    .gr-hero-title {
        font-size: 2rem;
    }
}


/* --- System Build-Ups --- */


/* ========================= */
/*     SYSTEM BUILD-UPS      */
/* ========================= */

.gr-systems {
    position: relative;
    padding: 20px 4%;
    overflow: hidden;
}

.gr-systems .flow-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/practice16.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.1);
    z-index: 1;
}

.gr-systems .flow-overlay {
    position: absolute;
    inset: 0;
    
    z-index: 2;
}

.gr-systems-content {
    position: relative;
    z-index: 3;
}

/* HEADER */
.gr-systems-header {
    text-align: center;
    margin-bottom: 60px;
}

.gr-systems-header h2 {
       font-size: 4rem;
    text-align: center;
    font-weight: 800;
    font-family: var(--font-sans);
    color: white;
    margin-bottom: 1.1rem;
    letter-spacing: 0.05em;
}
.gr-systems-header h2 .lightpink {
    color: var(--brand-lightpurple);
}

.gr-systems-header p {
    font-size: 1.45rem;
    color: white;
    font-style: italic;
    opacity: 0.85;
}

/* ========================= */
/*        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;
}

/* ========================= */
/*        IMAGE BLOCK        */
/* ========================= */

.gr-image {
    position: relative;
}

.gr-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.gr-system-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.65);
    padding: 8px 14px;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
}

/* ========================= */
/*        LAYERS LIST        */
/* ========================= */

.gr-layers ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gr-layers li {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 14px;
    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: 38px;
    height: 38px;
    z-index: 8;
    
}
.gr-system-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 18px;
    border-left: solid 4px var(--brand-darkpurple);
    padding-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ========================= */
/*      DESCRIPTION TEXT     */
/* ========================= */

.gr-systems-description {
    max-width: 1200px;
    margin: 60px auto 0;
    color: white;
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.9;
    border-left: solid 4px var(--brand-darkpurple);
    padding-left: 12px;
}

/* ============================= */
/* SYSTEM BUILD-UP ANIMATIONS   */
/* ============================= */

/* TITLES — slide DOWN from TOP */
.gr-system-title,
.gr-systems-header h2 {
    opacity: 0;
    transform: translateY(-60px);
}

.gr-system-title.visible,
.gr-systems-header h2.visible {
    animation: sysTitleDown 1s ease-out forwards;
}

@keyframes sysTitleDown {
    0% { opacity: 0; transform: translateY(-60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

/* IMAGES — slide IN from LEFT */
.gr-image {
    opacity: 0;
    transform: translateX(-60px);
}

.gr-image.visible {
    animation: sysImgLeft 1s ease-out forwards;
}

@keyframes sysImgLeft {
    0% { opacity: 0; transform: translateX(-60vh); }
    100% { opacity: 1; transform: translateX(0); }
}

/* PARAGRAPHS — slide UP from BOTTOM */
.gr-systems-header p,
.gr-systems-description p,
.gr-layers {
    opacity: 0;
    transform: translateY(60px);
}

.gr-systems-header p.visible,
.gr-systems-description p.visible,
.gr-layers.visible {
    animation: sysParaUp 1s ease-out forwards;
}

@keyframes sysParaUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

.gr-system-description {
    font-size: 23px;
    line-height: 2.5;
    color: white;
    margin: 0;
    padding: 10px 0;
}

@media (min-width: 1700px) {
    .gr-image img {
        width: 100%;        /* makes the image larger than its container */
        max-width: none;    /* prevents it from being capped */
        border-radius: 16px; /* optional — more premium rounding */
    }
}
@media (min-width: 1700px) {
    .gr-system-description {
        font-size: 32px;     /* larger text for ultra‑wide screens */
        line-height: 2.8;    /* more breathing room */
        padding: 20px 0px;   /* more vertical spacing */
        margin: 0;
        color: white;
    }
}



/* --------------------------------------------------
   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 */
}
.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;
}

/* --------------------------------------------------
   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); }
}


@keyframes whyBtnUp {
    0% { opacity: 0; transform: translateX(60vh); }
    100% { opacity: 1; transform: translateX(0); }
}

@media (min-width: 1700px) {

    .why-choose-us {
        padding: 120px 80px;        /* larger breathing room */
        margin: 20px auto;
        background-size: cover;
    }

    .why-title {
        font-size: 8rem;            /* bigger headline */
        margin-bottom: 60px;
        line-height: 1.1;
    }

    .logo-inline img {
        height: 130px;              /* larger logo */
    }

    .why-columns {
        gap: 70px;                  /* more spacing between columns */
    }

    .why-right {
        width: 380px;               /* larger right column */
        padding-bottom: 50px;
    }

    .why-item {
        gap: 28px;                  /* bigger spacing between icon + text */
        margin-bottom: 18px;
    }

    .why-icon {
        width: 45px;                /* bigger icons */
        height: 45px;
        margin-left: -10px;
    }

    .why-text {
        font-size: 1.7rem;          /* larger text */
        line-height: 1.4;
    }
}






/* --------------------------------------------------
   BRAND STATEMENT
-------------------------------------------------- */
.brand-statement {
    padding: 0px 15px;
    text-align: center;
    background: var(--brand-dark);

    opacity: 0;
    transform: translateX(40px);
    z-index: 50; /* 🔥 ensures it sits ABOVE everything */
    position: relative; /* required for z-index to work */
}

/* When visible */
.brand-statement.visible {
    animation: brandSlideRight 0.9s ease-out forwards;
}

/* Small line */
.brand-statement .small {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-darkpurple);
    letter-spacing: 1px;
    font-style: italic;
    font-family: var(--font-sans);

    opacity: 0;
    transform: translateX(40px);
}

.brand-statement .small.visible {
    animation: brandTextRight 0.9s ease-out forwards;
    animation-delay: 0.15s;
}

/* Big line */
.brand-statement .big {
    margin: 5px 0 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    font-style: italic;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;

    opacity: 0;
    transform: translateX(40px);
}

.brand-statement .big.visible {
    animation: brandTextRight 1.4s ease-out forwards;
    animation-delay: 0.3s;
}

/* Animations */
@keyframes brandSlideRight {
    0% { opacity: 0; transform: translateX(40vh); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes brandTextRight {
    0% { opacity: 0; transform: translateX(40vh); }
    100% { opacity: 1; transform: translateX(0); }
}



/* ============================================
   MAIN FOOTER — 3 COLUMN LAYOUT
============================================ */
.impermitek-footer {
    background: #141414;
    color: #ffffff;
    padding: 70px 50px;

    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.footer-bottom p {
        text-align: center;
        margin: 0 auto;
        padding: 14px 0;
        color: white;
        font-size: 0.85rem;
    }

/* ============================================
   CENTER COLUMN — LOGO + DESCRIPTION + SOCIALS
============================================ */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-img {
    width: 350px;
    margin-bottom: 2px;
}

.footer-logo-wrapper {
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.footer-logo-wrapper::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-darkpurple), var(--brand-lightpurple));
    border-radius: 2px;
    margin-top: 8px;
}

.footer-desc {
    color: #dcdcdc;
    line-height: 1.6;
    max-width: 360px;
}

.footer-social-center {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-social-center .social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

/* ============================================
   LEFT COLUMN — QUICK LINKS
============================================ */
.footer-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
}

.footer-links-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
    padding-left: 50px;
}

.footer-link {
    color: white;
    text-decoration: none;
    padding: 0px 12px;

    text-align: center;
    font-weight: 600;
    font-size: 18px;
    
}
.footer-link-contact {
     color: white;
    background: var(--brand-darkpurple);
    text-decoration: none;
    padding: 5px;
    border-radius: 5px;
    transform: translateY(30px);

    text-align: center;
    font-weight: 600;
    font-size: 18px;
}




.footer-link:hover {
    color: white;
}

/* ============================================
   RIGHT COLUMN — CONTACT ABOVE SOCIALS
============================================ */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 5px;
    
}

.footer-contact-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: left;
    transform: translateY(44px);
}

.footer-social-right {
    align-items: flex-start !important;   /* ← finally moves left */
    text-align: left;
    margin-left: 0;                       /* reset your earlier test */
}



.footer-social-right .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}


.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-contact-item p {
    margin: 0;
    line-height: 1.15;
}

.footer-icon-svg {
    width: 20px;
    height: 20px;
    fill: var(--brand-darkpurple);
}

.footer-heading {
    font-size: 1.35rem;
    margin-bottom: 3px;
    font-weight: 700;
    text-align: center;
}

.footer-heading::after {
    content: "";
    width: 35px;
    height: 3px;
    background: #6a4dfc;
    margin-top: 6px;
    border-radius: 2px;
}

/* ============================================
   SOCIAL ICON CIRCLES
============================================ */
.social-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.social-icon-circle.facebook {
    background: #1877F2;
}

.social-icon-circle.linkedin {
    background: #0A66C2;
}

.social-icon-circle.instagram-bg {
    background: radial-gradient(circle at 30% 30%, #fdf497, #fd5949, #d6249f, #285AEB);
}

.social-icon-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: 0.25s ease;
}

.social-icon-circle:hover .social-icon-img {
    transform: translateY(-3px);
    opacity: 0.85;
}
.footer-follow-inline {
    font-size: 1.35rem;
    font-weight: 700;
    font-family: var(--font-sans);
    font-style: italic;
}

.footer-contact-right .footer-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  text-decoration: none;
  pointer-events: none;
  cursor: default;

  /* Positioning */
  align-self: flex-start;     /* keeps it aligned with info */
  margin-left: 4px;           /* subtle left alignment tweak */
  margin-top: -8px;           /* moves it closer to info block */
}

     .footer-links-left .footer-heading, .footer-links-left .footer-link {
        text-align: left !important;
        margin-left: 0 !important;
    }



/* ============================================================
   GLOBAL
============================================================ */
.nav-toggle {
    display: none;
}


/* ============================================================
   NAVIGATION
============================================================ */

/* ---------- Desktop (1400px+) ---------- */
@media (min-width: 1400px) {

    .nav-links a {
        font-size: 22px;
        padding: 10px 14px;
    }

    .nav-contact__label {
        font-size: 1.25rem;
    }

    .nav-brand img {
        height: 95px;
    }

    .nav-links {
        gap: 16px;
    }
}

/* ============================================================
   MOBILE NAVIGATION — FULL LEFT SLIDE PANELS
============================================================ */

@media (max-width: 600px) {

    /* NAV CONTAINER */
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        position: relative;
        width: 90%;
        margin: auto;
    }

    /* HAMBURGER */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 9999;
        order: 1;
        margin-right: 10px;
    }

    .nav-toggle span {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: 0.3s ease;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    /* LOGO */
    .nav-brand img {
        height: 75px;
        order: 2;
        margin-left: -5px;
    }

    /* CONTACT INFO */
    .nav-contact {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
        position: absolute;
        top: 20px;
        right: 42px;
        z-index: 9999;
    }

    .nav-contact__label {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* MAIN MOBILE MENU */
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: black;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        display: none;
        z-index: 9999;
        overflow: visible !important;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 18px;
        padding: 12px 0;
        width: 100%;
        text-align: center;
    }

    /* ============================================================
       FULL-SCREEN LEFT SLIDE PANEL FOR ALL DROPDOWNS
    ============================================================ */

    .dropdown-menu {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;

        background: #000;
        padding: 90px 30px 40px;

        display: flex;
        flex-direction: column;
        gap: 28px;

        z-index: 999999;

        /* Start hidden off-screen */
        transform: translateX(-100%);
        opacity: 0;

        /* Smooth premium animation */
        transition:
            transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
            opacity 0.35s ease;
    }

    /* Slide in when open */
    .dropdown.open > .dropdown-menu {
        transform: translateX(0);
        opacity: 1;
    }

    /* Close button */
    .dropdown-menu .close-panel {
        position: absolute;
        top: 22px;
        
        font-size: 2.2rem;
        color: var(--brand-darkpurple);
        cursor: pointer;
    }
    /* Center all dropdown content inside the slide panel */
.dropdown-menu {
    justify-content: center;      /* vertical centering */
    align-items: center;          /* horizontal centering */
    text-align: center;           /* center text */
}

/* Center each link */
.dropdown-menu li a {
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
}


/* =========================================================
   PURPLE ARROW — TOP CENTER
   ========================================================= */
.menu-arrow {
    position: absolute;
    top: 20px;                /* distance from top edge */
    left: 50%;                /* center horizontally */
    transform: translateX(-50%) rotate(180deg); /* rotate if needed */
    font-size: 2rem;          /* adjust size */
    color: var(--brand-lightpurple); /* your purple tone */
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 10;
}




}


@media (max-width: 600px) {

    /* ========================= */
    /* HERO SECTION (Green Roof) */
    /* ========================= */

    .hero-greenroof,
    .hero-lowslope {
        min-height: 100vh; /* reduce giant height */
        padding: 0 10px;
        text-align: center;
    }

    .hero-greenroof .hero-bg {
        background-position: center;
        background-size: cover;
        filter: brightness(1.1);
    }

  

    .hero-greenroof .hero-content {
        max-width: 90%;
        padding: 0;
    }

    .hero-greenroof .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-title .dark {
        color: var(--brand-lightpurple);
    }



    /* ========================= */
    /* BRAND INTRO               */
    /* ========================= */

    .brand-intro {
        padding: 50px 10px;
        background-size: cover;
        text-align: center;
    }

    .intro-container {
        flex-direction: column;
        gap: 20px;
        width: 92%;
        text-align: center;
    }

    .intro-logo {
        height: 140px;
        margin: 0 auto;
    }

    .intro-wrapper {
        flex-direction: column;
        padding: 10px;
        font-size: 1rem;
        text-align: center;
    }

    .intro-inline-img {
        height: 300px;
        width: 360px;
        margin: 0 auto 15px auto;
    }

    .intro-text p {
        text-align: left;
        padding: 2px;
        background: white;
        color: black;
    }

    .intro-photo {
        height: 180px;
        width: 100%;
        margin: 0 auto;
    }

    .contact-link {
        margin: 20px auto 0 auto;
        width: 140px;
    }



    /* ========================= */
    /* STAGGERED REVEAL ANIM     */
    /* ========================= */

    .reveal-title,
    .reveal-body {
        transform: translateY(30px);
        opacity: 0;
    }

    .reveal-title {
        animation-delay: 0.1s;
    }

    .reveal-body {
        animation-delay: 0.4s;
    }



    /* ========================= */
    /* RESPONSIVE FIXES          */
    /* ========================= */

    .gr-hero,
    .hero-greenroof,
    .hero-lowslope {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .hero-title,
    .gr-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {

    /* ========================= */
    /* SYSTEM BUILD‑UPS          */
    /* ========================= */

    .gr-systems {
        padding: 40px 10px;
        text-align: center;
    }

    .gr-systems .flow-bg {
        background-attachment: scroll;
        filter: brightness(0.25);
    }

    .gr-systems-header {
        margin-bottom: 30px;
    }

    .gr-systems-header h2 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 10px;
    }

    .gr-systems-header p {
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto;
    }

    /* ROWS collapse to single column */
    .gr-row {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
        direction: ltr !important;
    }

    .gr-row.reverse {
        direction: ltr !important;
    }

    .gr-image img {
        border-radius: 10px;
    }

    .gr-system-label {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    /* ========================= */
    /* PERFECT CHECKMARK ALIGNMENT */
    /* ========================= */

    .gr-layers ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .gr-layers li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 1rem;
        color: white;
        line-height: 1.4;
        font-weight: 500;
        text-align: left;
        width: 100%;
        max-width: 420px;
    }

    .gr-layer-icon {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .gr-layer-icon img {
        width: 18px;
        height: 18px;
        object-fit: contain;
        display: block;
    }

    .gr-system-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
        padding-left: 8px;
    }

    .gr-systems-description {
        font-size: 1rem;
        max-width: 92%;
        margin-top: 30px;
        line-height: 1.55;
        text-align: left;
    }
    /* ========================================= */
/* PERFECT CHECKMARK ALIGNMENT — FINAL FIX   */
/* ========================================= */

.gr-layers li {
    display: flex;
    align-items: center;       /* vertical centering */
    gap: 10px;
    font-size: 1rem;
    line-height: 1.25;         /* tighter text height */
    margin-bottom: 10px;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.gr-layer-icon {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;       /* centers icon inside box */
    flex-shrink: 0;
    margin-top: 2px;           /* MAGIC FIX: nudges icon down */
}

.gr-layer-icon img {
    width: 18px;
    height: 18px;
    display: block;            /* removes baseline shift */
    object-fit: contain;
}

.gr-layers li span,
.gr-layers li p {
    display: block;
    margin: 0;
    padding: 0;
}

}

@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;
  }
}




/* --------------------------------------------------
   WHY CHOOSE US — MOBILE FIX (≤600px)
-------------------------------------------------- */
@media (max-width: 600px) {

    /* SECTION */
    .why-choose-us {
        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;
    }
    /* ========================================= */
/* WHY CHOOSE US — DARKER OVERLAY BASE       */
/* ========================================= */
.why-choose-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* adjust opacity for darkness */
  z-index: 1;
}

/* Ensure content sits 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: 0 !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 24px;
        font-size: 1rem;
        border-radius: 6px;
        background: var(--brand-darkpurple);
        color: #fff;
        font-weight: 700;
        margin-left: 0;
    }

    /* 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) {
    .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;
    }
}
/* =============================== */
/* DESKTOP vs MOBILE VISIBILITY   */
/* =============================== */

/* Hide mobile rotator on desktop */
.why-rotate-mobile {
    display: none;
}

/* Hide desktop list on mobile */
@media (max-width: 768px) {

    /* Hide desktop items */
    .why-item {
        display: none;
    }

    /* Show mobile rotator */
    .why-rotate-mobile {
        display: block;
    }
}
/* Hide mobile rotator on desktop */
.why-rotate-mobile {
  display: none;
}

/* MOBILE ONLY */
@media (max-width: 768px) {
  /* Hide desktop list */
  .why-item {
    display: none !important;
  }

  /* Show mobile rotator */
  .why-rotate-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 120px;
  }

  .rotate-item {
    display: none; /* JS will show one at a time */
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .rotate-item img {
    width: 40px;
    height: 40px;
  }

  .rotate-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
  }
}
@media (max-width: 768px) {
  /* Rotator container */
  .why-rotate-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* Each rotating item */
  .rotate-item {
    display: none; /* JS shows one at a time */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 320px; /* keeps text from spilling off screen */
    margin: 0 auto;
  }

  .rotate-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .rotate-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
  }
}
/* =============================== */
/* MOBILE ROTATOR FIX              */
/* =============================== */
@media (max-width: 768px) {

  /* Hide desktop list */
  .why-item {
    display: none !important;
  }

  /* Show mobile rotator */
  .why-rotate-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* Each rotating item */
  .rotate-item {
    display: none; /* JS will set to flex */
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    gap: 12px;
    width: 100%;
    max-width: 320px; /* prevents text from pushing icon off screen */
    margin: 0 auto;
  }

  /* ICON FIX */
  .rotate-item img {
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    filter: none !important;
    object-fit: contain;
  }

  /* TEXT FIX */
  .rotate-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
  }
}
@media (max-width: 768px) {
  /* Hide desktop list */
  .why-item {
    display: none !important;
  }

  /* Show mobile rotator */
  .why-rotate-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 300px;
    padding: 40px 20px;
    box-sizing: border-box;
  }

  /* Each rotating item */
  .rotate-item {
    display: none; /* JS shows one at a time */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  /* Icon styling */
  .rotate-item img,
  .why-rotate-mobile .why-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: contain;
    filter: none !important;
  }

  @media (max-width: 768px) {
    .rotate-item p {
        font-size: 1.15rem;
        font-weight: 600;
        color: white;
        
        line-height: 1.9;
        margin: 0;
        text-align: center;
        padding: 30px;
        border-radius: 22px;
    }
}
}
@media (max-width: 768px) {
    .why-rotate-mobile .why-icon,
    .rotate-item img {
        margin: 0 !important;
        width: 70px !important;
        height: 70px !important;
        display: block !important;
        object-fit: contain !important;
    }
}
@media (max-width: 768px) {
    .why-rotate-mobile .why-icon,
    .rotate-item img {
        width: 70px !important;
        height: 70px !important;
        margin: 0 auto !important;
        display: block !important;
        object-fit: contain !important;
        transform: none !important;
        opacity: 1 !important;
    }

    /* Hide desktop version on mobile */
    .why-item {
        display: none !important;
    }

    /* Show mobile rotator */
    .why-rotate-mobile {
        display: block !important;
    }
}
/* MOBILE COLLAPSIBLE DESCRIPTION */
@media (max-width: 600px) {

   .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: 8px 92px;
    border: none;
   
    cursor: pointer;
  }

/* Hover glow */


/* Active press */
.mobile-toggle-desc:active {
    transform: scale(0.96);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}




    .intro-description {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .intro-description.open {
        max-height: 1000px; /* enough for full text */
    }
}

/* DESKTOP ALWAYS OPEN */
@media (min-width: 601px) {
    .mobile-toggle-desc {
        display: none;
    }
    .intro-description {
        max-height: none;
    }
    .mobile-toggle-desc {
    display: block;
    margin: 10px auto 20px;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--brand-darkpurple), var(--brand-lightpurple));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mobile-toggle-desc:active {
    transform: scale(0.96);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

}








/* ============================================================
   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) {

    .why-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    overflow: visible;
    left: 80px;
}
  /* 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: 768px) {
    .mobile-toggle-desc {
        display: none !important;
    }

    .intro-description {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
@media (max-width: 768px) {
    .intro-text,
    .intro-description {
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .intro-description p {
        margin: 0 !important;
        background: none;
        color: white;
    }

    .inline-contact {
        color: white;
    }
}

@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; 
    }
}