html {
  scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFFFFF;
    color: #001F3F;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
    text-align: center;
}

h1, h2, h3 {
    color: #001F3F;
}

.btn {
    display: inline-block;
    background-color: #FFD700;
    color: #001F3F;
    padding: 10px 20px;
    border-radius: 5px;
    transition: transform 0.3s, background-color 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    background-color: #E6C200;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #001F3F;
    color: #FFFFFF;
    padding: 15px 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    color: #FFFFFF;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FFD700;
}

/* Home */
.home {
    background-color: #001F3F;
    color: #FFFFFF;
    padding: 100px 0;
}

.photo {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in;
}

.tagline {
    font-style: italic;
    color: #FFD700;
}

/* About */
.about p {
    max-width: 800px;
    margin: 0 auto;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #F5F5F5;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.skill-item {
    background-color: #001F3F;
    color: #FFFFFF;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.skill-item:hover {
    background-color: #FFD700;
    color: #001F3F;
}

.skill-item i {
    margin-right: 10px;
}

/* Contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #001F3F;
    border-radius: 5px;
}

.social-links a {
    margin: 0 10px;
    color: #001F3F;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FFD700;
}

/* Footer */
footer {
    background-color: #001F3F;
    color: #FFFFFF;
    padding: 20px 0;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .home {
        padding: 80px 0;
    }
}