

.container1 {
    width: 80%;
    margin: 0 auto;
    padding-top: 40px;
}


.section-title-pro {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.content-pro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Enables wrapping for smaller screens */
}

.image-container-pro {
    flex: 1;
    text-align: center;
    margin-bottom: 20px; /* Adds space below the image for mobile */
}

.image-container img {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
}

.text-container {
    flex: 2;
    margin-left: 30px;
}

.sub-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding-top: 20px;
    }

    .content {
        flex-direction: column; /* Stacks content vertically on small screens */
        align-items: center;
    }

    .text-container {
        margin-left: 0;
        text-align: center; /* Center text for smaller screens */
    }

    .sub-title {
        font-size: 24px;
    }

    .description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .sub-title {
        font-size: 20px;
    }

    .description {
        font-size: 12px;
    }

    .image-container img {
        max-width: 300px;
    }
}


/* cards Section */
.project-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-title {
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.project-description {
    color: #777;
    font-size: 0.9rem;
}

.read-more {
    font-weight: bold;
    color: #007bff;
}

.read-more:hover {
    text-decoration: underline;
}

/* Adjust image height for smaller screens */
@media (max-width: 768px) {
    .project-image img {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .project-title {
        font-size: 1.1rem;
    }

    .project-description {
        font-size: 0.85rem;
    }

    .project-image img {
        height: 130px;
    }
}