/* Ahmed Mukhtar Portfolio Styles */

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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-hover: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-accent: #00d4ff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hover: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation - FIXED STYLING */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
}


.app-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* FIXED: Add padding-top to sections to account for fixed navbar */
.section {
    padding: 80px 0;
    padding-top: 120px; /* Added extra top padding */
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Hero Section - FIXED */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff05" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Profile Image */
.profile-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
    animation: fadeInUp 1s ease;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    /* background: var(--gradient); */
    display: block;  
    padding: 2px;
    transition: all 0.3s ease; 
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stats-grid > div {
    text-align: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 10px;
}

.stats-grid h4 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stats-grid p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.education-section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
}

.education-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.education-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.education-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-icon i {
    font-size: 2rem;
    color: white;
}

.education-details {
    text-align: center;
}

.education-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.education-details p {
    color: var(--text-secondary);
}

.graduation-year {
    color: var(--primary-color) !important;
    font-weight: bold;
}

/* Projects Section */
.projects-grid {
    display: grid;
    gap: 3rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.project-layout.reverse {
    direction: rtl;
}

.project-layout.reverse > * {
    direction: ltr;
}

.project-content {
    padding: 2.5rem;
}

.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.project-icon.mobile {
    background: none;               /* no gradient or border */
    display: flex;                  /* makes centering easy */
    justify-content: center;        /* horizontal center */
    align-items: center;            /* vertical center */
    width: 80px;                    /* container size */
    height: 80px;                   /* container size */
}


.project-icon.mining {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.project-icon.leadership {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.project-icon i {
    color: white;
    font-size: 1.5rem;
}

.project-title h3 {
    margin-bottom: 0.5rem;
}

.project-title h3:first-child {
    color: var(--primary-color);
}

.project-icon.mining + .project-title h3 {
    color: var(--secondary-color);
}

.project-icon.leadership + .project-title h3 {
    color: #667eea;
}

.project-title p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-achievements h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-achievements ul {
    list-style: none;
    padding: 0;
}

.project-achievements li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.project-icon.mining ~ .project-content .project-achievements li::before {
    color: var(--secondary-color);
}

.project-icon.leadership ~ .project-content .project-achievements li::before {
    color: #667eea;
}

.project-tech {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.project-tech span {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-tech.mining-tech span {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.project-tech.leadership-tech span {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.project-image {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-image img {
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Experience Cards */
.experience-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.experience-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.experience-card:hover::before {
    left: 100%;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.company {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
}

.responsibilities {
    list-style: none;
    margin-top: 1rem;
}

.responsibilities li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.responsibilities li::before {
    content: '▶';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.skill-progress {
    margin: 1.5rem 0;
}

.skill-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-progress-header span:first-child {
    color: var(--text-secondary);
}

.skill-progress-header span:last-child {
    color: var(--primary-color);
}

.skill-progress-bar {
    background: #333;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    background: var(--gradient);
    animation: loadSkill 2s ease;
    transition: width 2s ease;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Certifications */
.certifications-section {
    margin-top: 4rem;
}

.certifications-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.certification-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.certification-card:hover {
    transform: scale(1.05);
}

.certification-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.certification-card .fa-google {
    color: #4285f4;
}

.certification-card .fa-graduation-cap {
    color: var(--secondary-color);
}

.certification-card .fa-shield-alt {
    color: #28a745;
}

.certification-card .fa-laptop-code {
    color: var(--primary-color);
}

.certification-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.certification-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Apps Section */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.app-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover::before {
    opacity: 0.1;
}

.app-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.app-logo {
    display: block;
    margin: 0 auto 1rem;
    border: 2px solid var(--primary-color);
}

.app-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    z-index: 2;
    position: relative;
}

.app-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    z-index: 2;
    position: relative;
}

.playstore-btn {
    background: linear-gradient(135deg, #34a853, #fbbc05);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    position: relative;
}

.playstore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 168, 83, 0.4);
}

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

.achievement-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.achievement-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.achievement-badge.gold {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
}

.achievement-badge.orange {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.achievement-badge.purple {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.achievement-badge.green {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.achievement-badge.pink {
    background: linear-gradient(45deg, #e83e8c, #fd7e14);
}

.achievement-badge.violet {
    background: linear-gradient(45deg, #6610f2, #6f42c1);
}

.achievement-badge i {
    font-size: 2rem;
    color: white;
}

.achievement-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-card.orange h3 {
    color: var(--secondary-color);
}

.achievement-card.purple h3 {
    color: #667eea;
}

.achievement-card.green h3 {
    color: #28a745;
}

.achievement-card.pink h3 {
    color: #e83e8c;
}

.achievement-card.violet h3 {
    color: #6610f2;
}

.achievement-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.achievement-year {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.achievement-year.orange {
    background: rgba(255, 107, 53, 0.1);
    color: var(--secondary-color);
}

.achievement-year.purple {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.achievement-year.green {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.achievement-year.pink {
    background: rgba(232, 62, 140, 0.1);
    color: #e83e8c;
}

.achievement-year.violet {
    background: rgba(102, 16, 242, 0.1);
    color: #6610f2;
}

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

.gallery-item {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.8), rgba(255, 107, 53, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
}

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

.gallery-overlay h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.gallery-overlay p {
    color: white;
    opacity: 0.9;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s ease;
}

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

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.contact-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-item p, 
.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--bg-card);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid #333;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes loadSkill {
    from {
        width: 0%;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .project-layout {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 60px 1rem;
        padding-top: 100px;
    }

    .section h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .education-content {
        flex-direction: column;
    }
    
    .project-layout {
        grid-template-columns: 1fr;
    }
    
    .project-image img {
        width: 60%;
    }
}