/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Gradient Background and Header */
.header {
    background: linear-gradient(90deg, rgba(35, 37, 38, 1) 0%, rgba(65, 131, 215, 1) 100%);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.header.sticky {
    padding: 10px 0;
    font-size: 0.9rem;
}

.name {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.nav-links a:hover {
    color: #f0a500;
}

/* Section Styles */
section {
    padding: 60px 0;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

/* About Section */
.about-section p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-card {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section a {
    color: #333;
    font-weight: 700;
    text-decoration: none;
}

.contact-section a:hover {
    color: #f0a500;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

/* Animations */
.header {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header {
        padding: 10px;
        font-size: 1.2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .name {
        font-size: 2rem;
    }

    .skills-grid, .project-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 40px 20px;
    }
}
