/* Global Styles */
:root {
    --primary-color: #FE5800;
    --secondary-color: #FF7300;
    --text-dark: #f3f4f6;
    --text-light: #b8b8b8;
    --background: #2b2b2b;
    --section-bg: #333333;
    --card-bg: #3a3a3a;
    --border-color: #4a4a4a;
    --success-color: #FE5800;
    --accent-color: #FF7300;
    --gradient-orange: linear-gradient(135deg, #FE5800 0%, #FF7300 100%);
    --gray-dark: #676767;
    --gray-medium: #808080;
    --gray-light: #939393;
    --nav-bg: rgba(43, 43, 43, 0.9);
}

[data-theme="light"] {
    --primary-color: #FE5800;
    --secondary-color: #FF7300;
    --text-dark: #2d2d2d;
    --text-light: #676767;
    --background: #e6e4e0;
    --section-bg: #f0edea;
    --card-bg: #f5f3f0;
    --border-color: #d0cec8;
    --nav-bg: rgba(230, 228, 224, 0.95);
    --success-color: #FE5800;
    --accent-color: #FF7300;
    --gradient-orange: linear-gradient(135deg, #FE5800 0%, #FF7300 100%);
    --gray-dark: #676767;
    --gray-medium: #808080;
    --gray-light: #939393;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
    color: var(--text-light);
    background: linear-gradient(180deg, #2b2b2b 0%, #333333 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, 
                rgba(43, 43, 43, 0.7) 0%, 
                rgba(58, 58, 58, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 rgba(254, 88, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(254, 88, 0, 0.2);
}

[data-theme="light"] .navbar.scrolled {
    background: linear-gradient(135deg,
                rgba(230, 228, 224, 0.7) 0%,
                rgba(245, 243, 240, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(254, 88, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-logo:hover {
    transform: scale(1.1);
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-logo:hover h2 {
    text-shadow: 0 0 20px rgba(254, 88, 0, 0.5);
    animation: glow 1.5s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
}

[data-theme="dark"] .nav-link {
    color: #e2e8f0;
}

.nav-link:hover {
    background: rgba(254, 88, 0, 0.1);
    backdrop-filter: blur(5px);
}

[data-theme="light"] .nav-link:hover {
    background: rgba(254, 88, 0, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 1rem;
    color: var(--text-light);
    position: relative;
    padding: 0;
    overflow: hidden;
}

.theme-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Dark mode: show light icon, hide dark icon */
[data-theme="dark"] .dark-icon {
    opacity: 0;
    transform: scale(0.8);
}

[data-theme="dark"] .light-icon {
    opacity: 1;
    transform: scale(1);
}

/* Light mode: show dark icon, hide light icon */
[data-theme="light"] .dark-icon {
    opacity: 1;
    transform: scale(1);
}

[data-theme="light"] .light-icon {
    opacity: 0;
    transform: scale(0.8);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.theme-toggle:hover {
    background: rgba(254, 88, 0, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(254, 88, 0, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--background) 100%);
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.1);
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-orange);
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(254, 88, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* About Section */
.about {
    background-color: transparent;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-photo {
    flex-shrink: 0;
    width: 280px;
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(254, 88, 0, 0.3);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-highlights {
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 88, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.highlight-item:hover::before {
    left: 100%;
}

[data-theme="dark"] .highlight-item {
    background: rgba(45, 45, 45, 0.3);
    border: 1px solid rgba(254, 88, 0, 0.2);
}

.highlight-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(254, 88, 0, 0.2);
}

[data-theme="dark"] .highlight-item:hover {
    background: rgba(254, 88, 0, 0.08);
    box-shadow: 0 4px 20px rgba(254, 88, 0, 0.3);
}

[data-theme="light"] .highlight-item:hover {
    background: rgba(254, 88, 0, 0.03);
}

.highlight-item i {
    color: var(--success-color);
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    animation: pulseIcon 2s infinite;
}

.highlight-item:hover i {
    transform: scale(1.2) rotate(10deg);
    animation: none;
}

.highlight-item span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.highlight-item:hover span {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation for highlight icons */
@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Stagger animation on load */
.highlight-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInHighlight 0.5s ease forwards;
}

.highlight-item:nth-child(1) { animation-delay: 0.1s; }
.highlight-item:nth-child(2) { animation-delay: 0.2s; }
.highlight-item:nth-child(3) { animation-delay: 0.3s; }
.highlight-item:nth-child(4) { animation-delay: 0.4s; }
.highlight-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInHighlight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tech Stack Section */
.tech-stack {
    background-color: transparent;
    padding: 80px 0;
}

.tech-category {
    margin-bottom: 3rem;
}

.tech-category-title {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: default;
}

[data-theme="dark"] .tech-item {
    background: rgba(45, 55, 72, 0.5);
}

.tech-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

[data-theme="dark"] .tech-item:hover {
    background: rgba(254, 88, 0, 0.1);
    box-shadow: 0 4px 12px rgba(254, 88, 0, 0.2);
}

[data-theme="light"] .tech-item:hover {
    background: rgba(254, 88, 0, 0.05);
    box-shadow: 0 4px 12px rgba(254, 88, 0, 0.15);
}

.tech-item i {
    font-size: 1.25rem;
}

.tech-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.tech-item:hover img {
    filter: brightness(1.2);
}

.tech-item span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Experience Section */
.experience {
    background-color: transparent;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--primary-color) 10%, var(--secondary-color) 50%, var(--primary-color) 90%, transparent 100%);
    animation: timeline-gradient 3s ease-in-out infinite;
}

@keyframes timeline-gradient {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(odd) {
    left: 0;
    animation-delay: 0.2s;
}

.timeline-item:nth-child(even) {
    left: 50%;
    animation-delay: 0.4s;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border: 4px solid var(--background);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(254, 88, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(254, 88, 0, 0);
    }
}

.timeline-item:hover::after {
    transform: scale(1.3);
    background: var(--gradient-orange);
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content {
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 88, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.timeline-content:hover::before {
    left: 100%;
}

[data-theme="dark"] .timeline-content {
    background: rgba(45, 45, 45, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 88, 0, 0.2);
    box-shadow: 0 3px 20px rgba(254, 88, 0, 0.1);
}

.timeline-content:hover {
    transform: scale(1.03) translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(254, 88, 0, 0.2);
}

[data-theme="dark"] .timeline-content:hover {
    background: rgba(254, 88, 0, 0.08);
    box-shadow: 0 10px 40px rgba(254, 88, 0, 0.3);
}

[data-theme="light"] .timeline-content:hover {
    background: rgba(254, 88, 0, 0.03);
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.timeline-content:hover h3 {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-content h4::before {
    content: '📍';
    font-size: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-content li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.timeline-content:hover li {
    padding-left: 2.5rem;
}

.timeline-content:hover li::before {
    transform: scale(1.3);
    left: 0.5rem;
}

.tech-used {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.tech-used span {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--section-bg) 100%);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-used span:hover {
    background: var(--gradient-orange);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(254, 88, 0, 0.3);
    border-color: transparent;
}

[data-theme="dark"] .tech-used span {
    background: rgba(45, 45, 45, 0.5);
    border-color: rgba(254, 88, 0, 0.3);
}

[data-theme="dark"] .tech-used span:hover {
    background: var(--gradient-orange);
    border-color: transparent;
}

/* Projects Section */
.projects {
    background-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .project-card {
    background: rgba(45, 45, 45, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 88, 0, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

[data-theme="dark"] .project-card:hover {
    box-shadow: 0 15px 40px rgba(254, 88, 0, 0.3);
    background: rgba(45, 45, 45, 0.7);
}

[data-theme="light"] .project-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.project-card h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    flex: 1;
}

.project-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    background-color: var(--section-bg);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 0.85rem;
}

[data-theme="dark"] .project-tech span {
    background-color: rgba(45, 55, 72, 0.5);
    color: var(--text-light);
}

.project-tech span i {
    font-size: 1rem;
}

 .project-tech span img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 2px;
}

/* Video modal (YouTube embed) */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.video-modal.is-open {
    display: block;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.video-modal__dialog {
    position: relative;
    width: min(1000px, calc(100% - 32px));
    margin: 8vh auto;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.video-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

[data-theme="dark"] .video-modal__close {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.video-modal__close:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(254, 88, 0, 0.25);
}

.video-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-modal__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Section */
.contact {
    background-color: transparent;
    position: relative;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-content > p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 10px;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    background: rgba(254, 88, 0, 0.1);
}

[data-theme="light"] .social-link:hover {
    background: rgba(254, 88, 0, 0.05);
    box-shadow: 0 5px 15px rgba(254, 88, 0, 0.2);
}

[data-theme="dark"] .social-link:hover {
    box-shadow: 0 5px 20px rgba(254, 88, 0, 0.4);
}

.social-link img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.social-link:hover img {
    filter: brightness(1.1);
}

[data-theme="dark"] .social-link {
    background: rgba(45, 45, 45, 0.5);
    border-color: rgba(254, 88, 0, 0.3);
}

/* Footer */
.footer {
    background-color: var(--section-bg);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease;
}

.animate-slideUp {
    animation: slideUp 1s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-photo {
        width: 200px;
        margin-bottom: 2rem;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .timeline::before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .award-items {
        flex-direction: column;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}