/********** Template CSS **********/
:root {
    --primary: #ff6f0f;
    --secondary: #fff0e6;
    --light: #f8f8f9;
    --dark: #001d23;
    --black: #000000;
}
body {
    overflow-x: hidden;
}
/* Language change */
.flag-custom-lang {
    width: 20px;
    height: 20px;
}
.flag-ul {
    width: 20px !important;
}
.drop-margin {
    margin-top: -30px;
}

.it {
    display: none;
}

.fr {
    display: none;
}

.zh {
    display: none;
}

html[lang="en"] .en {
    display: initial;
}
html[lang="en"] *:has(> .en) > .it {
    display: none;
}
html[lang="en"] *:has(> .en) > .zh {
    display: none;
}
html[lang="en"] *:has(> .en) > .fr {
    display: none;
}

html[lang="it"] .it {
    display: initial;
}
html[lang="it"] *:has(> .it) > .en {
    display: none;
}

html[lang="it"] *:has(> .it) > .zh {
    display: none;
}
html[lang="it"] *:has(> .it) > .fr {
    display: none;
}

html[lang="zh"] .zh {
    display: initial;
}

html[lang="fr"] .fr {
    display: initial;
}

html[lang="zh"] *:has(> .zh) > .it {
    display: none;
}
html[lang="zh"] *:has(> .zh) > .en {
    display: none;
}
html[lang="zh"] *:has(> .zh) > .fr {
    display: none;
}

html[lang="fr"] *:has(> .fr) > .it {
    display: none;
}
html[lang="fr"] *:has(> .fr) > .en {
    display: none;
}
html[lang="fr"] *:has(> .fr) > .zh {
    display: none;
}

/* Language change end */

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #ffffff;
}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.btn-square {
    width: 38px;
    height: 38px;
}
.homeText {
    font-size: 22px !important;
}
.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 70px;
    height: 70px;
    font-size: 30px;
}

.biwhats {
    font-size: 30px !important;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar-brand {
    width: 50%;
    max-width: 20rem;
}

#hamburgerToggler {
    position: absolute;
    right: 3%;
}

.navbar-toggler.hide {
    display: none;
}

.close-menu-btn {
    z-index: 1050;
}

.close-menu-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    padding: 10px 0;
    text-align: center;
    z-index: 1050; /* Ensure it's above the backdrop */
}

.close-menu-btn span {
    color: #fff;
    font-size: 24px;
}

.slide-inner {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.fixed-top {
    transition: 0.5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-collapse .navbar-nav {
    gap: 2rem;
    white-space: nowrap;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 0;
    color: #ffffff;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* Language Toggler */
.language-toggler {
    align-self: center;
    width: 2rem;
    aspect-ratio: 1;
    border-radius: 50%;
    cursor: pointer;
    transition-duration: 0.3s;
}

.language-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-menu {
    top: 0;
    right: 0;
    opacity: 0;
    z-index: 10;
    cursor: pointer;
    height: 100%;
}

/* Language Toggler end */

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-brand {
        width: 50%;
        max-width: 16rem;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Header ***/
.swiper-container {
    height: 60vh;
}

.slide-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.slide-inner .header-text {
    z-index: 5;
}

/* Swiper Buttons */
[class*="swiper-button"] {
    display: none;
}

@media screen and (min-width: 768px) {
    [class*="swiper-button"] {
        display: unset;
    }
}
/* Swiper Buttons end */

/* Carousel Images */
.swiper-slide .slide-inner {
    background-position: center;
    background-repeat: no-repeat;
}

.swiper-slide.dubai .slide-inner {
    background-image: url("../img/carousel/mobile/Burj-Al-Arab-luxury-hotel-Dubai.png") !important;
}

.swiper-slide.colosseum .slide-inner {
    background-image: url("../img/carousel/mobile/Dubai3-mobile.png") !important;
    background-position: center;
}

.swiper-slide.china .slide-inner {
    background-image: url("../img/carousel/mobile/china.png") !important;
    background-position: 31% center;
}

.swiper-slide.uk .slide-inner {
    background-image: url("../img/carousel/mobile/uk_bridge.png") !important;
}

.swiper-slide.paris .slide-inner {
    background-image: url("../img/carousel/mobile/paris.png") !important;
    background-position: 83% center;
}

@media screen and (min-width: 768px) {
    .swiper-slide.dubai .slide-inner {
        background-image: url("../img/carousel/tablet/Burj-Al-Arab-luxury-hotel-Dubai.png") !important;
    }

    .swiper-slide.colosseum .slide-inner {
        background-image: url("../img/carousel/tablet/Dubai-3-tablet.png") !important;
    }

    .swiper-slide.china .slide-inner {
        background-image: url("../img/carousel/tablet/china.png") !important;
        background-position: 24% center;
    }

    .swiper-slide.uk .slide-inner {
        background-image: url("../img/carousel/mobile/uk_bridge.png") !important;
        background-position: 47% center;
    }

    .swiper-slide.paris .slide-inner {
        background-image: url("../img/carousel/tablet/paris.png") !important;
        background-position: 97% center;
    }
}

@media screen and (min-width: 1024px) {
    .swiper-container {
        height: 100vh;
    }

    .swiper-slide.dubai .slide-inner {
        background-image: url("../img/carousel/desktop/Burj-Al-Arab-luxury-hotel-Dubai.png") !important;
    }

    .swiper-slide.colosseum .slide-inner {
        background-image: url("../img/carousel/desktop/Dubai3-Dekstop.png") !important;
    }

    .swiper-slide.china .slide-inner {
        background-image: url("../img/carousel/desktop/new-china.png") !important;
        background-position: 10% center;
    }

    .swiper-slide.uk .slide-inner {
        background-image: url("../img/carousel/desktop/uk_bridge.png") !important;
    }

    .swiper-slide.paris .slide-inner {
        background-image: url("../img/carousel/desktop/paris.png") !important;
        background-size: 144%;
        background-position: right center;
    }
}
/* Carousel Images end */

/* Carousel Text */
.slide-inner .header-text {
    top: 50%;
    left: 50%;
    transform: translate(-62%, -50%);
    text-align: center;
    gap: 1rem;
}

.slide-inner .header-text h2 {
    font-size: 1.5rem;
    line-height: 1.2;
}

.slide-inner .header-text p {
    font-size: 0.8rem;
}

@media screen and (min-width: 768px) {
    .slide-inner .header-text {
        transform: translate(-50%, -50%);
    }

    .slide-inner .header-text h2 {
        font-size: 2.5rem;
        line-height: 1;
    }

    .slide-inner .header-text p {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1024px) {
    .slide-inner .header-text h2 {
        font-size: 3.5rem;
        line-height: 1;
    }
}
/* Carousel Text end */

/* Carousel Pagination */
.swiper-pagination {
    bottom: 1rem;
    z-index: 50;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}

.swiper-pagination-bullet {
    background-color: white;
    opacity: 0.3;
    transition: all 0.2s ease-in-out;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-pagination-bullet-active + .swiper-pagination-bullet,
.swiper-pagination-bullet:has(+ .swiper-pagination-bullet-active) {
    opacity: 0.5;
}
/* Carousel Pagination end */

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 29, 35, 0.8);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 14rem;
    padding-bottom: 8rem;
    background: linear-gradient(rgba(0, 29, 35, 0.8), rgba(0, 29, 35, 0.8)),
        url(../img/images/hero-bg.png) center center no-repeat;
    background-size: cover;
}

.page-header-interpreting {
    padding-top: 20rem !important;
    padding-bottom: 13rem !important;
    background-size: contain !important;
}
.page-header-equipments {
    padding-top: 14rem !important;
    padding-bottom: 14rem !important;
}
@media (max-width: 767px) {
    .page-header {
        padding-top: 0;
    }
    .page-header-interpreting {
        padding-top: 0 !important;
        padding-bottom: 9rem !important;
    }
    .page-header-equipments {
        padding-top: 0 !important;
        padding-bottom: 14rem !important;
    }
}



.page-header .breadcrumb-item + .breadcrumb-item::before,
.interpreter-header .breadcrumb-item + .breadcrumb-item::before {
    color: #999999;
}

/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #ffffff;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0;
    transition: 0.5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}

/* Hero Section */
.hero {
    background-image: url("../img/images/expo.jpg");
    position: relative;
}

.hero-about {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("../img/images/expo.jpg");
    position: relative;
    background-position-y: -60px;
}

.hero-testimonial {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("../img/images/testimonial.jpeg");
    position: relative;
    background-position: center;
    background-size: cover;
}

.hero-contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("../img/images/contact-us.jpg");
    position: relative;
    background-position: center;
}

.hero-language {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("../img/images/teaching-bg.jpg");
    position: relative;
    background-position: 0rem;
    background-position-y: -4rem;
}

@media only screen and (max-width: 1024px) {
    .hero-language {
        background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
            url("../img/images/teaching-bg.jpg");

        position: relative;
        background-position: center;
        background-position-y: 0;
        background-size: cover;

    }
}

/* .hero-translation {
  background-image: url("../img/images/translation-bg.jpg") rgba(255, 0, 0, 0.5);
  position: relative;
  background-position: center;
} */

.hero-translation {
    background: 
    /* Background gradient */ linear-gradient(
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.3)
        ),
        /* Background image */ url("../img/images/translation-bg.jpg") center
            center / cover no-repeat;
    position: relative;
    background-position: 10px -111px;
}

.hero-sworn{
    background-image: url(../img/sworn-banner.png);
    background-size: cover;
    background-position: center 30%;
}
.hero-equipments{
    background-image: url(../img/equipment-banner.jpg);
    background-size: cover;
    background-position: center 80%;
}

.hero-about {
    background: 
    /* Background gradient */ linear-gradient(
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.3)
        ),
        /* Background image */ url("../img/aboutus_banner.webp") center center /
            cover no-repeat;
}
.interpreting-hero {
    background-image: url(../img/interpreting_banner.jpeg) !important;
    background-size: cover;
    background-position: left 0%;
    background-repeat: no-repeat;
}
.gallery-hero {
    background-image: url(../img/gallery_banner.jpeg);
    background-size: cover;
    background-position: left 18%;
}

.hero.translation {
    background-image: url("../img/images/cop_27.jpg");
    background-size: 150%;
    background-position: left 55%;
    filter: brightness(1.3);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero > * {
    position: relative;
    z-index: 2;
}
/* Hero Section end */

/*** Service ***/
.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 1px 16px -5px #00000073;
}
.service-item > h5 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.translation-info-wrapper {
    height: 500px;
}
.divider {
    background: rgba(167, 166, 166, 0.795);
    height: 1px;
}

/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, 0.8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked + label {
    color: var(--primary);
    border-color: var(--primary);
}

/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: 0.5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: 0.5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: 0.5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #ffffff;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #ffffff;
    background: var(--primary);
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(0.8);
    transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/* Contact me */
.contact-me {
    background-image: url("../img/contact_form.jpeg") !important;
    position: relative !important;
    background-position: 0rem;
    background-position-y: -4rem;
    background-repeat: no-repeat;
    scale: inherit;
}

.contact-me::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.contact-me > div {
    z-index: 2;
}
/* Contact me end */

/*** Footer ***/
.footer li {
    list-style-type: none;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--secondary);
}

.text-black {
    color: black !important;
}

.gallery_bio_font {
    font-size: 20px;
    color: black !important;
}

@media screen and (max-width: 768px) {
    .gallery_bio_font {
        font-size: 16px;
    }
}

.custom-contact-icons {
    width: 18px;
    height: 18px;
}

.custom-email-icons {
    width: 15px;
    height: 15px;
}
.custom-wechat-icons {
    width: 30px;
    height: 30px;
    margin-left: -8px;
}
.custom-link-icons {
    width: 20px;
    height: 20px;
    margin-left: -2px;
}

.custom-whatsapp-icon {
    width: 25px;
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* card styles */
.card {
    box-sizing: border-box;
    border-radius: 41px 15px 62px 15px;
    -webkit-border-radius: 41px 15px 62px 15px;
    -moz-border-radius: 41px 15px 62px 15px;
    border: 3px solid #e6e6e69d;
    box-shadow: -2px 1px 26px -9px #000000;
}

/* Language teaching styles */
.language-content-wrapper {
    width: 100%;
    padding: 38px 30px;
    margin: auto;
}

@media screen and (min-width: 768px) {
    .language-content-wrapper {
        max-width: 90%;
        width: full;
        padding: 40px 50px;
        margin: auto;
    }
}
@media screen and (min-width: 991.99px) {
    .language-content-wrapper {
        max-width: 80%;
        width: full;
        padding: 40px 60px;
        margin: auto;
    }
}

.interpreter-img-wrapper {
    min-height: 400px;
}

@media screen and (min-width: 768px) {
    .interpreter-img-wrapper {
        height: 480px !important;
    }
}

/* gallery  */
.image-h {
    height: 500px;
}

.text-succes {
    color: #ffb534;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    transform: inherit;
    font-family: inherit;
    color: #787878 !important;
    font-weight: 500;
    opacity: 1;
}
@media screen and (min-width: 1024px) {
     h2 {
        font-size: 3.5rem;
        line-height: 2;
    }
}
.sworn-main-heading{
    font-size: 1.8rem;
}
.tradeinfo-logo{
    margin-left: 45%;
    margin-top: 50px;
}
@media (max-width: 767px){
    .tradeinfo-logo{
        margin-left: 26%;
    }
    .contact-me {
        background-image: none !important;
    }
}