* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes glitch {
    0%, 100% { text-shadow: 1px 1px rgba(59, 130, 246, 0.3), -1px -1px rgba(147, 51, 234, 0.3); }
    50% { text-shadow: -1px 1px rgba(59, 130, 246, 0.3), 1px -1px rgba(147, 51, 234, 0.3); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

header {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    text-align: center;
}

header.hero {
    padding: 100px 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

header.hero h1 {
    font-size: 4.5em;
    margin: 30px 0 20px;
}

header.hero .tagline {
    font-size: 1.4em;
}

.profile-photo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    animation: float 3s ease-in-out infinite;
}

header:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

h1 {
    font-size: 3em;
    color: #000000;
    margin-bottom: 10px;
    position: relative;
}

.glitch {
    animation: glitch 4s ease-in-out infinite;
}

.tagline {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

.contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.95em;
}

.contact a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
}

.contact a:hover {
    color: white;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    transform: scale(1.1);
}

section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

h2 {
    font-size: 2em;
    color: #000000;
    margin-bottom: 20px;
    border-bottom: 3px solid #000000;
    padding-bottom: 10px;
    position: relative;
    overflow: hidden;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 5px;
}

h4 {
    font-size: 1.2em;
    color: #000000;
    margin-bottom: 10px;
}

.about p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.job {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease, padding-left 0.3s ease;
}

.job:hover {
    transform: translateX(10px);
    padding-left: 10px;
    border-left: 4px solid #000000;
}

.job:last-child {
    border-bottom: none;
}

.company {
    font-weight: bold;
    color: #1a1a1a;
    font-size: 1.1em;
}

.date {
    color: #888;
    font-size: 0.95em;
    margin-bottom: 10px;
}

ul {
    margin-left: 20px;
    margin-top: 10px;
}

li {
    margin-bottom: 8px;
    color: #555;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.skill-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #000000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-category:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skill-category ul {
    list-style: none;
    margin-left: 0;
}

.skill-category li {
    padding: 5px 0;
    color: #333;
    transition: transform 0.2s ease, color 0.2s ease;
}

.skill-category li:hover {
    transform: translateX(5px);
    color: #000000;
}

.degree {
    margin-bottom: 30px;
}

.uni-logo {
    width: 468px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.dps-logo {
    width: 150px;
}

.dps-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.dps-name {
    color: #006400;
    font-size: 1.8em;
    margin: 0;
}

.education-quote {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #000000;
    border-radius: 8px;
    font-style: italic;
}

.education-quote p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}

.education-quote cite {
    display: block;
    text-align: right;
    color: #666;
    font-size: 0.95em;
    font-style: normal;
}

.school {
    color: #1a1a1a;
    font-weight: bold;
    margin-top: 5px;
}

.achievement {
    color: #000000;
    font-weight: 600;
    margin-top: 5px;
}

.achievement a {
    color: #000000;
    text-decoration: none;
    border-bottom: 2px solid #000000;
    transition: opacity 0.3s;
}

.achievement a:hover {
    opacity: 0.6;
}

.scholarships {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #000000;
}

.scholarships ul {
    margin-left: 20px;
}

.scholarships li {
    margin-bottom: 15px;
}

.video-container {
    margin-top: 10px;
    display: inline-block;
}

.video-link {
    display: inline-block;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}



footer {
    text-align: center;
    color: white;
    padding: 20px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    .contact {
        flex-direction: column;
        gap: 10px;
    }
    
    section {
        padding: 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
