/* Light Theme */
.light-theme {
    --primary-dark: #ffffff;
    --secondary-dark: #f8f9fa;
    --text-light: #2c3e50;
    --glass-light: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.light-theme .glass-card {
    background: var(--glass-light);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.light-theme .glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.light-theme .glass-nav {
    background: var(--glass-light);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
}

.light-theme .glass-nav a {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.light-theme .glass-nav a:hover {
    background: rgba(76, 201, 240, 0.15);
    color: #4a90e2;
}

.light-theme .glass-nav a.active {
    background: rgba(76, 201, 240, 0.25);
    color: #4a90e2;
    font-weight: 600;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.light-theme .skill-tag {
    background: rgba(76, 201, 240, 0.3);
    color: #212529;
}

.light-theme .project-overlay {
    background: rgba(255, 255, 255, 0.9);
    color: #212529;
}

/* Footer Styles */
.footer {
    padding: 4rem 2rem;
    margin-top: 4rem;
    background: var(--glass-light);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-section h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: width 0.3s ease;
}

.footer-section:hover h4::after {
    width: 100px;
}

.footer-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.8;
    justify-content: center;
}

.footer-links a:hover {
    color: var(--accent-blue);
    opacity: 1;
    transform: translateX(5px);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.8;
    justify-content: center;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-blue);
    opacity: 1;
}

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

.social-icon {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    background: var(--glass-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.social-icon:hover {
    color: var(--accent-blue);
    transform: translateY(-3px);
    opacity: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-light);
    opacity: 0.8;
}

.footer-bottom p {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h4 {
        font-size: 1.2rem;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 1rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 2rem;
    }
}

/* Navigation Styles */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.portfolio-title {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
}

.portfolio-title:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--glass-light);
        backdrop-filter: blur(10px);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

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

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        font-size: 1rem;
    }

    .glass-nav {
        padding: 0.8rem 1.5rem;
    }

    .portfolio-title {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .glass-nav {
        padding: 0.6rem 1rem;
    }

    .portfolio-title {
        font-size: 1.1rem;
    }

    .hamburger-menu {
        font-size: 1.1rem;
    }

    .nav-links {
        top: 50px;
        padding: 0.8rem;
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 0.6rem;
    }
}

/* Additional Mobile Optimizations */
@media screen and (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
    }

    .project-showcase {
        grid-template-columns: 1fr;
    }

    .about-grid {
        display: contents;
        grid-template-columns: 1fr 2fr;
        gap: 2.5rem;
        align-items: start;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .glass-card {
        padding: 1.5rem;
    }

    .project-showcase {
        grid-template-columns: 1fr;
    }

    .about-grid {
        display: contents;
        grid-template-columns: 1fr 2fr;
        gap: 2.5rem;
        align-items: start;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Hero Section Enhancements */
.hero-text {
    text-align: center;
    margin-bottom: 2rem;
}

.highlight {
    color: #4CAF50;
    font-weight: bold;
}

.hero-description {
    font-size: 1.2rem;
    color: #888;
    margin-top: 1rem;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4CAF50;
    display: block;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #4CAF50;
    transform: translateY(-3px);
}

/* Skills Section */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

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

.skill-header i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.skill-header h4 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-bar {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-in-out;
    position: relative;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 20px 20px;
    animation: move 2s linear infinite;
    opacity: 0.3;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .skill-category {
        padding: 1rem;
    }
    
    .skill-header i {
        font-size: 1.5rem;
        padding: 0.75rem;
    }
    
    .skill-header h4 {
        font-size: 1.25rem;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.contact-form {
    padding: 2rem;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

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

/* Animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
}

/* Dark Theme Enhancements */
.dark-theme .glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.dark-theme .btn:hover {
    background: #4CAF50;
    border-color: #4CAF50;
}

.dark-theme .outline-btn {
    background: transparent;
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.dark-theme .outline-btn:hover {
    background: #4CAF50;
    color: #fff;
}

/* About Grid Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding: 2rem;
}

.profile-section {
    position: relative;
}

.profile-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1rem 1rem;
    color: white;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.profile-contact {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 10px;
    background: var(--glass-bg);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    background: var(--accent-color);
    color: white;
}

.content-section {
    padding: 1rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin-top: 0.5rem;
}

.journey-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--accent-color);
    border: 2px solid var(--bg-color);
}

.timeline-content {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Skills Grid Styles */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-category {
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.skill-category i {
    color: var(--accent-color);
}

/* Education Timeline Styles */
.education-timeline {
    margin-top: 2rem;
}

.education-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.education-item:hover {
    transform: translateX(10px);
}

.education-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.education-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.education-institution {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin: 0;
}

.education-year {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0.3rem 0 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-section {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .education-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.quick-skills {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.quick-skills h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.skill-tag {
    background: var(--accent-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Education Section Styles */
.education-section {
    padding: 2rem;
    margin: 2rem 0;
}

.education-timeline {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.education-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-item:hover {
    transform: translateY(-5px);
}

.education-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.education-content {
    flex: 1;
}

.education-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-size: 1.2rem;
}

.institution {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag.glass-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-progress {
    margin-top: 1rem;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background: var(--accent-color);
    border-radius: 3px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .education-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .education-icon {
        margin-bottom: 1rem;
    }

    .education-tags {
        justify-content: center;
    }
}

/* Projects Section Styles */
.projects-section {
    padding: 4rem 2rem;
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

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

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

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

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

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

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

.project-tech span {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

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

.project-links .btn {
    flex: 1;
    text-align: center;
    padding: 0.8rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-links .btn i {
    margin-right: 0.5rem;
}

/* Animation for project cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #e2e8f0;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: 0.3px;
}