/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
}

header {
    background-color: #1f1f1f;
    color: #ff4757;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header .logo {
    font-size: 28px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: rotate(-10deg);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #ff4757;
    transform: scale(1.1);
}

section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: auto;
}

h1 {
    color: #ff4757;
    margin-bottom: 20px;
    font-size: 36px;
    position: relative;
}

h1:after {
    content: '';
    width: 50px;
    height: 3px;
    background: #ff4757;
    position: absolute;
    left: 0;
    bottom: -10px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-content img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-content img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.6);
}

.year-links, .experience-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.year-links a, .experience-links a {
    color: #121212;
    background-color: #ff4757;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.year-links a:hover, .experience-links a:hover {
    background-color: #ff6b81;
    transform: translateY(-5px);
}

ul {
    list-style: disc;
    margin-top: 30px;
    padding-left: 20px; /* Indent bullet points */
}

ul li {
    font-size: 20px;
    margin-bottom: 15px;
}

footer {
    background-color: #1f1f1f;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    color: #f5f5f5;
    font-size: 14px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

footer p {
    margin: 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.3s;
}

.fade-in.delay-2 {
    animation-delay: 0.6s;
}

.fade-in.delay-3 {
    animation-delay: 0.9s;
}

.fade-in.delay-4 {
    animation-delay: 1.2s;
}

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

.hover-grow {
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
    background-color: #ff6b81;
}