/* Show/hide the navigation links for smaller screens */
@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }

      /* MOBILE NAVIGATION */
    .btn-mobile-nav {
        display: block;
        z-index: 9999;
    }

    .main-nav {
        background-color: rgba(var(--color-dark-blue-transparent), 0.9);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(10px);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);

        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease-in;

        /* Hide navigation */
        /* Allows NO transitions at all */
        /* display: none; */

        /* 1) Hide it visually */
        opacity: 0;

        /* 2) Make it unaccessible to mouse and keyboard */
        pointer-events: none;

        /* 3) Hide it from screen readers */
        visibility: hidden;
    }

    .nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-open .icon-mobile-nav[name="close-outline"] {
        display: block;
    }

    .nav-open .icon-mobile-nav[name="menu-outline"] {
        display: none;
    }

    .main-nav-list {
        flex-direction: column;
        gap: 4.8rem;
    }

    .main-nav-link:link,
    .main-nav-link:visited {
        font-size: 3rem;
    }

    #logo {
    width: 150px; /* Slightly reduce the logo size */
    }

    #logo-text {
    font-size: 20px; /* Adjust the font size as needed */
    color: var(--color-light-blue); /* Set text color to white */
    }

    #navbar ul li {
    margin-right: 0px; /* Adjust the spacing as needed */
    }

    /* APPLICATIONS SECTION */

    #applications-section {
        padding: 0 20px; /* Add padding to the section */
        padding-top: var(--section-padding-top);
        padding-bottom: var(--section-padding-bottom);
    }


    #applications-content {
        margin: 0px; /* Add spacing around each team member */
    }

    #applications-container {
        margin: 5px; /* Add spacing around each team member */
        border-radius: 10px;
        padding: 2%;
        width: 40%;
        transition: transform 0.3s; /* Add a transition for smooth scaling */
    }

    /* Zoom effect on hover */
    #applications-container:hover {
        transform: scale(1.1); /* Zoom in the image */
    }

    #applications-icon {
        padding-bottom: 10px;
        font-size: 40px;
        width: 40px;

    }
    #applications-text {
        font-size: 15px;
    }

    /* HOME PAGE */

    #bottom-text {
        font-size: 22px;
    }

    /**************************/
    /* About Section */
    /**************************/

    .grid {
        row-gap: 4.8rem;
    }

    .grid--2-cols,
    .grid--3-cols,
    .grid--4-cols {
        grid-template-columns: 1fr;
    }

    .step-img-box:nth-child(2) {
        grid-row: 1;
    }

    .step-img-box:nth-child(6) {
        grid-row: 5;
    }

    .step-img-box {
        transform: translateY(2.4rem);
    }

    .step-description {
    font-size: 1rem;
    line-height: 1.8;
    }

    .heading-tertiary {
        font-size: 1.4rem;
    }

    .container {
    /* 1140px */
        padding-left: 1rem;
        padding-right: 0rem;
    }

    /**************************/
    /* About Section */
    /**************************/

    #partners-content {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-wrap: wrap; /* Allow team members to wrap to the next row */
    margin: 1%; /* Add spacing around each team member */
    }

    #partners-img {
        height: 26px;
        width: 130px;

    }

    /**************************/
    /* NEWS Section */
    /**************************/

    #news-title {
        font-size: 30px;
    }


    .slide-text{
        font-size: 20px;
    }
    }

    /****************************/
    /* Footer Section */
    /****************************/