/* Projects Page Specific Styles */

.projects-hero-section {
    padding: 120px 0 60px;
    background-color: #fff;
    text-align: center;
}

.projects-header h1 {
    font-size: 2.5rem;
    color: #1A1A1A;
    margin-bottom: 1rem;
    font-weight: 700;
}

.projects-header p {
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Projects Grid Section */
.projects-grid-section {
    padding: 60px 0 80px;
    background-color: #FAFAFA;
}

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

.project-card-modern {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.project-logo {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: #F8F9FA;
    border-radius: 12px;
    overflow: hidden;
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* preserve whole logo and fit inside the box */
    display: block;      /* remove inline-gap below images */
    padding: 20px;      /* keep inner spacing if desired */
}

.project-card-modern h3 {
    font-size: 1.2rem;
    color: #1A1A1A;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
}

.project-card-modern p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .projects-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .projects-hero-section {
        padding: 100px 0 50px;
    }

    .projects-header h1 {
        font-size: 2rem;
    }

    .projects-header p {
        font-size: 0.95rem;
        padding: 0 20px;
    }

    .projects-grid-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card-modern {
        padding: 30px 25px;
    }

    .project-logo {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .projects-header h1 {
        font-size: 1.6rem;
    }

    .project-card-modern h3 {
        font-size: 1.1rem;
    }

    .project-card-modern p {
        font-size: 0.9rem;
    }

    .project-card-modern {
        padding: 25px 20px;
    }
}
