@media (min-width: 1520px) {
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        background-color: #111;
        font-family: 'Bai Jamjuree', sans-serif;
    }


    .journey-section {
        display: flex;
        margin-top: 60px;
        justify-content: center;
        padding: 10px;
        background-color: #111;
        color: white;
        gap: 30px;
    }

    .journey-content {
        max-width: 40%;
        margin-right: 10px;
        margin-top: 10px;
    }

        .journey-content h2 {
            font-size: 2.5rem;
            font-family: 'Black Ops One', sans-serif;
        }

        .journey-content p {
            font-size: 1.1rem;
            font-family: 'Bai Jamjuree', sans-serif;
            margin-bottom: 20px;
        }

    .journey-stats {
        display: flex;
        gap: 10px;
        margin-top: 50px;
    }

    .stat {
        text-align: center;
        padding: 20px;
        border-radius: 8px;
        background-color: #1a1a1a;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        flex: 1;
    }

        .stat h3 {
            font-size: 2rem;
            font-family: 'Black Ops One', sans-serif;
            margin-bottom: 10px;
        }

        .stat p {
            font-size: 1rem;
            font-family: 'Bai Jamjuree', sans-serif;
            color: #bbb;
        }

    .journey-image img {
        width: 600px; /* Set the desired width */
        height: 500px;
        border-radius: 8px;
        object-fit: cover;
    }

    /*Values Section*/
    .values-section {
        display: flex;
        padding: 50px 100px; /* Increase the gap on either side of the page */
        background-color: #111;
        color: white;
        gap: 80px;
        margin-top: 40px;
    }

    .values-content {
        flex: 1;
        margin-left: 10px; /* Decrease the margin between the text and boxes */
        margin-top: 10px;
    }

        .values-content h2 {
            font-size: 2.5rem;
            font-family: 'Black Ops One', sans-serif;
            margin-bottom: 10px; /* Decrease the margin below the heading */
        }

        .values-content p {
            font-size: 1.1rem;
            font-family: 'Bai Jamjuree', sans-serif;
            max-width: 600px;
            margin-bottom: 10px; /* Decrease the margin below the paragraph */
        }

    .values-boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        flex: 1;
    }

    .value-box {
        background-color: #1a1a1a;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        text-align: left;
    }

        .value-box h3 {
            font-size: 1.5rem;
            font-family: 'Black Ops One', sans-serif;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .value-box .icon {
            margin-right: 10px;
            color: orange;
        }

        .value-box p {
            font-size: 1rem;
            font-family: 'Bai Jamjuree', sans-serif;
            color: #bbb;
        }
    /*Next sections*/


    .team-section {
        display: flex;
        padding: 50px 100px; /* Increase the gap on either side of the page */
        background-color: #111;
        color: white;
        align-items: center;
    }

    .team-content {
        flex: 1;
        margin-right: 10px;
    }

        .team-content h2 {
            font-size: 2.5rem;
            font-family: 'Black Ops One', sans-serif;
            margin-bottom: 20px;
        }

        .team-content p {
            font-size: 1.1rem;
            font-family: 'Bai Jamjuree', sans-serif;
            max-width: 800px;
            margin-bottom: 20px; /* Decrease the margin below the paragraph */
        }

    .team-image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .team-image img {
            width: 800px; /* Set the desired width */
            height: 500px; /* Set the desired height */
            border-radius: 8px;
            object-fit: cover; /* Ensures the image covers the area without distortion */
        }

    /* Carousel Styles */
    .carousel-container {
        position: relative;
        width: 800px; /* Set desired width */
        height: 450px; /* Set desired height */
        overflow: hidden;
        border-radius: 8px;
        margin: auto;
    }

    .carousel-image img {
        width: 100%;
        object-fit: cover; /* Ensures the image covers the area without distortion */
        object-position: center; /* Centers the image within the container */
        display: none;
    }

        .carousel-image img.active {
            display: block;
        }

    .carousel-controls {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
    }

        .carousel-controls button {
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
            color: white;
            padding: 10px;
            cursor: pointer;
            font-size: 18px;
            border-radius: 50%;
        }

            .carousel-controls button:hover {
                background-color: rgba(0, 0, 0, 0.8);
            }

    /* CTA Section Styles */
    .cta-section {
        text-align: center;
        padding: 4rem 2rem;
        background-color: #111;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .cta-content {
        border-top: 1px solid #ccc;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-bottom: 1px solid #ccc;
    }

    .cta-title {
        font-size: 2.5rem;
        font-family: 'Black Ops One', sans-serif;
        margin-bottom: 1rem;
    }

    .cta-description {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        font-family: 'Bai Jamjuree', sans-serif;
    }

    .cta-button {
        background-color: #D67026;
        color: #111;
        border: none;
        padding: 1rem 2rem;
        cursor: pointer;
        font-size: 1.2rem;
        transition: background-color 0.3s ease;
        border-radius: 8px;
        font-family: 'Bai Jamjuree', sans-serif;
        margin-bottom: 50px;
    }

        .cta-button:hover {
            background-color: #e65c00;
        }
}
@media (min-width: 920px) and (max-width: 1519px) {
    /* Global styles */
    html, body {
    margin: 0;
    padding: 0;
    width: calc(100% - 40px); /* Adjust width to account for the margin */
    height: 100%;
    background-color: #111;
    font-family: 'Bai Jamjuree', sans-serif;
    margin-right: 20px; /* Fixed margin on the right side */
}

    .journey-section,
    .values-section,
    .team-section,
    .cta-section {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px; /* Add some padding for better spacing */
        
    }

    /* Journey Section */
    .journey-section {
        display: flex;
        flex-wrap: wrap; /* Ensure the content wraps */
        justify-content: center;
        padding: 10px;
        background-color: #111;
        color: white;
        gap: 30px;
    }

    .journey-content {
        flex: 1;
        margin: 10px 0; /* Adjust margin for better spacing */
    }

    .journey-image {
        flex: 1;
        margin: 10px 0; /* Adjust margin for better spacing */
    }

        .journey-image img {
            width: 100%; /* Make the image responsive */
            height: auto;
            border-radius: 8px;
            object-fit: cover;
        }

    /* Values Section */
    .values-section {
        display: flex;
        flex-wrap: wrap; /* Ensure the content wraps */
        padding: 10px 20px;
        background-color: #111;
        color: white;
        gap: 30px;
        justify-content: center; /* Center the content */
    }

    .values-boxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-bottom: 30px; /* Add some space below the boxes */
    }

    .value-box {
        background-color: #1a1a1a;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        text-align: left;
        margin: 10px; /* Add margin for spacing */
        flex: 1 1 20%; /* Allow the boxes to wrap nicely */
        max-width: 23%; /* Ensure the boxes don't get too wide */
    }

        .value-box h3 {
            font-size: 1.5rem;
            font-family: 'Black Ops One', sans-serif;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            flex-direction: column;
        }

        .value-box .icon {
            color: orange;
            margin-bottom: 10px; /* Add this line to add space below the icon */
        }

        .value-box p {
            font-size: 1rem;
            font-family: 'Bai Jamjuree', sans-serif;
            color: #bbb;
        }

    .values-content {
        flex: 1;
    }

    /* Team Section */
    .team-section {
        display: flex;

        padding: 50px 20px;
        background-color: #111;
        color: white;
        gap: 30px;
        flex-direction: column;
    }

    .team-content {
        flex: 1;
        margin: 10px 0; /* Adjust margin for better spacing */
    }

    .team-carousel {
        flex: 1;
        margin: 10px 0; /* Adjust margin for better spacing */
    }

    /* Carousel Styles */
    .carousel-container {
        position: relative;
        width: 90%; /* Set desired width */
        height: 90%; /* Set desired height */
        overflow: hidden;
        border-radius: 8px;
        margin: auto;
    }

    .carousel-image img {
        width: 100%;
        object-fit: cover; /* Ensures the image covers the area without distortion */
        object-position: center; /* Centers the image within the container */
        display: none;
    }

        .carousel-image img.active {
            display: block;
        }

    .carousel-controls {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
    }

        .carousel-controls button {
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
            color: white;
            padding: 10px;
            cursor: pointer;
            font-size: 18px;
            border-radius: 50%;
        }

            .carousel-controls button:hover {
                background-color: rgba(0, 0, 0, 0.8);
            }

    /* CTA Section Styles */
    .cta-section {
        text-align: center;
        padding: 4rem 2rem;
        background-color: #111;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cta-content {
        border-top: 1px solid #ccc;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-bottom: 1px solid #ccc;
    }

    .cta-title {
        font-size: 2.5rem;
        font-family: 'Black Ops One', sans-serif;
        margin-bottom: 1rem;
    }

    .cta-description {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        font-family: 'Bai Jamjuree', sans-serif;
    }

    .cta-button {
        background-color: #D67026;
        color: #111;
        border: none;
        padding: 1rem 2rem;
        cursor: pointer;
        font-size: 1.2rem;
        transition: background-color 0.3s ease;
        border-radius: 8px;
        font-family: 'Bai Jamjuree', sans-serif;
        margin-bottom: 50px;
    }

        .cta-button:hover {
            background-color: #e65c00;
        }

    .value-box:nth-child(4) {
        display: none;
    }
}

@media (max-width: 919px) {
    /* Global styles */
    html, body {
        margin: 0;
        padding: 0;
        width: calc(100% - 40px); /* Adjust width to account for the margin */
        height: 100%;
        background-color: #111;
        font-family: 'Bai Jamjuree', sans-serif;
        margin-right: 20px; /* Fixed margin on the right side */
    }

    .journey-section,
    .values-section,
    .team-section,
    .cta-section {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px; /* Add some padding for better spacing */
        flex-direction: column;
    }

    /* Journey Section */
    .journey-section {
        display: flex;
        flex-wrap: wrap; /* Ensure the content wraps */
        justify-content: center;
        padding: 10px;
        background-color: #111;
        color: white;
        gap: 30px;
    }

    .journey-content {
        flex: 1;
        margin: 10px 0; /* Adjust margin for better spacing */
    }

    .journey-image {
        flex: 1;
        margin: 10px 0; /* Adjust margin for better spacing */
    }

        .journey-image img {
            width: 100%; /* Make the image responsive */
            height: auto;
            border-radius: 8px;
            object-fit: cover;
        }

    /* Values Section */
    .values-section {
        display: flex;
        padding: 10px 20px;
        background-color: #111;
        color: white;
        gap: 30px;
        justify-content: center; /* Center the content */
    }

    .values-boxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-bottom: 30px; /* Add some space below the boxes */
    }

    .value-box {
        background-color: #1a1a1a;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        text-align: left;
        margin: 10px; /* Add margin for spacing */
        max-width: 90%; /* Ensure the boxes don't get too wide */
    }

        .value-box h3 {
            font-size: 1.5rem;
            font-family: 'Black Ops One', sans-serif;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            flex-direction: column;
        }

        .value-box .icon {
            color: orange;
            margin-bottom: 10px; /* Add this line to add space below the icon */
        }

        .value-box p {
            font-size: 1rem;
            font-family: 'Bai Jamjuree', sans-serif;
            color: #bbb;
        }

    .values-content {
        flex: 1;
    }

    /* Team Section */
    .team-section {
        display: flex;
        padding: 50px 20px;
        background-color: #111;
        color: white;
        gap: 30px;
        flex-direction: column;
    }

    .team-content {
        flex: 1;
        margin: 10px 0; /* Adjust margin for better spacing */
    }

    .team-carousel {
        flex: 1;
        margin: 10px 0; /* Adjust margin for better spacing */
    }

    /* Carousel Styles */
    .carousel-container {
        position: relative;
        width: 90%; /* Set desired width */
        height: 90%; /* Set desired height */
        overflow: hidden;
        border-radius: 8px;
        margin: auto;
    }

    .carousel-image img {
        width: 100%;
        object-fit: cover; /* Ensures the image covers the area without distortion */
        object-position: center; /* Centers the image within the container */
        display: none;
    }

        .carousel-image img.active {
            display: block;
        }

    .carousel-controls {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
    }

        .carousel-controls button {
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
            color: white;
            padding: 10px;
            cursor: pointer;
            font-size: 18px;
            border-radius: 50%;
        }

            .carousel-controls button:hover {
                background-color: rgba(0, 0, 0, 0.8);
            }

    /* CTA Section Styles */
    .cta-section {
        text-align: center;
        padding: 4rem 2rem;
        background-color: #111;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cta-content {
        border-top: 1px solid #ccc;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-bottom: 1px solid #ccc;
    }

    .cta-title {
        font-size: 2.5rem;
        font-family: 'Black Ops One', sans-serif;
        margin-bottom: 1rem;
    }

    .cta-description {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        font-family: 'Bai Jamjuree', sans-serif;
    }

    .cta-button {
        background-color: #D67026;
        color: #111;
        border: none;
        padding: 1rem 2rem;
        cursor: pointer;
        font-size: 1.2rem;
        transition: background-color 0.3s ease;
        border-radius: 8px;
        font-family: 'Bai Jamjuree', sans-serif;
        margin-bottom: 50px;
    }

        .cta-button:hover {
            background-color: #e65c00;
        }

    .value-box:nth-child(4) {
        display: none;
    }
}