@media screen and (max-width: 1399px) and (min-width: 769px) { /* Tablets and small screens */
    :root {
        --page-size: min(1vw, 20px); /* Widescreen */
    }
    .page-main-container {
        padding: 3rem;
    }
    .page-container {
        width: 100vw;
        max-width: calc(var(--page-size) * 100);
    }

    .banner-navbar {
        padding: 0;
    }

    .banner-top {
        /* height: 5rem; */
        padding: 5rem 4.5rem;
    }

    .navbar-pagination li {
        font-size: 1.7rem;
    }

    .social-sidebar {
        top: 24rem;
        left: 4.5rem;
    }
    .social-sidebar ul {
        gap: 2.9rem;
    }
    .social-sidebar img {
        width: 3rem;
    }

    section:first-of-type {
        margin-top: -38rem;
    }

    .hero-icons {
        margin-top: 6.5rem;
        margin-bottom: 5.5rem;
    }

    .hero-content h1 {
        font-size: 17.2rem;
    }

    .hero-content h1 span {
        font-size: 16rem;
    }

    .hero-icon {
        width: 12rem;
        gap: 3rem;
    }

    .hero-icon span {
        font-size: 1.7rem;
    }

    .icon-circle {
        width: 8rem;
    }

    .hero-button span {
        font-size: 2.5rem;
    }

    .button-icon {
        width: 2.5rem;
    }

    .section-hero {
        margin-bottom: 20rem;
    }

    .section-intro {
        padding-top: 5rem;
        margin-top: 15rem;
        /* background-size: cover; */
        /* background-position: top 100% right 100%; */
    }

    .section-intro .section-title {
        font-size: 7rem;
    }

    .video-thumbnail {
        /* aspect-ratio: 8/5; */
        max-width: none;
        /* width: 65rem; */
        aspect-ratio: 16/9;
        width: 90vw;
        /* height: 90vh; */
    }

    .about-camel-agency-glow {
        bottom: -6rem;
    }

    .section-about-camel-agency {
        padding-top: 15rem; /* Scrolling respects padding but ignores margins */
        margin-top: -10rem;
        margin-bottom: 25rem;
    }

    .about-camel-agency-description {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
        height: auto;
        width: 60%;
        max-width: none;
    }

    .about-camel-agency-description-text {
        gap: 2rem;
    }

    .about-camel-agency-description h2 {
        width: auto;
    }

    .about-camel-agency-description p {
        font-size: 2.2rem;
    }

    .about-camel-agency-description p strong {
        font-size: 2.4rem;
    }

    .section-our-services {
        padding: 11.5rem 4rem;
        padding-bottom: 1rem;
        gap: 6rem;
    }

    .services-main-container {
        position: relative;
    }

    .services-cards {
        flex-wrap: wrap;
        gap: 2rem 2rem;
    }

    .service-card {
        width: 16rem;
    }

    .service-card .service-desc {
        font-size: 1.6rem;
    }

    .services-hoof-grid {
        position: absolute;
        top: 55rem;
        left: 7.6rem;
    }
    .services-hoof-grid.grid-right {
        position: absolute;
        top: 16rem;
        left: auto;
        right: 17rem;
    }

    .hoof-floater {
        bottom: 5rem;
        top: auto;
    }

    .section-projects {
        padding: 10rem 0;
        margin: 10rem 0;
    }

    .section-clients {
        margin: 5rem 0;
        margin-top: 20rem;
    }

    .section-clients-holder {
        padding: 0;
        margin: 0;
        gap: 2rem;
    }

    .clients-container {
        width: 75%;
        /* height: 30rem; */
    }

    .colab-header {
        margin-bottom: 2rem;
        font-size: 11rem;
    }

    .contact-button {
        height: 5rem;
    }

    .form-input {
        font-size: 1.5rem;
    }
    
    .form-group label {
        font-size: 1.5rem;
    }

    .services-popup .custom-modal-content {
        width: 35vw;
    }

    .services-popup h1 {
        font-size: 1.7vw;
    }

    .services-popup p {
        font-size: 1.3rem;
        line-height: 1.6rem;
    }

    .services-popup .popup-contact {
        font-size: 1.5rem;
    }

    /* Instagram Display */
    #instagram-feed .instagram-bg {
        top: -2%;
        left: 15%;
    }
}

