@media (max-width: 1400px) {
    .download-section h3 {
        font-size: 1rem;
    }

    .download-icons img {
        height: 25px;
    }

    .payment-icons img {
        height: 40px;
        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;
    }

}

@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;
    }

    /* 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: 25px;
    }

    .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: 8px !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 50px;
}

.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;
}

}
