html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;

}

@keyframes gradientMove {
    0% { background-position: 0% 50%;}
    50% { background-position: 100% 50%;}
    100% { background-position: 0% 50%;}
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(10, 102, 194, 0.95);
    backdrop-filter: blur(10px);

    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #dbeafe;
}

header {
    background: #0a66c2;
    color: white;
    text-align: center;
    padding: 60px 20px;
    animation: fadeslide 1s ease;
}

@keyframes fadeslide {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    animation: fadeIn 1.5s ease;
}
header h2 {
    animation: fadeIn 2s ease;
}

header p {
    opacity: 0.9;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 15px 0;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    
}
.profile:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);

}

section {
    padding: 25px;
    margin: 20px;
    background: white;
    border-radius: 12px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

section:hover {
    transform: translateY(-5px);
}

a {
  color: blue;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
.btn {
    display: inline-block;
    margin: 10px;
    padding: 12px 20px;
    background: #0a66c2;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}
.btn:hover {
    background: #004182;

}
.btn i {
    margin-right: 8px;

}

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.skills ul {
    display: grid;
    grid-template-columns: repeat (auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
}

.skills li {
    background: #eaf3ff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

#skill-detail {
    margin-top: 20px;
    padding: 15px;
    background: #f4f4f4;
    border-radius: 10px;
}

#skill-detail img {
    width: 200px;
    max-width: 300px;
    margin-top: 10px;
    border-radius: 10px;
}

