/* ====================================
   L5 Maintenance (PTY) LTD
   style.css
==================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f7f9fc;
    color:#333;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ================= HEADER ================= */

header{
    background:#0d1b2a; /* dark navy */
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 12px rgba(0,0,0.15);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
}
.logo img{
    height:95px;
    width:auto;
    transition:.3s ease;
}

.logo img:hover{
    transform:scale(1.05);
}

/* when header is scrolled */
header.scrolled .logo-img {
   height: 30px;
}
nav ul{
    list-style:none;
    display:flex;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

nav ul li a:hover{
    color:#F7941D;
}


/* ================= HERO ================= */
.hero{
    position:relative;
    min-height:700px;
    background:
        linear-gradient(rgba(0,15,45,.75),rgba(0,15,45,.75)),
        url("images/tools-bg.jpg") center center/cover no-repeat;

    display:flex;
    align-items:center;
    overflow:hidden;
}

.hero-content{
    width:90%;
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
}

.hero-text{
    flex:1;
    color:#fff;
    z-index:2;
}

.hero-text h1{
    font-size:4rem;
    line-height:1.1;
    font-weight:800;
}

.hero-text span{
    color:#ff7a00;
}

.hero-text p{
    margin:30px 0;
    font-size:1.25rem;
    max-width:550px;
    line-height:1.7;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn-primary{
    background:#ff7a00;
    color:#fff;
    padding:16px 40px;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}

.btn-secondary{
    border:2px solid white;
    color:white;
    padding:16px 40px;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}

.hero-logo{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-logo img{
    width:700px;
    max-width:100%;
    filter:
        drop-shadow(0 0 40px rgba(0,0,0,.7))
        drop-shadow(0 0 20px rgba(0,119,255,.35));
    opacity:.96;
    transition:.4s;
}

.hero-logo img:hover{
    transform:scale(1.05);
}
}
/* ================= BUTTONS ================= */

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.btn{
    padding:15px 28px;
    border-radius:8px;
    text-decoration:none;
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.orange{
    background:#F7941D;
}

.orange:hover{
    background:#d87400;
}

.whatsapp{
    background:#25D366;
}

.whatsapp:hover{
    background:#1EBE5D;
}

.email{
    background:#0B2C4D;
}

.email:hover{
    background:#17436c;
}

/* ================= SECTIONS ================= */

section{
    padding:80px 0;
}

section h2{
    text-align:center;
    color:#0B2C4D;
    margin-bottom:45px;
    font-size:2rem;
}

/* ================= SERVICES ================= */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    padding:35px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card i{
    font-size:45px;
    color:#F7941D;
    margin-bottom:20px;
}

.card h3{
    color:#0B2C4D;
}

/* ================= WHY US ================= */

.why{
    background:#0B2C4D;
    color:#fff;
}

.why h2{
    color:#fff;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    text-align:center;
}

.why-grid i{
    font-size:45px;
    color:#F7941D;
    margin-bottom:20px;
}

/* ================= GALLERY ================= */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.gallery img{
    width:100%;
    border-radius:10px;
    transition:.3s;
}

.gallery img:hover{
    transform:scale(1.04);
}

/* ================= QUOTE FORM ================= */

form{
    max-width:700px;
    margin:auto;
}

form input,
form select,
form textarea{
    width:100%;
    padding:15px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
}

form textarea{
    min-height:150px;
    resize:vertical;
}

form button{
    background:#F7941D;
    color:#fff;
    border:none;
    padding:16px 30px;
    border-radius:8px;
    font-size:17px;
    cursor:pointer;
    transition:.3s;
}

form button:hover{
    background:#d87400;
}

/* ================= CONTACT ================= */

.contact-box{
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    gap:25px;
}

.contact-box a,
.contact-box div{
    background:#fff;
    padding:20px 30px;
    border-radius:10px;
    text-decoration:none;
    color:#0B2C4D;
    font-weight:600;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.contact-box i{
    color:#F7941D;
    margin-right:10px;
}

/* ================= FOOTER ================= */

footer{
    background:#0B2C4D;
    color:#fff;
    text-align:center;
    padding:10px 15px;  /* Much smaller */
    font-size: 0.85rem;  /* Smaller text */
}

footer.cotainer {
   max-width: 1170px;
   margin: 0 auto;
}

footer.footer-logo2 img{
    height:24px;
    width:auto;
    margin-bottom:4px;
    display:inline-block;
    vertical-align:middle;
}
 footer p{
   margin:0;
   line-height:1.2;
}

footer.footer-text {
display: inline-block;
margin-left: 8px;
vertical-align: middle;
}


/* ================= FLOATING WHATSAPP ================= */

.floating-whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:34px;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    transition:.3s;
}

.floating-whatsapp:hover{
    transform:scale(1.1);
}

/* ================= MOBILE ================= */

@media(max-width:768px){

header .container{
    flex-direction:column;
    gap:15px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
}

nav ul li{
    margin:10px;
}

.hero-content{
    flex-direction:column;
    text-align:center;
}

.hero-text h1{
    font-size:2.2rem;
}

.hero-buttons{
    justify-content:center;
}

.contact-box{
    flex-direction:column;
}
/* Scroll Animations */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* Active Navigation */

nav ul li a.active{
    color:#F7941D;
}

/* Header Shadow */

header.scrolled{
    box-shadow:0 8px 25px rgba(0,0,0,.2);
}
/* ==============================
   MOBILE MENU
============================== */

.menu-toggle{

    display:none;

    font-size:28px;

    color:#ffffff;

    cursor:pointer;

}

@media(max-width:768px){

    .menu-toggle{

        display:block;

    }

    nav{

        position:absolute;

        top:90px;

        left:0;

        width:100%;

        background:#0B2C4D;

        display:none;

    }

    nav.active{

        display:block;

    }

    nav ul{

        flex-direction:column;

        text-align:center;

        padding:20px 0;

    }

    nav ul li{

        margin:15px 0;

    }

}
}
/* ===============================
   STATS SECTION
=============================== */

.stats{

    background:#ffffff;

    padding:70px 0;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.stat-card{

    background:#ffffff;

    border-radius:15px;

    padding:35px 25px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.stat-card:hover{

    transform:translateY(-8px);

}

.stat-card i{

    font-size:50px;

    color:#F7941D;

    margin-bottom:20px;

}

.stat-card h2{

    color:#0B2C4D;

    font-size:40px;

    margin-bottom:10px;

}

.stat-card p{

    color:#666;

    font-size:17px;

    font-weight:500;

}
/* ===============================
   GALLERY
=============================== */

.gallery-subtitle{

    text-align:center;

    color:#666;

    margin-bottom:40px;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:20px;

}

.gallery-grid img{

    width:100%;

    height:260px;

    object-fit:cover;

    border-radius:15px;

    cursor:pointer;

    transition:.4s;

    box-shadow:0 8px 20px rgba(0,0,0,.10);

}

.gallery-grid img:hover{

    transform:scale(1.04);

}

/* ===============================
   LIGHTBOX
=============================== */

#lightbox{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.92);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

#lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:10px;

}
/* ===============================
   QUOTE FORM
=============================== */

.quote-section{

    background:#f8f9fb;

}

.quote-text{

    text-align:center;

    color:#666;

    margin-bottom:35px;

}

.quote-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

    justify-content:center;

    margin-top:20px;

}

.quote-buttons button{

    border:none;

    cursor:pointer;

}

.quote-buttons .btn{

    min-width:220px;

}
}