/* =========================
   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:#334155;
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:90px 8%;
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:42px;
    color:#4338CA;
    margin-bottom:15px;
    position:relative;
}

.section-title h2::after{
    content:'';
    width:90px;
    height:4px;
    background:#F97316;
    position:absolute;
    left:50%;
    bottom:-12px;
    transform:translateX(-50%);
    border-radius:10px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#64748B;
}

/* =========================
   HEADER
========================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:18px 8%;
    background:#4338CA;
    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:24px;
    font-weight:700;
}

.logo span{
    color:#22D3EE;
}

#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:#22D3EE;
    transition:.3s;
}

#navbar a:hover::after{
    width:100%;
}

#navbar a:hover{
    color:#22D3EE;
}

.menu-toggle{
    display:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

/* =========================
   HERO SECTION
========================= */

.hero{
    min-height:100vh;
    background:url('../images/hero.jpg');
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(0,0,0,0.20),
        rgba(0,0,0,0.20)
    );
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
    padding:0 20px;
    animation:fadeUp 1s ease;
}

.hero-content h1{
    color:#ffffff;
    font-size:60px;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-content p{
    color:#f8fafc;
    font-size:18px;
    margin-bottom:30px;
}

.hero-btn{
    display:inline-block;
    background:hwb(189 9% 2%);
    color:#ffffff;
    padding:14px 35px;
    border-radius:50px;
    font-weight:600;
    transition:.4s;
}

.hero-btn:hover{
    background:#22D3EE;
    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:60px;
    align-items:center;
}

.about-image img{
    height:500px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 15px 40px rgba(67,56,202,0.15);
    transition:.5s;
}

.about-image img:hover{
    transform:scale(1.03);
}

.about-content h2{
    color:#4338CA;
    font-size:42px;
    margin-bottom:25px;
}

.about-content p{
    color:#64748B;
    line-height:1.9;
    margin-bottom:18px;
    text-align:justify;
}

/* =========================
   SERVICES SECTION
========================= */

.services{
    background:#EEF4FF;
}

.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:22px;
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.service-card:nth-child(1){
    border-top:5px solid #4338CA;
}

.service-card:nth-child(2){
    border-top:5px solid #06B6D4;
}

.service-card:nth-child(3){
    border-top:5px solid #F97316;
}

.service-card:nth-child(4){
    border-top:5px solid #8B5CF6;
}

.service-card:nth-child(5){
    border-top:5px solid #14B8A6;
}

.service-card:nth-child(6){
    border-top:5px solid #EC4899;
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card i{
    font-size:48px;
    margin-bottom:18px;
}

.service-card:nth-child(1) i{
    color:#4338CA;
}

.service-card:nth-child(2) i{
    color:#06B6D4;
}

.service-card:nth-child(3) i{
    color:#F97316;
}

.service-card:nth-child(4) i{
    color:#8B5CF6;
}

.service-card:nth-child(5) i{
    color:#14B8A6;
}

.service-card:nth-child(6) i{
    color:#EC4899;
}

.service-card h3{
    color:#1E293B;
    margin-bottom:15px;
}

.service-card p{
    color:#64748B;
    line-height:1.8;
}

/* =========================
   CONTACT SECTION
========================= */

.contact{
    background:#ffffff;
}

.contact-card{
    max-width:600px;
    margin:auto;
    background:linear-gradient(135deg,#4338CA,#06B6D4);
    padding:50px;
    border-radius:25px;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

.contact-item{
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:30px;
}

.contact-item:last-child{
    margin-bottom:0;
}

.contact-item i{
    color:#ffffff;
    font-size:24px;
    margin-top:5px;
}

.contact-item h3{
    color:#ffffff;
    margin-bottom:6px;
}

.contact-item p,
.contact-item a{
    color:#F8FAFC;
    line-height:1.8;
}

.contact-item a:hover{
    color:#FDE68A;
}
/* =========================
   FOOTER
========================= */

footer{
    background:#1E293B;
    padding:30px 20px;
    text-align:center;
}

.footer-bottom p{
    color:#E2E8F0;
    margin-bottom:10px;
    font-size:15px;
}

.footer-bottom a{
    color:#22D3EE;
    font-weight:600;
    transition:.3s;
}

.footer-bottom a:hover{
    color:#F97316;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:992px){

    .service-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .about-container{
        gap:40px;
    }

}

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    #navbar{
        display:none;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#4338CA;
        flex-direction:column;
        text-align:center;
        padding:20px 0;
    }

    #navbar.active{
        display:flex;
    }

    #navbar a{
        padding:12px 0;
    }

    .about-container,
    .service-grid{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:38px;
    }

    .hero-content p{
        font-size:16px;
    }

    .about-image img{
        height:320px;
    }

    .about-content h2{
        font-size:34px;
    }

    .section-title h2{
        font-size:34px;
    }

    .contact-card{
        padding:30px 20px;
    }

    .contact-item{
        flex-direction:column;
        text-align:center;
        align-items:center;
    }

}

@media(max-width:480px){

    section{
        padding:70px 5%;
    }

    .hero-content h1{
        font-size:30px;
    }

    .hero-btn{
        padding:12px 28px;
    }

    .logo{
        font-size:20px;
    }

    .section-title h2{
        font-size:30px;
    }

}