html {
    scroll-behavior: smooth;
}

body{
    margin:0;
    padding:0;
    top:0;
    background-color: #000;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 10px 20px;
    box-sizing: border-box;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav ul{
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
}
nav ul :first-child{
    margin-right: auto;

    
}
nav ul a{
    text-decoration: none;
}
.logo{
    margin-right: 20px;
    text-decoration: none;;

}
.logo h3{
    color: #fff;
}


nav ul li{

    margin: 10px 15px;
    display: flex;
    font-size: 1.2rem;
    justify-content: start;
    align-items: space-around;
}    
nav ul li a{
    padding: 5px 10px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}
nav ul li a:hover{
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: 0.3s ease-in-out;
}
.logo h3{
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    padding: 0;
}

.btn{
    padding: 10px 20px;
    background-color: aqua;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    margin: 10px;
    color:black;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.btn:hover{
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
    transform: scale(1.05);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.home-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 20px 20px;
    text-align: center;
}

.home-section p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.highlight {
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.home-section, .about-me, .my-proj, .contact-me{
    padding: 100px 20px 20px 20px;
    text-align: center;

}
.home-section h1, .about-me h1, .my-proj h1, .contact-me h1{
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.about-me .cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.about-me .card, .my-proj .card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-me .card a.btn, .my-proj .card a.btn {
    text-decoration: none;
   background-color: aqua;
    color: #000;
    display: inline-block;
}

.about-me .card a.btn i, .my-proj .card a.btn i {
    margin-right: 5px;
}

.about-me .card:hover, .my-proj .card:hover {
    transform: translateY(-10px);
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    box-shadow: 0 8px 16px rgba(0, 255, 255, 0.6);
    background-clip: text;
    color: transparent;

}
.about-me .card a.btn:hover, .my-proj .card a.btn:hover  {
    color: #fff;
}
.about-me .card h2 {
    font-size: 1.2rem;
    margin-top: 0;
}

.about-me .card p, .my-proj .card p {
    margin-bottom: 15px;
}

.about-me .card h2 i, .my-proj .card h2 i {
    margin-right: 8px;
}

.my-proj .cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.my-proj .card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    flex: 1 1 220px;
    max-width: 280px;
    text-align: center;
    transition: transform 0.2s;
    color: #fff;
}

.my-proj .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    color:white;
    transform: translateY(-10px);
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    box-shadow: 0 8px 16px rgba(0, 255, 255, 0.6);
    background-clip: text;
    color: transparent;
}

.my-proj .card h2 {
    font-size: 1.2rem;
    margin-top: 0;
}

.ham{
    display: none;
    cursor: pointer;
    flex-direction: column;
}

.ham .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.3s ease-in-out;
}

.ham.active .bar:nth-child(1) {
     transform: rotate(-45deg) translate(-10px,6px);
}

.ham.active .bar:nth-child(2) {
    opacity: 0;
}

.ham.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-10px,-6px);
}

@media (max-width:768px){
    .nav-links{
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: -100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        transition: left 0.3s ease-in-out;
        padding: 0;
    }
    .nav-links.active{
        left: 0;
    }
    nav ul li{
        margin: 15px 0;
        text-align: center;
        width: 100%;
    }
    .ham{
        display: flex;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-section, .about-me, .my-proj, .contact-me {
    animation: fadeIn 1s ease-in-out;
}

.contact-me form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.contact-me input,
.contact-me textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

.contact-me input::placeholder,
.contact-me textarea::placeholder {
    color: #ccc;
}

.contact-me textarea {
    height: 150px;
    resize: vertical;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.7);
    margin-top: 50px;
}

.social-links {
    margin-bottom: 15px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s, text-shadow 0.3s;
}

.social-links a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}
footer p {
    color: #ccc;
    font-size: 0.9rem;
}

