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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #f9fafb;
    --bg-light: #ffffff;
    --bg-gray: #f3f4f6;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo a:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn {
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transform: rotate(5deg);
    transition: var(--transition);
}

.profile-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 4px solid white;
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.about-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

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

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

.about-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-dark);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
}

/* Work Experience Styles */
.work-experience {
    padding: 5rem 0;
    background: var(--bg-light);
}

.experience-timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    z-index: 1;
}

.experience-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    padding: 2rem;
    position: relative;
    margin-left: 80px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

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

.experience-card::before {
    content: '';
    position: absolute;
    left: -86px;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-color);
    z-index: 2;
}

.experience-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.company-logo {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.experience-info {
    flex: 1;
}

.experience-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.experience-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.experience-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.experience-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.experience-meta i {
    color: var(--primary-color);
}

.experience-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.achievements h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.achievement-list li:hover {
    background: #f0f9ff;
    transform: translateX(5px);
}

.achievement-list i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.achievement-list span {
    line-height: 1.5;
    color: var(--text-dark);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design for Work Experience */
@media (max-width: 768px) {
    .experience-timeline::before {
        left: 15px;
    }
    
    .experience-card {
        margin-left: 50px;
    }
    
    .experience-card::before {
        left: -56px;
    }
    
    .experience-header {
        flex-direction: column;
        text-align: center;
    }
    
    .company-logo {
        align-self: center;
    }
    
    .experience-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .experience-timeline::before {
        display: none;
    }
    
    .experience-card {
        margin-left: 0;
        border-left: none;
        border-top: 4px solid var(--primary-color);
    }
    
    .experience-card::before {
        display: none;
    }
    
    .achievement-list li {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .tech-stack {
        justify-content: center;
    }
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--bg-light);
}

.filter-section {
    padding: 2rem 0;
    background: var(--bg-light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-size: 2rem;
    gap: 0.5rem;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-gray);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--primary-dark);
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: var(--bg-gray);
}

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

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

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

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 1s ease-in-out;
    border-radius: 4px;
}

/* Study Page Styles */
.study-stats {
    padding: 3rem 0;
    background: var(--bg-light);
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

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

.stat-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

/* Learning Cards */
.current-learning {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.learning-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.learning-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--border-color);
    transition: var(--transition);
}

.learning-card.active {
    border-left-color: var(--primary-color);
}

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

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 1rem;
}

.card-header .degree-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.card-header .degree-info {
    flex: 1;
}

.card-header .degree-info h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.card-header .degree-info h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.current-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.progress-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--bg-gray);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.course-details {
    display: flex;
    gap: 2rem;
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Courses Grid */
.completed-courses {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.course-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    gap: 1rem;
}

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

.course-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    font-size: 0.875rem;
}

.completion-date {
    color: var(--text-gray);
}

.course-rating {
    color: var(--secondary-color);
}

.course-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: var(--bg-gray);
    color: var(--text-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Certifications */
.certifications {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

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

.cert-badge {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.cert-date {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Resources */
.resources {
    padding: 5rem 0;
    background: var(--bg-light);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.resource-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-card ul {
    list-style: none;
    padding: 0;
}

.resource-card li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-color);
}

.resource-card li:last-child {
    border-bottom: none;
}

/* Photo Gallery */
.photo-gallery {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    gap: 0.5rem;
}

.gallery-item .image-placeholder.landscape { background: linear-gradient(135deg, #10b981, #059669); }
.gallery-item .image-placeholder.portrait { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.gallery-item .image-placeholder.street { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gallery-item .image-placeholder.nature { background: linear-gradient(135deg, #059669, #047857); }
.gallery-item .image-placeholder.architecture { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.gallery-item .image-placeholder.macro { background: linear-gradient(135deg, #ec4899, #db2777); }

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    font-size: 2rem;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Music Section */
.music-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.track-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

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

.track-cover {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.track-card:hover .play-button {
    opacity: 1;
}

.track-info {
    padding: 1.5rem;
}

.track-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.track-duration {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Fitness Section */
.fitness-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.fitness-stats {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.stat-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke: var(--primary-color);
    transition: stroke-dashoffset 1s ease-in-out;
}

.stat-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.achievement-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--border-radius);
    position: relative;
    margin: 2rem;
    padding: 2rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
}

.close:hover {
    color: var(--text-dark);
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.lightbox-caption {
    color: white;
    text-align: center;
    max-width: 600px;
}

/* Special Modal Styles */
.special-modal-content {
    max-width: 1000px;
    max-height: 90vh;
    padding: 0;
    overflow: hidden;
}

.special-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 70vh;
    min-height: 500px;
}

#specialModalImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.special-modal-description {
    padding: 2rem;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

#specialModalTitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

#specialModalText {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    white-space: pre-line;
}

@media (max-width: 768px) {
    .special-modal-body {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 600px;
    }
    
    .special-modal-description {
        padding: 1.5rem;
    }
    
    #specialModalTitle {
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .projects-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .fitness-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .music-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-2rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(2rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.visible { display: block; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Education Timeline Styles */
.education-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.education-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.education-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}

.education-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.degree-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.degree-info {
    flex: 1;
}

.degree-info h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.degree-info h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.degree-info h5 {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.grade-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
}

.grade-badge.excellent {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
}

.grade-badge.good {
    background: linear-gradient(135deg, #2196F3, #42A5F5);
    color: white;
}

.grade-badge .grade {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.grade-badge .label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 2px;
}

.education-content {
    margin-top: 20px;
}

.education-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.education-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.education-meta i {
    color: var(--primary-color);
}

.achievements {
    margin-bottom: 25px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
}

.achievement-item i {
    color: var(--accent-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.program-highlights h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.subjects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subject-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Mobile responsiveness for education timeline */
@media (max-width: 768px) {
    .education-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .degree-info {
        order: 2;
    }
    
    .grade-badge {
        order: 3;
        align-self: stretch;
    }
    
    .education-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .subjects-grid {
        justify-content: center;
    }
}

/* ===========================
   ACHIEVEMENTS PAGE STYLES
   =========================== */

/* Achievements Header */
.achievements-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    text-align: center;
}

.achievements-header .section-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.achievements-header .section-description {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
}

/* Awards Gallery */
.awards-gallery {
    padding: 80px 0;
    background: var(--bg-light);
}

.awards-scroll-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.awards-horizontal-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar styling */
.awards-horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.awards-horizontal-scroll::-webkit-scrollbar-track {
    background: var(--bg-gray);
    border-radius: 4px;
}

.awards-horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.awards-horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Award Item Styles */
.award-item {
    flex: 0 0 auto;
    width: 450px;
    height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    background: #ffffff;
}

.award-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.award-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 2;
}

.award-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: var(--transition);
    padding: 10px;
    background: #ffffff;
    cursor: pointer;
}

.award-item:hover img {
    transform: scale(1.02);
}

/* Award Overlay Styles for Special Recognitions */
.award-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: var(--transition);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.award-item:hover .award-overlay {
    transform: translateY(0);
}

.award-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light);
}

.award-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Animation for award items */
.award-item {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 0.6s ease forwards;
}

.award-item:nth-child(1) { animation-delay: 0.1s; }
.award-item:nth-child(2) { animation-delay: 0.2s; }
.award-item:nth-child(3) { animation-delay: 0.3s; }
.award-item:nth-child(4) { animation-delay: 0.4s; }
.award-item:nth-child(5) { animation-delay: 0.5s; }
.award-item:nth-child(6) { animation-delay: 0.6s; }
.award-item:nth-child(7) { animation-delay: 0.7s; }
.award-item:nth-child(8) { animation-delay: 0.8s; }
.award-item:nth-child(9) { animation-delay: 0.9s; }
.award-item:nth-child(10) { animation-delay: 1.0s; }

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Achievements */
@media (max-width: 768px) {
    .achievements-header {
        padding: 100px 0 40px;
    }
    
    .achievements-header .section-title {
        font-size: 3.2rem;
    }
    
    .achievements-header .section-description {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .awards-scroll-container {
        padding: 0 1rem;
    }
    
    .awards-horizontal-scroll {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .award-item {
        width: 350px;
        height: 480px;
    }
}

@media (max-width: 480px) {
    .achievements-header .section-title {
        font-size: 2.8rem;
    }
    
    .awards-horizontal-scroll {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .award-item {
        width: 280px;
        height: 400px;
    }
}

/* Image Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    background: #ffffff;
    padding: 10px;
}

.close-button {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1005;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-navigation {
    position: fixed;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 1003;
    transform: translateY(-50%);
}

.nav-btn {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1004;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-btn:active {
    transform: scale(0.95);
}

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

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.modal.fade-out {
    animation: fadeOut 0.3s ease;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        padding: 10px;
        width: 95%;
    }
    
    .modal-content img {
        max-height: 80vh;
        padding: 5px;
    }
    
    .close-button {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .nav-btn {
        font-size: 20px;
        padding: 10px 15px;
        width: 50px;
        height: 50px;
    }
    
    .modal-navigation {
        padding: 0 10px;
    }
}