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

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loader-content p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #60A5FA, #3B82F6);
    width: 0%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1E293B 0%, #334155 50%, #475569 100%);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.highlight {
    color: #60A5FA;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    color: #60A5FA;
}

/* Availability Badges */
.availability-badge {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    word-break: break-word;
    max-width: 100%;
}

@media (max-width: 600px) {
    .availability-badge {
        padding: 1rem;
        font-size: 0.95rem;
    }
    .badge-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        font-size: 0.98rem;
    }
    .badge-item i {
        margin-bottom: 2px;
    }
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
}

.badge-item i {
    color: #60A5FA;
    font-size: 1.1rem;
    width: 20px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

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

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #60A5FA;
    color: white;
}

.btn-primary:hover {
    background: #3B82F6;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1f2937;
    transform: translateY(-2px);
}

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

.profile-image {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease forwards;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image:hover .profile-photo {
    transform: scale(1.05);
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* About Section */
.about {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    pointer-events: none;
    animation: backgroundShift 20s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.03) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-text {
    animation: slideInLeft 0.8s ease-out;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
    position: relative;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #60A5FA);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.4s forwards;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.about-text p:hover {
    transform: translateY(-2px);
    color: #1f2937;
}

.about-text p:nth-child(3) {
    animation-delay: 0.6s;
}

.about-text p:nth-child(4) {
    animation-delay: 0.8s;
}

.motivation-list {
    list-style: none;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 1s both;
}

.motivation-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease-out both;
    transition: all 0.3s ease;
    cursor: pointer;
}

.motivation-list li:hover {
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.1), transparent);
    border-radius: 8px;
    padding-left: 2rem;
}

.motivation-list li:nth-child(1) { animation-delay: 1.2s; }
.motivation-list li:nth-child(2) { animation-delay: 1.4s; }
.motivation-list li:nth-child(3) { animation-delay: 1.6s; }
.motivation-list li:nth-child(4) { animation-delay: 1.8s; }

.motivation-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    transform: scale(0);
    animation: popIn 0.3s ease-out 0.2s forwards;
    transition: all 0.3s ease;
}

.motivation-list li:hover::before {
    transform: scale(1.2);
    color: #059669;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: slideInRight 0.8s ease-out 0.3s both;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out both;
    cursor: pointer;
}

.stat-item:nth-child(1) { animation-delay: 0.5s; }
.stat-item:nth-child(2) { animation-delay: 0.7s; }
.stat-item:nth-child(3) { animation-delay: 0.9s; }

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.stat-item:active {
    transform: translateY(-4px) scale(0.98);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.stat-number.animate {
    animation: countUp 2s ease-out forwards;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    line-height: 1.3;
}

.stat-item:hover .stat-label {
    color: #374151;
    transform: translateY(-2px);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

@keyframes popIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes backgroundShift {
    0%, 100% {
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(96, 165, 250, 0.05) 100%);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Stats floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.stat-item {
    animation: float 6s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: 1s;
}

.stat-item:nth-child(3) {
    animation-delay: 2s;
}

/* Mobile animations */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        animation: fadeInUp 0.8s ease-out;
    }
    
    .about-stats {
        animation: fadeInUp 0.8s ease-out 0.3s both;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        flex: 1;
        min-width: 150px;
        animation: none;
    }
    
    .stat-item:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .about::after {
        display: none;
    }
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.skills-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, currentColor 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.skill-card.primary {
    color: #3B82F6;
    border-top: 3px solid #3B82F6;
}

.skill-card.secondary {
    color: #059669;
    border-top: 3px solid #059669;
}

.skill-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover::after {
    transform: translateX(100%);
}

.skill-card.primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
}

.skill-card.secondary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 25px 50px rgba(5, 150, 105, 0.15);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.skill-header i {
    font-size: 3rem;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, currentColor 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.skill-card:hover .skill-header i {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.skill-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.skill-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tags span {
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-tags span::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 ease;
}

.skill-card.primary .skill-tags span {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.skill-card.secondary .skill-tags span {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.skill-tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #e2e8f0;
}

.skill-tags span:hover::before {
    left: 100%;
}

/* Skill animations */
@keyframes skillCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.skill-card {
    animation: skillCardFloat 6s ease-in-out infinite;
}

.skill-card:nth-child(2) {
    animation-delay: 1s;
}

.skill-card:nth-child(3) {
    animation-delay: 2s;
}

.skill-card:nth-child(4) {
    animation-delay: 0.5s;
}

.skill-card:nth-child(5) {
    animation-delay: 1.5s;
}

.skill-card:nth-child(6) {
    animation-delay: 2.5s;
}

/* Skills mobile */
@media (max-width: 768px) {
    .skills-main {
        grid-template-columns: 1fr;
    }
    
    .skills-secondary {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .skill-card {
        padding: 1.5rem;
        animation: none;
    }
    
    .skill-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .skill-header i {
        font-size: 2rem;
    }
}

/* Projects Section */
.projects {
    background: #f8fafc;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Tablet layout */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.project-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    filter: contrast(1.02) saturate(1.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.project-card:hover .project-screenshot {
    transform: scale(1.05);
    filter: contrast(1.08) saturate(1.15) brightness(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.project-content p {
    margin-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Project Features - Bullet Points */
.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #6b7280;
    line-height: 1.6;
}

.project-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: #e0e7ff;
    color: #2563eb;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

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

.project-link {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #3B82F6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #3B82F6;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.project-link:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Demo button */
.project-link[href*="pages.dev"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 2px solid #10b981;
    position: relative;
    overflow: hidden;
}

.project-link[href*="pages.dev"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.project-link[href*="pages.dev"]:hover::before {
    left: 100%;
}

.project-link[href*="pages.dev"]:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    border-color: #059669;
}

/* Code button */
.project-link[href*="github.com"] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: 2px solid #6366f1;
    position: relative;
    overflow: hidden;
}

.project-link[href*="github.com"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.project-link[href*="github.com"]:hover::before {
    left: 100%;
}

.project-link[href*="github.com"]:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    border-color: #4f46e5;
}

/* Contact button */
.project-link[href="#contact"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 2px solid #ef4444;
    position: relative;
    overflow: hidden;
}

.project-link[href="#contact"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.project-link[href="#contact"]:hover::before {
    left: 100%;
}

.project-link[href="#contact"]:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    border-color: #dc2626;
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2563eb;
    text-align: center;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    color: #6b7280;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-card-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 600;
}

.contact-card-content p {
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}



.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.social-link i {
    font-size: 1.5rem;
}



/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Mobile layout */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        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;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 20px;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 20px;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem;
        min-height: auto;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .stat-label {
        font-size: 0.9rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .contact-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        gap: 2.5rem;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

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

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 14px 20px;
    }

    .about-content {
        gap: 2.5rem;
        padding: 0 15px;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 360px) {
    .hero-container {
        gap: 2rem;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

    .hero-description {
        font-size: 0.9rem;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
        padding: 0 0.25rem;
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #60A5FA, #3B82F6, #8B5CF6);
    z-index: 1001;
    transition: width 0.1s ease-out;
    box-shadow: 0 1px 3px rgba(96, 165, 250, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3B82F6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:active {
    transform: scale(0.95);
}
