/* --------------------------------------------------
   GLOBAL STYLES
-------------------------------------------------- */
: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;
}
.page-wrap {
    max-width: 1600px;
    margin: 0 auto;
    
}

html, body {
    overflow-x: hidden;
    font-family: var(--font-sans);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background: black;
    
   
}

h1, h2, h3 {
    font-family: var(--font-sans);
    margin: 0;
}

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */
.nav {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: black;
    margin-bottom: 40px;
    
    padding: 12px 0;
}

.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
hr {
    border: none;
    height: 35px; /* thickness of the bar */
    width: 100%;
    

    background: linear-gradient(
        to left,
        var(--brand-darkpurple) 0%,
        var(--brand-darkpurple) 50%,
        var(--brand-lightpurple) 100%
    );

    margin-top: -11px;
    padding: 4px;
    border-radius: 0; /* optional */
}


.nav-contact {
    position: absolute;
    top: 14px;
    right: 30px;

    display: flex;
    align-items: center;
    gap: 19px;
    margin-right: -10px;
    
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 900;
}

.nav-contact a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: -8px;
    transition: opacity 0.25s ease;
}

.nav-contact a:hover {
    opacity: 1;
}

.nav-contact .icon {
    font-size: 1.1rem;
    line-height: 0;
    
}
.nav-contact {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    
}

.nav-contact__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-contact__icon img {
    width: 20px;   /* adjust to your design system */
    height: 20px;
    display: block;
    margin-right: -10px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.35)); /* subtle chrome glow */
}

.nav-contact__label {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-sans);
    color: white;
}



.nav-brand img {
    height: 138px;
    margin-right: 18px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links a {
    
    color: white;
    border-radius: 6px;
    padding: 6px;
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 18px;
    text-decoration: none;
    font-weight: 800;
    
}

.nav-links a:hover {
    opacity: 0.9;
    color: var(--brand-lightpurple);
}

.nav-cta {
    color: #000000;
   

    
    
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-brand img {
    height: 75px; /* adjust as needed */
    width: auto;
    margin-left: -25px;
    animation: LogoSlide 1.4s ease-out forwards;


}



/* Dropdown container */
.nav-links li {
    position: relative;
}
.dropdown ul,
.dropdown li {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* Hide dropdown by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -52px;
    background: black;
    border: 1px solid var(--brand-lightpurple);
    border-radius: 6px;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    flex-direction: column;
    z-index: 999;
}

/* Show on hover */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Dropdown links */
.dropdown-menu a {
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--brand-lightpurple);
    color: #000000;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s ease;
}



/* --------------------------------------------------
   HERO BASE
-------------------------------------------------- */
/* HERO ROOT */
/* ===========================
   HERO ROOT
/* --------------------------------------------------
   HERO
-------------------------------------------------- */
.hero {
    position: relative;
    height: 650px;
    overflow: hidden;
}

/* ========== HERO ========== */

/* HERO WRAPPER */
.hero-waterproofing {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    text-align: center;
    min-height: 65vh; /* identical to surfacing */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FLOWING BACKGROUND */
.hero-waterproofing .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/waterpic3.jpg'); /* replace */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(1.1);
    z-index: 1;
}

/* DARK OVERLAY */
.hero-waterproofing .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.85)
    );
    z-index: 2;
}

/* CONTENT */
.hero-waterproofing .hero-content {
    position: relative;
    z-index: 3;
}

.hero-waterproofing .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-waterproofing .hero-title .dark {
    color: var(--brand-lightpurple);
}

/* --------------------------------------------------
   WATERPROOFING HERO — FIXED
-------------------------------------------------- */

/* BACKGROUND MUST ALWAYS BE VISIBLE */
.hero-waterproofing .hero-bg,
.hero-waterproofing .hero-overlay {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* HERO WRAPPER — fade in */
.hero-waterproofing {
    opacity: 0;
}
.hero-waterproofing.visible {
    animation: fadeUp 0.8s ease-out forwards;
}

/* TITLE — fade up */
.hero-waterproofing .hero-title {
    opacity: 0;
}
.hero-waterproofing .hero-title.visible {
    animation: fadeUp 1.2s ease-out forwards;
}

/* KEYFRAME */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}


/* --------------------------------------------------
   BRAND INTRO
-------------------------------------------------- */
/* ================================
   WATERPROOFING SECTION
================================ */
.waterproofing-section {
  background-color: #000;
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  padding: 80px 40px;
}

/* ROW LAYOUT */
.waterproofing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 50px;
}

/* IMAGES */
.waterproofing-img {
  width: 45%;
  border-radius: 6px;
  object-fit: cover;
}

/* TEXT BLOCK */
.waterproofing-text {
  width: 100%;
  max-width: 1200px;
  font-size: 1.3rem;
  line-height: 1.75;
}

/* SECOND ROW — TEXT FIRST */
.waterproofing-row.middle {
  flex-direction: row;
}

/* BOTTOM ROW */
.waterproofing-row.bottom {
  flex-direction: column;
  text-align: center;
  margin-top: 40px;
}

.contact {
  font-size: 1.15rem;
  color: #fff;
}

.inline-contact {
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.inline-contact:hover {
  color: var(--brand-darkpurple);
}

.inline-contact-info {
  font-style: italic;
  margin-left: 6px;
}

/* ================================
   ANIMATIONS
================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-left { transform: translateX(-40px); }
.fade-right { transform: translateX(40px); }
.fade-up { transform: translateY(40px); }

/* ================================
   RESPONSIVE — MOBILE
================================ */
@media (max-width: 900px) {
  .waterproofing-section {
    padding: 50px 30px;
  }

  .waterproofing-row {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .waterproofing-img {
    width: 100%;
  }

  .waterproofing-text {
    width: 100%;
    font-size: 1.05rem;
  }

  .contact {
    font-size: 1.05rem;
  }
}
@media (max-width: 768px) {

  .waterproofing-section {
    padding: 40px 20px;
  }

  .waterproofing-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    margin-bottom: 50px;
  }

  /* Images full width on mobile */
  .waterproofing-img {
    width: 100%;
    max-width: 600px;
    border-radius: 6px;
  }

  /* Text full width on mobile */
  .waterproofing-text {
    width: 100%;
    font-size: 1rem;
    line-height: 1.65;
    text-align: center;
  }

  /* Middle row must stack text first, then image */
  .waterproofing-row.middle {
    flex-direction: column;
  }

  /* Bottom contact line */
  .waterproofing-row.bottom {
    margin-top: 20px;
  }

  .contact {
    font-size: 1rem;
    margin-top: 10px;
  }

  .inline-contact {
    display: inline-block;
    margin-bottom: 4px;
  }

  .inline-contact-info {
    display: block;
    font-weight: 700;
  }

  /* Animation adjustments for mobile */
  .animate-on-scroll {
    transform: translateY(30px);
  }
}

/* ================================
   RESPONSIVE — LARGE SCREENS (1440px+)
================================ */
@media (min-width: 1440px) {

  .waterproofing-section {
    padding: 100px 120px; /* generous breathing space */
  }

  .waterproofing-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 80px; /* wider spacing between image and text */
    margin-bottom: 100px;
  }

  .waterproofing-img {
    flex: 0 0 50%;
    max-width: 700px;
    height: 420px;
    border-radius: 8px;
  }

  .waterproofing-text {
    flex: 1;
    font-size: 1.25rem;
    line-height: 1.8;
  }

  .contact {
    font-size: 1.15rem;
    margin-top: 30px;
  }

  /* Optional: subtle animation offset for cinematic feel */
  .animate-on-scroll {
    transform: translateY(40px);
  }
}


/* ========== COLLAGE ========== */

/* WATERPROOFING SECTION — MORE HEIGHT */
.waterproof-applications {
    position: relative;
    padding: 100px 0;
    text-align: center;

    background: url('/images/background pic. 2jpg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* DARK OVERLAY */
.waterproof-applications::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55); /* adjust darkness here */
    z-index: 1;
}

/* KEEP TEXT ABOVE OVERLAY */
.waterproof-applications * {
    position: relative;
    z-index: 2;
}
.waterproof-applications,
.waterproof-applications * {
    color: #ffffff !important;   /* pure bright white */
    text-shadow: 0 0 6px rgba(0,0,0,0.6); /* optional: makes it pop more */
}
.waterproof-applications .features-list li,
.waterproof-applications .waterproof-list li,
.waterproof-applications .features-list li strong {
    color: #ffffff !important;          /* pure bright white */
    text-shadow: 0 0 6px rgba(0,0,0,0.95); /* subtle glow for readability */
}


/* TITLE */
.waterproof-applications .section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px;
    background: none;
    font-size: 2.6rem;
    color: white;
}

/* EXACT 2‑COLUMN BULLET LIST */
.waterproof-list {
    margin: 0 auto;
    padding: 0;
    max-width: 700px;      /* centers the whole block */
    columns: 2;            /* EXACTLY like your screenshot */
    column-gap: 60px;
    list-style: none;      /* remove default bullets */
}

.waterproof-list li {
    position: relative;
    padding-left: 18px;    /* same spacing as default bullets */
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    text-align: left;      /* matches screenshot */
   
}

/* Purple bullet that looks like the default one */
.waterproof-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-darkpurple);
    font-size: 1.6rem;
    line-height: 1.2;
}




/* SECTION WRAPPER */
.waterproofing-features {
    padding: 100px 0;
    text-align: center;
    background: #0c0c11;
}

/* TITLE */
.waterproofing-features .section-title {
    margin: 0 0 50px 0;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.waterproofing-features .section-title .white {
    color: white;
}

.waterproofing-features .section-title .purple {
    color: var(--brand-lightpurple);
}

/* VERTICAL LINE LIST (EXACTLY LIKE YOUR IMAGE) */
.features-list {
    margin: 0 auto;
    padding: 0 0 0 30px;      /* space for line + bullets */
    max-width: 800px;
    list-style: none;
    border-left: 4px solid var(--brand-darkpurple); /* long vertical line */
}

/* LIST ITEMS */
.features-list li {
    position: relative;
    
    margin-bottom: 30px;
    font-size: 1.45rem;
    font-weight: 500;
    color: #e8e8e8;
    text-align: left;
    padding-left: 20px; /* space for bullet */
}

/* PURPLE BULLET */
.features-list li::before {
    content: "•";
    position: absolute;
    left: -18px;               /* positions bullet on the line */
    top: 0;
    color: var(--brand-darkpurple);
    font-size: 2rem;
    line-height: 1;
}
/* --------------------------------------------------
   WATERPROOFING FEATURES — ANIMATIONS
-------------------------------------------------- */

/* Section fade */
.waterproofing-features {
    opacity: 0;
}
.waterproofing-features.visible {
    animation: fadeUp 1s ease-out forwards;
}

/* Title lines fade up */
.waterproofing-features .section-title span {
    opacity: 0;
}
.waterproofing-features .section-title span.visible {
    animation: fadeUp 1s ease-out forwards;
}

/* Stagger title lines */
.waterproofing-features .section-title span.white.visible {
    animation-delay: 0.1s;
}
.waterproofing-features .section-title span.purple.visible {
    animation-delay: 0.25s;
}

/* Bullet items slide in left */
.features-list li {
    opacity: 0;
}
.features-list li.visible {
    animation: fadeLeft 0.9s ease-out forwards;
}

/* Stagger bullets */


/* Keyframes */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    0% { opacity: 0; transform: translateX(-60vh); }
    100% { opacity: 1; transform: translateX(0); }
}


/* --------------------------------------------------
   WATERPROOFING APPLICATIONS — ANIMATIONS
-------------------------------------------------- */

/* Section fade */
.waterproof-applications {
    opacity: 0;
}
.waterproof-applications.visible {
    animation: fadeUp 1s ease-out forwards;
}

/* Title fade */
.waterproof-applications .section-title {
    opacity: 0;
}
.waterproof-applications .section-title.visible {
    animation: fadeUp 1.1s ease-out forwards;
}

/* Bullet items — slide in left */
.waterproof-list li {
    opacity: 0;
}
.waterproof-list li.visible {
    animation: fadeLeft 0.9s ease-out forwards;
}

/* Stagger timing */

/* Keyframes (already in your global set) */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(60vh); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    0% { opacity: 0; transform: translateX(-60vh); }
    100% { opacity: 1; transform: translateX(0); }
}


/* 4‑PHOTO ROW */
/* 4‑PHOTO ROW WRAPPER */
.waterproof-photo-row {
  width: 100%;
  padding: 40px 0 20px;
  display: flex;
  justify-content: center;
}

/* GRID */
.wp-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  padding: 0 40px;
}

/* EACH ITEM */
.wp-photo-item {
  text-align: center;
}

/* TITLES ABOVE PHOTO 2 & 3 */
.wp-photo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* IMAGES */
.wp-photo-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.35);
}

/* TABLET */
@media (max-width: 900px) {
  .wp-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* PHONE */
@media (max-width: 600px) {
  .wp-photo-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .wp-photo-grid img {
    height: 220px;
  }
}

/* 1700px ULTRA‑WIDE */
@media (min-width: 1700px) {
  .wp-photo-grid {
    max-width: 1600px;
    gap: 32px;
  }

  .wp-photo-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .wp-photo-grid img {
    height: 280px;
    border-radius: 14px;
  }
  .wp-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;

  align-items: center; /* ensures all items align vertically */
}

.wp-photo-item {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centers image + title vertically */
  align-items: center;
}

.wp-photo-grid img {
  width: 100%;
  height: 260px; /* fixed height for consistency */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.35);
}

}



/* --------------------------------------------------
   SMALL BRAND STATEMENT (MINIMAL)
-------------------------------------------------- */




/* --------------------------------------------------
   BRAND STATEMENT
-------------------------------------------------- */
.brand-statement {
    padding: 20px 15px;
    text-align: center;
    background: var(--brand-dark);

    opacity: 0;
    transform: translateX(40px);
    z-index: 50; /* 🔥 ensures it sits ABOVE everything */
    position: relative; /* required for z-index to work */
}

/* When visible */
.brand-statement.visible {
    animation: brandSlideRight 0.9s ease-out forwards;
}

/* Small line */
.brand-statement .small {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-darkpurple);
    letter-spacing: 1px;
    font-style: italic;
    font-family: var(--font-sans);

    opacity: 0;
    transform: translateX(40px);
}

.brand-statement .small.visible {
    animation: brandTextRight 0.9s ease-out forwards;
    animation-delay: 0.15s;
}

/* Big line */
.brand-statement .big {
    margin: 5px 0 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    font-style: italic;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;

    opacity: 0;
    transform: translateX(40px);
}

.brand-statement .big.visible {
    animation: brandTextRight 1.4s ease-out forwards;
    animation-delay: 0.3s;
}

/* Animations */
@keyframes brandSlideRight {
    0% { opacity: 0; transform: translateX(40vh); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes brandTextRight {
    0% { opacity: 0; transform: translateX(40vh); }
    100% { opacity: 1; transform: translateX(0); }
}


/* --------------------------------------------------
   KEYFRAMES
-------------------------------------------------- */

@keyframes brandSlideRight {
    0% { opacity: 0; transform: translateX(40vh); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes brandTextRight {
    0% { opacity: 0; transform: translateX(60vh); }
    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 — WATERPROOFING     */
    /* ========================= */

    .hero-waterproofing {
        padding: 100px 0 80px;
        min-height: 60vh;
    }

    .hero-waterproofing .hero-bg {
        background-attachment: scroll; /* fix iOS jitter */
        background-position: center;
    }

    .hero-waterproofing .hero-title {
        font-size: 2.4rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }




    /* ========================= */
    /* BRAND INTRO               */
    /* ========================= */

    .brand-intro {
        padding: 60px 10px;
        background-size: cover;
    }

    .intro-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .intro-logo {
        height: 120px;
        margin: 0 auto;
    }

    .intro-wrapper {
        flex-direction: column;
        padding: 10px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .intro-inline-img {
        height: 280px;
        width: 360px;
        margin: 0 auto 12px;
    }

    .intro-photo {
        height: 180px;
        width: auto;
        margin: 0 auto;
    }

    .contact-link {
        margin: 20px auto 0;
        width: 140px;
        padding: 12px;
    }

    .dealer-link {
        font-size: 1rem;
        margin-top: 14px;
    }

@media (max-width: 600px) {

    /* ========================= */
    /* BRAND INTRO               */
    /* ========================= */

    .brand-intro {
        padding: 50px 12px;
        background-size: cover;
        text-align: center;
    }

    .intro-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .intro-logo {
        height: 120px;
        margin: 0 auto;
    }

    .intro-wrapper {
        flex-direction: column;
        padding: 10px;
        font-size: 1rem;
        line-height: 1.45;
        text-align: center;
    }

    .intro-inline-img {
        height: 280px;
        width: 360px;
        margin: 0 auto 12px;
        object-fit: cover;
    }

    .intro-photo {
        height: 180px;
        width: auto;
        margin: 0 auto;
    }

    .contact-link {
        margin: 20px auto 0;
        width: 140px;
        padding: 12px;
    }

    .dealer-link {
        font-size: 1rem;
        margin-top: 14px;
    }

    .inline-contact {
        font-size: 1rem;
    }



    /* ========================= */
    /* WATERPROOF APPLICATIONS   */
    /* ========================= */

    .waterproof-applications {
        padding: 60px 12px;
        background-position: center;
        background-size: cover;
    }

    .waterproof-applications .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    /* 2 columns → 1 column */
    .waterproof-list {
        columns: 2;
        max-width: 100%;
        column-gap: 0;
        padding-left: 0;
    }

    .waterproof-list li {
        font-size: 1.2rem;
        margin-bottom: 10px;
        padding-left: 16px;
    }

    .waterproof-list li::before {
        font-size: 1.2rem;
        top: 0;
    }



    /* ========================= */
    /* WATERPROOFING FEATURES    */
    /* ========================= */

    .waterproofing-features {
        padding: 60px 12px;
    }

    .waterproofing-features .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .features-list {
        max-width: 92%;
        padding-left: 20px;
        border-left-width: 4px;
    }

    .features-list li {
        font-size: 1.1rem;
        margin-bottom: 20px;
        padding-left: 16px;
    }

    .features-list li::before {
        font-size: 1.4rem;
        left: -14px;
    }



    /* ========================= */
    /* BRAND STATEMENT           */
    /* ========================= */

    .brand-statement {
        padding:  0;
        text-align: center;
    }

    .brand-statement p {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    .brand-statement .big {
        font-size: 1.3rem;
    }
}
}
/* ============================================================
   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 {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    font-style: italic;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;

    opacity: 0;
    transform: translateX(40px); /* slide from right */
}

    /* ============================
       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;
    }
}
/* ================================
   SURFACING SOLUTIONS — LARGE SCREENS (1440px+)
================================ */
@media (min-width: 1440px) {

  .surfacing-section {
    padding: 120px 160px;
  }

  .surfacing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    margin-bottom: 120px;
  }

  .surfacing-img {
    flex: 0 0 48%;
    max-width: 800px;
    height: 460px;
    border-radius: 10px;
    object-fit: cover;
  }

  .surfacing-text {
    flex: 1;
    font-size: 1.35rem;
    line-height: 1.85;
    color: #fff;
  }

  .surfacing-row.bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 60px;
  }

  .surfacing-row.bottom .contact {
    font-size: 1.25rem;
    margin-top: 30px;
  }

  .animate-on-scroll {
    transform: translateY(50px);
  }
}
@media (min-width: 1440px) {
  .surfacing-row.bottom p {
    max-width: 1100px;
    font-size: 1.35rem;
    line-height: 1.85;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   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 12px;     /* 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;
  }
  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: 0;
    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;
}
}



/* ============================================
   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;
  }
}

/* Hide the mobile QUICK LINKS button */

@media (max-width: 600px) {
    .footer-links-left .footer-heading {
        display: none !important;
    }
     .footer-bottom p { 
        text-align: center; 
        margin: 0 auto; 
        padding: 14px 0;
        background: black;
        color: white; 
    }
    
}


@media (min-width: 1700px) {
  .waterproof-applications .section-title {
    font-size: 4.3rem;      /* bigger, but not oversized */
    margin-bottom: 80px;    /* more breathing room */
    letter-spacing: 1px;    /* subtle premium spacing */
    text-align: center;
  }
}
