/********** Template CSS **********/
:root {
    --bs-primary: #9f712a;
    --bs-primary-rgb: 159, 113, 42;
    --bs-tertiary: #687693;
}

.back-to-top {
    position: fixed !important;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Font ***/
.ff-open-sans {
    font-family: "Open Sans", sans-serif;
}

.ff-roboto-slab {
    font-family: "Roboto Slab", serif;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 600 !important;
}


/*** Button ***/
.btn.btn-primary,
.btn.btn-secondary {
    font-family: "Roboto Slab", serif;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary {
    color: #ffffff !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #ffffff !important;
    background-color: #886022 !important;
    border-color: #825b1f !important;
}

.btn-outline-primary {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #ffffff !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Nav Bar ***/
.navbar-brand-logo {
    height: 70px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

@media (max-width: 576px) {
    .navbar-brand-logo {
        height: 50px;
    }
}

.navbar .navbar-nav .nav-link {
    margin: 0 10px;
    padding: 0;
    outline: none;
    font-size: 16px;
    color: var(--bs-light);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.hero-header {
    position: relative;
}

.hero-header::before {
    position: absolute;
    content: "";
    width: 100%;
    top: -500%;
    left: 0;
    bottom: 0;
    background: var(--bs-secondary);
    z-index: -1;
}

.header-carousel {
    position: relative;
    padding-right: 45px;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-primary);
}


/*** Section Title ***/
.section-title {
    position: relative;
    padding-left: 25px;
    display: inline-block;
    text-transform: uppercase;
    line-height: 1rem;
    letter-spacing: 2px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--bs-dark);
}

.section-title.text-primary::before {
    background: var(--bs-primary);
}


/*** About ***/
.about-exp {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*** Practice ***/
@media (max-width: 768px) {
    .practice-item {
        border: none !important;
        box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    }
}

@media (min-width: 992px) {
    .practice-item.border-lg-end {
        border-right: 1px solid #dee2e6;
    }

    .practice-item.border-lg-end-0 {
        border-right: none !important;
    }

    .practice-item.border-lg-bottom-0 {
        border-bottom: none !important;
    }
}

.practice-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform .35s ease;
}

.practice-item:hover img {
    transform: scale(1.08);
}


/*** Case ***/
.case-item h1 {
    color: var(--bs-white);
    -webkit-text-stroke: 1px var(--bs-primary);
    text-shadow:
        -1px -1px 0 var(--bs-primary),
        1px -1px 0 var(--bs-primary),
        -1px  1px 0 var(--bs-primary),
        1px  1px 0 var(--bs-primary);
}


/*** Team ***/
.team-item {
    transition: .4s ease;
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

.team-item .team-img img {
    transition: .5s ease;
}

.team-item:hover .team-img img {
    transform: scale(1.06);
}

.team-item .team-des {
    position: relative;
    height: 110px;
    text-align: center;
    overflow: hidden;
}

.team-item .team-des .team-text {
    position: relative;
    width: 100%;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Add to Contacts Button Under Member Box */
.team-contact-btn-wrap {
    text-align: center;
    padding-top: 14px;
    padding-bottom: 24px;
}

.btn-team-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #171f38;
    background-color: #ffffff;
    border: 1.5px solid #9f712a;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(23, 31, 56, 0.08);
}

.btn-team-contact i {
    color: #9f712a;
    transition: color 0.3s ease;
}

.btn-team-contact:hover,
.btn-team-contact:focus {
    background-color: #9f712a;
    color: #ffffff;
    border-color: #9f712a;
    box-shadow: 0 6px 18px rgba(159, 113, 42, 0.35);
    transform: translateY(-2px);
}

.btn-team-contact:hover i,
.btn-team-contact:focus i {
    color: #ffffff;
}

/* Team Desktop QR Modal */
.team-qr-modal .modal-content {
    border-radius: 16px;
    border: 1px solid rgba(159, 113, 42, 0.3);
    box-shadow: 0 15px 40px rgba(23, 31, 56, 0.25);
    overflow: hidden;
}

.team-qr-modal .modal-header {
    background: #171f38;
    color: #ffffff;
    border-bottom: 2px solid #9f712a;
    padding: 16px 24px;
}

.team-qr-modal .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.team-qr-modal .qr-img-frame {
    background: #ffffff;
    padding: 14px;
    border: 2px solid #9f712a;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.team-qr-modal .qr-img-frame img {
    width: 180px;
    height: 180px;
    display: block;
}


/*** Footer ***/
.footer {
    color: var(--bs-light);
    background: var(--bs-dark);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .list-group li {
    background: transparent;
    border-color: rgba(255, 255, 255, .15);
}

.footer .list-group li a {
    color: var(--bs-light);
}

.footer .list-group li a:hover {
    color: var(--bs-primary);
}

.footer .list-group li small {
    color: var(--bs-tertiary);
}


/*** Copyright ***/
.copyright {
    color: var(--bs-white);
    background: #121624;
}


/*** Page Header ***/
.page-header {
    background: linear-gradient(rgba(23, 31, 56, .88), rgba(23, 31, 56, .88)), url(../img/hero-slider-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-light);
}

.page-header .breadcrumb-item a {
    color: var(--bs-light);
    transition: .3s;
}

.page-header .breadcrumb-item a:hover {
    color: var(--bs-primary);
}


/*** Practice Card ***/
.practice-card {
    transition: all .35s ease;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.practice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(23, 31, 56, 0.12);
    border-color: var(--bs-primary) !important;
}

.practice-card .practice-icon-box {
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(159, 113, 42, 0.12);
    transition: all .35s ease;
}

.practice-card:hover .practice-icon-box {
    background: var(--bs-primary);
}

.practice-card:hover .practice-icon-box i {
    color: #ffffff !important;
}

.practice-card .practice-icon-box img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    transition: all .35s ease;
}

.practice-card:hover .practice-icon-box img {
    filter: brightness(0) invert(1);
}

.practice-badge-num {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: "Roboto Slab", serif;
    color: #cbd5e1;
    transition: color .35s ease;
    line-height: 1;
}

.practice-card:hover .practice-badge-num {
    color: var(--bs-primary);
}

.practice-card ul li {
    font-size: 0.925rem;
    line-height: 1.55;
    color: #4b5563;
}

.practice-card .practice-link {
    font-family: "Roboto Slab", serif;
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all .3s ease;
}

.practice-card .practice-link:hover {
    letter-spacing: 1px;
}


/*** Core Values ***/
.value-item {
    transition: all .4s ease;
    border-top: 3px solid transparent;
}

.value-item:hover {
    transform: translateY(-6px);
    border-top-color: var(--bs-primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
}

.value-item .value-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(159, 113, 42, 0.12);
    border-radius: 4px;
    transition: all .35s ease;
}

.value-item:hover .value-icon {
    background: var(--bs-primary);
}

.value-item:hover .value-icon i {
    color: #ffffff !important;
}


/*** Vision & Mission ***/
.vision-mission-card {
    transition: all .35s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    border-top: 4px solid var(--bs-primary) !important;
}

.vision-mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35) !important;
}

.vm-icon-box {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(159, 113, 42, 0.15);
    transition: all .3s ease;
}

.vision-mission-card:hover .vm-icon-box {
    background: var(--bs-primary);
}

.vision-mission-card:hover .vm-icon-box i {
    color: #ffffff !important;
}


/*** Contact Page ***/
.contact-info-card {
    transition: all .35s ease;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(23, 31, 56, 0.12);
    border-color: var(--bs-primary) !important;
}

.contact-info-card .contact-icon-box {
    width: 65px;
    height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(159, 113, 42, 0.12);
    transition: all .35s ease;
}

.contact-info-card:hover .contact-icon-box {
    background: var(--bs-primary);
}

.contact-info-card:hover .contact-icon-box i {
    color: #ffffff !important;
}

.contact-map-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
}

.contact-map-wrapper iframe {
    width: 100%;
    min-height: 480px;
    border: 0;
    display: block;
}

/*** Language Switcher Badge ***/
.lang-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all .3s ease;
}

.lang-badge:hover {
    background: #886022 !important;
    color: #ffffff !important;
}