*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#f5f7fa;
    color:#222;
}

/* ======================
TOP BAR
====================== */

.top-bar{
    background:#111;
    color:white;

    padding:10px 8%;

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;

    font-size:14px;
}

.top-left{
    display:flex;
    gap:25px;
}

.top-right{
    display:flex;
    gap:18px;
}

.top-right a{
    color:white;
    transition:0.3s;
}

.top-right a:hover{
    color:#f0b400;
}

/* ======================
NAVBAR
====================== */

.navbar{
    background:white;

    padding:12px 8%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    position:sticky;
    top:0;

    z-index:999;

    box-shadow:0 4px 20px rgba(0,0,0,0.08);
}

.logo{
    display:flex;
    align-items:center;
}

.logo a{
    display:flex;
    align-items:center;
}

.logo img{
    width:auto;
    height:64px;
    max-width:170px;
    display:block;
    object-fit:contain;
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    text-decoration:none;
    color:#222;
    font-weight:600;
    transition:0.3s;
}

nav a:hover{
    color:#f0b400;
}

/* ======================
HERO SLIDER
====================== */

.hero-slider{
    position:relative;
    width:100%;
    height:80vh;
    overflow:hidden;
}

/* Slide */
.slide{
    position:absolute;
    inset:0;

    background-size:cover;
    background-position:center;

    opacity:0;
    visibility:hidden;

    transition:
    opacity 1.5s ease,
    transform 7s ease;

    transform:scale(1);

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.slide.active{
    opacity:1;
    visibility:visible;
    transform:scale(1.08);
}

/* Dark Overlay */
.slide-overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.45)
    );
}

/* Hero Content */
.hero-content{
    position:relative;
    z-index:2;

    color:white;

    padding:20px;
    max-width:960px;

    animation:fadeUp 1.2s ease;
}

.hero-logo{
    width:auto;
    height:92px;
    max-width:180px;
    display:block;
    object-fit:contain;
    margin:0 auto 22px;
    padding:10px;
    background:rgba(255,255,255,0.92);
    border-radius:8px;
    box-shadow:0 14px 35px rgba(0,0,0,0.28);
}

.hero-content h1{
    font-size:68px;
    margin-bottom:20px;
    font-weight:700;

    text-shadow:
    0 5px 15px rgba(0,0,0,0.35);
}

.hero-content p{
    font-size:24px;
    margin-bottom:35px;

    letter-spacing:1px;
}

/* Button */
.hero-btn{
    background:#f0b400;
    color:black;

    padding:16px 42px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    display:inline-block;

    transition:0.4s;
}

.hero-btn:hover{
    background:white;

    transform:translateY(-6px);

    box-shadow:
    0 10px 30px rgba(255,255,255,0.25);
}

/* Animation */
@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}
/* ======================
COMMON
====================== */

section{
    padding:100px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:42px;
    position:relative;
    display:inline-block;
}

.section-title h2::after{
    content:"";
    width:60%;
    height:4px;
    background:#f0b400;

    position:absolute;
    left:20%;
    bottom:-12px;
}

/* ======================
ABOUT
====================== */

.about-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:25px;
    box-shadow:0 10px 40px rgba(0,0,0,0.12);
}

.about-content h2{
    font-size:45px;
    margin-bottom:25px;
}

.about-content p{
    line-height:1.9;
    margin-bottom:20px;
    color:#555;
}

/* ======================
PROJECTS
====================== */

.projects-section{
    background:white;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.project-card{
    position:relative;
    overflow:hidden;
    border-radius:25px;
}

.project-card img{
    width:100%;
    height:350px;
    object-fit:cover;
    transition:0.6s;
}

.project-overlay{
    position:absolute;
    inset:0;

    background:rgba(0,0,0,0.5);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    transition:0.4s;
}

.project-overlay h3{
    color:white;
    font-size:28px;
}

.project-card:hover img{
    transform:scale(1.1);
}

.project-card:hover .project-overlay{
    opacity:1;
}

/* ======================
GALLERY
====================== */

.gallery-section{
    background:#f5f7fa;
    overflow:hidden;
}

.gallery-marquee{
    width:100%;
    overflow:hidden;
    position:relative;
}

.gallery-marquee::before,
.gallery-marquee::after{
    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
    pointer-events:none;
}

.gallery-marquee::before{
    left:0;
    background:linear-gradient(90deg,#f5f7fa,rgba(245,247,250,0));
}

.gallery-marquee::after{
    right:0;
    background:linear-gradient(270deg,#f5f7fa,rgba(245,247,250,0));
}

.gallery-track{
    display:flex;
    gap:24px;
    width:max-content;
    animation:galleryScroll 55s linear infinite;
}

.gallery-marquee:hover .gallery-track{
    animation-play-state:paused;
}

.gallery-item{
    flex:0 0 340px;
    height:240px;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 14px 35px rgba(0,0,0,0.14);
    background:#ddd;
}

.gallery-item img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

@keyframes galleryScroll{
    from{
        transform:translateX(-50%);
    }

    to{
        transform:translateX(0);
    }
}

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

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.service-box{
    background:white;
    padding:50px 30px;
    text-align:center;

    border-radius:25px;

    transition:0.4s;

    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.service-box i{
    font-size:55px;
    color:#f0b400;
    margin-bottom:25px;
}

.service-box h3{
    font-size:28px;
}

.service-box:hover{
    transform:translateY(-10px);
}

/* ======================
CLIENTS
====================== */

.clients-section{
    background:#f5f7fa;
    position:relative;
    overflow:hidden;
}

.client-subtitle{
    text-align:center;
    color:#666;
    margin-top:-25px;
    margin-bottom:50px;
    font-size:18px;
}

.clients-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:30px;
    align-items:center;
}

.client-box{
    background:white;

    height:140px;

    border-radius:22px;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:25px;

    transition:0.4s;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.06);
}

.client-box img{
    max-width:100%;
    max-height:110px;

    object-fit:contain;

    filter:grayscale(100%);

    opacity:0.75;

    transition:0.4s;
}

.client-box:hover{
    transform:translateY(-8px);

    box-shadow:
    0 18px 40px rgba(0,0,0,0.12);
}

.client-box:hover img{
    filter:grayscale(0%);
    opacity:1;
}

/* ======================
CONTACT
====================== */

.contact-section{
    background:white;
}

.contact-form{
    max-width:800px;
    margin:auto;

    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    padding:18px;

    border:none;

    background:#f5f7fa;

    border-radius:15px;

    font-size:16px;
}

.contact-form button{
    background:#f0b400;
    color:black;

    padding:18px;

    border:none;

    border-radius:50px;

    font-size:18px;
    font-weight:700;

    cursor:pointer;

    transition:0.4s;
}

.contact-form button:hover{
    background:#111;
    color:white;
}

/* ======================
FOOTER
====================== */

footer{
    background:#111;
    color:white;

    padding-top:70px;
}

.footer-content{
    padding:0 8% 50px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-content h3,
.footer-content h4{
    margin-bottom:20px;
}

.footer-content a{
    display:block;
    color:#ccc;

    margin-bottom:10px;

    text-decoration:none;
}

.footer-content a:hover{
    color:#f0b400;
}

.copyright{
    border-top:1px solid rgba(255,255,255,0.1);

    text-align:center;

    padding:20px;
    color:#bbb;
}

/* ======================
RESPONSIVE
====================== */

@media(max-width:992px){

    .hero-content h1{
        font-size:52px;
    }

    .about-section{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .top-bar{
        justify-content:center;
        gap:10px;
    }

    .navbar{
        flex-direction:column;
        gap:14px;
    }

    .logo img{
        height:56px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
    }

    .hero-content h1{
        font-size:40px;
    }

    .hero-logo{
        height:72px;
        max-width:145px;
        margin-bottom:18px;
    }

    .hero-content p{
        font-size:20px;
    }

    section{
        padding:70px 6%;
    }

    .section-title h2{
        font-size:34px;
    }

    .gallery-marquee::before,
    .gallery-marquee::after{
        width:55px;
    }

    .gallery-track{
        gap:16px;
        animation-duration:45s;
    }

    .gallery-item{
        flex-basis:260px;
        height:190px;
    }

    .about-content h2{
        font-size:34px;
    }
}
