body {
    margin: 0;
    font-family: sans-serif;
    background: linear-gradient(to right, #141e30, #243b55);
    color: white;
    min-height: 100vh;
    padding: 2rem;
}

.page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.hero {
    padding: 2rem;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.hero-text h1 {
    margin: 0;
    font-size: 2.5rem;
}

.hero-text .tagline {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    color: #f1c40f;
}

.tech-icons {
    margin-top: 0.75em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-icons i {
    font-size: 24px;
    color: #ffd763;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.tech-icon-svg {
    width: 24px;
    height: 24px;
    fill: #ffd763;
    filter: brightness(1.1);
}

.contact-info p,
.education p,
.extras p,
.links p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.contact-info a,
.links a {
    color: #ffd763;
    text-decoration: none;
}

.contact-info a:hover,
.links a:hover {
    text-decoration: underline;
}

.section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    animation: fadeIn 1.5s ease-in-out;
}

.section h2 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    color: #ffd763;
    border-bottom: 2px solid #ffd763;
    display: inline-block;
    transition: transform 0.3s ease;
}

.section h2:hover {
    transform: scale(1.05);
}

.section p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-top: 1rem;
}

.skills-grid div {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 4px solid #ffd763;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-grid div:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.experience .job {
    margin-bottom: 2rem;
}

.experience h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #ffd763;
}

.experience h3 span {
    font-weight: normal;
    color: #ccc;
}

.job-dates {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #aaa;
}

.job ul {
    padding-left: 1.2rem;
    margin: 0;
    list-style-type: disc;
}

.job ul li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    color: #e0e0e0;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .hero {
        padding: 1rem;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .hero-text {
        align-items: center;
    }

    .tech-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-info,
    .education,
    .extras,
    .links {
        text-align: center;
    }

    .contact-info p,
    .education p,
    .extras p,
    .links p {
        font-size: 0.86rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
