/* Base Styles & CSS Variables */
:root {
    --primary-color: #0f1729;
    --secondary-color: #6366f1;
    --background-color: #EDEFEF;
    --text-color: #0f1729;
    --heading-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --spacing-unit: 1rem;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    position: relative;
    height: 35vh;
    min-height: 300px;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f1729 100%);
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(45deg, 
            rgba(255, 255, 255, 0.03) 0px, 
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px, 
            transparent 12px
        );
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.15) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease forwards;
}

.hero-subtitle {
    font-family: var(--heading-font);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease forwards 0.3s;
}

/* Profile Image */
.profile-image {
    width: 180px;
    height: 180px;
    position: absolute;
    left: 50%;
    bottom: -90px;
    transform: translateX(-50%);
    z-index: 2;
}

.profile-image picture,
.profile-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--background-color);
    background-color: var(--background-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Profile Section */
.profile {
    position: relative;
    padding-top: 110px;
    padding-bottom: 4rem;
    background-color: var(--background-color);
}

.profile-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-heading {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: 3.8px;
}

.about-separator {
    width: 52px;
    height: 7px;
    background-color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-family: var(--body-font);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.achievement-list,
.feature-list,
.opportunity-list {
    margin: 0 0 1.5rem 1.5rem;
    list-style-type: none;
}

.achievement-list li,
.feature-list li,
.opportunity-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.achievement-list li::before,
.feature-list li::before,
.opportunity-list li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cta {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-link {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    text-align: center;
    padding: var(--spacing-unit);
    background-color: var(--background-color);
    font-size: 0.875rem;
    margin-top: auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        height: 40vh;
        min-height: 300px;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: clamp(0.875rem, 2vw, 1.125rem);
        margin-top: 0.5rem;
    }

    .profile-image,
    .profile-image picture,
    .profile-image img {
        width: 140px;
        height: 140px;
    }

    .profile-image {
        bottom: -70px;
    }
    
    .profile {
        padding-top: 90px;
    }

    .about-text,
    .achievement-list li,
    .feature-list li,
    .opportunity-list li {
        font-size: 1rem;
    }

    .achievement-list,
    .feature-list,
    .opportunity-list {
        margin-left: 1rem;
    }

    .achievement-list li,
    .feature-list li,
    .opportunity-list li {
        padding-left: 1.25rem;
    }

    .about-heading {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {
    .hero {
        height: auto;
        padding: 2rem;
    }

    .hero-background {
        display: none;
    }

    .hero-title,
    .hero-subtitle {
        color: var(--text-color);
    }
}