/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8B5CF6;
    --light-purple: #A78BFA;
    --dark-purple: #7C3AED;
    --accent-purple: #C084FC;
    --pure-white: #FFFFFF;
    --off-white: #FEFEFE;
    --light-gray: #F8FAFC;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #A78BFA 0%, #F472B6 100%);
    --shadow-soft: 0 10px 40px rgba(139, 92, 246, 0.15);
    --shadow-hover: 0 20px 60px rgba(139, 92, 246, 0.25);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--pure-white);
    overflow-x: hidden;
}

/* Animated Background */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="%23A78BFA" opacity="0.8"/><circle cx="80" cy="40" r="0.3" fill="%23C084FC" opacity="0.6"/><circle cx="40" cy="80" r="0.4" fill="%238B5CF6" opacity="0.7"/><circle cx="90" cy="90" r="0.2" fill="%23EC4899" opacity="0.5"/><circle cx="10" cy="60" r="0.6" fill="%23A78BFA" opacity="0.9"/></svg>') repeat;
    background-size: 200px 200px;
    animation: move-stars 50s linear infinite;
}

.twinkling {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="0.3" fill="%23FFFFFF" opacity="0.8"><animate attributeName="opacity" values="0.8;0.3;0.8" dur="3s" repeatCount="indefinite"/></circle><circle cx="75" cy="75" r="0.2" fill="%23FFFFFF" opacity="0.6"><animate attributeName="opacity" values="0.6;0.1;0.6" dur="2s" repeatCount="indefinite"/></circle></svg>') repeat;
    background-size: 300px 300px;
    animation: move-twinkling 100s linear infinite;
}

@keyframes move-stars {
    from { transform: translateX(0px); }
    to { transform: translateX(-200px); }
}

@keyframes move-twinkling {
    from { transform: translateX(0px); }
    to { transform: translateX(-300px); }
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(139, 92, 246, 0.1);
    z-index: 1001;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heart {
    font-size: 1.5rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.nav-link.active {
    color: var(--primary-purple);
}

.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Page Header */
.page-header {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #FEFEFE 0%, #F8FAFC 100%);
    text-align: center;
    position: relative;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background: linear-gradient(135deg, #FEFEFE 0%, #F8FAFC 100%);
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.greeting {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.name {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
}

/* Hannah Photo with Flip Animation */
.hannah-photo {
    width: 450px;
    height: 450px;
    margin: 0 auto;
    perspective: 1000px;
    cursor: pointer;
}

.photo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 20px;
}

.hannah-photo.flipped .photo-inner {
    transform: rotateY(180deg);
}

.photo-front, .photo-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 4px solid rgba(139, 92, 246, 0.1);
    overflow: hidden;
}

.photo-front {
    background: white;
    transition: all 0.3s ease;
}

.photo-back {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.message {
    text-align: center;
    padding: 2rem;
    color: white;
}

.message h2 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Dancing Script', cursive;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    margin: 0;
    animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hover effects for the photo */
.hannah-photo:hover .photo-front {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
}

.hannah-photo:hover .hero-photo {
    transform: scale(1.02);
}

/* Click hint */
.hannah-photo::before {
    content: 'Click me! 💜';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-purple);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

    .hannah-photo:hover::before {
        opacity: 1;
        top: -50px;
    }

    /* Welcome Popup Styles */
    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
    }

    .popup-overlay.hidden {
        opacity: 0;
        visibility: hidden;
    }

    .popup-content {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.95) 0%, rgba(236, 72, 153, 0.95) 100%);
        border-radius: 25px;
        padding: 2.5rem;
        max-width: 450px;
        width: 90%;
        text-align: center;
        box-shadow: 0 25px 80px rgba(139, 92, 246, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.2);
        transform: scale(0.8);
        animation: popupAppear 0.5s ease forwards;
    }

    @keyframes popupAppear {
        to {
            transform: scale(1);
        }
    }

    .popup-header h2 {
        color: white;
        font-size: 2.2rem;
        font-weight: 700;
        margin: 0 0 1.5rem 0;
        font-family: 'Dancing Script', cursive;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .popup-body p {
        color: white;
        font-size: 1.1rem;
        line-height: 1.6;
        margin: 0 0 1rem 0;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .popup-hint {
        background: rgba(255, 255, 255, 0.15);
        padding: 1rem 1.5rem;
        border-radius: 15px;
        margin: 1.5rem 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.2);
        animation: pulseGlow 2s ease-in-out infinite;
    }

    @keyframes pulseGlow {
        0%, 100% {
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
            transform: scale(1.02);
        }
    }

    .popup-btn {
        background: white;
        color: var(--primary-purple);
        border: none;
        padding: 1rem 2rem;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        margin-top: 1rem;
    }

    .popup-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        background: rgba(255, 255, 255, 0.95);
    }

    .popup-btn:active {
        transform: translateY(0);
    }

    /* Mobile responsiveness for popup */
    @media (max-width: 768px) {
        .popup-content {
            padding: 2rem;
            margin: 1rem;
        }
        
        .popup-header h2 {
            font-size: 1.8rem;
        }
        
        .popup-body p {
            font-size: 1rem;
        }
    }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-bio {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.bio-text:last-child {
    margin-bottom: 0;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Experience Section */
.experience {
    background: var(--pure-white);
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary-purple);
    transition: all 0.3s ease;
    position: relative;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--accent-purple);
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-item:hover::before {
    opacity: 0.1;
}

.experience-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.experience-content {
    flex: 1;
}

.experience-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.experience-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.experience-type {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.experience-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Education Section */
.education {
    background: var(--light-gray);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.education-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.education-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-purple);
}

.education-item.featured {
    background: linear-gradient(135deg, #FEFEFE 0%, #F8FAFC 100%);
    border: 2px solid var(--primary-purple);
    position: relative;
    overflow: hidden;
}

.education-item.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.education-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.education-content {
    flex: 1;
}

.education-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.education-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-purple);
    margin-bottom: 0.75rem;
}

.degree-field {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.education-status {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.education-item.featured .education-status {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

/* Certifications Section */
.certifications {
    background: var(--pure-white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.certification-item {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
}

.certification-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-purple);
}

.certification-item.recent {
    border: 2px solid var(--primary-purple);
    background: linear-gradient(135deg, #FEFEFE 0%, #F8FAFC 100%);
}

.certification-item.recent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.certification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    background: rgba(139, 92, 246, 0.02);
}

.certification-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-soft);
}

.certification-date {
    text-align: center;
    background: rgba(139, 92, 246, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.certification-date .month {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-purple);
    line-height: 1;
}

.certification-date .year {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-purple);
    line-height: 1;
    margin-top: 0.2rem;
}

.certification-content {
    padding: 0 2rem 2rem;
}

.certification-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.certification-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.certification-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
}

.recent-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: var(--shadow-soft); }
    50% { box-shadow: var(--shadow-hover); }
    100% { box-shadow: var(--shadow-soft); }
}

.certification-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    padding: 0.3rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Volunteering Section */
.volunteering {
    background: var(--light-gray);
}

.volunteering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.volunteer-item {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
}

.volunteer-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-purple);
}

.volunteer-item.featured {
    border: 2px solid var(--primary-purple);
    background: linear-gradient(135deg, #FEFEFE 0%, #F8FAFC 100%);
}

.volunteer-item.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.volunteer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    background: rgba(139, 92, 246, 0.02);
}

.volunteer-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-soft);
}

.volunteer-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.volunteer-location {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.volunteer-content {
    padding: 0 2rem 2rem;
}

.volunteer-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.volunteer-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.volunteer-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.volunteer-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: var(--primary-purple);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.highlight-item i {
    font-size: 0.8rem;
}

.volunteer-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}

/* Skills Section */
.skills {
    background: var(--pure-white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-purple);
}

.category-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.category-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.skills-list {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: rgba(139, 92, 246, 0.08);
    color: var(--primary-purple);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Specific category colors for variety */
.skill-category:nth-child(1) .category-icon {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.skill-category:nth-child(2) .category-icon {
    background: linear-gradient(135deg, #EC4899, #DB2777);
}

.skill-category:nth-child(3) .category-icon {
    background: linear-gradient(135deg, #10B981, #059669);
}

.skill-category:nth-child(4) .category-icon {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.skill-category:nth-child(5) .category-icon {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.skill-category:nth-child(6) .category-icon {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.skill-category:nth-child(7) .category-icon {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.placeholder-image {
    height: 250px;
    background: var(--gradient-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    gap: 1rem;
}

.placeholder-image p {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.05);
}

.contact-item i {
    color: var(--primary-purple);
    font-size: 1.25rem;
    width: 20px;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-hover);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(139, 92, 246, 0.1);
    border-top: 3px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(139, 92, 246, 0.1);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .name {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hannah-photo {
        width: 320px;
        height: 320px;
    }
    
    .message h2 {
        font-size: 2rem;
    }
    
    .experience-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .experience-icon {
        align-self: center;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .education-badge {
        position: static;
        margin-bottom: 1rem;
        align-self: center;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .certification-topics {
        justify-content: center;
    }
    
    .volunteering-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .volunteer-highlights {
        justify-content: center;
    }
    
    .volunteer-stats {
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .skills-list {
        justify-content: center;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 0 1rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
