body {
    direction: rtl;
    display: grid;
    flex-direction: column;
    margin: 0;
}

.illustrative-images {
    display: block;
    width: 75%;             /* Constrains the image to 75% of the section */
    margin: 40px auto;         /* Centers the image horizontally */
    border-radius: 20px;    /* Adds the rounded corners */
    height: auto;           /* Keeps the image proportions correct */
}

.illustrative-videos {
    display: block;
    width: 75%;             /* Constrains the image to 75% of the section */
    margin: 40px auto;         /* Centers the image horizontally */
    border-radius: 20px;    /* Adds the rounded corners */
    min-height: 600px;
    height: auto;           /* Keeps the image proportions correct */
}

.section-1 {
    display: grid;
    background: linear-gradient(to bottom, #FFD700, #FF0000 );
    min-height: 600px;
    padding: 12px;
    text-align: center;
    place-items: center;
}

.section-1 h2 {
    color: white;
}

.section-2 {
    background: linear-gradient(to bottom, #FF0000, #FDDC5C );
    width: 100%;
}

.section-3 {
    display: grid;
    background: #FDDC5C;
    padding: 12px;
    text-align: center;
    place-items: center;
}

.section-4 {
    background: linear-gradient(to bottom, #FDDC5C, #FFCCCB );
    width: 100%;
}

.section-5 {
    display: grid;
    background: #FFCCCB;
    padding: 12px;
    text-align: center;
    place-items: center;
}

.section-6 {
    background: linear-gradient(to bottom, #FFCCCB, #FF0000 );
}

.section-7 {
    display: grid;
    background: #FF0000;
    padding: 12px;
    text-align: center;
    place-items: center;
}

.section-7 h2 {
    color: white;
}

.section-7 ul {
    color: white;
}

.section-8 {
    background: linear-gradient(to bottom, #FF0000, #FFD700 );
}

.section-9 {
    display: grid;
    background: #FFD700;
    padding: 12px;
    text-align: center;
    place-items: center;
}

.list {
    text-align: right;
    font-size: 22px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between the images */
}

.contact-buttons img {
    width: 50px;  /* Adjust the image size */
    height: 50px;
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.contact-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.contact-image img{
    width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 22px;
}

/* The starting state (hidden and pushed down) */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* The ending state (visible and in place) */
.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 16.5px;
    }

    .list {
        font-size: 16.5px;
    }

    .illustrative-images {
        width: 100%;        /* Forces the image to take full width */
        border-radius: 0;   /* Removes rounded corners so it sits flush with the edges */
        margin: 0;
    }

    .illustrative-videos {
        min-height: 400px;
        width: 100%;        /* Forces the image to take full width */
        border-radius: 0;   /* Removes rounded corners so it sits flush with the edges */
        margin: 0;
    }

    .contact-buttons img {
        width: 25px;  /* Adjust the image size */
        height: 25px;
    }  

    .contact-image {
        width: 75px;
        height: 75px;
    }
}