

    /* 0. GLOBAL SETTINGS */
  html {
    scroll-behavior: smooth;
  }
    /* 1. GLOBAL VARIABLES - The "Control Center" */
    :root {
      --bg-gray: #6E7174;           /* Your Business Card Gray */
      --bg-dark: #0F1113;           /* Dark Section Background */
      --brand-orange: #FF6B00;
      --brand-blue: #00529B;
      --text-main: #FFFFFF;
      --text-muted: rgba(255, 255, 255, 0.6);
      --border: rgba(255, 255, 255, 0.1);
      --nav-blur: rgba(0, 0, 0, 0.4);
    }

    /* 2. BASE STYLES */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { 
      font-family: 'Inter', sans-serif; 
      background-color: var(--bg-gray); 
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; transition: 0.3s; }
    ul { list-style: none; }
    .container { 
    max-width: 1300px; /* Increased slightly for widescreen */
    margin: 0 auto;    /* THE FIX: Centers the entire content block */
    padding: 0 25px; 
    text-align: left; 
}

    /* 3. UTILITY CLASSES */
    .orange-gradient { background: linear-gradient(90deg, #FF6B00 0%, #E65100 100%); }
    .text-outline { -webkit-text-stroke: 1.5px rgba(255,255,255,0.4); color: transparent; }
    .italic-black { font-weight: 900; font-style: italic; text-transform: uppercase; }
    .label-small { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.4em; font-style: italic; }

  /* 4. NAVIGATION */
    nav {
      position: sticky; top: 0; z-index: 100;
      display: flex; justify-content: space-between; align-items: center;
      padding: 15px 40px; 
      background: var(--nav-blur);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo img { width: 220px; transition: 0.3s; }
    .nav-logo:hover img { filter: drop-shadow(0 0 15px rgba(255,107,0,0.4)); transform: scale(1.02); }
    
    .nav-links { display: flex; gap: 40px; align-items: center; transition: all 0.4s ease-in-out;}
    .nav-links a { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); }
    .nav-links a:hover { color: var(--brand-orange); }
    
    .btn-quote { 
      padding: 12px 25px; 
      border-radius: 4px; 
      color: white !important; 
      font-weight: 900; 
      box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
    }

    /* Mobile Hamburger Icon Bars */
    .mobile-toggle {
        display: none; /* Hidden on Desktop */
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }
    .bar {
        width: 30px;
        height: 2px;
        background-color: var(--brand-orange);
        transition: 0.3s;
    }
/* 5. HERO SECTION */
.hero {
    position: relative; 
    height: 85vh; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    overflow: hidden;
    width: 100%;
}

.video-container { position: absolute; inset: 0; z-index: -1; }
.video-overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(0,0,0,0.6); /* Slightly darker for better text contrast */
    z-index: 1; 
}

.hero-video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

/* THE FIX: We stop using 'container' for the Hero to avoid the push issue */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    /* We use a large left padding instead of margin auto to align with the logo */
    padding: 0 8%; 
    box-sizing: border-box;
    text-align: left;
}

.hero-content h1 {
    /* CLAMP: Min 34px (Mobile), Max 75px (Desktop) */
    font-size: clamp(34px, 7vw, 75px) !important; 
    line-height: 1.05;
    margin: 20px 0;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
}

.hero-content h2.label-small {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    letter-spacing: 2px;
}

.hero p { 
    font-size: 1.2rem; 
    border-left: 3px solid var(--brand-orange); 
    padding-left: 20px; 
    max-width: 550px; 
    margin-bottom: 40px; 
    color: var(--text-muted); 
}

/* EXCELLENCE TEXT STYLE */
.excellence-text {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px white;
    font-style: italic;
    font-weight: 900;
    margin-top: 5px;
    letter-spacing: 5px;
}

/* --- MOBILE & FOLD OPTIMIZATION --- */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 25px !important; /* Gutter for the Fold's screen edges */
    }

    .hero-content h1 {
        /* Force a size that we KNOW fits 'Waterproofing' on one line */
        font-size: 32px !important; 
        line-height: 1.1;
    }

    .hero-content h2.label-small {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-content h2.label-small span {
        width: 50px !important;
        margin-right: 0 !important;
    }

    .excellence-text {
        -webkit-text-stroke: 1.2px white;
        font-size: 0.85em;
        letter-spacing: 3px;
    }

    .hero p {
        font-size: 1.05rem;
        max-width: 100%;
        padding-left: 15px;
    }
}

/* Prevents horizontal overflow for the Archive headers */
#featured-transformations h3.italic-black {
    width: 100%;
    overflow-wrap: break-word;
}

@media (max-width: 600px) {
    /* Shows the line break only on mobile to stack the words nicely */
    .mobile-only {
        display: block !important;
    }
    
    #featured-transformations h3.italic-black {
        font-size: 1.5rem !important; 
    }
}


   
  /* 6. MARQUEE ACTIVITIES BANNER */
.marquee {
    background: var(--brand-orange); 
    padding: 8px 0; /* Very slim vertical space */
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-content {
  display: inline-block; /* Essential for calculation */
  white-space: nowrap;
  animation: scroll 30s linear infinite; /* Keeps it looping forever */
  font-weight: 900; 
  font-size: 24px; /* Increased from 14px/16px to make it 'stretch' */
  letter-spacing: 1px; /* Tighter letters so more words fit */
  line-height: 1; /* Removes extra 'air' above and below letters */
    margin: 0 30px; /* Space between the repeating words */
  font-style: italic; 
  text-transform: uppercase; 
  color: rgb(0, 0, 0); 
  letter-spacing: 0.2em;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* Moves exactly 50% so the twin set takes over seamlessly */
    transform: translateX(-50%);
  }
}
    /* 7. STATS STRIP */
    .stats-strip {
      background: rgba(255,255,255,0.05);
      border-top: 1px solid var(--border);
      padding: 30px 0;
      display: flex; justify-content: space-between;
    }
    .stat-item h4 { font-size: 2rem; font-weight: 900; font-style: italic; }
    .stat-item span { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.2em; }

    /* 8. SERVICES GRID */
    .services { padding: 100px 0; background: var(--bg-dark); }
 .service-grid { 
    display: grid; 
    /* repeat(4, 1fr) ensures 4 equal columns that fill the 1300px container */
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px; 
    margin-top: 50px; 
    width: 100%;
}

.service-card { 
    background: rgba(255,255,255,0.03); 
    padding: 35px; 
    border: 1px solid var(--border); 
    transition: 0.3s;
    height: 100%; /* Ensures all cards are the same height */
    display: flex;
    flex-direction: column;
}
  .service-card { 
    background: rgba(255,255,255,0.03); 
    padding: 40px; 
    border: 1px solid var(--border); 
    transition: 0.3s;
    /* Prevents the card from stretching infinitely if the grid fails */
    max-width: 350px; 
}

/* --- HOME PAGE GRID (Featured Section) --- */
#featured-transformations .archive-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    flex-direction: row !important; /* Forces grid instead of stack */
    gap: 30px !important;
}

#featured-transformations .image-container {
    height: 300px !important; /* Back to a normal grid size */
}

/* --- ARCHIVE PAGE SHOWCASE (Full Width) --- */
.archive-page .archive-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 80px !important;
}

.archive-page .image-container {
    height: 70vh !important; /* Massive height for the deep dive */
}
 /* 10. RESPONSIVE */

 /* desktop-only adjustment */
@media (min-width: 1024px) {
    .service-card {
        padding: 40px 25px !important; /* Slightly reduced side padding to give text more room */
    }

    .service-card h4 {
        font-size: 1rem !important; /* Slightly smaller font to ensure 1-line fit */
        white-space: nowrap; /* Forces text to stay on one line */
        letter-spacing: 0.05em; /* Tightens letters slightly */
    }
    /* Navigation for Safari */
nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Required for Safari/iOS */
}

/* Marquee Mask for Safari */
.marquee-wrapper {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
}
@media (max-width: 900px) {
    /* NAVIGATION MOBILE FIXES */
    .nav-links {
        display: none !important; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px;
        gap: 25px;
        border-bottom: 2px solid var(--brand-orange);
        z-index: 200;
    }

    .nav-links.active {
        display: flex !important;
    }

    .mobile-toggle {
        display: flex !important;
        margin-left: auto;
    }

    /* HERO & TEXT MOBILE FIXES */
    /* .hero h1 {
        font-size: 2.8rem !important;
        text-align: left;
    }

    .italic-black {
        font-size: 1.8rem !important;
    } */

    /* STATS STRIP MOBILE FIXES */
    .stats-strip {
        padding: 40px 0;
    }

    .stats-strip .container {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 25px;
    }

    /* SERVICES GRID MOBILE FIXES */
    .service-grid {
        grid-template-columns: 1fr !important; 
        gap: 15px;
        width: 100%;
    }

    .service-card {
        padding: 25px;
        max-width: 100% !important;
    }

 /* CONTACT SECTION MOBILE - BALANCED WIDTH */
@media (max-width: 768px) {
    #contact .container {
        grid-template-columns: 1fr !important;
        /* Constrains the width so it doesn't hit the screen edges */
        max-width: 90% !important; 
        margin: 0 auto !important; /* Centers the whole section */
        gap: 40px;
    }

    #contact div:first-child {
        padding: 20px 0 !important; /* Removes internal padding that causes stretching */
        text-align: left !important;
    }

    /* Fixed alignment for the 'M' and 'E' rows */
    .contact-row {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        margin-bottom: 25px;
        width: 100%;
    }

    .contact-icon-wrapper {
        width: 50px; /* Fixed anchor for the icon box */
        flex-shrink: 0;
        margin-right: 15px;
    }

    /* Keep the form inputs from looking too massive */
    .contact-form input, 
    .contact-form textarea {
        width: 100%;
        box-sizing: border-box; /* Prevents inputs from growing wider than the screen */
    }
}
}
/* 11. WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  /* Change the background to your Brand Blue or a Darker Gray */
  background-color: var(--brand-blue); 
  color: white;
  border-radius: 50px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.1); /* Adds a subtle 'industrial' edge */
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  /* On hover, it turns to the Brand Orange */
  background-color: var(--brand-orange);
  transform: translateY(-5px);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: white;
  color: black;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  right: 80px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px;
  }
}

    /* ============ 9. THE ARCHIVE (Gallery) ======================*/

/* --- INDUSTRIAL GRAY ARCHIVE (Pattern-Safe) --- */

/* ============ ARCHIVE PAGE EXCLUSIVE STYLES ====================== */

/* Container for the entire project block */
.archive-page .project-block {
    padding: 80px 0;
    background: #111111; /* Your Deep Charcoal */
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

/* The split layout: Image on one side, Info on the other */
.archive-page .showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    margin-bottom: 40px;
    align-items: start;
}

/* Big Hero Image for the project */
.archive-page .featured-frame {
    height: 55vh;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    position: relative;
}

.archive-page .featured-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Meta Data (Location/Scope) */
.archive-page .project-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-left: 4px solid var(--brand-blue);
    margin: 25px 0;
}

.archive-page .meta-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.archive-page .meta-value {
    font-weight: 800;
    font-size: 14px;
    color: white;
}

/* Mobile Fixes - Stack them on phones */
@media (max-width: 992px) {
    .archive-page .showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .archive-page .featured-frame {
        height: 40vh;
    }
}
#archive {
    /* Keeping it gray to match your alternating pattern */
    background-color: #3d3d3d; 
    /* Adding a subtle top-to-bottom depth */
    background-image: linear-gradient(to bottom, #444444, #333333);
    padding: 100px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.archive-item {
    /* Using a 'Deep Charcoal' for the cards so they pop against the gray */
    background: #111111; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px; /* Sharper corners for a more 'Trade' feel */
    overflow: hidden;
    transition: all 0.3s ease;
}

.archive-item:hover {
    transform: translateY(-5px);
    /* Subtle orange glow to match the brand */
    box-shadow: 0 15px 30px rgba(255, 81, 0, 0.15); 
    border-color: var(--brand-orange);
}

.story-content {
    padding: 25px;
    background: #111111;
}

/* ANTI-CLIPPING BADGES */
.case-detail {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.8;
    color: #cccccc;
}

.case-label {
    display: inline-block;
    font-weight: 900;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
    margin-right: 8px;
    text-transform: uppercase;
    vertical-align: middle;
}

.label-problem { background: rgba(255, 51, 0, 0.15); color: var(--brand-orange); }
.label-solution { background: rgba(0, 102, 255, 0.15); color: var(--brand-blue); }

/* --- 9a. THE ARCHIVE SECTION (FIXED & SCALED) --- */

#archive .archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 450px));
    justify-content: center;
    gap: 40px; /* Space between photos */
    padding: 20px;
}

#archive .archive-item {
    position: relative;
    background: #000;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

#archive .image-container {
    position: relative;
    width: 100%;
    /* 16:9 on desktop, but we will change this for mobile below */
    aspect-ratio: 16 / 9; 
    overflow: hidden;
}

/* ANTI-GHOSTING IMAGE LOGIC */
#archive .img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* --- NEW PROCESS GALLERY STYLES --- */
.process-gallery {
    position: relative;
    background: #000;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.gallery-stage {
    position: relative;
    width: 100%;
    height: 450px; /* Strong, beefy height for vertical shots */
    overflow: hidden;
}

.gallery-stage img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows 100% of the photo, no cropping */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    background: #000;
}

.gallery-stage img.active-slide {
    opacity: 1;
    z-index: 2;
}

.gallery-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 20px;
    border-top: 1px solid var(--border);
}

.gallery-nav button {
    background: transparent;
    border: 1px solid var(--brand-orange);
    color: var(--brand-orange);
    font-size: 20px;
    cursor: pointer;
    padding: 5px 15px;
    transition: 0.3s;
}

.gallery-nav button:hover {
    background: var(--brand-orange);
    color: white;
}

.step-indicator {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

/* MOBILE FIX: More height for text */
@media (max-width: 768px) {
    #archive .image-container {
        aspect-ratio: 4 / 3; /* Taller on mobile so text fits */
    }
    
    #archive .story-details p {
        font-size: 10px !important; /* Smaller text for mobile screens */
    }
}

#archive .story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 20%, transparent 90%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

#archive .archive-item:hover .story-overlay {
    opacity: 1;
    transform: translateY(0);
}

#archive .story-details p {
    font-size: 11px;
    line-height: 1.4;
    color: #ddd;
    margin: 3px 0;
    text-transform: none;
}

#archive .story-details strong {
    color: var(--brand-orange);
}

/* Hint Text */
.image-container::after {
    content: 'HOVER FOR REPAIR';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 8px;
    font-weight: 900;
    z-index: 5;
    opacity: 0.6;
}

#archive .archive-item:hover .image-container::after {
    opacity: 0;
}
/* --- 9b. ARCHIVE PAGE SPECIFIC STYLES --- */

.archive-hero {
    padding: 180px 0 60px 0; /* Extra top padding for the fixed nav */
    background: linear-gradient(to bottom, #111, #000);
}

.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--brand-orange);
    color: white;
}

.archive-full {
    padding-bottom: 100px;
}

/* 9c ARCHIVE BUTTON STYLE  --- */
.archive-footer-action {
    text-align: center;
    margin-top: 60px; /* More breathing room below projects */
    padding-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.archive-btn-beefy {
    display: inline-block !important;
    min-width: 280px; /* Forces that 'Beefy' presence */
    padding: 20px 40px !important; /* Thick, professional padding */
    font-size: 13px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.25em !important;
    border-radius: 4px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease-in-out;
    border: none !important;
}

.archive-btn-beefy:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.25) !important;
}

/* Mobile Tweak: Ensures it hits 85% width on your Flip 6 */
@media (max-width: 768px) {
    .archive-btn-beefy {
        width: 85% !important;
        font-size: 11px !important;
        padding: 18px 0 !important;
    }
}

/* --- 9d. ARCHIVE PAGE SPECIFIC STYLES --- */

/* --- NAVIGATION RESET (DE-BOXED) --- */
.archive-page .archive-nav {
    background: #111111;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid var(--brand-orange);
}

/* This overrides the standard .container limits for the nav only */
.archive-page .archive-nav .container {
    max-width: 95% !important; 
    width: 95% !important;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin: 0 auto;
    padding: 0 !important; /* Removes internal boxing */
}

.archive-page .logo img {
    height: 60px;
    width: auto;
}

/* Desktop Nav Links */
.archive-page .nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
    margin: 0;
}

.archive-page .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
}

/* --- THE ARCHIVE GRID --- */
/* --- THE ARCHIVE: FULL-WIDTH SHOWCASE --- */
.archive-grid {
    display: flex;
    flex-direction: column; /* Stacks projects vertically */
    gap: 80px; /* Big breathing room between projects */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.archive-item {
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    border-bottom: 2px solid var(--brand-orange); /* Adds that brand 'edge' */
}

/* MASSIVE IMAGE HEIGHT FOR IMPACT */
.archive-item .image-container {
    height: 70vh !important; /* Uses 70% of the screen height */
    position: relative;
    width: 100%;
    overflow: hidden;
}



/* BEEFY TEXT AREA */
.archive-item .story-content {
    padding: 60px 40px !important; /* Thick padding for a premium feel */
    background: linear-gradient(180deg, #111111 0%, #000000 100%);
}

/* --- MOBILE HAMBURGER UI FIX --- */
@media (max-width: 1024px) {
    .archive-page .menu-icon {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .archive-page .menu-icon span {
        display: block;
        width: 30px;
        height: 3px;
        background: white;
    }

    .archive-page .nav-links {
        display: flex; /* Flex but moved off-screen */
        position: fixed; /* Fixed so it covers the screen */
        top: -100%; /* Hidden above */
        left: 0;
        width: 100%;
        background: #111111;
        flex-direction: column;
        padding: 50px 0;
        transition: 0.4s ease-in-out;
        z-index: 999;
        border-bottom: 3px solid var(--brand-orange);
    }

    /* THE TRIGGER: When JS adds 'show' class */
    .archive-page .nav-links.show {
        top: 80px; /* Slides down right under the logo bar */
    }

    .archive-page .nav-links li {
        margin: 15px 0;
    }
}

    /* --- 0.0 PROFESSIONAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Essential for Firefox/Chrome alignment */
    -webkit-font-smoothing: antialiased; /* Makes text look sharper */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevents side-scrolling bugs */
}

body {
    width: 100%;
    overflow-x: hidden;
    line-height: 1.5;
}

/* ABOUT US - HERO TEXT BOOST */
.about-hero h1 {
    font-size: clamp(2.8rem, 10vw, 5rem) !important; /* Makes it significantly larger */
    line-height: 0.9 !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 900;
}

.about-hero .label-small {
    font-size: 14px !important; /* Ensures the orange sub-label is readable */
    letter-spacing: 3px;
    margin-bottom: 10px;
}

/* Specific fix for "EXCELLENCE" on About Page */
.about-hero .excellence-text {
    font-size: 0.9em; /* Scales relative to the new larger H1 */
    -webkit-text-stroke: 1.5px white;
}

/* Fixes Firefox specific input issues */
input, button, textarea {
    font-family: inherit;
    font-size: inherit;
}
    /* 1. SHARED DESIGN TOKENS (Identical to Index) */
    :root {
      --bg-gray: #3d3d3d;           /* Business Card Gray */
      --bg-dark: #0F1113;           
      --brand-orange: #FF6B00;
      --brand-blue: #00529B;
      --text-main: #FFFFFF;
      --text-muted: rgba(255, 255, 255, 0.6);
      --border: rgba(255, 255, 255, 0.1);
      --nav-blur: rgba(0, 0, 0, 0.4);
    }

    /* 2. BASE RESET */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { 
      font-family: 'Inter', sans-serif; 
      background-color: var(--bg-gray); 
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; transition: 0.3s; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
    .italic-black { font-weight: 900; font-style: italic; text-transform: uppercase; }
    .label-small { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.4em; font-style: italic; }
    .orange-gradient { background: linear-gradient(90deg, #FF6B00 0%, #E65100 100%); }

    /* 3. NAVIGATION */
    nav {
      position: sticky; top: 0; z-index: 100;
      display: flex; justify-content: space-between; align-items: center;
      padding: 15px 40px;
      background: var(--nav-blur);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo img { width: 220px; transition: 0.3s; }
    .nav-links { display: flex; gap: 40px; align-items: center; }
    .nav-links a { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); }
    .nav-links a:hover { color: var(--brand-orange); }
   .btn-quote { 
      padding: 12px 25px; 
      border-radius: 4px; 
      color: white !important; 
      font-weight: 900; 
      box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
    }

    /* 4. HEADER / PROFILE */
    header.profile { padding: 100px 0; border-bottom: 1px solid var(--border); }
    header h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1; margin: 20px 0; }
    .text-outline { -webkit-text-stroke: 1px rgba(255,255,255,0.3); color: transparent; }
    .profile-lead { font-size: 1.25rem; border-left: 3px solid var(--brand-orange); padding-left: 30px; max-width: 700px; color: var(--text-muted); }

    /* 5. HISTORY SECTION */
    .history { padding: 100px 0; background: var(--bg-dark); }
    .history-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; }
    .history-text p { margin-bottom: 25px; font-size: 1.1rem; color: var(--text-muted); }
    .badge-year { display: inline-block; background: var(--brand-blue); padding: 30px; margin-top: 20px; }
    
    /* 6. STAT CARDS */
    .stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .card { background: rgba(255,255,255,0.05); padding: 30px; border: 1px solid var(--border); }
    .card h4 { color: var(--brand-orange); font-size: 11px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.2em; }
    .card p { font-weight: 900; font-style: italic; }
    .card.wide { grid-column: span 2; font-size: 1.5rem; }

    /* 7. MISSION & PURPOSE */
    .mission-purpose { padding: 100px 0; background: #000; }
    .dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .tint-box { padding: 50px; position: relative; border-left: 4px solid var(--brand-blue); background: rgba(0, 82, 155, 0.05); }
    .tint-box.orange { border-left-color: var(--brand-orange); background: rgba(255, 107, 0, 0.02); }
    .tint-box h4 { font-size: 2rem; margin-bottom: 20px; }

   /* 8. WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  /* Change the background to your Brand Blue or a Darker Gray */
  background-color: var(--brand-blue); 
  color: white;
  border-radius: 50px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.1); /* Adds a subtle 'industrial' edge */
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  /* On hover, it turns to the Brand Orange */
  background-color: var(--brand-orange);
  transform: translateY(-5px);
}


.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: white;
  color: black;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  right: 80px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px;
  }
}

    /* 9. RESPONSIVE */
    @media (max-width: 900px) {
      .nav-links { display: none; }
      .history-grid, .dual-grid { grid-template-columns: 1fr; }
      .container { padding: 0 20px; }
    }


/* --- TRADIES UNITED: MASTER CONSOLIDATED MOBILE MENU --- */
@media (max-width: 1024px) {
    /* 1. The Main Menu Container */
    #menu.active {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important; 
        top: 70px !important; 
        left: 0;
        width: 100%;
        background-color: #0F1113 !important; /* Solid High Contrast */
        padding: 60px 0 40px 0 !important; 
        gap: 25px !important; /* Adjusted for better vertical flow */
        border-bottom: 3px solid var(--brand-orange) !important;
        z-index: 999 !important;
        height: auto;
    }

    /* 2. Unified Centering for all List Items */
    #menu.active li {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important; /* THE FIX: Centers the button and links */
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 3. Text Links Style (Services, Archive, About) */
    #menu.active li a {
        color: white !important;
        font-size: 11px !important; 
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.2em !important;
        display: block !important;
        text-align: center !important;
        visibility: visible !important;
    }

    /* 4. The "Beefy" Request Quote Button (Matches Index Exactly) */
    #menu.active li a.btn-quote {
        margin: 15px auto !important; /* Adds vertical breathing room */
        width: 85% !important; /* Thicker horizontal presence */
        max-width: 320px; /* Stops it getting too long on wide phones */
        padding: 18px 0 !important; /* BEEFY height */
        font-size: 13px !important;
        font-weight: 900 !important;
        border-radius: 4px !important;
        text-align: center !important;
        background: linear-gradient(90deg, #FF6B00 0%, #E65100 100%) !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.4) !important;
        color: white !important;
        letter-spacing: 0.15em !important;
    }

    /* 5. First Link specific push-down */
    #menu.active li:first-child {
        margin-top: 5px !important;
    }
}



/* --- HOME PAGE ONLY: ARCHIVE BUTTON CENTER FIX --- */

/* This forces the container to take up the full row width */
.archive-footer-action {
    display: flex !important;
    justify-content: center !important; /* Forces horizontal center */
    width: 100vw !important; /* Uses the full viewport width */
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important; /* This is the ultimate centering trick */
    margin-top: 30px !important;
    margin-bottom: 50px !important;
}

/* This ensures the button itself stays 'Beefy' and centered inside that row */
.archive-btn-beefy {
    display: inline-block !important;
    min-width: 300px !important;
    text-align: center !important;
}
.image-container img {
    /* Change from cover to contain to stop the zoom */
    object-fit: contain !important; 
    background-color: #111; /* Matches your site background to hide gaps */
}



/* --- FOOTER DESIGN --- */
.main-footer {
    background: #0a0a0a;
    padding: 80px 0 0 0;
    border-top: 2px solid var(--brand-orange);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    width: 250px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 350px;
    font-size: 14px;
}

.main-footer h4 {
    color: var(--brand-orange);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.main-footer ul {
    list-style: none;
}

.main-footer ul li {
    margin-bottom: 12px;
}

.main-footer ul li a {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.main-footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.footer-contact strong {
    color: white;
    margin-right: 5px;
}

.footer-bottom {
    background: #000;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.flex-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Tweak for your Fold/Flip */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .flex-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* --- FIX: SKYLIGHT & PORTRAIT IMAGE FRAMING --- */

#featured-transformations .image-container {
    /* Increase height to 500px so we see more of the vertical shot */
    height: 500px !important; 
}

#featured-transformations .image-container img {
    /* Adjust this to 'top' if you want to see the ceiling higher up */
    object-position: center 30% !important; 
}

/* Mobile Tweak: Make them even taller on your Flip/Fold so they fill the screen */
@media (max-width: 768px) {
    #featured-transformations .image-container {
        height: 550px !important;
    }
}

/* --- CLIENT LOGO SECTION --- */
.clients-section {
    padding: 80px 0;
    background: #0a0a0a; /* Deep black to separate from the gray archive */
    border-top: 1px solid var(--border);
}

.client-header {
    text-align: center;
    margin-bottom: 50px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.client-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(1) brightness(0.8) opacity(0.6);
    transition: all 0.4s ease;
}

.client-logo:hover img {
    filter: grayscale(0) brightness(1) opacity(1);
    transform: scale(1.05);
}

/* Mobile Tweak: 2 columns on phones to keep it clean */
@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .client-logo img {
        max-width: 120px;
    }
}
.partners-row {
    padding: 60px 0;
    background: #050505; /* Distinct dark break */
    border-top: 1px solid var(--border);
}

.logo-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    opacity: 0.7;
}

.logo-flex img {
    height: 40px; /* Uniform height keeps it tidy */
    width: auto;
    /* This filter makes any colored logo turn pure white */
    filter: brightness(0) invert(1); 
    transition: all 0.3s ease;
}

.logo-flex img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-flex {
        gap: 30px;
    }
    .logo-flex img {
        height: 30px; /* Smaller for mobile screens */
    }
}