@font-face {
    font-family: 'IRANYekan';
    src: url('fonts/iranyekanwebregular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANYekan';
    src: url('fonts/iranyekanwebbold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'IRANYekan';
    src: url('fonts/iranyekanweblight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

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

body {
    font-family: 'IRANYekan', sans-serif;
    direction: rtl;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #fef3c7 100%);
    color: #1e293b;
    line-height: 1.8;
    overflow-x: hidden;
}

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

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #2563eb;
}

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

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s;
}

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

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #475569;
}

.hero-illustration {
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

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

.animated-svg {
    width: 100%;
    max-width: 500px;
}

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

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

.rotate {
    animation: rotate 20s linear infinite;
    transform-origin: center;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

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

.scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% {
        cy: 15;
    }
    50% {
        cy: 35;
    }
}

.backend-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

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

.skill-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.skill-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.skill-card p {
    color: #64748b;
    line-height: 1.6;
}

.projects-timeline {
    margin-top: 4rem;
}

.timeline-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

.timeline {
    position: relative;
    padding-right: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    animation: fadeInRight 0.6s ease-out;
}

.timeline-dot {
    position: absolute;
    right: -30px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #e0f2fe;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.timeline-content:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(-5px);
}

.timeline-content h4 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: block;
    color: #3b82f6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background: #e0f2fe;
    color: #0284c7;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.play-btn {
    background: #3b82f6;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.play-btn.purple {
    background: #8b5cf6;
}

.play-btn.purple:hover {
    background: #7c3aed;
}

.play-btn.green {
    background: #10b981;
}

.play-btn.green:hover {
    background: #059669;
}

.play-btn.disabled {
    background: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.play-btn.disabled:hover {
    background: #94a3b8 !important;
    transform: none !important;
}

.audio-label {
    color: #64748b;
    font-size: 0.9rem;
}

/* Personal Projects Section */
.personal-projects-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.personal-projects-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

.personal-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.personal-project-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.12);
    transition: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.personal-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb, #3b82f6);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 200% 0;
    }
    50% {
        background-position: -200% 0;
    }
}

.personal-project-card:hover {
    border-color: transparent;
    transform: none;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.12);
}

.personal-project-card--primary {
    grid-column: 1 / -1;
}

.project-expanded {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.kpi-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.kpi-card {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
}

.kpi-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #b45309;
}

.kpi-label {
    color: #92400e;
    font-size: 0.9rem;
}

.value-proposition--inline {
    background: #fffbeb;
    border-right-color: #f59e0b;
}

.cta-invest {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.btn-details--alt {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.btn-details--alt:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.mini-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.mini-shot {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mini-shot img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.mini-shot span {
    color: #6b7280;
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    .project-expanded {
        grid-template-columns: 1fr;
    }

    .kpi-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.project-icon {
    flex-shrink: 0;
    animation: bounceIn 0.6s ease-out;
}

.project-title-section {
    flex: 1;
}

.project-title-section h3 {
    font-size: 1.4rem;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.project-status {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.value-proposition {
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border-right: 4px solid #2563eb;
}

.value-proposition h4 {
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.value-proposition ul {
    list-style: none;
    padding: 0;
}

.value-proposition ul li {
    position: relative;
    color: #64748b;
    margin-bottom: 0.8rem;
    padding-right: 1.5rem;
    font-size: 0.95rem;
}

.value-proposition ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #2563eb;
    font-weight: bold;
    font-size: 1.1rem;
}

.tag.orange {
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid #3b82f6;
}

.project-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.btn-details {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.personal-projects-section .btn-details:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    color: white;
    text-decoration: none;
}

.play-btn.orange {
    background: #3b82f6;
}

.personal-projects-section .play-btn:hover {
    background: #3b82f6;
    transform: none;
}

.ai-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.ai-skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.ai-skill-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
    transition: all 0.3s;
}

.ai-skill-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

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

.ai-skill-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.ai-skill-item h3 {
    font-size: 1.3rem;
    color: #7c3aed;
    margin-bottom: 0.5rem;
}

.ai-skill-item p {
    color: #64748b;
}

/* AI Projects */
.ai-projects {
    position: relative;
    z-index: 1;
}

.projects-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.ai-project-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
    transition: all 0.4s;
    border: 2px solid transparent;
}

.ai-project-card:hover {
    border-color: #8b5cf6;
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.25);
}

.ai-project-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ai-project-card h4 {
    font-size: 1.4rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.ai-project-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mlops-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.mlops-workflow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.workflow-step {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
    transition: all 0.3s;
    position: relative;
}

.workflow-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1.3rem;
    color: #059669;
    margin: 1rem 0 0.5rem 0;
}

.step-content p {
    color: #64748b;
    font-size: 0.9rem;
}

.step-icon {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.workflow-arrow {
    font-size: 2rem;
    color: #10b981;
    font-weight: bold;
}

.mlops-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mlops-skill {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
    transition: all 0.3s;
}

.mlops-skill:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.mlops-skill h4 {
    margin-top: 1rem;
    color: #059669;
    font-size: 1.1rem;
}

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

.mlops-project-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
    transition: all 0.4s;
    border: 2px solid transparent;
}

.mlops-project-card:hover {
    border-color: #10b981;
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.25);
}

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

.mlops-project-header h4 {
    font-size: 1.4rem;
    color: #059669;
}

.mlops-project-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tech-stack span {
    background: #d1fae5;
    color: #059669;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.experience-section {
    padding: 100px 0;
    background: white;
}

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

.experience-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.experience-card:hover {
    border-color: #3b82f6;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.company-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.experience-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.experience-card h4 {
    font-size: 1.1rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.experience-card .date {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-card ul {
    list-style: none;
    padding-right: 1rem;
}

.experience-card ul li {
    position: relative;
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-right: 1.5rem;
}

.experience-card ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #10b981;
    font-weight: bold;
}

.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fef3c7 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #64748b;
}

.achievements {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.achievements h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.achievements ul {
    list-style: none;
}

.achievements ul li {
    position: relative;
    color: #64748b;
    margin-bottom: 1rem;
    padding-right: 2rem;
    line-height: 1.6;
}

.achievements ul li::before {
    content: '🏆';
    position: absolute;
    right: 0;
    font-size: 1.2rem;
}

.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .workflow-arrow {
        display: none;
    }

    .mlops-workflow {
        flex-direction: column;
    }

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

    .project-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

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

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .nav-menu {
        display: none;
    }

    .skills-grid,
    .ai-projects-grid,
    .mlops-projects-container,
    .experience-grid,
    .personal-projects-grid {
        grid-template-columns: 1fr;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

html {
    scroll-behavior: smooth;
}

::selection {
    background: #3b82f6;
    color: white;
}

/* Utility class for text justification */
.justify {
    text-align: justify;
}

.justify h1,
.justify h2,
.justify h3,
.justify h4,
.justify h5,
.justify h6,
.justify p,
.justify li,
.justify span,
.justify div {
    text-align: justify;
}

/* Keep specific elements centered even within .justify */
.justify .section-header,
.justify .section-title,
.justify .section-subtitle,
.justify .hero-title,
.justify .hero-subtitle,
.justify .nav-menu,
.justify .project-status,
.justify .timeline-title,
.justify .projects-title,
.justify .achievements h3,
.justify .contact-item h4,
.justify .experience-card h3,
.justify .experience-card h4,
.justify .project-title-section h3,
.justify .value-proposition h4,
.justify .kpi-label,
.justify .mini-shot span,
.justify .btn-details,
.justify .play-btn,
.justify .tag,
.justify .tech-item,
.justify .project-status-badge,
.justify .sidebar-card h3,
.justify .tech-stack,
.justify .timeline-item strong,
.justify .investment-requirements h4,
.justify .revenue-model h4 {
    text-align: center;
}

