:root {
    --pink: #ffb6d9;
    --chrome: rgba(255,255,255,0.35);
    --dark-bg: #0d0d0f;
    --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;
}
html, body {
    overflow-x: hidden;
    font-family: var(--font-serif);
}

body {
    margin: 0;
    padding: 2%;
    font-family: var(--font-sans);
    padding-bottom: 7px;
    
    background-image: url('/images/simulatedpic.png'); /* replace with your file */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}



h1, h2, h3 {
    font-family: var(--font-serif);
    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: 15px; /* 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;
}

/* Full-page background image */
.contact-wrapper {
    background-image: url('/images/YOURIMAGE.jpg'); /* replace with your actual file */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* keeps image steady while scrolling */
    display: flex;
    align-items: stretch;
    min-height: 100%;
}


/* LEFT PANEL */
.contact-left {
    width: 45%;
    background: var(--dark-bg) url('/images/Contact\ Us.png') center/cover no-repeat;
    position: relative;
    padding: 60px;
    color: white;
}

.left-overlay {
    position: absolute;
    inset: 0;
    
}

.left-title {
    position: relative;
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.left-title .light {
    color: var(--brand-darkpurple);
    font-family: var(--font-sans);
}

.left-title .dark {
    color: white;
    font-family: var(--font-sans);
}

.left-info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-block h4 {
    color: var(--brand-lightpurple);
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-family: var(--font-sans);
}

.info-block p {
    opacity: 0.85;
    line-height: 1.5;
    font-family: var(--font-sans);
}

/* RIGHT PANEL */
.contact-right {
    width: 55%;
    background: var(--brand-dark);
    padding: 6px 70px;
    
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
    font-family: var(--font-sans);
}
.form-title .darkpurple {
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

label {
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

input,
textarea {
    padding: 14px;
    border-radius: 8px;
    border: 3px solid var(--brand-lightpurple);
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
}

input:focus,
textarea:focus {
    border-color: var(--brand-dark);
    box-shadow: 0 0 8px var(--chrome);
}

.send-btn {
    margin-top: 10px;
    padding: 16px;
    background: var(--brand-darkpurple);
    color: black;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.send-btn:hover {
    background: var(--brand-darkpurple);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
}
.contact-section {
    scroll-margin-top: 120px; /* adjust based on your nav height */
}


/* =========================================================
   CONTACT PAGE — MULTI‑SECTION SYSTEM
   ========================================================= */

/* ---------- TAB NAVIGATION ---------- */
.contact-nav {
  display: flex;
  flex-wrap: wrap;              /* allows second row if needed */
  justify-content: center;      /* centers all buttons horizontally */
  gap: 16px;                    /* consistent spacing between buttons */
  margin-bottom: 30px;
}

.contact-tab {
  background: #f5f5f5;
  color: #222;
  border: none;
  border-radius: 8px;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-tab.active {
  background: var(--brand-darkpurple);          /* purple highlight */
  color: #fff;
}

.contact-tab:hover {
  background: #e0e0e0;
}


/* ---------- SECTION VISIBILITY ---------- */
.contact-section {
    display: none;
    animation: fadeIn 0.35s ease;
    
}

.contact-section.active {
    display: block;
}
#project-support {
  scroll-margin-top: 220px; /* header height + section padding */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- TITLES ---------- */
.form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.darkpurple {
    color: white;
}

.section-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    color: white;
}

/* ---------- CONTACT INFO BLOCK ---------- */
.contact-info-block {
    
    
    
    
    margin-bottom: 25px;
}

.contact-info-block p {
    margin: 5px 0;
    font-size: 15px;
    color: white;
}

/* ---------- FORMS ---------- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdce5;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    transition: 0.25s ease;
}



.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4b2e83;
    outline: none;
    box-shadow: 0 0 0 2px rgba(75, 46, 131, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ---------- SUBMIT BUTTON ---------- */
.send-btn,
.submit-btn {
    background: var(--brand-darkpurple);
    color: #fff;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    width: fit-content;
}

.send-btn:hover,
.submit-btn:hover {
    background: #3a2366;
}

/* ---------- SMALL NOTE ---------- */
.small-note {
    font-size: 13px;
    color: #555;
    line-height: 1.45;
    margin-top: -5px;
}

/* ---------- SUPPORT BENEFITS SECTION ---------- */
.support-benefits {
    margin-top: 5px;
    padding: 5px;
    
    
    border-radius: 6px;
}

.support-benefits h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--brand-lightpurple);
}

.support-benefits ul {
    padding-left: 20px;
    color:white;
}

.support-benefits li {
    margin-bottom: 8px;
    font-size: 15px;
    color:white;
}

/* ---------- INSTALLER TEXT ---------- */
.installer-text {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 25px;
    color: white;
}

/* ---------- CONTRACTOR NOTE ---------- */
.contractor-note {
    margin-top: 15px;
    font-size: 14px;
    color: white;
    line-height: 1.45;
}

/* Ensure footer stays below all content */
.impermitek-footer,
.footer-bottom {
    clear: both;
    width: 100%;
    display: block;
    position: relative;
    margin-top: 60px; /* space above footer */
}

/* Fix layout stacking for contact wrapper */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

/* Left and right panels stack properly */
.contact-left,
.contact-right {
    flex: 1 1 500px;
    min-width: 300px;
}

/* Prevent footer from being pulled into flex layout */
.contact-wrapper + .impermitek-footer {
    flex: none;
}

/* Center the Contact Us title in the left panel */
.contact-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertical center */
    align-items: center;       /* horizontal center */
    text-align: center;
    height: 80vh;             /* full viewport height */
}

/* Optional overlay adjustment */
.left-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Ensure title sits above overlay */
.left-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px; /* space between words */
    font-size: 5rem; /* adjust size */
    line-height: 1;
    white-space: nowrap;
}

.left-title span {
    display: inline-block !important; /* force same line */
}


/* Brand‑matched typography */
.left-title .light {
    color: var(--brand-lightpurple); /* soft purple accent */
}

.left-title .dark {
    color: #fff;
}
/* Force Contact Us title to scale properly */
.left-title {
    font-size: 6rem !important;   /* adjust size here */
    line-height: 1.1;
    text-align: center;
    z-index: 2;
}

/* Make each word scale with the parent */
.left-title .light,
.left-title .dark {
    font-size: inherit !important;
    display: block;
}

/* Dealer form wrapper */
.metal-gallery .carousel-wrapper,
.metal-gallery form {
  max-width: 1400px;      /* match your other contact forms */
  width: 90%;             /* keep some breathing room */
  margin: 0 auto;         /* center horizontally */
}

/* Input fields */
.metal-gallery input,
.metal-gallery textarea {
  width: 100%;
  font-size: 1.05rem;
  padding: 14px 16px;
}

/* Optional: increase spacing between fields */
.metal-gallery form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}



/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .form-row {
        flex-direction: column;
    }

    .contact-nav {
        flex-direction: column;
    }

    .contact-tab {
        width: 100%;
        text-align: center;
    }
}



/* --------------------------------------------------
   BRAND STATEMENT
-------------------------------------------------- */


/* When visible */
/* Parent section must define positioning and height */
.section-with-brand-statement {
    position: relative;
    min-height: 100vh; /* or whatever height your section should occupy */
}

/* Brand statement stays pinned to bottom */
.brand-statement {
    position: absolute;
    bottom: -65px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background: var(--brand-dark); /* optional if you want contrast */
}



/* Optional: if parent section adds gradient or shadow */



/* 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); }
}

/* ========================= */
/* BECOME A DEALER SECTION   */
/* ========================= */

#become-dealer {
  padding: 60px 20px;
  background: #f8f8f8; /* match your installer section background */
}
#project-support {
  scroll-margin-top: 220px; /* header height + section padding */
}
#general-inquiries {
  scroll-margin-top: 220px; /* header height + section padding */

}
#authorized-installer {
  scroll-margin-top: 220px; /* header height + section padding */
}
#become-dealer {
  scroll-margin-top: 220px; /* header height + section padding */
}
#certified-contractor {
  scroll-margin-top: 220px; /* header height + section padding */
}

.dealer-text {
  max-width: 900px;
  margin:  auto 4px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  text-align: center;
}

/* Match installer form layout */
.dealer-form {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dealer-form .form-row {
  display: flex;
  gap: 18px;
}

.dealer-form input,
.dealer-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}

.dealer-form textarea {
  resize: vertical;
  min-height: 120px;
}

.dealer-form .send-btn {
  padding: 14px 20px;
  background: var(--brand-darkpurple); /* your dark purple */
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.dealer-form .send-btn:hover {
  background: #3a2266;
}
/* ========================= */
/* BECOME A DEALER SECTION   */
/* ========================= */

#become-dealer {
  background-color: #000; /* same black background */
  color: #fff;            /* white text */
  padding: 60px 0;
}

/* Title styling identical to installer */
#become-dealer .form-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

#become-dealer .form-title .darkpurple {
  color: white; /* same purple accent */
}

/* Paragraph text */
.dealer-text {
  max-width: 900px;
  margin: auto 4px auto;
  font-size: 16px;
  line-height: 1.7;
  color: #fff; /* white text */
  text-align: left;
}

/* Form layout identical to installer */
.dealer-form {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dealer-form .form-row {
  display: flex;
  gap: 18px;
}

.dealer-form input,
.dealer-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff; /* white input background */
  color: #333;      /* dark text inside inputs */
}

.dealer-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button identical to installer */
.dealer-form .send-btn {
  padding: 14px 20px;
  background: var(--brand-darkpurple); /* purple accent */
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.dealer-form .send-btn:hover {
  background: #5a2b8a; /* darker purple hover */
}



/* ============================================
   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: -30px 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;
    }


/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }
}
@media (min-width: 1400px) {
  .contact-left,
  .contact-right {
    flex: 1 1 800px;   /* wider flex basis */
    min-width: 900px;  /* bigger minimum width */
  }
}


/* =========================================================
   CONTACT PAGE — PHONE MEDIA (max-width: 600px)
   ========================================================= */
@media (max-width: 600px) {

    /* WRAPPER */
    .contact-wrapper {
        flex-direction: column;
        background-attachment: scroll;
    }

    /* LEFT PANEL */
    .contact-left {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        text-align: center;
        justify-content: center;
        align-items: center;
        background-position: center;
        background-size: cover;
    }

    .left-title {
        font-size: 3.6rem !important;
        line-height: 1.1;
        flex-direction: column;
        gap: 0;
        margin: 40px;
    }

    .left-title span {
        display: block !important;
    }

    .installer-text {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-top: 20px;
    }

    /* RIGHT PANEL */
    .contact-right {
        width: 100%;
        padding: 30px 0;
        border-left: none;
        box-shadow: none;
        background: rgba(0,0,0,0.55);
        backdrop-filter: blur(8px);
    }

    .form-title {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 18px;
    }

    /* NAVIGATION TABS */
    .contact-nav {
        flex-direction: column;
        gap: 10px;
    }

    .contact-tab {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1rem;
    }

    /* SECTION CONTENT */
    .contact-section {
        padding: 0 5px;
    }

    .section-subtitle {
        text-align: center;
        font-size: 0.95rem;
    }

    /* CONTACT INFO BLOCK */
    .contact-info-block {
        padding: 12px;
        font-size: 0.9rem;
    }

    /* FORM */
    .contact-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .form-row {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 1rem;
        width: 100%;
    }

    textarea {
        min-height: 110px;
    }
    

    /* =========================================================
       BUTTONS — FIXED FOR PHONE VIEWPORT
       ========================================================= */
    .send-btn,
    .submit-btn {
        display: block;
        width: 85%;                /* smaller so it fits inside phone */
        max-width: 320px;          /* guaranteed to never overflow */
        margin: 18px auto 0 auto;  /* centered */
        padding: 14px;
        font-size: 1rem;
        border-radius: 8px;
        text-align: center;
    }

    /* SUPPORT BENEFITS */
    .support-benefits {
        padding: 15px;
        margin-top: 25px;
    }

    .support-benefits h4 {
        font-size: 1.1rem;
        text-align: center;
    }

    .support-benefits li {
        font-size: 0.95rem;
    }

    /* CONTRACTOR NOTE */
    .contractor-note {
        font-size: 0.9rem;
        text-align: center;
        padding: 0 10px;
    }

    /* FOOTER FIX */
    .impermitek-footer,
    .footer-bottom {
        margin-top: 40px;
    }
#project-support {
  scroll-margin-top: 220px; /* header height + section padding */
}
#general-inquiries {
  scroll-margin-top: 220px; /* header height + section padding */

}
#authorized-installer {
  scroll-margin-top: 220px; /* header height + section padding */
}
#become-dealer {
  scroll-margin-top: 220px; /* header height + section padding */
}
#certified-contractor {
  scroll-margin-top: 220px; /* header height + section padding */
}

@media (max-width: 600px) {

    /* FOOTER LAYOUT */
    .impermitek-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 28px;
        padding: 32px 20px;
    }

    /* ORDERING */
    .footer-brand { order: 1; width: 100%; display: flex; flex-direction: column; align-items: center; }
    .footer-col:first-child { order: 2; width: 50%; display: flex; flex-direction: column; align-items: center; }
    .footer-right { order: 3; width: 50%; display: flex; flex-direction: column; align-items: center; }

    /* HIDE DESKTOP CONTENT */
    .footer-links-left .footer-link,
    .footer-contact-right .footer-contact-item,
    .footer-contact-right .footer-link-contact {
        display: none;
    }

    /* QUICK LINKS + CONTACT BUTTONS */
    .footer-heading,
    .footer-title {
        width: 140px;
        padding: 12px 0;
        background: var(--brand-darkpurple);
        border-radius: 5px;
        font-size: 1rem;
        font-weight: 700;
        color: white;
        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;
        display: block;
    }

    .footer-heading:hover,
    .footer-title:hover {
        background: var(--brand-lightpurple);
        transform: translateY(-2px);
    }

    /* DROPDOWN OPEN STATE */
    .footer-links-left.active .footer-link {
        display: block;
        margin-top: 6px;
    }

    .footer-contact-right.active .footer-link-contact {
        display: block !important;
        margin-top: 10px;
        pointer-events: auto !important;
    }

    /* FIX CONTACT DROPDOWN FREEZE */
    .footer-contact-right .footer-title {
        pointer-events: auto !important;
        cursor: pointer !important;
        margin-top: 0;
        margin-left: 0;
    }

    /* 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;
        color: white; 
    }

    /* REMOVE PURPLE CONTACT BUTTON ON MOBILE */
    a[href="/DealerPage/ContactUs.html"] {
        display: none !important;
    }
    .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;
}
}
@media (min-width: 1700px) {

    .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: flex-start;
        text-align: left;
        padding-left: 0;
        transform: translateX(160px);
    }

    .footer-links-left .footer-heading,
    .footer-links-left .footer-link {
        text-align: left !important;
        margin-left: 0 !important;
    }

    .footer-contact-right {
        align-items: flex-start;
        text-align: left;
        transform: translateY(99px);
    }

    /* CONTACT TITLE */
    .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;
        cursor: default;
        text-align: left;
    }

    /* 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);
    }
    /* Expand the Dealer form section */


/* Stretch the form itself */
.dealer-form {
  width: 100% !important;
  max-width: 100% !important;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdce5;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    transition: 0.25s ease;
}
.dealer-form input, .dealer-form textarea {
    width: 100%;
    padding: 33px px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: #333;
}

/* Align inputs evenly */
.dealer-form .form-row {
  display: flex;
  gap: 20px;
}

.dealer-form .form-row input {
  flex: 1;
}
/* Move paragraph directly under title */


/* Shift form boxes left */
.dealer-form {
  width: 100%;
  max-width: 1200px;
  margin-left: 0 !important;  /* aligns with paragraph */
  margin-right: auto;
  text-align: left;
}

/* Keep inputs aligned and compact */
.dealer-form .form-row {
  display: flex;
  gap: 20px;
}

.dealer-form input,
.dealer-form textarea {
  width: 100%;
  box-sizing: border-box;
}


/* Keep form inputs aligned and compact */
.dealer-form .form-row {
  display: flex;
  gap: 20px;
}

.dealer-form input,
.dealer-form textarea {
  width: 100%;
  box-sizing: border-box;
}



}

@media (max-width: 600px) {
    .footer-links-left .footer-heading {
        display: none !important;
    }

    .dealer-form input, .dealer-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: #333;
}
}
}