/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3 {
    color: #ffffff;
}

a {
    color: #00bfa6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00ffc8;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    font-weight: 400;
    color: #b0b0b0;
    margin: 0.2rem 0 0 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-container:hover .tagline {
    opacity: 1;
    transform: translateY(0);
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.logo-container:hover .skill-badges {
    opacity: 1;
    transform: translateY(0);
}

.skill-badge {
    background-color: transparent;
    color: #e6e6e6;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #00bfa6;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px;
}

.skill-badge:hover {
    border-color: #00ffc8;
    color: #00ffc8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 191, 166, 0.3);
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Main content */
main {
    margin-top: 80px;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* About section */
.about-box {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.8) 0%, rgba(32, 58, 67, 0.8) 50%, rgba(44, 83, 100, 0.8) 100%);
    padding: 3rem;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

#about p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Skills section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    background-color: transparent;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 191, 166, 0.2);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 191, 166, 0.2);
}

.skill-category h3 {
    margin-bottom: 1rem;
    color: #00bfa6;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.skill-category li:before {
    content: "▹";
    color: #00bfa6;
    position: absolute;
    left: 0;
}

/* Education section */
.education-timeline {
    margin-top: 2rem;
}

.education-item {
    background-color: transparent;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 191, 166, 0.2);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 191, 166, 0.2);
}

.education-item h3 {
    margin-bottom: 0.5rem;
    color: #00bfa6;
}

.education-item p {
    margin-bottom: 0.5rem;
    color: #b0b0b0;
}

/* Achievements section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.achievement-item {
    background-color: transparent;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 191, 166, 0.2);
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 191, 166, 0.2);
}

.achievement-item h3 {
    margin-bottom: 0.5rem;
    color: #00bfa6;
}

.achievement-item p {
    margin-bottom: 0.5rem;
    color: #b0b0b0;
}

.achievement-item p:first-of-type {
    font-weight: 500;
    color: #ffffff;
}

/* Projects section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: transparent;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 191, 166, 0.2);
}

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

.project-card h3 {
    margin-bottom: 1rem;
    color: #00bfa6;
}

.project-card p {
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    background-color: transparent;
    border: 1px solid #00bfa6;
    color: #00bfa6;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-links a:hover {
    background-color: #00bfa6;
    color: #121212;
    border-color: #00ffc8;
}

/* Contact section */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-links a {
    background-color: transparent;
    border: 1px solid #00bfa6;
    color: #00bfa6;
    padding: 1rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    background-color: #00bfa6;
    color: #121212;
    border-color: #00ffc8;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
