/* =========================
   GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#F8FAFC;
    color:#333;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:90px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:42px;
    color:#1F2937;
    margin-bottom:15px;
    position:relative;
}

.section-title h2::after{
    content:'';
    width:80px;
    height:4px;
    background:#F97316;
    position:absolute;
    left:50%;
    bottom:-10px;
    transform:translateX(-50%);
}

.section-title p{
    color:#6B7280;
    max-width:700px;
    margin:auto;
}

/* =========================
   HEADER
========================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#1F2937;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

.logo{
    color:#ffffff;
    font-size:26px;
    font-weight:700;
    line-height:1.3;
}

.logo span{
    color:#F97316;
}

#navbar{
    display:flex;
    gap:30px;
}

#navbar a{
    color:#ffffff;
    font-weight:500;
    position:relative;
    transition:.3s;
}

#navbar a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:#F97316;
    transition:.3s;
}

#navbar a:hover::after{
    width:100%;
}

#navbar a:hover{
    color:#F97316;
}

.menu-toggle{
    display:none;
    color:#ffffff;
    font-size:28px;
    cursor:pointer;
}

/* =========================
   HERO SECTION
========================= */

.hero{
    min-height:100vh;
    background:url('../images/hero.jpg') center center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.40);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    padding:0 20px;
}

.hero-content h1{
    color:#ffffff;
    font-size:62px;
    line-height:1.2;
    margin-bottom:20px;
    animation:fadeUp 1s ease;
}

.hero-content p{
    color:#f3f4f6;
    font-size:20px;
    margin-bottom:30px;
    animation:fadeUp 1.2s ease;
}

.hero-btn{
    display:inline-block;
    background:#F97316;
    color:#ffffff;
    padding:15px 38px;
    border-radius:50px;
    font-weight:600;
    transition:.4s;
    animation:fadeUp 1.4s ease;
}

.hero-btn:hover{
    background:#FBBF24;
    color:#1F2937;
    transform:translateY(-5px);
}

/* =========================
   ANIMATION
========================= */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    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:70px;
    align-items:center;
}

.about-image img{
    height:500px;
    object-fit:cover;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
    transition:.5s;
}

.about-image img:hover{
    transform:scale(1.03);
}

.about-content h2{
    font-size:42px;
    color:#1F2937;
    margin-bottom:25px;
    position:relative;
}

.about-content h2::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-10px;
    width:80px;
    height:4px;
    background:#F97316;
}

.about-content p{
    color:#555;
    margin-bottom:18px;
    text-align:justify;
    line-height:1.9;
}

/* =========================
   SERVICES SECTION
========================= */

.services{
    background:#F3F4F6;
}

.service-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:#ffffff;
    padding:35px 25px;
    text-align:center;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:.4s;
    border-top:5px solid #F97316;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.service-card i{
    font-size:50px;
    color:#F97316;
    margin-bottom:20px;
    transition:.4s;
}

.service-card:hover i{
    transform:scale(1.1);
    color:#FBBF24;
}

.service-card h3{
    color:#1F2937;
    font-size:22px;
    margin-bottom:15px;
}

.service-card p{
    color:#666;
    line-height:1.8;
}

/* Different Card Top Colors */

.service-card:nth-child(2){
    border-top-color:#FBBF24;
}

.service-card:nth-child(3){
    border-top-color:#2563EB;
}

.service-card:nth-child(4){
    border-top-color:#10B981;
}

.service-card:nth-child(5){
    border-top-color:#EF4444;
}

.service-card:nth-child(6){
    border-top-color:#8B5CF6;
}
/* =========================
   CONTACT SECTION
========================= */

.contact{
    background:#ffffff;
}

.contact-wrapper{
    max-width:900px;
    margin:auto;
}

.contact-card{
    background:#ffffff;
    padding:50px 40px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
    border-top:6px solid #F97316;
}

.contact-item{
    margin-bottom:35px;
}

.contact-item:last-child{
    margin-bottom:0;
}

.contact-item i{
    font-size:34px;
    color:#F97316;
    margin-bottom:15px;
}

.contact-item h3{
    color:#1F2937;
    font-size:24px;
    margin-bottom:10px;
}

.contact-item p,
.contact-item a{
    color:#6B7280;
    font-size:17px;
    line-height:1.8;
}

.contact-item a:hover{
    color:#F97316;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#1F2937;
    padding:30px 8%;
}

.footer-bottom{
    text-align:center;
}

.footer-bottom p{
    color:#E5E7EB;
    margin:8px 0;
    font-size:15px;
}

.footer-bottom a{
    color:#F97316;
    font-weight:600;
    transition:.3s;
}

.footer-bottom a:hover{
    color:#FBBF24;
}

/* =========================
   TABLET RESPONSIVE
========================= */

@media(max-width:992px){

    .about-container{
        grid-template-columns:1fr;
    }

    .service-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero-content h1{
        font-size:48px;
    }

}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:768px){

    section{
        padding:70px 5%;
    }

    header{
        padding:15px 5%;
    }

    .logo{
        font-size:18px;
    }

    .menu-toggle{
        display:block;
    }

    #navbar{
        display:none;
        position:absolute;
        top:75px;
        left:0;
        width:100%;
        background:#1F2937;
        flex-direction:column;
        text-align:center;
        padding:20px 0;
    }

    #navbar.active{
        display:flex;
    }

    #navbar a{
        padding:12px 0;
    }

    .about-container{
        grid-template-columns:1fr;
        gap:40px;
    }

    .service-grid{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:34px;
    }

    .hero-content p{
        font-size:15px;
    }

    .hero-btn{
        padding:12px 28px;
    }

    .section-title h2,
    .about-content h2{
        font-size:32px;
    }

    .about-image img{
        height:320px;
    }

    .contact-card{
        padding:35px 20px;
    }

    .contact-item h3{
        font-size:20px;
    }

    .contact-item p,
    .contact-item a{
        font-size:15px;
    }

}
