/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}


.course-container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Course Segment */
.course-segment {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.course-info {
    flex: 2;
    margin-right: 20px;
}

.course-info h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.course-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

button {
    padding: 10px 20px;
    background-color: #33b5ed;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    background-color: #2894c8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Photo Gallery */
.photo-gallery {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.photo-wrapper {
    width: 100%;
    max-width: 156px;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 150;
}

.photo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-segment {
        flex-direction: column;
    }

    .course-info {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .photo-gallery {
        justify-content: flex-start;
    }

    .photo-wrapper {
        max-width: 48%;
        margin-right: 2%;
    }
}

@media (max-width: 480px) {
    .photo-wrapper {
        max-width: 100%;
        margin-right: 0;
    }
}
