/* ================= GLOBAL STYLES ================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #070b14;
    color: white;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */

.navbar{
    width: 100%;
    padding: 22px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    z-index: 1000;
}

.logo{
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-box{
    width: 55px;
    height: 55px;
    border-radius: 18px;
    background: linear-gradient(135deg,#00c2ff,#7b2cff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 10px 30px rgba(0,194,255,0.4);
}

.logo h2{
    font-size: 28px;
    font-weight: 700;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a{
    color: white;
    text-decoration: none;
    position: relative;
    transition: 0.4s;
}

.nav-links a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #00c2ff;
    transition: 0.4s;
}

.nav-links a:hover::after,
.nav-links .active::after{
    width: 100%;
}

.nav-links a:hover{
    color: #00c2ff;
}

/* ================= HERO ================= */

.hero{
    min-height: 100vh;
    padding: 130px 8%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 80px;
    position: relative;
}

.hero::before{
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(123,44,255,0.15);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    filter: blur(80px);
}

/* HERO CONTENT */

.mini-title{
    color: #00c2ff;
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: 600;
}

.hero-content h1{
    font-size: 78px;
    line-height: 1.05;
    margin: 25px 0;
    font-weight: 800;
    animation: slideUp 1s ease;
}

.hero-content p{
    color: #cbd5e1;
    line-height: 1.9;
    font-size: 17px;
    margin-bottom: 40px;
}

/* BUTTONS */

.hero-buttons{
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary{
    padding: 18px 40px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s;
}

.btn-primary{
    background: linear-gradient(135deg,#00c2ff,#7b2cff);
    color: white;
    box-shadow: 0 15px 35px rgba(0,194,255,0.3);
}

.btn-primary:hover{
    transform: translateY(-6px);
}

.btn-secondary{
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
}

.btn-secondary:hover{
    background: white;
    color: #111827;
}

/* HERO IMAGE */

.hero-image{
    position: relative;
    animation: float 5s ease-in-out infinite;
}

.hero-image img{
    width: 100%;
    border-radius: 35px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.floating-card{
    position: absolute;
    bottom: -25px;
    left: -25px;
    background: white;
    color: #111827;
    padding: 25px 35px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.floating-card h3{
    font-size: 40px;
    color: #7b2cff;
}

/* ================= SERVICES ================= */

.services{
    padding: 120px 8%;
}

.section-title{
    text-align: center;
    margin-bottom: 70px;
}

.section-title span{
    color: #00c2ff;
    letter-spacing: 3px;
    font-size: 14px;
}

.section-title h2{
    font-size: 58px;
    margin-top: 15px;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

/* SERVICE CARD */

.service-card{
    background: linear-gradient(145deg,#111827,#0f172a);
    padding: 40px 30px;
    border-radius: 30px;
    transition: 0.5s;
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,#00c2ff,#7b2cff);
    top: 0;
    left: 0;
}

.service-card:hover{
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card i{
    font-size: 42px;
    margin-bottom: 25px;
    color: #00c2ff;
}

.service-card h3{
    font-size: 24px;
    margin-bottom: 18px;
}

.service-card p{
    color: #cbd5e1;
    line-height: 1.8;
}

/* ================= WHY US ================= */

.why-us{
    padding: 120px 8%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 70px;
    align-items: center;
}

.why-image img{
    width: 100%;
    border-radius: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.why-content span{
    color: #00c2ff;
    letter-spacing: 3px;
    font-size: 14px;
}

.why-content h2{
    font-size: 58px;
    line-height: 1.2;
    margin: 20px 0;
}

.why-content p{
    color: #cbd5e1;
    line-height: 1.9;
    margin-bottom: 35px;
}

.why-features{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature{
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg,#00c2ff,#7b2cff);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= TESTIMONIALS ================= */

.testimonials{
    padding: 120px 8%;
}

.testimonial-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.testimonial-card{
    background: #111827;
    padding: 40px 35px;
    border-radius: 30px;
    transition: 0.4s;
}

.testimonial-card:hover{
    transform: translateY(-10px);
}

.testimonial-card p{
    color: #cbd5e1;
    line-height: 1.9;
    margin-bottom: 25px;
}

.testimonial-card h3{
    color: #00c2ff;
}

/* ================= CTA ================= */

.cta{
    margin: 100px 8%;
    padding: 90px 40px;
    border-radius: 35px;
    text-align: center;
    background: linear-gradient(135deg,#00c2ff,#7b2cff);
}

.cta h2{
    font-size: 56px;
    margin-bottom: 20px;
}

.cta p{
    margin-bottom: 35px;
    font-size: 18px;
}

.cta-btn{
    display: inline-block;
    padding: 18px 45px;
    background: white;
    color: #7b2cff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.4s;
}

.cta-btn:hover{
    transform: scale(1.05);
}

/* ================= FOOTER ================= */

footer{
    padding: 60px 8%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content h2{
    font-size: 32px;
    margin-bottom: 15px;
}

.footer-content p{
    color: #cbd5e1;
}

.social-links{
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #111827;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.4s;
}

.social-links a:hover{
    background: linear-gradient(135deg,#00c2ff,#7b2cff);
    transform: translateY(-5px);
}

.copyright{
    margin-top: 20px;
    font-size: 14px;
}

/* ================= ANIMATIONS ================= */

@keyframes slideUp{
    from{
        opacity: 0;
        transform: translateY(40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float{
    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-15px);
    }

    100%{
        transform: translateY(0px);
    }
}

/* ================= RESPONSIVE ================= */

@media(max-width:1200px){

    .services-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .testimonial-grid{
        grid-template-columns: 1fr;
    }

    .hero,
    .why-us{
        grid-template-columns: 1fr;
    }
}

@media(max-width:768px){

    .navbar{
        flex-direction: column;
        gap: 20px;
    }

    .nav-links{
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1{
        font-size: 48px;
    }

    .section-title h2,
    .why-content h2,
    .cta h2{
        font-size: 38px;
    }

    .services-grid{
        grid-template-columns: 1fr;
    }

    .hero-buttons{
        flex-direction: column;
    }
}

@media(max-width:500px){

    .hero-content h1{
        font-size: 36px;
    }

    .logo h2{
        font-size: 22px;
    }

    .cta{
        padding: 70px 20px;
    }
}
