/* ==== MEDIA QUARY ==== */
@media (max-width: 767.98px) {
    .top-nav {
        display: none;
    }

    .lang-only {
        display: flex;
        justify-content: flex-end;
        background: #004f9f;
        padding: 0.5rem;
    }

    .margin-bottom-space {
        margin: 10% 1%;
    }

    .heading-section {
        height: 20vh;
    }

    .heading-section h4 {
        padding-top: 1.2rem;
    }

    /* hero section */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .carousel-caption p {
        font-size: 16px !important;
        padding: 10px 0;
    }

    /* about section */
    .about-us-section {
        background-color: var(--white-color);
    }

    .dots-background {
        background-image: radial-gradient(
            rgb(186, 186, 186) 1px,
            transparent 3px
        );
        background-size: 25px 25px;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem 0;
    }

    .circle-image {
        width: 200px;
        height: 200px;
        position: relative;
        left: 0;
    }

    .circle-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 6px solid var(--white-color);
        border-radius: 50%;
    }

    .about-card {
        background-color: var(--main-color);
        margin: 0;
        width: auto;
        height: auto;
        color: var(--white-color);
        padding: 2rem 1rem;
        text-align: center;
    }

    .about-details {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .about-details h5 {
        font-size: 1.25rem;
    }

    .about-details p {
        font-size: 0.95rem;
    }

    .btn-custom-welcome {
        display: inline-block;
        padding: 0.5rem 1rem;
        background-color: var(--secondary-color);
        color: var(--white-color);
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
    }

    .arrow {
        margin-left: 5px;
    }

    /* pop up  */
    .popup-content {
        padding: 30px 20px;
        width: 95%;
        max-width: 95%;
        min-height: auto;
    }

    .popup-content h2 {
        font-size: 24px;
        text-align: center !important;
    }

    .popup-content p {
        font-size: 16px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 18px;
        line-height: 32px;
    }
}

/* Medium devices (tablets, ≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .top-nav {
        display: none;
    }

    .lang-only {
        display: flex;
        justify-content: flex-end;
        background: #004f9f;
        padding: 0.5rem;
    }

    /* pop up  */
    .popup-content {
        padding: 30px 20px;
        width: 95%;
        max-width: 95%;
        min-height: auto;
    }

    .popup-content h2 {
        font-size: 24px;
        text-align: center !important;
    }

    .popup-content p {
        font-size: 16px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 18px;
        line-height: 32px;
    }

    /* about section */
    .about-us-section {
        background-color: var(--white-color);
    }

    .dots-background {
        background-image: radial-gradient(
            rgb(186, 186, 186) 1px,
            transparent 3px
        );
        background-size: 25px 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem 0;
    }

    .circle-image {
        width: 180px;
        height: 180px;
        position: relative;
        left: 0;
    }

    .circle-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 6px solid var(--white-color);
        border-radius: 50%;
    }

    .about-card {
        background-color: var(--main-color);
        color: var(--white-color);
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .about-details h5 {
        font-size: 1.25rem;
    }

    .about-details p {
        font-size: 1rem;
    }

    .btn-custom-welcome {
        display: inline-block;
        padding: 0.5rem 1rem;
        background-color: var(--secondary-color);
        color: var(--white-color);
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
    }

    .arrow {
        margin-left: 5px;
    }

    /* product section */
    .single-product-card img {
        height: 200px;
        object-fit: cover;
        width: 100%;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.95rem;
    }

    .btn {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
    }

    /* whats new */
    .card-news .card-img-top {
        height: 250px;
        object-fit: cover;
    }

    .card-news .card-title {
        font-size: 1.1rem;
    }

    .card-news .card-text {
        font-size: 0.95rem;
    }

    .cool-link-arrow {
        font-size: 0.9rem;
    }

    /* footer */
    .footer .row > .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer .row > .col-md-3:nth-child(1),
    .footer .row > .col-md-3:nth-child(2) {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .ticker-container {
        max-width: 22% !important;
    }

    .lang-only {
        display: none;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .ticker-container {
        max-width: 32% !important;
    }

    .lang-only {
        display: none;
    }
}

@media (min-width: 1400px) {
    .lang-only {
        display: none;
    }
}
