/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    header {
        .navbar-brand {
            :is(img) {
                height: 25px;
            }
        }

        .navbar-toggler-icon {
            width: 20px;
        }
    }

    #hero {
        .hero-main {
            min-height: 75vh;
            padding: 15px 5%;
        }

        .hero-content {
            :is(h1) {
                text-align: center;
                margin-bottom: 20px;
            }
        }

        .hero-content {
            :is(p) {
                margin-bottom: 20px;
            }
        }
    }

    #engagement {
        .timeline-item::after {
            content: "";
            border: 1px solid #6c4acb;
            position: absolute;
            height: calc(100% - 40px);
            top: 35px;
            left: -29px;
            z-index: 0;
        }
    }

    .loader {
        height: 100px;
    }

    #testimonial {
        min-height: 65vh;

        .ball-container {
            margin-top: 5pc;
            align-items: start;
        }

        .ball {
            width: 100px;
            height: 100px;
        }

        .testimonial-bg {
            top: auto;
            bottom: 0px;
            transform: translateY(0%);
        }

        .cust-reviews {
            padding: 20px;
            border-radius: 10px;
        }
    }

    footer {
        padding: 40px 0% 40px 3%;
    }

    #brands{
        padding: 10px 0px 10px;
    }

    .cust-drag-container {
        height: 250px;
        position: relative;

        .drag-main {
            height: 50%;
        }

        .rectangle {
            padding: 10px;
            border-radius: 10px;
            .content-p p {
                font-size:0.6rem;
                line-height: 1.1;
            }

            .numeric {
                font-size:1rem;
            }

            .rec-icon {
                :is(img) {
                    height: 20px;
                }
            }
        }

        #rect-1 {
            top: 0px;
            left: 0pc;
        }

        #rect-2 {
            bottom: 0pc;
            right: 0pc;
        }
    }
    .tech-partners {
        :is(img) {
            height: 30px;
        }
    }
    .brand-containers {
        height: 80px;
        width: 270px;
        
        :is(img) {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain; /* maintains aspect ratio, fits inside */
        }
    }
    #offering-mobile-view{
        display: block;
    }
    .info-container {
        padding: 20px 5%;
    }
    .info-content-box{
        height: 350px;
        border-radius: 40px;
        background-color: #F7F1FF;
        padding: 45px;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    #media-coverage{
        .media-coverage-content{
            min-height: 300px;
        }
    }
    .card-1{
        min-height: 300px;
    }
    .partner-card{
        min-height: 250px;
    }
    #contact-main{
        .contact-form-container {
            position: relative;
            :is(form){
                border-radius: 15px;
                background-color: #7760a3;
                :is(label){
                    padding-left: 10px;
                    margin-bottom: 7px;
                    color: #fff;
                    font-weight: 500;
                }
                :is(input,select){
                    height: 40px;
                    padding: 8px 14px;
                    border-radius: 7px;
                }
            }
        }
    }

    #product-hero-section {
    .product-main-container {
        min-height: 80vh;
    }}

    .mega-menu{
        display: none;
    }

    .dropdown-menu.show{
        display: block !important;
    }
}

/* Small Devices (≥576px) */
@media (min-width: 576px) {
    /* styles for sm */
    .timeline {
        gap: 30px;
    }
    #offering{
        .offer-container{
            width: 83%;
        }
    }
}

/* Medium Devices (≥768px) */
@media (min-width: 768px) {
    .hero-content {
        :is(h1) {
            font-size: 2.5rem;
        }
    }
}

/* Large Devices (≥992px) */
@media (min-width: 992px) {
    /* styles for lg */
    .card-2{
        min-height: 640px;
    }
    /* .custom-card{
        min-height: 45vh;
    } */
}

/* Extra Large Devices (≥1200px) */
@media (min-width: 1200px) {
    /* styles for xl */
    .card-2{
        min-height: 460px;
    }
    /* .custom-card{
        min-height: 75vh;
    } */
}

/* Extra Extra Large Devices (≥1600px) */
@media (min-width: 1600px) {
    .card-2{
        min-height: 490px;
    }
    /* .custom-card{
        min-height: 75vh;
    } */
}