:root {
    /* Light theme */
    --text-color: #2d3748;
    --background-color: #f7fafc;
    --primary-color: #4299e1;
    --secondary-color: #48bb78;
    --accent-color: #f6ad55;
    --surface-color: #ffffff;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --border-radius: 12px;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
    --padding: 24px;
    --transition: all 0.3s ease;

    /* Calm Dark theme */
    --dark-text-color: #e2e8f0;
    --dark-background-color: #1a1f2e;
    --dark-primary-color: #7fb3ec;
    --dark-secondary-color: #8cd4b9;
    --dark-accent-color: #fbd38d;
    --dark-surface-color: #242b3d;
    --dark-hover-color: #2d364a;
    --dark-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --dark-border-color: #2f3a4f;
    --dark-muted-text: #a0aec0;

    --mobile-padding: 16px;
    --mobile-hero-padding: 4rem 0 3rem;
}

/* ... (previous CSS rules remain unchanged) ... */

/* Updated header styles */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 8rem 0 6rem;
    margin-bottom: 2rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
}

.profile-image {
    flex-shrink: 0;
    position: relative;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 6px solid var(--surface-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.profile-image::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--surface-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.25; }
    100% { transform: scale(1); opacity: 0.5; }
}

.hero-text {
    color: white;
    text-align: left;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-out;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.titles {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.title {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
}

.title-separator {
    font-size: 2rem;
    opacity: 0.8;
}

.accolade {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
}

.accolade-icon {
    font-size: 2.5rem;
}

.accolade-text {
    display: flex;
    flex-direction: column;
}

.accolade-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.accolade-detail {
    font-size: 1rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--surface-color);
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--surface-color);
    border: 2px solid var(--surface-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav {
    background-color: var(--surface-color);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style-type: none;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Dark mode styles */
body.dark-mode .hero {
    background: linear-gradient(135deg, var(--dark-primary-color), var(--dark-secondary-color));
}

body.dark-mode .profile-pic {
    border-color: var(--dark-surface-color);
}

body.dark-mode .profile-image::after {
    border-color: var(--dark-surface-color);
}

body.dark-mode .title {
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .accolade {
    background-color: rgba(0, 0, 0, 0.3);
}

body.dark-mode .btn-primary {
    background-color: var(--dark-surface-color);
    color: var(--dark-primary-color);
}

body.dark-mode .btn-secondary {
    color: var(--dark-surface-color);
    border-color: var(--dark-surface-color);
}

body.dark-mode nav {
    background-color: var(--dark-surface-color);
}

body.dark-mode nav a {
    color: var(--dark-text-color);
}

body.dark-mode nav a::after {
    background-color: var(--dark-primary-color);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive design */
/* Enhanced responsive styles */
@media (max-width: 1200px) {
    .hero-content {
        padding: 0 var(--mobile-padding);
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: var(--mobile-hero-padding);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
        border-width: 4px;
    }

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

    .info-container {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }

    .titles {
        flex-direction: column;
        gap: 0.75rem;
    }

    .title {
        font-size: 1.4rem;
        padding: 0.4rem 0.8rem;
    }

    .title-separator {
        display: none;
    }

    .accolade {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
    }

    .accolade-icon {
        font-size: 2rem;
    }

    .accolade-title {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0 2rem;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .titles {
        font-size: 1.2rem;
    }

    .accolade-title {
        font-size: 1.1rem;
    }

    .accolade-detail {
        font-size: 0.9rem;
    }

    /* Adjust animation for smaller screens */
    @keyframes pulse {
        0% { transform: scale(1); opacity: 0.3; }
        50% { transform: scale(1.03); opacity: 0.15; }
        100% { transform: scale(1); opacity: 0.3; }
    }
}

/* Add landscape orientation support */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }

    .hero-content {
        flex-direction: row;
        gap: 2rem;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .titles {
        flex-direction: row;
        gap: 0.5rem;
    }
}