/* =========================================
   BASE STYLES & SCROLLBAR
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Stack Sans Text", sans-serif;
}

html, body{
    overflow-x: hidden !important;
}

html {
    scroll-behavior: smooth !important;
}

body {
    overflow-x: hidden; 
    overflow-y: auto;
}

a {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 14px; 
    background: transparent !important; 
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece {
    background: transparent !important; 
}

::-webkit-scrollbar-thumb {
    background-color: rgba(150, 150, 150, 0.6); 
    border-radius: 10px;
    border: 4px solid rgba(0, 0, 0, 0); 
    background-clip: padding-box; 
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(200, 200, 200, 0.9); 
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader img {
    width: 150px;
    height: auto;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

button {
    border-radius: 100px !important;
    backdrop-filter: blur(3px);
    box-shadow: 0 0 15px #00000050;
}

/* =========================================
   SECTION 1: HERO & NAVBAR
   ========================================= */
#firstSec {
    height: 100vh;
    width: 100%;
    /* Background image moved to .current-bg */
    background-color: #000;
    color: white;
    padding: 2% 9%;
    position: relative;
    overflow: hidden;
}

.current-bg, .next-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover !important; /* Bulletproof lock */
    z-index: 0; 
}

.current-bg {
    background-image: url("/static/images/background/enhanced/pavement.png");
}

.next-bg {
    opacity: 0; 
}

.color-swipe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(210, 81, 0, 0.811); 
    z-index: 1; 
    clip-path: circle(0% at 0% 100%);
}

.navBar {
    height: 12vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    padding: 0% 9%;
    background: transparent;
    z-index: 100;
    transition: background-color 0.5s, border-color 0.5s;
}

.navBarScrolled {
    background-color: white !important;
    box-shadow: 0 0 10px #00000029;
}

.navBar nav {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-between;
}

.navSec1 {
    width: 50%;
    display: flex;
    align-items: center;
}

.navSec1 img {
    width: 9%;
    backdrop-filter: blur(6px);
    border-radius: 50px;
    box-shadow: 0 0 30px #00000060;
}

.navBarLogoScrolled {
    backdrop-filter: none !important;
    box-shadow: none !important;
    filter: invert(100%);
    transition: filter 0.5s;
}

.navSec2 {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navSec2 button {
    outline: none;
    padding: 14px 24px;
    margin-left: 15px;
    background-color: #ffffff0d;
    color: white;
    width: auto;
    height: auto;
    font-size: 1rem;
    border: 1px solid white;
    transition: 0.5s;
    cursor: pointer;
}

.navSec2 button:hover {
    background-color: white;
    color: black;
}

.navBarButtonScrolled {
    border-color: black !important;
    box-shadow: none !important;
    color: rgb(0, 0, 0) !important;
}

.navBarButtonScrolled:hover {
    background-color: #002766 !important;
    color: white !important;
}

.heroLandingContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 0 !important; /* Kills any lingering margins from media queries */
    z-index: 2; 
}

.heroLandingContent div {
    height: auto; /* Changed from 35% to auto so it wraps naturally */
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-shadow: 0 0 10px #5f5f5f !important;
}

#hlC1 {
    font-size: 10rem !important;
}

#hlC2 {
    font-size: 2.5rem !important;
}

.heroLandingContent div:nth-child(2), .heroLandingContent div:nth-child(3) {
    width: 100%;
    height: 10%;
    display: none;
    justify-content: center;
}

.heroLandingContent div:nth-child(2) button {
    outline: none;
    background-color: transparent;
    color: white;
    padding: 12px 35px;
    width: auto;
    height: auto;
    font-size: 1.1rem;
    border: 1px solid white;
    transition: 0.5s;
    cursor: pointer;
}

.heroLandingContent div:nth-child(2) button:hover {
    background-color: white;
    color: black;
}

.scrollDownIco {
    position: absolute;
    bottom: 5%; /* Pins the icon 5% from the bottom of the screen */
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; 
}

.scrollDownIco img {
    width: 35px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101; 
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.navBarScrolled .hamburger .bar {
    background-color: black;
}

/* =========================================
   GENERAL SECTION RULES
   ========================================= */
#secondSec, #thirdSec, #fourthSec, #fifthSec {
    scroll-margin-top: 10vh;
    position: relative;
}

/* =========================================
   SECTION 2: ABOUT
   ========================================= */
#secondSec {
    width: 100%;
    height: 100vh;
    color: black;
    background-color: white;
    padding: 5% 9%;
}

.secondSec1 {
    display: flex;
    width: 100%;
    height: 100%;
}

.div25 {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.div25 img {
    width: 92%;
    height: 95%;
    object-fit: cover;
    object-position: center;
}

.div75 {
    width: 50%;
    height: 100%;
}

.div75 h1 {
    font-size: 3.5rem;
}

.div75 > div {
    text-align: end;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.div75 > div:nth-child(1) img {
    width: 3.5rem;
    display: none !important;
    height: 3.5rem;
    margin-left: 1.5%;
}

.div75 > div:nth-child(2) p {
    font-size: 1.3rem;
    color: rgb(43, 43, 43);
    line-height: 165%;
    margin-top: 3%;
}

.secSeparator {
    border: none;
    height: 2px;
    background-color: black;
    scroll-margin-top: 10vh;
    margin-top: 5%;
}

.secondSecQuote {
    display: flex;
    flex-direction: column !important;
    width: 100%;
    margin-top: 15%;
}

.secondSecQuote h1 {
    font-size: 3.5rem;
}

.secondSecQuote span {
    font-size: 1.3rem;
}

.secondSec2 {
    display: none; /* User originally had this hidden */
}

/* =========================================
   SECTION 3: SERVICES
   ========================================= */
#thirdSec {
    width: 100%;
    color: rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
    background-position: right;
    padding: 4% 0%;
    height: auto !important; /* Adjusted to auto for internal content scaling */
    /* min-height: 300vh; */
    border-top: 1px solid #000;
}

.thirdSec1 {
    width: 100%;
    height: auto;
    /* padding-bottom: 50px; */
    display: flex;
    justify-content: space-between;
}

.thirdSec1Header {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5%;
}

.thirdSec1Header h1:nth-child(1) {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.586);
    font-weight: 400;
    letter-spacing: 3px;
    display: none;
}

.thirdSec1Header h1:nth-child(2) {
    font-size: 3.5rem;
    color: black;
}

.thirdSec1Graphic {
    width: 25%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.thirdSec1Graphic img {
    width: 250px;
}

#thirdSecSeparator {
    outline: none;
    border: 1px solid #bc3a1e;
    display: none;
}

.thirdSec2 {
    display: none !important; /* User originally had this hidden */
}

.servicesContainer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.services {
    width: 100%;
    /* FIX: Replaced auto/min-height with a strict height so every box is exactly the same size */
    height: 700px; 
    /* padding: 2%; */
    /* border: 2px dashed black; */
    /* border-radius: 4px; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2%;
}

.services:nth-child(1) {
    margin-top: 2%;
}

.services:nth-child(even) .serviceImage {
    justify-content: flex-end;
}

.serviceImage {
    width: 50%;
    display: flex;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
}

.serviceImage img {
    width: 95%;
    object-fit: cover;
    /* FIX: Forces the image to lock exactly to the container's new uniform height */
    height: 100%; 
    object-position: center;
    /* border-radius: 4px; */
}

.serviceDescription {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 7%;
    gap: 20px;
}

.servicesHeading {
    font-size: 2.75rem;
    margin-bottom: 2%;
    color: black;
    display: flex;
    align-items: center;
    /* text-decoration: underline; */
    /* text-underline-offset: 30%; */
}

.servicesHeading::after{
    content: "";
    font-size: 0.5em;
    vertical-align: middle;
    margin-left: 28px;
    width: 130px;
    height: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    border-radius: 10px;
    background-color: #002766;
} 

.serviceInfo {
    font-size: 1.3rem;
    text-align: justify;
    color: #2B2B2B;
    line-height: 165%;
}

/* =========================================
   SECTION 4: GALLERY
   ========================================= */
#fourthSec {
    display: none !important; /* User originally had this hidden */
}

/* =========================================
   SECTION 5: CONTACT
   ========================================= */
#fifthSec {
    width: 100%;
    height: 100vh;
    color: rgb(0, 0, 0);
    background-color: white;
    padding: 2% 0%;
    padding-top: 0% !important;
    border-top: 1px solid #000;
}

.fifthSecHeader {
    width: 100%;
    height: 17%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.fifthSecHeader span {
    font-size: 3.5rem;
    font-weight: 700;
}

.fifthSecForm {
    width: 100%;
    height: 80%;
    display: flex;
}

.fifthSecFormImg {
    width: 65%;
    height: 100%;
    display: flex;
}

.fifthSecFormImg img {
    width: 95%;
    object-position: bottom;
    object-fit: cover;
    height: 100%;
    border-radius: 2px;
}

.fifthSecContactForm {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2% 3%;
    border: 1px solid rgb(0, 0, 0);
    background-color: #ffffff0d;
    border-radius: 2px;
    margin-right: 5%;
}

.fifthSecCFormHeader {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
}

.fifthSecCFormHeader span {
    font-size: 40px;
}

#contactForm {
    display: flex;
    width: 100%;
    height: 90%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
}

.fifthSecCFormInp {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.fifthSecCFormInp span {
    font-size: 20px;
    margin-bottom: 2%;
}

.fifthSecCFormInp input {
    background: transparent;
    outline: none;
    color: rgb(0, 0, 0);
    padding: 15px;
    font-size: 20px;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.fifthSecCFormInp input:focus {
    border-color: #000;
    background-color: #ffffff20; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

.fifthSecCFormInp input::placeholder {
    color: rgb(177, 177, 177);
    font-weight: 400;
}

.fifthSecCFormBtn {
    width: 100%;
    margin-top: 10px;
}

.fifthSecCFormBtn button {
    outline: none;
    color: rgb(0, 0, 0);
    background: transparent;
    border: 1px solid rgb(0, 0, 0);
    transition: 0.2s;
    padding: 15px 40px;
    font-size: 17px;
    cursor: pointer;
    box-shadow: none;
}

.fifthSecCFormBtn button:hover {
    background-color: #002766;
    color: rgb(255, 255, 255);
}

/* =========================================
   SECTION 6: FOOTER (SAFE LAYOUT)
   ========================================= */
/* =========================================
   SECTION 6: FOOTER (LOCKED DESKTOP LAYOUT)
   ========================================= */
#sixthSec {
    width: 100%;
    height: auto !important; 
    min-height: 35vh; /* Slightly reduced so it's not overly tall */
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 4% 9%;
    border-top: 1px solid black;
    background-color: white;
    position: relative; 
    flex-wrap: nowrap; 
}

.sixthSecLogo {
    width: 25%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.sixthSecLogo img {
    /* FIX: Scaled down from 250px so it balances better with the text */
    width: 180px; 
    height: 180px;
}

/* Base Desktop Column Widths */
.sixthSecLinks { width: 15%; }
.sixthSecLinks1 { width: 25%; max-width: 250px; } /* FIX: Added max-width to keep icons close */
.sixthSecLinks2 { width: 35%; max-width: 350px; } /* FIX: Added max-width to keep icons close */

.sixthSecLinks, .sixthSecLinks1, .sixthSecLinks2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    gap: 20px; 
    font-size: 1.25rem; 
}

.sixthSecLinks a, .sixthSecLinks1 a, .sixthSecLinks2 a {
    color: rgb(0, 0, 0);
    transition: 0.2s;
}

.sixthSecLinks a:hover, .sixthSecLinks1 a:hover, .sixthSecLinks2 a:hover {
    color: #002766;
}

/* FIX: Forces icons to sit perfectly next to the text with a consistent gap */
.sixthSecLinks1 span, .sixthSecLinks2 span {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Removes the huge awkward gap */
    gap: 15px; 
    width: 100%;
}

.sixthSecLinks1 span img, .sixthSecLinks2 span img {
    width: 24px; 
    height: 24px;
    filter: invert(1);
    flex-shrink: 0; 
    
    /* THE MAGIC TRICK: Moves the icons to the LEFT side of the text without changing the HTML */
    order: -1; 
}
#copyright {
    font-size: 0.8rem;
    color: #000000b0;
    position: absolute;
    bottom: 15px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

#backToTopBtn {
    width: 55px;
    height: 55px;
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border: 3px solid #002766;
    border-radius: 50px;
    cursor: pointer;
    z-index: 999; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
    
    /* FIX: Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Sits slightly lower when hidden */
    transition: all 0.3s ease;
}

/* FIX: This class will be added by JS when you scroll down */
#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTopBtn:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px); 
}

#backToTopBtn img {
    width: 28px;
    height: 30px;
    /* filter: invert(1); */
}

.shapes {
    display: none !important;
}


/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

@media (max-width: 1024px) {
    /* HERO & NAV */
    #hlC1 { font-size: 5.5rem !important; } /* Hero landing content smaller */
    #hlC2 { font-size: 1.5rem !important; }
    .navSec2 button { padding: 10px 12px; font-size: 0.75rem; } /* Navbar btn small */
    .navSec1 img{
        width: 12%;
    }
    
    /* ABOUT */
    #secondSec { height: auto !important; padding: 6% 5%; display: flex; }
    
    /* Force the two columns to exactly match heights */
    .secondSec1 { display: flex; align-items: stretch !important; width: 100%; } 
    
    /* Make the container stretch to the top/bottom */
    .div25 { width: 50%; height: auto; align-self: stretch !important; display: flex; flex-direction: column; } 
    
    /* SLEDGEHAMMER: Absolute force on the image to fill every pixel of the div25 container */
    .div25 img { 
        width: 96% !important; 
        height: 100% !important; 
        min-height: 100% !important; 
        max-height: none !important; 
        object-fit: cover !important; 
        display: block !important; 
        margin: 0 !important; 
        padding: 0 !important; 
    } 
    
    /* Text column vertical centering */
    .div75 { width: 50%; padding-left: 20px; display: flex; flex-direction: column; justify-content: center; } 
    .thirdSec1Header h1:nth-child(2){
        margin: 3% 0;
    }
    .div75 h1, .thirdSec1Header h1:nth-child(2) { font-size: 3rem !important;}
    .thirdSec1Header h1:nth-child(2){margin-left: 9%;} 
    .div75 > div:nth-child(2) p { font-size: 0.9rem !important; line-height: 140%; font-weight: 300;} 
    .secondSecQuote h1 { font-size: 1.8rem !important; }
    .secondSecQuote span { font-size: 0.9rem !important; }
    
    /* SERVICES */
    .services { height: 400px; } /* Service small */
    .serviceImage img { height: 100%; max-height: 100%; width: 100%; object-fit: cover; } /* Image max height of the container */
    .servicesHeading { font-size: 2.5rem !important; } /* Serv heading small */
    .serviceInfo { font-size: 0.9rem !important; line-height: 130%; font-weight: 300;} /* Paragraph small */
    
    /* CONTACT (Un-chopped, 50/50 split, smaller fonts) */
    #fifthSec { height: auto !important; min-height: 70vh; padding: 5% 0%; display: flex; flex-direction: column; justify-content: space-evenly; padding-top: 5% !important;}
    .fifthSecForm { height: auto !important; display: flex; } /* FIX: Overrides base 80% height to stop the chop */
    .fifthSecHeader span { font-size: 2.2rem !important; margin-bottom: 3%;} /* Heading small */
    .fifthSecFormImg { width: 60%; display: flex; height: auto !important; } /* Image half */
    .fifthSecContactForm { width: 40%; padding: 4%; justify-content: center; height: auto !important; } /* Form half */
    .fifthSecCFormHeader span { font-size: 1.5rem; } /* Form heading small */
    .fifthSecCFormInp { margin-bottom: 8px; }
    .fifthSecCFormInp span { font-size: 0.9rem !important; margin-bottom: 5px; } /* Inp fonts small */
    .fifthSecCFormInp input { font-size: 0.85rem !important; padding: 8px; } /* Input sizes small */
    .fifthSecCFormBtn button { font-size: 0.9rem !important; padding: 8px 20px; } /* Btn small */
    
    /* FOOTER (Forced in row, smaller sizes) */
    #sixthSec { 
        flex-wrap: nowrap !important; /* Keeps it in a column/row format depending on flex direction, no wrapping */
        padding: 3% 5%; 
        gap: 10px; 
        min-height: auto;
    }
    .sixthSecLogo { width: 15%; margin-bottom: 0; }
    .sixthSecLogo img { width: 100px; height: 100px; } /* Logo small */
    
    .sixthSecLinks { width: 15%; font-size: 0.8rem; gap: 8px; margin-left: 10%;}
    .sixthSecLinks1 { width: 30%; font-size: 0.8rem; gap: 8px; max-width: none; margin-left: 10%;}
    .sixthSecLinks2 { width: 40%; font-size: 0.8rem; gap: 8px; max-width: none; }
    
    .sixthSecLinks1 span, .sixthSecLinks2 span { gap: 6px; }
    .sixthSecLinks1 span img, .sixthSecLinks2 span img { width: 16px; height: 16px; }
    
    #copyright { font-size: 0.65rem; bottom: 5px; }
    #backToTopBtn{width: 40px; height: 40px;}
    #backToTopBtn img{ width: 20px; height: 22px;}
    .navBar{height: 11vh;}
    #preloader img{width: 125px;}
}

@media (max-width: 768px) {
    
    /* =========================================
       NAVBAR & HAMBURGER (The Magic)
       ========================================= */
    /* =========================================
       BULLETPROOF NAVBAR (Kills the Overflow)
       ========================================= */
    .navBar { 
        position: fixed !important; 
        top: 0; 
        left: 0; 
        right: 0; /* PRO MOVE: Anchors to both sides instead of using width: 100% */
        width: auto !important; /* Strips the buggy 100% calculation */
        max-width: 100vw !important; /* Hard stop at the physical screen edge */
        padding: 15px 5% !important; 
        box-sizing: border-box !important; /* Forces padding to sit INSIDE the box */
        z-index: 105; 
        background: #00000000;
    }
    
    .navBar nav { 
        width: 100% !important; 
        max-width: 100% !important; /* Stops the inner flexbox from stretching */
        display: flex; 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center; 
        box-sizing: border-box !important;
    }
    .navSec1 { width: auto; }
    .navSec1 img { width: 50px; }

    /* The Hamburger Icon */
    .hamburger { 
        display: flex; flex-direction: column; gap: 6px; cursor: pointer; 
        z-index: 110; /* Must be higher than the menu to click it closed! */
    }
    .hamburger .bar {
        width: 30px; height: 3px; background-color: #fff; border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    
    /* Active X Animation */
    .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* The Off-Canvas Mobile Menu */
    .navSec2 {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(15px);
        flex-direction: column; justify-content: center; align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1); z-index: 100; margin: 0;
    }
    .navSec2.active { right: 0; }
    .navSec2 button { 
        width: 70%; padding: 18px; margin: 10px 0; font-size: 1.3rem; 
        background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); 
        border-radius: 8px; color: #fff; font-weight: 600; letter-spacing: 1px;
    }

    /* =========================================
       HERO
       ========================================= */
    #firstSec { height: 100vh !important; }
    .heroLandingContent { margin-top: 50px; height: auto; }
    #hlC1 { font-size: 4rem !important; text-align: center; }
    #hlC2 { font-size: 1.2rem !important; text-align: center; }
    
    /* =========================================
       ABOUT (Image Top, Text Bottom)
       ========================================= */
    #secondSec { height: auto !important; min-height: 100vh; padding: 10% 5%; display: flex; align-items: center; }
    .secondSec1 { flex-direction: column !important; align-items: center; gap: 30px; width: 100%; }
    
    #thirdSec{
        min-height: 0;
    }
    
    .div25 { width: 100% !important; height: auto; display: block; }
    .div25 img { width: 100% !important; max-height: 400px !important; object-fit: cover !important; }
    
    .div75 { width: 100% !important; padding-left: 0; display: flex; flex-direction: column; align-items: center; }
    .div75 > div { justify-content: start; text-align: center; width: 100%; }
    .div75 h1, .thirdSec1Header h1:nth-child(2) { font-size: 2.5rem !important; text-align: center; }
    .div75 > div:nth-child(2) p { font-size: 1.05rem !important; line-height: 160%; text-align: justify; }
    
    .secondSecQuote { align-items: center !important; text-align: center; margin-top: 30px; }
    
    /* =========================================
       SERVICES (Image Top, Text Bottom)
       ========================================= */
    .services { height: auto !important; padding: 5%; gap: 20px; margin-bottom: 30px; border-radius: 10px;}
    .serviceImage { width: 100% !important; height: 275px; }
    .serviceImage img { height: 100%; width: 100%; object-fit: cover; }
    .serviceDescription { width: 100% !important; padding: 0; text-align: justify; display: flex; flex-direction: column; align-items: center; }
    .servicesHeading { font-size: 1.8rem !important; margin-bottom: 15px; }
    .serviceInfo{
        text-align: justify;
    }

    /* =========================================
       CONTACT (Hidden Image, 100% Form)
       ========================================= */
    #fifthSec { padding: 10% 5%; height: auto !important; min-height: auto !important; }
    .fifthSecForm { flex-direction: column !important; align-items: center;}
    .fifthSecFormImg { display: none !important; } /* PRO MOVE: Hides the image */
    .fifthSecContactForm { width: 65% !important; padding: 6%; box-sizing: border-box; }
    .fifthSecHeader span { font-size: 2.5rem !important; text-align: center; display: block; margin-bottom: 30px; margin-top: 30px; }
    .fifthSecCFormHeader { text-align: center; justify-content: center; width: 100%; }
    
    /* =========================================
       FOOTER (Reverted to Desktop Row Layout)
       ========================================= */
    #sixthSec { 
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* Forces all 4 columns into a single line */
        padding: 5% 7% !important; /* Tighter padding to give content maximum horizontal space */
        gap: 10px; 
        align-items: center !important;
        min-height: auto !important;
    }
    
    /* 1st Column: Logo */
    .sixthSecLogo { width: 15% !important; justify-content: center; margin: 0; padding: 0; }
    .sixthSecLogo img { width: 80px; height: 80px; }
    
    /* 2nd Column: Nav Links */
    .sixthSecLinks { width: 15% !important; font-size: 0.8rem; gap: 8px; margin: 0; display: flex; flex-direction: column; margin-left: 5% !important;}
    
    /* 3rd Column: Socials */
    .sixthSecLinks1 { width: 30% !important; font-size: 0.8rem; gap: 8px; margin: 0; max-width: none; display: flex; flex-direction: column; margin-left: 8% !important;}
    
    /* 4th Column: Contact Info */
    .sixthSecLinks2 { width: 40% !important; font-size: 0.8rem; gap: 8px; margin: 0; max-width: none; display: flex; flex-direction: column; }
    
    /* Keep icons and text aligned */
    .sixthSecLinks1 span, .sixthSecLinks2 span { 
        gap: 6px; 
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }
    
    /* Shrink the icons to fit the tablet text size */
    .sixthSecLinks1 span img, .sixthSecLinks2 span img { width: 16px; height: 16px; flex-shrink: 0; }
    
    /* Return Copyright to the absolute bottom center */
    #copyright { 
        font-size: 0.55rem !important; 
        position: absolute !important; 
        bottom: 8px !important; 
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        display: block; 
    }

    .thirdSec1Header{
        width: 100%;
    }

    .thirdSec1Graphic{
        display: none;
    }

    #backToTopBtn{
        bottom: 6px;
        right: 6px;
    }

    #backToTopBtn img{
        width: 18px !important;
        height: 20px !important;
    }
}

@media (max-width: 480px) {
    /* =========================================
       HERO & NAV
       ========================================= */
    /* =========================================
       BULLETPROOF NAVBAR (Kills the Overflow)
       ========================================= */
    .navBar { 
        position: fixed !important; 
        top: 0; 
        left: 0; 
        right: 0; /* PRO MOVE: Anchors to both sides instead of using width: 100% */
        width: auto !important; /* Strips the buggy 100% calculation */
        max-width: 100vw !important; /* Hard stop at the physical screen edge */
        padding: 15px 5% !important; 
        box-sizing: border-box !important; /* Forces padding to sit INSIDE the box */
        z-index: 105; 
        background: #00000000;
    }
    
    .navBar nav { 
        width: 100% !important; 
        max-width: 100% !important; /* Stops the inner flexbox from stretching */
        display: flex; 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center; 
        box-sizing: border-box !important;
    }
    .navSec1 img { width: 45px; } /* Slightly smaller logo for mobile nav */
    
    #hlC1 { font-size: 2.8rem !important; line-height: 110%; } /* Prevents giant text from overlapping */
    #hlC2 { font-size: 1.1rem !important; margin-top: 10px; }
    
    .heroLandingContent div:nth-child(2) button { 
        padding: 12px 30px; 
        font-size: 1rem !important; 
    }

    /* =========================================
       ABOUT SECTION
       ========================================= */
    #secondSec { padding: 15% 5%; }
    .div25 img { 
        height: 280px !important; /* Shorter cinematic crop for phones */
    }
    
    .div75 h1, .thirdSec1Header h1:nth-child(2) { font-size: 2.2rem !important; margin: 5% 0;}
    .div75 > div:nth-child(2) p { font-size: 1rem !important; line-height: 170%; }
    
    .secondSecQuote h1 { font-size: 1.8rem !important; }
    .secondSecQuote span { font-size: 1rem !important; }

    /* =========================================
       SERVICES SECTION
       ========================================= */
    .services { 
        padding: 8% 5% 10% 5% !important; 
        gap: 15px; 
        flex-direction: column;
    }

    .services:nth-child(2), .services:nth-child(4){
        flex-direction: column-reverse;
    }

    .serviceImage { height: 275px !important; }
    .servicesHeading { font-size: 1.6rem !important; text-underline-offset: 8px; }
    .serviceInfo { font-size: 0.95rem !important; line-height: 150%; text-align: center; }

    /* =========================================
       CONTACT SECTION
       ========================================= */
    #fifthSec { padding: 15% 5% !important; }
    .fifthSecContactForm { padding: 8% 5% !important; border-radius: 8px; width: 95% !important;}
    .fifthSecHeader span { font-size: 2.2rem !important; }
    .fifthSecCFormHeader span { font-size: 1.8rem; margin-bottom: 7%;}
    
    /* Bigger tap targets for mobile typing */
    .fifthSecCFormInp span { font-size: 1rem !important; }
    .fifthSecCFormInp input { 
        font-size: 1rem !important; 
        padding: 14px !important; /* Taller input boxes */
    }
    .fifthSecCFormBtn button { 
        padding: 15px !important; 
        font-size: 1.1rem !important; 
        width: 100%; /* Full width submit button */
    }

    /* =========================================
       FOOTER (Perfect Single Column)
       ========================================= */
    #sixthSec { 
        display: flex !important; 
        flex-direction: column !important; 
        align-items: center !important; 
        text-align: center !important; 
        padding: 15% 5% 8% 5% !important; 
        gap: 35px; 
    }
    
    /* Reset all widths to 100% and center items */
    .sixthSecLogo, .sixthSecLinks, .sixthSecLinks1, .sixthSecLinks2 { 
        width: 100% !important; 
        max-width: 100% !important; 
        display: flex; 
        flex-direction: column; 
        align-items: center !important; 
        gap: 15px;
        margin: 0 !important;
    }
    
    .sixthSecLogo img { width: 110px; height: 110px; }
    
    /* Center the icons with the text */
    .sixthSecLinks1 span, .sixthSecLinks2 span { 
        justify-content: center !important; 
        width: auto !important; 
    }
    
    .sixthSecLinks a, .sixthSecLinks1 a, .sixthSecLinks2 a { 
        font-size: 1rem !important; 
        padding: 5px 0; /* Adds tap spacing between links */
    }
    
    /* Copyright */
    #copyright { 
        position: static !important; 
        transform: none !important; 
        margin-top: 20px !important; 
        font-size: 0.8rem; 
    }
    
    /* Smaller Back to Top button so it doesn't block content */
    #backToTopBtn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    #backToTopBtn img {
        width: 20px;
        height: 22px;
    }
}

@media (max-width: 425px) {
    .navBar{
        height: 10vh;
    }

    .thirdSec1Header h1:nth-child(2){
        margin: 7% 0;
    }

    .fifthSecHeader span{
        margin-top: 0;
    }

    .services{
        padding: 8% 0% 0% 0% !important;
        border-width: 1px;
    }

    .serviceInfo{
        display: none;
    }

    .servicesHeading{
        text-decoration: none;
        margin-bottom: 0;
    }

    .fifthSecHeader span{
        font-size: 2rem !important;
    }
}

@media (max-width: 375px) { }

@media (max-width: 320px) { 
    .serviceImage{
        height: 235px !important;
    }
}

@media (min-width: 1440px) {
    #hlC1 { font-size: 7rem !important; }
    #hlC2 { font-size: 1.75rem !important; }
    .navSec1 img { width: 10%; }
    .div75 h1 { font-size: 4rem; }
    .div75 > div:nth-child(2) p { font-size: 1.2rem; font-weight: 300;}
    .servicesHeading { font-size: 3.5rem !important; font-weight: 500;}
    .serviceInfo { font-size: 1.3rem !important; font-weight: 300;}
    .fifthSecHeader span { font-size: 3.7rem !important; }
    .sixthSecLinks, .sixthSecLinks1, .sixthSecLinks2 { font-size: 1.2rem; }
    .thirdSec1Header h1:nth-child(2){ font-size: 4rem ; margin-left: 12%; margin-bottom: 2%;}
    .services{ height: 700px;}
    #quote{font-size: 3.5rem; text-align: center;}
}

@media (min-width: 2560px) {
    /* 4K DISPLAYS */
    #hlC1 { font-size: 13rem !important; }
    #hlC2 { font-size: 3rem !important; }
    .heroLandingContent div:nth-child(2) button { font-size: 1.5rem !important; padding: 20px 50px; }
    
    /* ABOUT & SERVICES */
    .div75 h1, .thirdSec1Header h1:nth-child(2) { font-size: 4.5rem !important; }
    .div75 > div:nth-child(2) p { font-size: 1.8rem !important; }
    .services { height: 750px !important; } 
    .servicesHeading { font-size: 4rem !important; } 
    .serviceInfo { font-size: 1.8rem !important; line-height: 180%; }
    
    /* CONTACT */
    .fifthSecHeader span { font-size: 5.5rem !important; }
    .fifthSecCFormHeader span { font-size: 3.5rem; }
    .fifthSecCFormInp span { font-size: 1.8rem !important; }
    .fifthSecCFormInp input { font-size: 1.5rem !important; padding: 25px; }
    .fifthSecCFormBtn button { font-size: 1.5rem !important; padding: 20px 60px; }
    
    /* FOOTER */
    .sixthSecLogo img { width: 300px; height: 300px; }
    .sixthSecLinks, .sixthSecLinks1, .sixthSecLinks2 { font-size: 2rem; }
    .sixthSecLinks1 span img, .sixthSecLinks2 span img { width: 40px; height: 40px; }
    #copyright { font-size: 1.2rem; }
    
    /* FIX: Remove the restrictive max-widths so 4K columns can stretch properly */
    .sixthSecLinks1 { max-width: 25%; }
    .sixthSecLinks2 { max-width: 30%; }

    .heroLandingContent{
        margin-top: 4%;
    }

    /* Scale up the Navbar Buttons */
    .navSec2 button { 
        font-size: 1.6rem; 
        padding: 18px 45px; 
        margin-left: 25px; /* Adds a bit more breathing room between the larger buttons */
    }
    
    /* Scale up the Back to Top Button */
    #backToTopBtn {
        width: 90px;
        height: 90px;
        bottom: 50px; /* Pushes it slightly further out from the corner */
        right: 50px;
        border-width: 3px; /* Slightly thicker dashed border to match the scale */
    }
    
    /* Scale up the arrow icon inside the button */
    #backToTopBtn img {
        width: 45px;
        height: 48px;
    }

    .navBar{
        height: 12vh;
    }

    .thirdSec1{
        margin-top: 2%;
    }

    .scrollDownIco img{
        width: 45px;
    }
}