﻿/* === Section Styling === */
.projects-page-section {
    padding: 4rem 1rem;
    background: #fefefe;
}

.projects-page-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

    .projects-page-container h1 {
        font-size: 2.7rem;
        color: #003b5c;
        margin-bottom: 1rem;
    }

    .projects-page-container p {
        color: #666;
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

/* === Projects Grid === */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* === Card Styling with Animation === */
.project-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    transform: translateY(30px);
opacity: 1;
}

    .project-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
    }

    .project-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-bottom: 1px solid #eee;
    }

.project-content {
    padding: 1.5rem;
    text-align: left;
}

    .project-content h3 {
        color: #003b5c;
        margin-bottom: 0.5rem;
        font-size: 1.3rem;
    }

    .project-content p {
        color: #444;
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

.view-button {
    display: inline-block;
    background-color: #e65c0d;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .view-button:hover {
        background-color: #ff6f2c;
    }

/* === Animations === */
.fade-in {
    animation: fadeInUp 0.7s ease forwards;
opacity: 1;
}

    .fade-in.delay-1 {
        animation-delay: 0.4s;
    }

.animated-card {
    animation: fadeInUp 0.8s ease forwards;
opacity: 1;
}

    .animated-card.delay-1 {
        animation-delay: 0.5s;
    }

    .animated-card.delay-2 {
        animation-delay: 0.9s;
    }

@keyframes fadeInUp {
    0% {
    opacity: 1;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
