/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#f8fafc;
    color:#333;
    line-height:1.7;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:90px 8%;
}

/* =========================
   HEADER
========================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#0f172a;
    z-index:1000;
    box-shadow:0 4px 15px rgba(0,0,0,.15);
}

.logo{
    font-size:24px;
    font-weight:700;
    color:#fbbf24;
}

.logo:hover{
    color:#ffffff;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:#ffffff;
    font-weight:600;
    position:relative;
    transition:.3s;
}

nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:#fbbf24;
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}

.menu-toggle{
    display:none;
    font-size:28px;
    color:#ffffff;
    cursor:pointer;
}

/* =========================
   HERO
========================= */

.hero{
    height:100vh;
    background:
    linear-gradient(rgba(15,23,42,.42),
    rgba(15,23,42,.42)),
    url('../images/hero.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-content{
    max-width:800px;
    animation:fadeUp 1s ease;
}

.hero-content h1{
    font-size:60px;
    color:#ffffff;
    margin-bottom:20px;
    line-height:1.2;
}

.hero-content p{
    font-size:20px;
    color:#e5e7eb;
    margin-bottom:30px;
}

.hero-btn{
    display:inline-block;
    padding:14px 35px;
    background:#fbbf24;
    color:#0f172a;
    border-radius:50px;
    font-weight:700;
    transition:.4s;
}

.hero-btn:hover{
    background:#ffffff;
    transform:translateY(-5px);
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}
/* =========================
   ABOUT SECTION
========================= */

.about{
    background:#ffffff;
}

.about-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image img{
    width:100%;
    height:450px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.5s;
}

.about-image img:hover{
    transform:scale(1.05);
}

.about-content h2{
    font-size:40px;
    color:#0f172a;
    margin-bottom:25px;
    position:relative;
}

.about-content h2::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:80px;
    height:4px;
    background:#fbbf24;
}

.about-content p{
    margin-bottom:18px;
    color:#555;
    font-size:16px;
    text-align:justify;
    line-height:1.8;
}

/* =========================
   SERVICES SECTION
========================= */

.services{
    background:#f8fafc;
    text-align:center;
}

.services h2{
    font-size:40px;
    color:#0f172a;
    margin-bottom:50px;
    position:relative;
    display:inline-block;
}

.services h2::after{
    content:'';
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-10px;
    width:90px;
    height:4px;
    background:#fbbf24;
}

.service-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:#ffffff;
    padding:35px 25px;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.4s;
    border-top:5px solid #fbbf24;
}

.service-card:hover{
    transform:translateY(-10px);
    background:#0f172a;
}

.service-card i{
    font-size:45px;
    color:#fbbf24;
    margin-bottom:18px;
    transition:.3s;
}

.service-card h3{
    color:#0f172a;
    margin-bottom:12px;
    font-size:22px;
    transition:.3s;
}

.service-card p{
    color:#666;
    transition:.3s;
}

.service-card:hover h3,
.service-card:hover p{
    color:#ffffff;
}

.service-card:hover i{
    color:#fbbf24;
}
/* =========================
   WHY CHOOSE US
========================= */

.why{
    background:#ffffff;
    text-align:center;
}

.why h2{
    font-size:40px;
    color:#0f172a;
    margin-bottom:50px;
    position:relative;
    display:inline-block;
}

.why h2::after{
    content:'';
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-10px;
    width:90px;
    height:4px;
    background:#fbbf24;
}

.why-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.why-card{
    background:#f8fafc;
    padding:30px 20px;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.4s;
}

.why-card:hover{
    background:#0f172a;
    transform:translateY(-10px);
}

.why-card i{
    font-size:42px;
    color:#fbbf24;
    margin-bottom:15px;
}

.why-card h3{
    color:#0f172a;
    margin-bottom:10px;
    transition:.3s;
}

.why-card p{
    color:#666;
    transition:.3s;
}

.why-card:hover h3,
.why-card:hover p{
    color:#ffffff;
}

/* =========================
   CONTACT
========================= */

.contact{
    background:#f8fafc;
}

.contact h2{
    text-align:center;
    font-size:40px;
    color:#0f172a;
    margin-bottom:50px;
}

.contact-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.contact-card{
    background:#ffffff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.contact-item{
    display:flex;
    gap:18px;
    margin-bottom:30px;
}

.contact-item i{
    font-size:24px;
    color:#fbbf24;
    margin-top:5px;
}

.contact-item h3{
    color:#0f172a;
    margin-bottom:5px;
}

.contact-item a{
    color:#0f172a;
    font-weight:600;
}

.contact-item a:hover{
    color:#fbbf24;
}

.contact-map iframe{
    width:100%;
    height:100%;
    min-height:420px;
    border:none;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* =========================
   FOOTER
========================= */

footer{
    background:#0f172a;
    color:#ffffff;
    padding:70px 8% 20px;
}

.footer-content{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap:40px;
    padding-bottom:30px;
    border-bottom:1px solid rgba(255,255,255,.1);
}

.footer-box h3{
    color:#fbbf24;
    margin-bottom:15px;
}

.footer-box p{
    line-height:1.8;
}

.footer-box a{
    display:block;
    color:#d1d5db;
    margin-bottom:10px;
    transition:.3s;
}

.footer-box a:hover{
    color:#fbbf24;
    padding-left:5px;
}

.footer-bottom{
    max-width:1200px;
    margin:auto;
    padding-top:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

.footer-bottom a{
    color:#fbbf24;
    font-weight:600;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:992px){

    .service-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    nav{
        display:none;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#0f172a;
        flex-direction:column;
        text-align:center;
        padding:20px 0;
    }

    nav.active{
        display:flex;
    }

    nav a{
        padding:12px 0;
    }

    .about-container,
    .contact-grid,
    .footer-content{
        grid-template-columns:1fr;
    }

    .service-grid,
    .why-grid{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:38px;
    }

    .hero-content p{
        font-size:17px;
    }

    .about-image img{
        height:300px;
    }

    .footer-bottom{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }
}
