html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

hr{
    margin: 0 5rem;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
}

#nav_1{
    height: 7rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

#nav_1.scrolled{
    background: rgba(5,10,25,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.logo{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo:hover{
    color: inherit;
}

.logo img{
    padding: 1rem 0;
    padding-left: 1rem;
    height: 7rem;
    width: auto;
}

.logo_text{
    margin-left: 0.75rem;
    font-size: 2.15rem;
    font-weight: 500;
    color: white;
}

.link_1{
    display: flex;
    align-items: center;
}

.dropdown{
    position: relative;
}

.dropdown::before{
    content:"";
    position:absolute;
    left:0;
    top:100%;
    width:100%;
    height:15px;
}

.dropdown-content{
    content: "";
    margin: 1rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(5,10,25,0.95);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.dropdown-content a{
    position: relative;
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-content {
    display: none;
}
.dropdown.open .dropdown-content {
    display: block;
}

.link_1 a {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    margin: 0 1.5rem;
    position: relative;
    text-decoration: none;
    transition: 0.3s;
}

.link_1 > a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-0.8rem;
    width:0;
    height:3px;
    background: linear-gradient(90deg, #2563EB, #38BDF8);
    transform:translateX(-50%);
    transition:0.5s ease;
    border-radius:5px;
}

.dropdown-content a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:4px;
    width:0;
    height:2px;
    background: linear-gradient(90deg,#2563EB,#38BDF8);
    transform:translateX(-50%);
    transition:0.5s ease;
}

.dropdown-content a:hover::after{
    width:80%;
}

.link_1 a:hover::after, .link_1 a.active::after{
    width:100%;
}

.menu-toggle{
    display: none;
}

.footer{
    background:#111827;
    color:white;
}

.footer_grid{
    width: 100%;
    display:grid;
    padding: 6rem 0;
    grid-template-columns: repeat(4,1fr);
    gap:4rem;
    justify-items: center;
}

.footer_col{
    display:flex;
    flex-direction:column;
}

.footer_col h3{
    font-size:2.2rem;
    margin-bottom:1.5rem;
    min-height: 3rem;
}

.footer_col a, .footer_col li{
    display:block;
    color:#d1d5db;
    text-decoration:none;
    margin-bottom:1.2rem;
    font-size:1.6rem;
}

.footer_col a:hover{
    color: #a7a3a3;
}

.footer_col ul{
    list-style: none;
    align-items: center;
}

.footer_bottom{
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0 2rem;
    padding:1rem 0;
    text-align:center;
    justify-content: space-between;
}

.foot_logo{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.foot_logo:hover{
    color: inherit;
}

.footer_bottom img{
    height: 5rem;
    width: auto;
}

.rights{
    font-size: 1.25rem;
}

.social_icons{
    display:flex;
    gap:3rem;
    margin-top:2rem;
}

.social_icons a{
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
}

.slide{
    position:relative;
    height:100vh;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.slide::after{
    content:"";
    position:absolute;
    inset:0;
    background:
    rgba(0,0,0,0.5);
}

.hero-content{
    position:absolute;
    top:50%;
    left:10%;
    transform:translateY(-50%);
    z-index:10;
    color:white;
    max-width:45rem;
}

.hero-content h1{
    font-size:4rem;
    margin-bottom:2rem;
}

.text_head{
    font-size:2rem;
    max-width: 50rem;
}

.text_hero{
    font-size: 2rem;
    margin-top: 2rem;
}

.about-product{
    max-width:120rem;
    margin:7rem auto;
    display:flex;
    align-items: center;
    gap:6rem;
}

.product-content{
    flex:1;
}

.product-content h1{
    font-size:4rem;
    font-weight:700;
    margin-bottom:2rem;
}

.product-content p{
    font-size:1.8rem;
    line-height:1.9;
    color:#475569;
}

.product-image, .monitor-image{
    display: flex;
    height: 50%;
    background-color: rgba(5,10,25,0.95);
    border-radius: 1rem;
    padding: 1rem 1rem;
    flex:1;
}

.product-image img, .monitor-image img{
    width:100%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.gradient-line{
    display:block;
    width:10rem;
    margin-bottom: 1rem;
    height:4px;
    border-radius:50px;
    background:linear-gradient(
        90deg,
        transparent,
        #00b4ff,
        #4cc9ff,
        #00b4ff,
        transparent
    );
    background-size:250% 100%;
    animation:gradientMove 3s linear infinite;
}

@keyframes gradientMove{
    0%{
        background-position:0% 50%;
    }
    100%{
        background-position:250% 50%;
    }
}

.working{
    max-width: 120rem;
    text-align: center;
    margin: 6rem auto;
}

.working-content h1{
    font-size: 4rem;
    font-weight: 700;
}

.working-content p{
    margin-top: 1.5rem;
    font-size: 1.8rem;
    color: #666;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.works-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:3rem;
    margin-top:6rem;
}

.work-card{
    background-color: #eef4ff;
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    padding:35px;
    gap: 3rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
    position:relative;
    overflow:hidden;
}

.work-info{
    flex: 1;
}

.work-icon{
    flex-shrink: 0;
    width: 8rem;
    height: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    color: #1e5eff;
    font-size: 3rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.work-icon svg{
    height: 4rem;
    width: 4rem;
}

.work-card h3{
    color:#000;
    font-size:2rem;
    margin-bottom:18px;
    font-weight:600;
}

.work-card p{
    color:#666;
    line-height:1.8;
    font-size:1.8rem;
}

.dashboard-btn{
    display:inline-flex;
    align-items:center;
    gap:1rem;
    margin-top:3rem;
    padding:1rem 2.8rem;
    border:2px solid #008cff;
    border-radius:5rem;
    color:#008cff;
    background:transparent;
    font-size:1.6rem;
    font-weight:600;
    text-decoration:none;
    transition:0.3s ease;
}

.dashboard-btn:hover{
    background:#008cff;
    color:#fff;
}


@media (max-width:768px) {
    
    html, body{
        overflow-x: hidden;
    }
     #nav_1{
        padding: 0 2rem;
        height: 6.5rem;
    }
     .menu-toggle{
        display:block;
        color:white;
        font-size:3rem;
        cursor:pointer;
    }
    .link_1{
        position:absolute;
        top:7rem;
        right:2rem;
        width:min(24rem,90vw);
        background:rgba(5,10,25,0.98);
        backdrop-filter:blur(12px);
        border-radius:1.5rem;
        padding:1.5rem 0;
        flex-direction:column;
        display:none;
        box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    }

    .dropdown-content{
        padding: 0 1rem;
        box-sizing: border-box;
        display:none;
        position:static;
        width: auto;
        position: static;
        box-shadow:none;
        background:none;
    }
    .dropdown{
        width: 100%;
    }
    .dropdown > a{
        display: block;
        width: 100%;
        text-align: center;
    }
    .dropdown-content a{
        padding: 0.8rem 2rem;
        text-align:left;
        padding-left:2rem;
        display: block;
        margin: 0 !important;
        font-size: 1rem;
        opacity:0.9;
    }
    .dropdown.open .dropdown-content{
        display:block;
    }
    .link_1.active{
        display: flex;
    }
    .link_1 > a, .dropdown > a{
        margin:1rem 0;
        font-size: 1rem;
    }
    .dropdown{
        margin:0;
    }
    .logo img{
        height:6rem;
    }
    .logo_text{
        font-size:2rem;
    }
    .hero-slider, .heroSwiper, .swiper-wrapper, .swiper-slide{
        height:50vh;
    }
    .footer_grid{
        grid-template-columns:repeat(2,1fr);
        text-align:center;
        gap:3rem 2rem;
        padding:4rem 2rem;
    }
    .social_icons{
        justify-content: center;
    }
    .footer_col h3{
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    .footer_col a, .footer_col li{
        font-size: 1.17rem;
    }
    .footer_bottom img{
        width: 4rem;
        height: auto;
    }
    .rights{
        font-size: 0.9rem;
    }
    .logo_text{
        font-size: 1.5rem;
    }
     .hero-content{
        left: 2rem;
        right: 2rem;
        max-width: 100%;
        top: 55%;
        transform: translateY(-50%);
    }
    .hero-content h1{
        font-size: 2.6rem;
        line-height: 1.1;
    }
    .slide{
        height:50vh;
    }
    .hero-content p{
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }
    .about-product{
        flex-direction:column;
        gap:4rem;
        margin:3rem auto;
        padding:0 2rem;
    }
    .product-content{
        width: 100%;
    }
    .product-content h1{
        font-size: 3.2rem;
        line-height: 1.2;
    }
    .product-content p{
        font-size: 1.55rem;
        line-height: 1.45;
    }
    .product-image{
        width:100%;
    }
    .product-image img{
        width:100%;
        max-width:40rem;
        height:auto;
    }
    .monitor-image{
        width: 60%;
    }
     .works-grid{
        grid-template-columns: repeat(2,1fr);
        margin: 0 2rem;
    }
    .working-content{
        margin: 2rem 1.25rem;
        margin-bottom: 4rem;
    }
    .working-content h1{
        font-size: 2.6rem;
    }
    .working-content h1::after{
        width: 22rem;
    }
    .work-card h3{
        font-size: 1.6rem;
    }
    .work-card p{
        font-size: 1.25rem;
    }
    .work-card{
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    .work-icon{
        min-width: 4rem;
        width: 4rem;
        height: 4rem;
    }
    .work-icon svg{
        width: 2.5rem;
        height: 2.5rem;
    }
    .dashboard-btn{
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    hr{
        display: none;
    }
}