/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: #fff;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 18, 32, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease-in-out, padding 0.3s ease-in-out;
}

header.scrolled {
    background: rgba(10, 18, 32, 1);
    padding: 15px 50px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #E63946;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #1abc9c;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}



/* About Section */
.about {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 40px;
    background: rgba(30, 42, 71, 0.85);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
    backdrop-filter: blur(15px);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-header h1 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(90deg, #1abc9c, #E63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content p,
.about-experience p,
.about-vision p,
.about-social p {
    line-height: 1.8;
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.about h2 {
    font-size: 28px;
    margin: 30px 0 20px;
    color: #1abc9c;
    position: relative;
}

.about h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #E63946;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skills-list li {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: #fff;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skills-list li:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.6);
}

/* Footer */
footer {
    text-align: center;
    padding: 25px;
    background: rgba(10, 18, 32, 0.95);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    font-size: 16px;
    opacity: 0.85;
    position: relative;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        flex-direction: column;
        gap: 10px;
    }

    .about {
        margin: 100px 20px 40px;
        padding: 30px;
    }

    .about-header h1 {
        font-size: 32px;
    }

    .skills-list li {
        padding: 12px 20px;
    }
}