@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Mozilla+Text:wght@200..700&family=Nata+Sans:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Saira+Stencil:ital,wght@0,100..900;1,100..900&family=Tektur:wght@400..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'poppins', sans-serif;
}

body{
   background: #171731;
}

.header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    padding:10px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#171731;
    z-index:100;
}

.logo{
    color: #fff;
    margin-left: 15px;
    font-size: 1.7em;
    font-weight: 700;

    text-shadow:
        0 0 10px #8b5cf6,
        0 0 20px #8b5cf6,
        0 0 40px #7c3aed;
}

.navbar a{
  font-size: .9em;
  padding: 10px 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  margin: 10px 20px;
  cursor: pointer;
  transition: .3s;
}

.btn{
    display:inline-block;
    padding:15px 35px;
    border-radius:10px;
    border:2px solid #7b3cff;
    background:#7b3cff;
    color:#fff;
    transition:.4s;
    margin-right:15px;
}

.btn:hover{
    background:transparent;
    box-shadow:0 0 20px #7b3cff;
}

.home{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:130px 8%;
    gap:80px;
}

.home-content{
    flex: 1;
    max-width: 560px;
    margin-top: 0;
}

.home-content h2{
    font-size:64px;
    line-height:1.1;
    color:#fff;
    font-weight:700;
}

.home-content p{
    margin:30px 0;
    font-size:19px;
    color:#b7b7d8;
    line-height:1.8;
}

/* .home-img{
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.home-img img{
    width: 90%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
} */

.home-img img{
    width: 100%;
    max-width: 520px;
    height: auto;

    filter: drop-shadow(0 0 15px rgba(139,92,246,.5))
            drop-shadow(0 0 35px rgba(99,102,241,.5))
            drop-shadow(0 0 60px rgba(168,85,247,.35));

    animation: float 5s ease-in-out infinite;
}

@keyframes float{

    0%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-18px);
    }

    100%{
        transform: translateY(0);
    }

}

@keyframes glow{

    0%,100%{
        filter: drop-shadow(0 0 15px rgba(139,92,246,.5))
                drop-shadow(0 0 35px rgba(99,102,241,.5));
    }

    50%{
        filter: drop-shadow(0 0 25px rgba(168,85,247,.9))
                drop-shadow(0 0 70px rgba(139,92,246,.8));
    }

}

.home-img img{
    width: 100%;
    max-width: 520px;
    height: auto;

    animation:
        float 5s ease-in-out infinite,
        glow 3s ease-in-out infinite;
}

.services{
    display:flex;
    justify-content:center;
    gap:40px;
    margin:120px auto;
    flex-wrap:wrap;
}

.service-box{
    position: relative;
    width: 340px;
    padding: 90px 35px 45px;
    text-align: center;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(12px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:20px;
    overflow: visible;
    transition:.4s ease;
}

.service-box .icon{
    position:absolute;
    top:-48px;
    left:50%;
    transform:translateX(-50%);
    width:90px;
    height:90px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#8f44fd,#5d17ff);
    box-shadow:
        0 0 20px rgba(138,43,226,.6),
        0 0 40px rgba(138,43,226,.35);
}

.icon img{
    width:55px;
    height:55px;
    object-fit:contain;
    filter: drop-shadow(0 0 8px rgba(255,255,255,.6));
    transition:.4s ease;
}

.service-box:hover{
    transform:translateY(-12px);
    box-shadow:
        0 20px 40px rgba(138,43,226,.35);
}

.service-box:hover .service-icon{
    transform:translateX(-50%) scale(1.1);
    box-shadow:
        0 0 25px #8f44fd,
        0 0 55px rgba(143,68,253,.6);
}

.service-box:hover img{
    transform:rotate(-8deg) scale(1.12);
}

.service-box h3{
    color:#fff;
    font-size:28px;
    margin-bottom:18px;
}

.service-box p{
    color:#bcbcd8;
    line-height:1.8;
    font-size:16px;
    margin-bottom:22px;
}

.service-box a{
    color:#8f44fd;
    text-decoration:none;
    font-weight:600;
}

.service-box:hover{
    transform:translateY(-15px);
    box-shadow:
    0 15px 40px rgba(139,92,246,.45);
}

/* Hamburger Button */

.menu-btn{
    display:none;
    font-size:32px;
    color:#fff;
    cursor:pointer;
    transition:.3s;
}

.menu-btn:hover{
    color:#8b5cf6;
}

/* ===========================
   Mobile Devices
=========================== */

@media (max-width:768px){

.header{
    padding:18px 7%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-direction:row;
}

.logo{
    margin:0;
}

.menu-btn{
    display:block;
}

/* Navigation */

.navbar{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#171731;
    display:none;
    flex-direction:column;
    align-items:center;
    padding:25px 0;
    box-shadow:0 12px 25px rgba(0,0,0,.4);
}

.navbar.active{
    display:flex;
    animation:slideDown .35s ease;
}

.navbar a{
    margin:15px 0;
    font-size:18px;
}

.btn{
        display: none;
    }

/* Hero */

.home{
    flex-direction:column-reverse;
    text-align:center;
    padding:120px 25px 60px;
}

.home-content{
    max-width:100%;
    margin-left: 60px;
}

.home-content h2{
    font-size:40px;
}

.home-content p{
    font-size:17px;
}

.home-img{
    display:flex;
    justify-content:center;
}

.home-img img{
    width:95%;
    max-width:340px;
}

.services{
    margin-top: 10px;
    gap:70px;
}

.service-box{
    width:100%;
    max-width:340px;
    margin-left: 60px;
    margin-right: 0;
}

@keyframes slideDown{

    from{
        opacity:0;
        transform:translateY(-20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

}

/* ===========================
   Tablets
=========================== */

/* ===========================
   Tablets (768px - 1024px)
=========================== */

@media (min-width:769px) and (max-width:1024px){

    .header{
        padding:20px 30px;
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .logo{
        font-size:1.6rem;
    }

    .navbar{
        display:flex;
        gap:18px;
        align-items:center;
    }

    .navbar a{
        margin:0;
        padding:8px;
        font-size:15px;
    }

    .menu-btn{
        display:none;
    }

    .btn{
        padding:12px 22px;
        font-size:14px;
        margin-right:0;
    }

    /* Hero */

    .home{
        padding:140px 40px 80px;
        gap:40px;
        align-items:center;
    }

    .home-content{
        flex:1;
    }

    .home-content h2{
        font-size:48px;
    }

    .home-content p{
        font-size:17px;
        line-height:1.7;
    }

    .home-img{
        flex:1;
        display:flex;
        justify-content:center;
    }

    .home-img img{
        width:100%;
        max-width:420px;
    }

    /* Services */

    .services{
        gap:30px;
        justify-content:center;
        margin-left: 200px;
    }

    .service-box{
        width:300px;
        padding:80px 25px 35px;
    }

    .service-box h3{
        font-size:22px;
    }
}

@media (min-width:1440px){

.home{
    padding:120px 10%;
}

.home-content h2{
    font-size:4rem;
}

.home-content p{
    font-size:1.25rem;
}

.home-img img{
    max-width:650px;
}

}