body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
}

.project-container {
    max-width: 1300px; /* flexible for larger screens */
    margin: 40px auto;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
    transition: transform 0.5s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.project-content {
    padding: 50px;
}

.project-content h1 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 42px;
}

.project-content p {
    line-height: 1.7;
    color: #555;
    font-size: 18px;
}

/* Responsive Styles */

/* Tablets */
@media (max-width: 1024px) {
    .project-content {
        padding: 40px;
    }

    .project-content h1 {
        font-size: 36px;
    }

    .project-content p {
        font-size: 17px;
    }

    .project-image img {
        height: 380px;
    }
}

/* Small Tablets / Large Phones */
@media (max-width: 768px) {
    .project-content {
        padding: 30px 20px;
    }

    .project-content h1 {
        font-size: 28px;
    }

    .project-content p {
        font-size: 16px;
    }

    .project-image img {
        height: 260px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .project-content {
        padding: 20px 15px;
    }

    .project-content h1 {
        font-size: 24px;
    }

    .project-content p {
        font-size: 15px;
    }

    .project-image img {
        height: 200px;
    }
}