* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    --accent-color: #3182ce;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
    --max-width: 800px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    min-height: 100vh;
    position: relative;
}

/* Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #667eea 0%,
            #764ba2 25%,
            #f093fb 50%,
            #f5576c 75%,
            #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

/* Grainy Film Texture Overlay - Sharp & High Clarity
        grain effect is controlled here<<<<<<<
*/
.gradient-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 1 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.5;
    pointer-events: none;
    animation: grainMove 4s steps(10) infinite;
    mix-blend-mode: overlay;
    filter: contrast(120%) brightness(1.2);
}

@keyframes grainMove {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -5%);
    }

    20% {
        transform: translate(-10%, 5%);
    }

    30% {
        transform: translate(5%, -10%);
    }

    40% {
        transform: translate(-5%, 15%);
    }

    50% {
        transform: translate(-15%, 5%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(-10%, 10%);
    }

    90% {
        transform: translate(10%, -5%);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 0 80px;
}

.name {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* CV Buttons */
.cv-section {
    margin-top: 20px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cv-button {
    display: inline-block;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cv-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cv-button-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cv-button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Section Styles */
.about-section,
.featured-project,
.experience {
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 16px;
}

/* About Section */
.about-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.about-image {
    flex-shrink: 0;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Featured Project */
.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-card h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.project-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.project-link:hover {
    border-bottom-color: var(--text-light);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.timeline-marker {
    position: absolute;
    left: -52px;
    top: 40px;
    width: 12px;
    height: 12px;
    background: var(--text-light);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.timeline-date {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.timeline-content .role {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .name {
        font-size: 48px;
    }

    .tagline {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-content,
    .project-card,
    .timeline-item {
        padding: 24px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-marker {
        left: -36px;
        top: 32px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px;
    }

    .name {
        font-size: 36px;
    }

    .tagline {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .about-content,
    .project-card,
    .timeline-item {
        padding: 20px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .cv-button {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* Interactive Cursor Effects - More Visual */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.15) 30%,
            rgba(255, 255, 255, 0.05) 60%,
            transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.15s ease;
    mix-blend-mode: overlay;
    filter: blur(1px);
}

.cursor-trail {
    position: fixed;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    animation: pulse 2s ease-in-out infinite;
}

.cursor-particles {
    position: fixed;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: particleFloat 3s ease-out forwards;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(0.3) translateY(-100px);
    }
}

.ripple {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.3) 30%,
            rgba(255, 255, 255, 0.1) 60%,
            transparent 100%);
    pointer-events: none;
    z-index: 0;
    animation: rippleEffect 1.2s ease-out forwards;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        transform: scale(0);
    }

    50% {
        opacity: 0.8;
    }

    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
        transform: scale(1);
    }
}

/* Enhanced hover effects for interactive elements */
.social-icon:hover,
.cv-button:hover,
.nav-btn:hover,
.project-content:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Gradient shift on mouse movement */
.gradient-bg.mouse-active {
    animation: gradientShift 8s ease infinite, mouseGradient 0.5s ease;
}

@keyframes mouseGradient {
    0% {
        filter: brightness(1) saturate(1);
    }

    50% {
        filter: brightness(1.2) saturate(1.3);
    }

    100% {
        filter: brightness(1) saturate(1);
    }
}

/* Projects Showcase */
.projects-showcase {
    margin-bottom: 80px;
}

.project-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover,
.nav-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-light);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.project-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.project-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.project-item.featured {
    grid-column: span 2;
}

.project-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-content:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-content:hover .project-overlay {
    opacity: 1;
}

.project-link-overlay {
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link-overlay:hover {
    background: white;
    color: #333;
}

.video-container {
    position: relative;
    height: 300px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 24px;
}

.project-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-item.featured {
        grid-column: span 1;
    }

    .project-nav {
        gap: 12px;
    }

    .nav-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .video-container {
        height: 200px;
    }

    .project-image {
        height: 160px;
    }

    .project-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .project-info {
        padding: 16px;
    }

    .project-info h4 {
        font-size: 18px;
    }

    .video-container {
        height: 180px;
    }

    .project-image {
        height: 140px;
    }
}

/* Research Section */
.research-section {
    margin-bottom: 80px;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.research-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.research-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.research-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.research-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.research-card:hover .research-thumbnail img {
    transform: scale(1.05);
}

.research-type-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.research-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.research-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
}

.research-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.3;
}

.research-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.research-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.research-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.research-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.download-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Responsive Research */
@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .research-thumbnail {
        height: 180px;
    }

    .research-info {
        padding: 20px;
    }

    .research-info h4 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .research-thumbnail {
        height: 160px;
    }

    .research-info {
        padding: 16px;
    }

    .research-actions {
        flex-direction: column;
    }

    .research-btn {
        width: 100%;
    }
}

/* Experience Tags */
.experience-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content .experience-tags .tag {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Education Section */
.education-section {
    margin-bottom: 80px;
}

.education-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.education-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.education-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.education-date {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.education-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.education-card:hover .education-logo {
    transform: scale(1.1);
}

.education-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.education-content .institution {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 8px;
}

.education-content .grade {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: inline-block;
}

.education-content .description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.modules {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modules strong {
    color: var(--text-light);
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}

.module-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.module-tags .tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
}

.module-tags .tag:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Responsive Education */
@media (max-width: 768px) {
    .education-card {
        padding: 24px;
    }

    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .education-logo {
        width: 60px;
    }

    .education-content h4 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .education-card {
        padding: 20px;
    }

    .education-content h4 {
        font-size: 18px;
    }

    .module-tags .tag {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* Education Section - Compact Design */
.education-item-compact {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.education-card-compact {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.education-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.education-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.education-info-compact {
    flex: 1;
}

.education-date-compact {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 6px;
}

.education-info-compact h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.institution-compact {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.grade-badge {
    display: inline-block;
    font-size: 12px;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.edu-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

.education-logo-compact {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.education-card-compact:hover .education-logo-compact {
    transform: scale(1.1);
}

/* Responsive Education Compact */
@media (max-width: 768px) {
    .education-card-compact {
        padding: 16px 20px;
    }

    .education-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .education-logo-compact {
        width: 50px;
        height: 50px;
        align-self: flex-end;
    }

    .education-info-compact h4 {
        font-size: 16px;
    }
}

/* Education List - Simple Design */
.education-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.education-list-item {
    display: flex;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.education-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.edu-date {
    flex: 0 0 140px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 2px;
}

.edu-content {
    flex: 1;
}

.edu-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.edu-institution {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.edu-grade {
    display: inline-block;
    font-size: 13px;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
    margin-bottom: 8px;
}

.edu-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 12px;
}

/* Responsive Education List */
@media (max-width: 768px) {
    .education-list-item {
        flex-direction: column;
        gap: 8px;
    }

    .edu-date {
        flex: none;
        font-size: 13px;
    }

    .edu-content h4 {
        font-size: 16px;
    }
}

/* YouTube Video Container */
.youtube-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px 12px 0 0;
}