/* ==========================================
   MADIBA TWINS CONSTRUCTION & PROJECTS
   STYLE.CSS
========================================== */

/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#ffffff;
    color:#333;
    line-height:1.6;
}

/* ==========================
   LINKS
========================== */

a{
    text-decoration:none;
}

/* ==========================
   HEADER
========================== */

header{
    background:#0B1F3A;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

nav{
    max-width:1200px;
    margin:auto;
    padding:15px 30px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* ==========================
   LOGO
========================== */

.logo{
    width:120px;
    display:block;
}

/* ==========================
   MENU
========================== */

nav ul{
    display:flex;
    list-style:none;
    gap:35px;
}

nav ul li a{
    color:white;
    font-weight:bold;
    transition:.3s;
}

nav ul li a:hover{
    color:#D4AF37;
}

/* ==========================
   BUTTONS
========================== */

.quote-btn{
    background:#D4AF37;
    color:#0B1F3A;
    padding:14px 28px;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.quote-btn:hover{
    background:white;
}

.gold-btn{
    background:#D4AF37;
    color:#0B1F3A;
    padding:16px 36px;
    border-radius:8px;
    font-weight:bold;
    display:inline-block;
    transition:.3s;
}

.gold-btn:hover{
    background:#0B1F3A;
    color:white;
}

.white-btn{
    background:white;
    color:#0B1F3A;
    padding:16px 36px;
    border-radius:8px;
    font-weight:bold;
    display:inline-block;
    transition:.3s;
}

.white-btn:hover{
    background:#D4AF37;
}

/* ==========================
   HERO
========================== */

.hero{

    height:100vh;

    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("../images/hero.png");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    padding-top:90px;

}

.hero-content{
    max-width:900px;
    color:white;
}

.hero-content h1{
    font-size:72px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:28px;
    margin-bottom:40px;
}

.buttons{
    display:flex;
    justify-content:center;
    gap:20px;
}

/* ==========================
   ABOUT
========================== */

.about{

    padding:100px 8%;
    background:white;

    scroll-margin-top:120px;

}

.about-container{

    max-width:1200px;
    margin:auto;

    display:flex;
    align-items:center;
    gap:60px;

}

.about-image{

    flex:1;

}

.about-image img{

    width:100%;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);

}

.about-text{

    flex:1;

}

.about-text h4{

    color:#D4AF37;
    margin-bottom:10px;

}

.about-text h2{

    color:#0B1F3A;
    font-size:42px;
    margin-bottom:20px;

}

.about-text p{

    color:#555;
    font-size:18px;
    margin-bottom:20px;

}

/* ==========================
   SERVICES
========================== */

.services{

    background:#f8f9fc;
    padding:100px 10%;
    text-align:center;

    scroll-margin-top:120px;

}

.services h4{

    color:#D4AF37;
    letter-spacing:2px;
    margin-bottom:15px;

}

.services h2{

    color:#0B1F3A;
    font-size:45px;
    margin-bottom:60px;

}

.service-container{

    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:35px;

}

.service-box{

    width:350px;
    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.10);

    transition:.3s;

}

.service-box:hover{

    transform:translateY(-10px);

}

.service-box img{

    width:100%;
    height:220px;

    object-fit:cover;

    border-radius:10px;

    margin-bottom:20px;

}

.service-box h3{

    color:#0B1F3A;
    margin-bottom:15px;

}

.service-box p{

    color:#666;
    margin-bottom:25px;

}

/* ==========================
   WHY CHOOSE US
========================== */

.why{

    background:white;

    padding:100px 10%;

    text-align:center;

    scroll-margin-top:120px;

}

.why h4{

    color:#D4AF37;
    margin-bottom:15px;
    letter-spacing:2px;

}

.why h2{

    color:#0B1F3A;
    font-size:45px;
    margin-bottom:60px;

}

.why-container{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;

}

.why-card{

    background:#f8f9fc;

    padding:35px;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.why-card:hover{

    transform:translateY(-10px);

}

.icon{

    font-size:55px;
    margin-bottom:20px;

}

.why-card h3{

    color:#0B1F3A;
    margin-bottom:15px;

}

.why-card p{

    color:#666;

}

/* ==========================
   STATISTICS
========================== */

.stats{

    background:#0B1F3A;

    padding:90px 10%;

}

.stats-container{

    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:30px;

    text-align:center;

}

.stat-box{

    color:white;

}

.stat-box h2{

    color:#D4AF37;
    font-size:60px;
    margin-bottom:15px;

}

.stat-box p{

    font-size:22px;

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:900px){

nav{

    flex-direction:column;
    gap:20px;

}

nav ul{

    flex-direction:column;
    gap:15px;
    text-align:center;

}

.hero-content h1{

    font-size:42px;

}

.hero-content p{

    font-size:20px;

}

.buttons{

    flex-direction:column;

}

.about-container{

    flex-direction:column;

}

.about-text{

    text-align:center;

}

.service-container{

    flex-direction:column;
    align-items:center;

}

.service-box{

    width:100%;
    max-width:400px;

}

.stats-container{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.stats-container{

    grid-template-columns:1fr;

}

.hero-content h1{

    font-size:34px;

}

.hero-content p{

    font-size:18px;

}

}
/*=====================================
PROJECTS
=====================================*/

.projects{
    background:#ffffff;
    padding:100px 10%;
    text-align:center;
    scroll-margin-top:120px;
}

.projects h4{
    color:#D4AF37;
    font-size:18px;
    letter-spacing:2px;
    margin-bottom:15px;
}

.projects h2{
    color:#0B1F3A;
    font-size:45px;
    margin-bottom:25px;
}

.projects p{
    max-width:850px;
    margin:auto;
    color:#666;
    font-size:18px;
    line-height:1.8;
}

/*=====================================
GALLERY
=====================================*/

.gallery{
    background:#f8f9fc;
    padding:120px 10%;
    text-align:center;
    scroll-margin-top:120px;
}

.gallery h4{
    color:#D4AF37;
    font-size:18px;
    letter-spacing:2px;
    margin-bottom:15px;
}

.gallery h2{
    color:#0B1F3A;
    font-size:45px;
    margin-bottom:25px;
}

.gallery p{
    max-width:850px;
    margin:auto;
    color:#666;
    font-size:18px;
    line-height:1.8;
}

/*=====================================
CONTACT
=====================================*/

.contact{
    background:#ffffff;
    padding:100px 10%;
    scroll-margin-top:120px;
}

.contact-title{
    text-align:center;
    margin-bottom:60px;
}

.contact-title h4{
    color:#D4AF37;
    font-size:18px;
    letter-spacing:2px;
    margin-bottom:15px;
}

.contact-title h2{
    color:#0B1F3A;
    font-size:45px;
    margin-bottom:20px;
}

.contact-title p{
    max-width:700px;
    margin:auto;
    color:#666;
    font-size:18px;
}

.contact-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.contact-info{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.info-box{
    background:#f8f9fc;
    padding:25px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.info-box h3{
    color:#0B1F3A;
    margin-bottom:10px;
}

.info-box p{
    color:#666;
    line-height:1.8;
}

.contact-form{
    background:#f8f9fc;
    padding:35px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.contact-form form{
    display:flex;
    flex-direction:column;
}

.contact-form input,
.contact-form textarea{
    padding:16px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
    font-family:inherit;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border:2px solid #D4AF37;
}

.contact-form textarea{
    resize:vertical;
    min-height:180px;
}

.contact-form button{
    border:none;
    cursor:pointer;
}

/*=====================================
RESPONSIVE ADDITIONS
=====================================*/

@media(max-width:900px){

    .contact-container{
        grid-template-columns:1fr;
    }

    .projects h2,
    .gallery h2,
    .contact-title h2{
        font-size:35px;
    }

}
/*=====================================
FOOTER
=====================================*/

.footer{
    background:#0B1F3A;
    color:white;
    padding:70px 10% 30px;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
}

.footer-box .logo{
    width:120px;
    margin-bottom:20px;
}

.footer-box h3{
    color:#D4AF37;
    margin-bottom:20px;
}

.footer-box p{
    color:#ddd;
    line-height:1.8;
    margin-bottom:12px;
}

.footer-box ul{
    list-style:none;
}

.footer-box ul li{
    margin-bottom:12px;
}

.footer-box ul li a{
    color:#ddd;
    transition:.3s;
}

.footer-box ul li a:hover{
    color:#D4AF37;
}

.footer hr{
    border:none;
    height:1px;
    background:rgba(255,255,255,.2);
    margin:40px 0 20px;
}

.copyright{
    text-align:center;
    color:#bbb;
    font-size:15px;
}

@media(max-width:900px){

    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-box .logo{
        margin:0 auto 20px;
        display:block;
    }

}
/*=====================================
PROJECTS
=====================================*/

.projects{
    padding:100px 10%;
    background:#f8f9fc;
    text-align:center;
    scroll-margin-top:120px;
}

.projects h4{
    color:#D4AF37;
    font-size:18px;
    letter-spacing:2px;
    margin-bottom:15px;
}

.projects h2{
    color:#0B1F3A;
    font-size:45px;
    margin-bottom:20px;
}

.projects > p{
    max-width:700px;
    margin:0 auto 60px;
    color:#666;
    font-size:18px;
}

.projects-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:35px;
}

.project-card{
    background:#ffffff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.10);
    transition:0.3s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.project-info{
    padding:25px;
    text-align:left;
}

.project-info h3{
    color:#0B1F3A;
    font-size:26px;
    margin-bottom:15px;
}

.project-info p{
    color:#666;
    line-height:1.7;
}

@media(max-width:900px){

    .projects-container{
        grid-template-columns:1fr;
    }

}
/*=====================================
SERVICES IMAGES
=====================================*/

.service-box img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
    border-radius:12px 12px 0 0;
}

.service-box{
    overflow:hidden;
    background:#fff;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    transition:.3s;
}

.service-box:hover{
    transform:translateY(-10px);
}

.service-box h3{
    margin-top:25px;
}
/*=====================================
GALLERY
=====================================*/

.gallery{
    padding:100px 10%;
    background:#f7f7f7;
    text-align:center;
}

.gallery h4{
    color:#D4AF37;
    letter-spacing:3px;
    margin-bottom:15px;
}

.gallery h2{
    font-size:45px;
    color:#0B1F3A;
    margin-bottom:20px;
}

.gallery p{
    max-width:700px;
    margin:auto;
    color:#666;
    margin-bottom:60px;
}

.gallery-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery-container img{
    width:100%;
   height:320px;
    object-fit:cover;
    border-radius:15px;
    transition:.4s;
    cursor:pointer;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.gallery-container img:hover{
    transform:scale(1.05);
}

@media(max-width:900px){

.gallery-container{
grid-template-columns:1fr;
}

}
/*=====================================
CONTACT FORM UPGRADE
=====================================*/

.contact-form select{

width:100%;

padding:16px;

margin-bottom:20px;

border:1px solid #ddd;

border-radius:8px;

font-size:16px;

font-family:inherit;

background:white;

}

.contact-form input,

.contact-form textarea{

width:100%;

padding:16px;

margin-bottom:20px;

border:1px solid #ddd;

border-radius:8px;

font-size:16px;

font-family:inherit;

transition:.3s;

}

.contact-form input:focus,

.contact-form textarea:focus,

.contact-form select:focus{

border:1px solid #D4AF37;

outline:none;

box-shadow:0 0 10px rgba(212,175,55,.25);

}
/*=====================================
TESTIMONIALS
=====================================*/

.testimonials{
    padding:100px 8%;
    background:#ffffff;
    text-align:center;
}

.testimonials h4{
    color:#D4AF37;
    letter-spacing:4px;
    font-size:18px;
    margin-bottom:15px;
}

.testimonials h2{
    font-size:48px;
    color:#0B1F3A;
    margin-bottom:20px;
}

.testimonials p{
    max-width:750px;
    margin:0 auto 50px;
    color:#666;
    font-size:18px;
    line-height:1.8;
}

.testimonial-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.testimonial-card{
    background:#fff;
    padding:40px 30px;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.4s;
}

.testimonial-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.stars{
    color:#D4AF37;
    font-size:28px;
    margin-bottom:20px;
}

.testimonial-card h3{
    color:#0B1F3A;
    margin-top:25px;
    margin-bottom:8px;
}

.testimonial-card span{
    color:#777;
    font-size:15px;
}

@media(max-width:1000px){

.testimonial-container{
    grid-template-columns:1fr;
}

}
/*=====================================
WHATSAPP BUTTON
=====================================*/

.whatsapp-float{

position:fixed;

bottom:30px;

right:30px;

width:70px;

height:70px;

background:#25D366;

color:white;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:34px;

text-decoration:none;

box-shadow:0 12px 30px rgba(0,0,0,.3);

transition:.35s;

z-index:999;

}

.whatsapp-float:hover{

transform:scale(1.12);

background:#1ebe5d;

}
/*=====================================
GOOGLE MAP
=====================================*/

.map-section{
    padding:100px 8%;
    background:#f8f9fc;
}

.map-title{
    text-align:center;
    margin-bottom:50px;
}

.map-title h4{
    color:#D4AF37;
    letter-spacing:3px;
    margin-bottom:15px;
}

.map-title h2{
    font-size:48px;
    color:#0B1F3A;
    margin-bottom:20px;
}

.map-title p{
    color:#666;
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

.map-container{
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}
/*=====================================
OUR PROCESS
=====================================*/

.process{
    padding:100px 8%;
    background:#ffffff;
    text-align:center;
}

.process h4{
    color:#D4AF37;
    letter-spacing:3px;
    margin-bottom:15px;
}

.process h2{
    color:#0B1F3A;
    font-size:48px;
    margin-bottom:20px;
}

.process p{
    max-width:800px;
    margin:0 auto 60px;
    color:#666;
}

.process-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.process-card{
    background:#f8f9fc;
    padding:40px 30px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.process-card:hover{
    transform:translateY(-10px);
}

.process-number{
    width:70px;
    height:70px;
    margin:0 auto 25px;
    border-radius:50%;
    background:#D4AF37;
    color:#0B1F3A;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    font-weight:bold;
}

.process-card h3{
    color:#0B1F3A;
    margin-bottom:15px;
}

.process-card p{
    color:#666;
    margin-bottom:0;
}
/*=====================================
TRUSTED BY
=====================================*/

.trusted{

    padding:100px 8%;

    background:#0B1F3A;

    text-align:center;

}

.trusted h4{

    color:#D4AF37;

    letter-spacing:3px;

    margin-bottom:15px;

}

.trusted h2{

    color:white;

    font-size:46px;

    margin-bottom:20px;

}

.trusted p{

    color:#ddd;

    max-width:700px;

    margin:0 auto 60px;

    line-height:1.8;

}

.trusted-container{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.trusted-box{

    background:white;

    padding:40px 20px;

    border-radius:15px;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.trusted-box:hover{

    transform:translateY(-10px);

}

.trusted-box h3{

    color:#0B1F3A;

}

@media(max-width:900px){

.trusted-container{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.trusted-container{

grid-template-columns:1fr;

}

}
/* =========================
   GALLERY
========================= */

.gallery{
    padding:100px 8%;
    background:#f8f9fc;
    text-align:center;
}

.gallery h4{
    color:#d4a017;
    letter-spacing:3px;
    margin-bottom:15px;
}

.gallery h2{
    font-size:48px;
    color:#0f2747;
    margin-bottom:20px;
}

.gallery p{
    color:#555;
    max-width:750px;
    margin:0 auto 60px;
    font-size:18px;
    line-height:1.8;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.gallery-grid img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:15px;
    cursor:pointer;
    transition:.4s;
    box-shadow:0 12px 35px rgba(0,0,0,.12);
}

.gallery-grid img:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 20px 45px rgba(0,0,0,.25);
}


/* Tablet */

@media(max-width:991px){

.gallery-grid{

grid-template-columns:repeat(2,1fr);

}

}

/* Phone */

@media(max-width:768px){

.gallery-grid{

grid-template-columns:1fr;

}

.gallery h2{

font-size:36px;

}

}
/* ==========================
   LIGHTBOX
========================== */

.gallery-image{
    cursor:pointer;
    transition:0.4s;
}

.gallery-image:hover{
    transform:scale(1.03);
    opacity:0.9;
}

.lightbox{
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.92);
}

.lightbox-content{
    display:block;
    margin:auto;
    margin-top:50px;
    max-width:90%;
    max-height:85%;
    border-radius:12px;
    animation:zoom .35s;
}

@keyframes zoom{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.close{
    position:absolute;
    top:25px;
    right:40px;
    color:#fff;
    font-size:45px;
    cursor:pointer;
    transition:.3s;
}

.close:hover{
    color:#D4AF37;
}