*{
    margin: 0;
    padding: 0;
    color: white;
    font-size: 15px;
    box-sizing:border-box;


}
body{
    background:linear-gradient(135deg,#0f172a,#1e293b,#0f172a);
    font-family:Arial,Helvetica,sans-serif;
    overflow-x:hidden;
}

/* Hero Section */
.hero{
    width:100%;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#fff;
    text-align:center;
    padding:40px 0;
}





/* Slider */
.slider{
    width:100%;
    overflow:hidden;
    position:relative;
    padding:20px 0;
}

.slider::before,
.slider::after{
    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
}

.slider::before{
    left:0;
    background:linear-gradient(to right,#0f172a,transparent);
}

.slider::after{
    right:0;
    background:linear-gradient(to left,#0f172a,transparent);
}

.slide-track{
    display:flex;
    width:calc(350px * 12);
    animation:scroll 25s linear infinite;
}

.slide-track:hover{
    animation-play-state:paused;
}

.slide{
    width:500px;
    height:320px;
    margin:0 15px;
    border-radius:20px;
    overflow:hidden;
    flex-shrink:0;
    box-shadow:0 15px 35px rgba(0,0,0,.4);
    transition:.4s;
}

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

.slide:hover{
    transform:translateY(-12px) scale(1.05);
    box-shadow:0 25px 50px rgba(0,255,255,.4);
}

@keyframes scroll{
    0%{
        transform:translateX(-50%);
    }
    100%{
        transform:translateX(0%);
    }
}

/* Responsive */
@media(max-width:768px){

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:16px;
}

.slide{
    width:250px;
    height:170px;
}

.slide-track{
    width:calc(280px * 12);
}
}
/*//Animation End left to Right*/



#nav1{
    background-color: #00F7FF;
    text-align: right;
    display: inline-block;
}
#nav1 ul{
    background-color: #FF7DB0;
    text-transform: none;
    list-style: none;
}
#nav1 ul li{
    display: inline-block;
    text-transform: none;
    padding: 10px;
    margin: 5px;

}
a{
    text-decoration: none;


}
#nav1 ul li:hover{
    background-color: #007DCC;
}
.div1 {
    width: 100px;
    height: 100px;
    border: 2px solid black;
    border-radius: 50%;
    background-color: red;
    position: relative;

    animation: leftToRight 4s linear forwards;
}

@keyframes leftToRight {
    0% {
        left: 0;
        top: 0;
    }
    100% {
        left: 1180px; /* Adjust according to your container width */
        top: 0;
    }

}

/*.div1{
    width: 100px;
    height: 100px;
    background-color: red;
    border-color: black;
    border: 10px;
    border-radius: 50%;
    margin-left: 1170px;
    margin-button: 500px;

}*/

/* =========================
        FOOTER
========================= */

footer{
    background:#0f172a;
    color:#fff;
    padding:60px 8% 20px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-box h2,
.footer-box h3{
    color:#00e5ff;
    margin-bottom:20px;
}

.footer-box p{
    color:#cbd5e1;
    line-height:1.8;
}

.footer-links{
    list-style:none;
}

.footer-links li{
    margin:12px 0;
}

.footer-links li a{
    color:#cbd5e1;
    text-decoration:none;
    transition:.3s;
}

.footer-links li a:hover{
    color:#00e5ff;
    padding-left:8px;
}

.contact p{
    margin:12px 0;
}

.contact i{
    color:#00e5ff;
    margin-right:10px;
}

.social-icons{
    margin-top:20px;
}

.social-icons a{
    width:45px;
    height:45px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    background:#1e293b;
    color:#fff;
    text-decoration:none;
    border-radius:50%;
    margin-right:10px;
    font-size:20px;
    transition:.3s;
}

.social-icons a:hover{
    background:#00e5ff;
    color:#000;
    transform:translateY(-5px);
}

.footer-bottom{
    text-align:center;
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,.15);
    padding-top:20px;
    color:#94a3b8;
    font-size:15px;
}

@media(max-width:768px){

footer{
    text-align:center;
}

.social-icons{
    display:flex;
    justify-content:center;
}

}

