:root {
    --primary-color: #1a237e;
    --secondary-color: #534bae;
    --text-color: #333333;
    --light-color: #f5f5f5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link {
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
#hero {
    padding: 80px 0;
    background-color: var(--light-color);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.profile-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 220px;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 600;
}

/* Education Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    padding: 20px;
    border-left: 2px solid var(--primary-color);
    margin-left: 20px;
    position: relative;
    margin-bottom: 30px;
    background-color: #ffffff;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 28px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* Contact Section */
#contact {
    background-color: var(--light-color);
    padding: 80px 0 100px; /* Increased bottom padding */
}

.contact-info {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 40px; /* Added margin at bottom */
}

.card {
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    #hero {
        padding: 80px 0;
    }

    .timeline-item {
        margin-left: 10px;
    }
    .profile-img-container {
        margin-bottom: 2rem;
    }
}

/* Add styles for the download button */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-primary i {
    width: 16px;
    height: 16px;
}

/* Pong Game Styles */
.pong-canvas {
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    display: block;
}

#pong-container {
    padding: 60px 0;
    margin-bottom: 0;
    background-color: var(--light-color);
}