@media (min-width: 2000px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 88%;
    }

}

.mobile-image {
    display: none !important;
}

@media (max-width: 1400px) {

    .download-section h3 {
        font-size: 1rem;
    }

    .download-icons img {
        height: 25px;
    }

    .payment-icons img {
        height: auto;
        margin-right: 10px;
        margin-left: 10px;
    }

    .social-icons img {
        height: 25px;
        margin-left: 0px;
    }

    .tp-header-menu > nav > ul > li {
        margin: 0px 5px;
    }

    .tp-header-right {
        gap: 10px;
    }

    .carousel-caption.top-left h2 {
        /*text-align: left;*/
        font-weight: bold;
        font-size: 2.2rem;
    }

    .carousel-caption.top-left {
        max-width: 30%;
    }

    .carousel-caption.top-left p {
        font-size: 0.70rem;
        line-height: 1.2rem;
    }

    .carouselapp img {
        width: 120px !important;
    }

    .service-overlay {
        width: 65%;
    }

    .service-overlay h2 {
        font-size: 1.5rem;
    }

    .tp-header-menu > nav > ul > li {
        margin: 0px 5px;
    }

    .social-icons {
        gap: 5px;
    }

    .send-btn {
        background: linear-gradient(121deg, #F4AF34, #F5CC82, #B57E1C);
        color: white;
        border: none;
        padding: 5px;
        width: 35%;
        border-radius: 30px;
        cursor: pointer;
        font-size: 16px;
        transition: background 0.3s ease;
        text-transform: uppercase;
    }

    .tabs-list {
        margin-top: -10%;
    }

    .float-img-whats {
        right: 8%;
        bottom: 15%;
        max-width: 50px;
        position: fixed;
        z-index: 99999;
    }

    .float-img-chat {
        right: 3%;
        bottom: 15%;
        max-width: 50px;
        position: fixed;
        z-index: 99999;
    }
    .tp-header-menu > nav > ul > li {
        margin: 0px 5px;
    }
}

@media (min-width: 1280px) {
    .tab-btn {
        font-size: 14px;
    }

    .tp-header-menu > nav > ul > li > a {
        font-size: 12px;
        font-weight: bold;
        text-wrap: nowrap;
    }

}

@media (max-width: 1200px) {
    .show-mobile {
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    .tp-main-menu-content {
        display: inline;
    }

    .float-img-whats {
        position: absolute;
        right: 8%;
        bottom: 10%;
    }

    .float-img-chat {
        position: absolute;
        right: 3%;
        bottom: 10%;
    }
}

/* Media query for mobile devices */
@media (max-width: 968px) {

    .tabs {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin: 0 auto;
    }

    .tab-content {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        background-color: #444;
        padding: 20px 20px 20px 20px;
        border-radius: 0px 0px 10px 10px;
    }

    .tab-content-color {
        width: 100%;
    }

    .tab-btn {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        font-size: 8px;
    }

    .send-btn {
        margin-top: 15px;
        padding: 5px;
        width: 50%;
        font-size: 12px;
    }

    .container-icons .item p {
        font-size: 0.72rem;
    }

    .forex-item .currency {
        flex: 1;
    }

    .currency span {
        display: none;
    }

    .tabs-list {
        margin-top: 0%;
    }

    .tab-continer {
        margin: 0px 5px;
    }

    .item {
        flex: 1;
        display: flex;
        align-items: center;
        color: #333;
        margin: 0 10px;
        /* width: 60%; */
        max-width: 300px;
        flex-direction: column;
    }

    .item .item-img {
        width: 50%;
        text-align: center;
        margin-bottom: 10px;
    }

    .item .text {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .item .item-img .icon {
        width: 100%;
    }

    .item h2 {
        font-size: 2rem;
    }

    /* Rate */
    .rates-container {
        display: flex;
        background-color: #fff;
        border-radius: 0px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        flex-direction: column;
    }

    .rates-section {
        padding: 0px 0px;
    }

    .rates {
        padding: 40px 10px 40px 10px;
        width: 100%;
    }

    .forex-item div {
        font-size: 10px;
    }

    .gold-item div {
        font-size: 9px;
    }

    .forex-list .forex-item:first-child div {
        font-size: 12px;
    }

    .gold-list .gold-item:first-child div {
        font-size: 12px;
    }

    .gold-detail-column p {
        font-size: 10px;
    }

    .gold-header span:last-child {
        display: none;
    }

    /* Second Carousel */
    #SecondCarousel {
        padding: 0px 0px;
        min-height: 320px;
    }

    #SecondCarousel.homepage-slider {
        min-height: auto !important;
    }

    /* Mpa */
    #branches-list {
        padding: 0px 10px;
        top: 0%;
        left: 0%;
        width: 100%;
    }

    .fullmap-container {
        margin: 0px 0px;
    }

    .fullmap-container #map {
        display: none;
    }

    .fullmap-container {
        background-color: #D5D5D5;
    }

    .fullmap-container #map-container {
        background-color: #D5D5D5;
        border-radius: 0px;
        min-height: 600px;
    }

    .fullmap-container h1 {
        padding-bottom: 20px;
        padding-top: 20px;
        font-size: 2rem;
    }

    .footer-content {
        max-width: 1480px;
        margin: 0 auto;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        align-items: normal;
    }

    .thefooter-content {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    .download-section {
        display: flex;
        flex-direction: column;
    }

    .payment-social-section {
        display: flex;
        margin-left: initial;
        flex-direction: column;
    }

    .download-icons {
        margin-left: 0px;
    }

    .download-section h3 {
        margin-bottom: 10px;
    }

    .download-icons img {
        height: 35px;
    }

    .download-section {
        padding-bottom: 40px;
        border-bottom: 1px solid rgb(0 0 0 / 10%);
    }

    .payment-icons {
        margin: 50px 0px;
    }

    .social-icons {
        margin-left: 0px;
        gap: 10px;
    }

    .social-icons img {
        height: 40px;
    }

    .payment-icons img {
        margin-right: 20px;
        margin-left: 20px;
    }

    .payment-icons img:first-child {
        height: 60px;
        width: 100%;
        margin-right: 0px;
        margin-left: 10px;
        margin-top: 0px !important;
    }

    .footer-container {
        border-bottom: none;
    }

    .float-sm {
        display: none;
    }

    #branches-list ul {
        margin-top: -10px;
    }

    .bottom-arrow {
        margin-top: -25px;
    }

    /*  */
    .highlights-container {
        padding: 0px;
    }

    .owl-carousel .highlights-box {
        transform: scale(0.85); /* Make non-centered items smaller */
        opacity: 0.7; /* Slightly transparent to emphasize the centered item */
        transition: transform 0.3s, opacity 0.3s; /* Smooth transition */
    }

    .owl-carousel .owl-item.active .highlights-box {
        transform: scale(1); /* Centered item is normal size */
        opacity: 1; /* Full opacity for the centered item */
    }

    .owl-carousel .service-box {
        transform: scale(0.85); /* Make non-centered items smaller */
        opacity: 0.7; /* Slightly transparent to emphasize the centered item */
        transition: transform 0.3s, opacity 0.3s; /* Smooth transition */
    }

    .owl-carousel .owl-item.active .service-box {
        transform: scale(1); /* Centered item is normal size */
        opacity: 1; /* Full opacity for the centered item */
    }

    /* Style the dots container */
    .owl-dots {
        text-align: center; /* Center align dots */
        padding: 10px 0; /* Add some padding for better spacing */
    }

    /* Style each dot */
    .owl-dot {
        display: inline-block;
        width: 7px; /* Size of the dot */
        height: 7px; /* Size of the dot */
        margin: 0 5px; /* Space between dots */
        background: #ddd; /* Color of the dot */
        border-radius: 50%; /* Makes the dot circular */
        cursor: pointer; /* Changes cursor to pointer on hover */
    }

    /* Style the active dot */
    .owl-dot.active {
        background: #333; /* Color of the active dot */
    }

    .show-mobile {
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    .tp-main-menu-content {
        display: block;
    }

    .branch-active .branch-details {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        gap: 10px;
    }

    .carousel-caption.top-left {
        position: absolute;
        top: 10%;
        left: 2%;
        padding: 15px;
        border-radius: 8px;
        max-width: 35%;
        text-align: left;
    }

    .carousel-caption.top-left h2 {
        font-size: 1.1rem;
        margin-bottom: 0px;
    }

    .carouselapp {
        margin-top: 10px;
    }

    .responsive-heading {
        flex-direction: column; /* Stack the lines vertically on mobile */
        gap: 0px;
    }

    .responsive-heading .line1,
    .responsive-heading .line2 {
        display: block;
    }

    .responsive-heading .line1 {
        font-size: 1.2em; /* Adjust size for mobile */
    }

    .responsive-heading .line2 {
        font-size: 1.2em; /* Adjust size for mobile */
    }

    /*  */
    .flag-icon {
        width: 20px;
        height: 20px;
        margin: 0px 10px;
    }

    .option img {
        width: 20px;
        height: 20px;
    }

    .tab-content input {
        height: 40px;
    }

    .swap-icon img {
        width: 50%;
    }

    #send-amount-qatar, #receive-amount-usd {
        font-size: 8px !important;
        padding-left: 60px;
        -webkit-text-size-adjust: none; /* For iOS and Safari */
        -moz-text-size-adjust: none; /* For Firefox */
        text-size-adjust: none;
        font-size: 16px !important; /* Force font size change */
    }

    input[type="number"] {
        font-size: 8px !important; /* Set your desired font size */
        -webkit-text-size-adjust: none; /* For iOS and Safari */
        -moz-text-size-adjust: none; /* For Firefox */
        text-size-adjust: none;
        font-size: 8px !important; /* Force font size change */
    }

    #send-amount-qatar::placeholder, #receive-amount-usd::placeholder {
        font-size: 8px !important;
    }

    .mb-50 {
        margin-bottom: 15px;
    }

    .tp-footer-2-widget-menu ul li a {
        font-size: 12px;
    }

    .footer-rights {
        font-size: 10px;
        color: #000;
    }

    .buy-btn {
        background: linear-gradient(180deg, #C7A260, #7F5C1B);
        color: #000;
        border: none;
        padding: 0px 15px;
        cursor: pointer;
        border-radius: 25px;
        margin-top: 10px;
        font-weight: bold;
    }

    .gold-item.active .gold-header {
        border-bottom: 1px solid rgb(0 0 0 / 10%);
    }

    .gold-item.active {
        padding: 0px;
    }

    .tp-header-bar img {
        margin-right: 10px;
    }

    #header-sticky.header-sticky {
        position: relative !important;
    }

    .row {
        --bs-gutter-x: 0; /* Remove horizontal gutter */
    }

    .forex-list .forex-item:first-child .currency {
        padding-left: 0px;
    }

    /*  */
    .banner-carousel {
        position: relative; /* Ensures the dots can be positioned relative to the carousel */
    }

    .banner-carousel .owl-dots {
        display: block; /* Ensure the dots container is displayed */
        position: absolute; /* Position dots absolutely within the carousel */
        bottom: 0px; /* Adjust the distance from the bottom of the carousel */
        left: 50%; /* Center the dots horizontally */
        transform: translateX(-50%); /* Center align using transform */
        z-index: 2; /* Make sure dots are above other elements */
        text-align: center; /* Center the dots */
    }

    .banner-carousel .owl-dot {
        display: inline-block; /* Dots are inline elements */
        width: 5px; /* Size of each dot */
        height: 5px; /* Size of each dot */
        margin: 5px; /* Space between dots */
        background-color: transparent; /* Dot background color */
        border: 2px solid #ddd; /* Border color for non-active dots */
        border-radius: 50%; /* Rounded dots */
        cursor: pointer; /* Pointer cursor on hover */
    }

    .banner-carousel .owl-dot {
        background-color: #333; /* Active dot color */
        border: 1px solid #fff !important; /* Border color for active dot */
    }

    /* Hover effect */
    .banner-carousel .owl-dot:hover {
        background-color: #555; /* Dot hover effect */
    }

    .banner-carousel .owl-dot.active {
        color: #fff !important;
        background-color: #fff !important;
        border: 2px solid #fff !important; /* Border color for non-active dots */
    }

    .swap-icon {
        margin-top: 20px;
    }

    .tp-copyright-2-bdr-top {
        padding: 0 0;
    }

    .tp-footer-2-widget-menu ul li {
        line-height: 20px;
    }

    .forex-list {
        max-height: 400px;
    }

    .forbes {
        width: 45px;
    }

    .tp-main-menu-mobile nav ul:first-child {
        display: block !important;
    }

    .gold-container {
        padding: 10px 10px;
    }

    .secure-image {
        top: 10px;
        right: 10px;
    }

    .inner-btn-gold {
        padding: 10px 10px;
    }

    .goldBar-page .gold-list {
        padding: 0px;
    }

    .accordion-container {
        margin-top: 10px;
    }

    .accordion-container h2 {
        font-size: 1.3rem;
    }

    .accordion-header {
        padding: 10px;
        font-size: 0.8rem;
    }

    .accordion-content {
        padding: 10px 0px 10px 20px;
    }

    .gold-container-text p {
        color: #000;
        font-size: 0.8rem;
    }

    /* Conatct Page */
    .contact-info-container {
        flex-direction: column;
        text-align: center;
    }

    .info-box {
        width: 100%;
        margin-bottom: 15px;
    }

    .icon {
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .details {
        flex-basis: 100%;
    }

    .details h3 {
        margin-top: 0;
    }

    /* contact  */
    .contact-form-container {
        border-radius: 0px;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-form-container {
        padding: 20px;
    }

    .contact-form-container form {
        padding: 0px;
    }

    .info-box:not(:last-child) {
        border-right: unset;
    }

    .info-box {
        display: flex;
        align-items: center;
        padding: 10px;
        flex-direction: column;
        margin-bottom: 0px;
    }

}

@media (max-width: 768px) {
    #branches-list {
        position: relative;
    }
    .tracking-container{
        min-width: 300px!important;
    }
    #SecondCarousel.homepage-main-arabic{
        min-height: auto !important;
    }
    .carousel-caption p {
        line-height: 1rem !important;
    }

    .top-left span.sub-title {
        line-height: 1rem !important;
        float: inline-end;
    }

    .mobile-image {
        display: block;
    }

    .container-icons .info {
        display: block;
    }

    .responsive-heading {
        font-size: 18px;
    }

    .tp-main-menu-mobile nav ul li.has-dropdown > a .dropdown-toggle-btn {
        text-align: right;
    }

    .tp-main-menu-mobile nav ul li.has-dropdown > a .dropdown-toggle-btn {
        width: 100%;
    }

    .image-text-section .text-container p {
        color: #211F20 !important;
        padding: 15px 20px;
        text-align: center;
    }

    .carousel-caption.top-left {
        max-width: 60%;
        padding: 10px;
        left: 5px;
    }

    .owl-item .v_align_center.carousel-caption {
        top: 40% !important;
    }
    .branch-details {
        display: none;
        padding: 8px 15px;
    }
    #branches-list {
        margin: 0 auto;
        width: 88%;
    }
    .fullmap-container h1 {
        padding-bottom: 15px;
        padding-top: 15px;
        font-size: 2rem;
    }
    .branch-active .branch-details{
        gap: 2px;
    }
    .tp-offcanvas-logo img {
        width: 80%;
        height: auto;
    }

    .gold-detail-column a {
        display: none;
    }

    .tp-header-logo img {
        padding: 8px;
        max-width: 150px;
    }

    .container-icons .info .item {
        width: 100%;
        margin: 0 auto;

    }

    .container-icons .info .item .item-img .icon {
        width: 50%;
        margin: 0 auto;
        margin-top: 20px;
    }

    .desktop-image {
        display: none !important; /* Hide desktop images on mobile */
    }

    .mobile-image {
        display: block !important; /* Show mobile images on mobile */
        width: 100%; /* Adjust this value for desired size */
        height: auto; /* Maintain aspect ratio */
    }

    .history-image, .history-image img {
        max-width: 98% !important;
        width: 100% !important;
        margin-right: 10px !important;
    }

    .history-text {
        width: 100% !important;
        display: block;
    }

    .info-box:not(:last-child) {
        border-left: 0px solid #ddd !important;
        border-right: 0px solid #ddd;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .gold-container {
        width: 90%;
    }

    .gold-container img {
        max-width: 180px;
        margin: 2px 10px;
    }

    .highlights-box {
        margin-bottom: 15px;
    }

    .accordion {
        border-radius: 25px;
        background-color: transparent;
    }

    .message-section .text-content-2 h5 {
        font-size: 14px;
        line-height: 1.2;
    }

    .inner-btn-gold {
        width: 200px;
    }

    .gold-container h3 {
        font-size: 0.95rem;
        font-weight: bold;
        line-height: 1.35;
    }

    .services-container h1 {
        margin-bottom: 50px;
        font-size: 2.2rem;
    }

    .online-money-transfer .img-btn-top {
        min-height: 97px;
        margin-top: 20px;
    }

    .alfardan-group .gold-container {
        width: 90%;
    }

    .why-qatar .gold-container {
        width: 90%;
    }

    .text-content-2 p {
        font-size: 13px;
        line-height: 1.2;
    }

    .text-content-2 h2 {
        font-size: 18px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .history-section {
        padding: 15px;
        display: block;
    }

    .history-image {
        width: 90%;
        margin: 0 auto;
        margin-left: 5px;
    }

    .service-box {
        flex: 1 1 calc(99% - 20px);
    }

    .gold-container {
        padding: 40px 10px !important;
    }

    .highlights-overlay {

        left: 0%;
    }

    .blog__area .gutter-24 {
        max-width: 340px;
        margin: 0 auto;
        position: relative;
    }

    .blog-post-wrap .highlights-box h2 {
        width: 90%;
    }

    .blog__area .container {
        width: 90%;
        max-width: 90%;
    }

    .fullmap-container #map {
        display: block;
    }

    .blog-post-wrap .highlights-overlay h2 a {
        font-size: 20px !important;
        line-height: 22px !important;
    }

    .highlights-overlay {
        width: 100%;
    }

    #page-24 .page-header {

        background-position: right !important;
    }

    .online-money-transfer {
        margin: 0 auto;
        display: block;
        margin: 25px auto;
    }

    .text-content-info {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        height: 100%;
        padding: 8vw 2vh;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-rights {
        font-size: 10px;
        color: #000;
        text-align: center;
    }

    .bottom-footer ul {
        text-align: left;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    .bottom-footer ul li::after {
        right: 8px;
        left: auto;
        opacity: 0;
    }
    .bottom-footer ul li{
        display: block;
        float: left;
        width: 100%;
        text-align: left;


    }
    .alfardan-group .text-container {
        width: 94%;
        padding: 25px;
    }

    .alfardan-group p {
        font-size: 15px;
    }

    .alfardan-group p.font-thin {
        font-weight: normal;
        font-size: 13px;
    }

    .tabs-list {
        margin-top: 0px;
        position: relative;
    }

    .image-text-section {
        flex-direction: column;
    }

    .why-qatar .text-container {
        width: 90%;
        margin-top: 30px;

    }

    .image-container, .text-container {
        width: 100%;
    }

    .text-container::before {
        display: none;
    }

    .new-list .card {

        flex-direction: column;

    }

    .new-list .card img {
        width: 100%;
    }

    .new-list .card-content {
        width: 100%;
    }

    .news-page .highlights-overlay {
        width: 85%;
    }

    .vision-page .text-content-info p {
        width: 96%;
    }
}
