/* ==================================================
LERATO KA MIHLA MAINTENANCE SERVICES
MASTER STYLESHEET
PART 1
================================================== */

/* ==================================================
ROOT VARIABLES
================================================== */

:root {

    --navy: #002B6B;
    --yellow: #F4B400;
    --green: #1F7A3D;
    --red: #8B1E1E;

    --white: #ffffff;
    --black: #111111;

    --gray-100: #f7f7f7;
    --gray-200: #efefef;
    --gray-300: #dddddd;
    --gray-500: #777777;
    --gray-700: #444444;
    --gray-900: #222222;

    --shadow-sm: 0 5px 15px rgba(0,0,0,.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,.10);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.15);

    --transition: .3s ease;

    --max-width: 1300px;

}

/* ==================================================
RESET
================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    line-height:1.6;
    color:var(--gray-700);
    overflow-x:hidden;
    background:#fff;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

button{
    border:none;
    cursor:pointer;
    font-family:inherit;
}

input,
textarea,
select{
    font-family:inherit;
}

/* ==================================================
CONTAINER
================================================== */

.container{
    width:90%;
    max-width:var(--max-width);
    margin:auto;
}

/* ==================================================
TYPOGRAPHY
================================================== */

h1,
h2,
h3,
h4,
h5{
    color:var(--gray-900);
    line-height:1.2;
}

.section-heading{
    text-align:center;
    margin-bottom:60px;
}

.section-heading span{
    color:var(--red);
    font-size:14px;
    font-weight:700;
    letter-spacing:3px;
}

.section-heading h2{
    font-size:48px;
    margin-top:10px;
    font-weight:800;
}

/* ==================================================
TOP BAR
================================================== */

.topbar{
    background:var(--navy);
    color:white;
    padding:12px 0;
    font-size:14px;
}

.topbar-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.topbar-left{
    display:flex;
    gap:30px;
}

.topbar-right{
    font-weight:600;
}

/* ==================================================
HEADER
================================================== */

.header{
    background:white;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:var(--shadow-sm);
}

.header-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:100px;
}

.logo{
    height:75px;
    width:auto;
}

/* ==================================================
DESKTOP NAVIGATION
================================================== */

.desktop-nav{
    display:flex;
    gap:35px;
}

.desktop-nav a{
    color:var(--gray-900);
    font-weight:600;
    transition:var(--transition);
    position:relative;
}

.desktop-nav a:hover{
    color:var(--navy);
}

.desktop-nav a.active{
    color:var(--navy);
}

.desktop-nav a.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:100%;
    height:3px;
    background:var(--yellow);
}

/* ==================================================
HEADER ACTIONS
================================================== */

.header-actions{
    display:flex;
    align-items:center;
    gap:15px;
}

.quote-btn{
    background:var(--yellow);
    color:black;
    padding:14px 28px;
    font-weight:700;
    transition:var(--transition);
}

.quote-btn:hover{
    background:var(--navy);
    color:white;
}

.mobile-toggle{
    display:none;
    background:none;
    font-size:30px;
}

/* ==================================================
MOBILE MENU
================================================== */

.mobile-menu{
    display:none;
    background:white;
    border-top:1px solid #eee;
}

.mobile-menu.active{
    display:block;
}

.mobile-menu a{
    display:block;
    padding:18px 25px;
    color:var(--gray-900);
    border-bottom:1px solid #eee;
    font-weight:600;
}

.mobile-menu a:hover{
    background:var(--gray-100);
}

/* ==================================================
BUTTONS
================================================== */

.btn-primary{
    display:inline-block;
    background:var(--yellow);
    color:black;
    padding:16px 34px;
    font-weight:700;
    transition:var(--transition);
}

.btn-primary:hover{
    background:var(--navy);
    color:white;
}

.btn-secondary{
    display:inline-block;
    border:2px solid white;
    color:white;
    padding:16px 34px;
    font-weight:700;
    transition:var(--transition);
}

.btn-secondary:hover{
    background:white;
    color:var(--navy);
}

.btn-dark{
    display:inline-block;
    background:var(--navy);
    color:white;
    padding:16px 34px;
    font-weight:700;
    transition:var(--transition);
}

.btn-dark:hover{
    background:var(--yellow);
    color:black;
}

/* ==================================================
HOME HERO
================================================== */

.hero{
    position:relative;
    min-height:850px;
    background:url('../hero/hero.jpg') center center/cover no-repeat;
    display:flex;
    align-items:center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.60);
}

.hero-content{
    position:relative;
    z-index:2;

    display:grid;
    grid-template-columns:1.5fr .8fr;
    gap:60px;

    align-items:center;
}

.hero-left{
    color:white;
}

.hero-tagline{
    color:var(--yellow);
    text-transform:uppercase;
    letter-spacing:4px;
    font-weight:700;
    margin-bottom:20px;
}

.hero-left h1{
    color:white;
    font-size:72px;
    font-weight:900;
    margin-bottom:25px;
}

.hero-description{
    color:white;
    max-width:700px;
    font-size:22px;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

/* ==================================================
HERO CONTACT CARD
================================================== */

.hero-card{
    background:white;
    padding:45px;
    box-shadow:var(--shadow-lg);
}

.hero-card h3{
    font-size:28px;
    margin-bottom:25px;
    color:var(--navy);
}

.hero-contact-item{
    margin-bottom:18px;
    font-size:16px;
}

.hero-card-btn{
    display:block;
    text-align:center;
    background:var(--red);
    color:white;
    padding:16px;
    margin-top:25px;
    font-weight:700;
    transition:var(--transition);
}

.hero-card-btn:hover{
    background:var(--navy);
}

/* ==================================================
PAGE HERO
================================================== */

.page-hero{
    position:relative;
    min-height:500px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
}

.page-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.page-hero-content{
    position:relative;
    z-index:2;
}

.page-hero-content h1{
    color:white;
    font-size:68px;
    font-weight:900;
    margin-bottom:20px;
}

.page-hero-content p{
    color:white;
    font-size:22px;
}

/* PAGE BACKGROUNDS */

.services-hero{
    background:url('../hero/services.jpg')
    center center/cover no-repeat;
}

.projects-hero{
    background:url('../hero/projects.jpg')
    center center/cover no-repeat;
}

.contact-hero{
    background:url('../hero/contact.jpg')
    center center/cover no-repeat;
}


/* ==================================================
SERVICES PREVIEW SECTION
================================================== */

.services-preview{
    padding:120px 0;
    background:var(--gray-100);
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:white;
    overflow:hidden;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.service-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.service-content{
    padding:25px;
}

.service-content h3{
    font-size:24px;
    font-weight:700;
}

.section-button{
    text-align:center;
    margin-top:50px;
}

/* ==================================================
SERVICES PAGE
================================================== */

.service-intro{
    padding:120px 0 60px;
}

.intro-text{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:18px;
    line-height:1.9;
}

.all-services{
    padding-bottom:120px;
}

.services-full-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.service-box{
    background:white;
    box-shadow:var(--shadow-sm);
    overflow:hidden;
    transition:var(--transition);
}

.service-box:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.service-box img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.service-box-content{
    padding:30px;
}

.service-box-content h3{
    margin-bottom:15px;
    font-size:24px;
}

.service-box-content p{
    line-height:1.8;
}

/* ==================================================
SERVICE PROCESS
================================================== */

.service-process{
    padding:120px 0;
    background:var(--gray-100);
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.process-card{
    background:white;
    padding:40px;
    text-align:center;
    box-shadow:var(--shadow-sm);
}

.process-number{
    width:70px;
    height:70px;
    background:var(--yellow);
    margin:auto;
    margin-bottom:25px;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:22px;
    font-weight:800;
}

/* ==================================================
ABOUT HOME
================================================== */

.about-home{
    padding:120px 0;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.about-image img{
    width:100%;
}

.about-content span{
    color:var(--red);
    font-weight:700;
    letter-spacing:3px;
}

.about-content h2{
    font-size:50px;
    margin:20px 0 30px;
}

.about-content p{
    margin-bottom:20px;
    line-height:1.9;
}

.about-icons{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:35px;
}

.about-icons div{
    background:var(--gray-100);
    padding:18px;
    font-weight:700;
}

/* ==================================================
ABOUT PAGE
================================================== */

.about-page-section{
    padding:120px 0;
}

.about-page-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.about-page-image img{
    width:100%;
}

.section-tag{
    color:var(--red);
    font-weight:700;
    letter-spacing:3px;
}

.about-page-content h2{
    font-size:50px;
    margin:20px 0 30px;
}

.about-page-content p{
    margin-bottom:20px;
    line-height:1.9;
}

/* ==================================================
MISSION VISION
================================================== */

.mission-vision{
    padding:120px 0;
    background:var(--gray-100);
}

.mission-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.mission-card{
    background:white;
    padding:45px;
    box-shadow:var(--shadow-sm);
}

.mission-card h3{
    margin-bottom:20px;
    color:var(--navy);
}

.mission-card p{
    line-height:1.8;
}

/* ==================================================
WHY ABOUT
================================================== */

.why-about{
    padding:120px 0;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.feature-item{
    background:white;
    padding:35px;
    box-shadow:var(--shadow-sm);
}

.feature-item h3{
    margin-bottom:15px;
}

.feature-item p{
    line-height:1.8;
}

/* ==================================================
TEAM LEADER
================================================== */

.team-leader-section{
    padding:120px 0;
    background:var(--gray-100);
}

.leader-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.leader-image img{
    width:100%;
}

.leader-content h2{
    font-size:50px;
    margin:20px 0 10px;
}

.leader-content h4{
    color:var(--red);
    margin-bottom:25px;
}

.leader-content p{
    margin-bottom:20px;
    line-height:1.9;
}

/* ==================================================
WHY CHOOSE US
================================================== */

.why-us{
    padding:120px 0;
    background:var(--navy);
    color:white;
}

.why-us h2{
    color:white;
    text-align:center;
    margin-bottom:60px;
    font-size:48px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.why-card{
    background:rgba(255,255,255,.08);
    padding:35px;
}

.why-card h3{
    color:white;
    margin-bottom:15px;
}

.why-card p{
    color:rgba(255,255,255,.85);
}

/* ==================================================
COMPANY STATS
================================================== */

.company-stats,
.project-achievements{
    padding:120px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.stat-box{
    text-align:center;
    background:var(--gray-100);
    padding:45px;
}

.stat-box h2{
    font-size:54px;
    color:var(--navy);
    margin-bottom:10px;
}

/* ==================================================
PROJECTS SECTION
================================================== */

.projects-home{
    padding:120px 0;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.project-box{
    height:320px;
    background:#ddd;
}

.project-gallery{
    padding-bottom:120px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.gallery-card{
    background:white;
    overflow:hidden;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.gallery-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.gallery-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.gallery-content{
    padding:25px;
}

.gallery-content h3{
    margin-bottom:12px;
}

/* ==================================================
INDUSTRIES SECTION
================================================== */

.industries-section{
    padding:120px 0;
    background:var(--gray-100);
}

.industries-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.industry-card{
    background:white;
    padding:35px;
    text-align:center;
    font-weight:700;
    box-shadow:var(--shadow-sm);
}

/* ==================================================
TESTIMONIALS
================================================== */

.testimonial-section{
    padding:120px 0;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.testimonial-card{
    background:var(--gray-100);
    padding:40px;
    line-height:1.9;
}

/* ==================================================
CTA SECTION
================================================== */

.cta-section{
    background:var(--navy);
    padding:90px 0;
}

.cta-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}

.cta-wrapper h2{
    color:white;
    font-size:48px;
    margin-bottom:15px;
}

.cta-wrapper p{
    color:rgba(255,255,255,.85);
    font-size:18px;
}


/* ==================================================
CONTACT PAGE
================================================== */

.contact-info-section{
    padding:120px 0;
}

.contact-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.contact-card{
    background:white;
    text-align:center;
    padding:50px 35px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.contact-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.contact-icon{
    width:80px;
    height:80px;
    margin:0 auto 25px;

    background:var(--yellow);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;
    font-weight:700;
}

.contact-card h3{
    margin-bottom:15px;
}

.contact-card p{
    word-break:break-word;
}

/* ==================================================
CONTACT FORM
================================================== */

.contact-form-section{
    padding:120px 0;
    background:var(--gray-100);
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:start;
}

.contact-content h2{
    font-size:48px;
    margin:20px 0;
}

.contact-content p{
    margin-bottom:25px;
    line-height:1.9;
}

.contact-benefits{
    margin-top:30px;
}

.contact-benefits li{
    margin-bottom:15px;
    font-weight:600;
}

.contact-form-wrapper{
    background:white;
    padding:45px;
    box-shadow:var(--shadow-md);
}

.contact-form{
    width:100%;
}

.form-group{
    margin-bottom:25px;
}

.form-group label{
    display:block;
    margin-bottom:10px;
    font-weight:700;
    color:var(--gray-900);
}

.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    padding:16px;
    border:1px solid var(--gray-300);
    outline:none;
    transition:var(--transition);
    background:white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
    border-color:var(--navy);
}

.form-btn{
    width:100%;
}

/* ==================================================
MAP SECTION
================================================== */

.map-section{
    padding:120px 0;
}

.map-placeholder{
    background:var(--gray-100);
    min-height:400px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
}

.map-placeholder h3{
    font-size:40px;
    margin-bottom:15px;
}

.map-placeholder p{
    margin-bottom:10px;
}

/* ==================================================
BUSINESS HOURS
================================================== */

.business-hours{
    padding:120px 0;
    background:var(--gray-100);
}

.hours-grid{
    max-width:800px;
    margin:auto;
    background:white;
    box-shadow:var(--shadow-sm);
}

.hour-row{
    display:flex;
    justify-content:space-between;
    padding:20px 30px;
    border-bottom:1px solid #eee;
}

.hour-row:last-child{
    border-bottom:none;
}

.hour-row span:first-child{
    font-weight:700;
}

/* ==================================================
FOOTER
================================================== */

.footer{
    background:#101820;
    color:white;
    padding-top:80px;
}

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

.footer-logo{
    height:80px;
    width:auto;
    margin-bottom:20px;
}

.footer h4{
    color:white;
    margin-bottom:25px;
}

.footer p,
.footer li{
    margin-bottom:12px;
    color:rgba(255,255,255,.8);
}

.footer a{
    color:rgba(255,255,255,.8);
    transition:var(--transition);
}

.footer a:hover{
    color:var(--yellow);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.10);
    padding:25px 0;
    text-align:center;
    color:rgba(255,255,255,.7);
}

/* ==================================================
UTILITY CLASSES
================================================== */

.text-center{
    text-align:center;
}

.mt-20{
    margin-top:20px;
}

.mt-30{
    margin-top:30px;
}

.mt-50{
    margin-top:50px;
}

.mb-20{
    margin-bottom:20px;
}

.mb-40{
    margin-bottom:40px;
}

/* ==================================================
ANIMATIONS
================================================== */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

@keyframes fadeIn{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

.fade-up{
    animation:fadeUp .8s ease forwards;
}

.fade-in{
    animation:fadeIn 1s ease forwards;
}

/* ==================================================
TABLET RESPONSIVE
================================================== */

@media (max-width:1024px){

    .hero-content,
    .about-grid,
    .about-page-grid,
    .leader-grid,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .services-grid,
    .services-full-grid,
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .process-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .mission-grid{
        grid-template-columns:1fr;
    }

    .features-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .industries-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .contact-cards{
        grid-template-columns:1fr;
    }

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .testimonial-grid{
        grid-template-columns:1fr;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

    .cta-wrapper{
        flex-direction:column;
        text-align:center;
    }

}

/* ==================================================
MOBILE RESPONSIVE
================================================== */

@media (max-width:768px){

    .topbar-wrapper{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .topbar-left{
        flex-direction:column;
        gap:8px;
    }

    .desktop-nav{
        display:none;
    }

    .mobile-toggle{
        display:block;
    }

    .quote-btn{
        display:none;
    }

    .hero{
        min-height:700px;
    }

    .hero-content{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-left h1{
        font-size:48px;
    }

    .hero-description{
        font-size:18px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .page-hero-content h1{
        font-size:46px;
    }

    .page-hero-content p{
        font-size:18px;
    }

    .section-heading h2{
        font-size:36px;
    }

    .about-content h2,
    .about-page-content h2,
    .leader-content h2,
    .contact-content h2{
        font-size:36px;
    }

    .cta-wrapper h2{
        font-size:34px;
    }

    .services-grid,
    .services-full-grid,
    .gallery-grid,
    .projects-grid,
    .why-grid,
    .features-grid,
    .industries-grid,
    .process-grid,
    .stats-grid{
        grid-template-columns:1fr;
    }

    .about-icons{
        grid-template-columns:1fr;
    }

    .hour-row{
        flex-direction:column;
        gap:5px;
    }

    .container{
        width:92%;
    }

}

/* ==================================================
SMALL MOBILE
================================================== */

@media (max-width:480px){

    .logo{
        height:60px;
    }

    .hero-left h1{
        font-size:38px;
    }

    .page-hero-content h1{
        font-size:38px;
    }

    .section-heading h2{
        font-size:30px;
    }

    .contact-form-wrapper{
        padding:25px;
    }

    .hero-card{
        padding:30px;
    }

}
