/*
 Theme Name: BlankSlate Child Custom
 Theme URI: https://example.com
 Description: Custom child theme for BlankSlate with clean assets/templates structure.
 Author: Your Name
 Version: 1.0.0
 Template: blankslate
 Text Domain: blankslate-child-custom
*/

:root {
    --bs-primary: #261270;
    --bs-light: #FDF6F3;
    --font-graphik: 'Graphik', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --theme-accent: #E29173;
    --font-bitter: 'Bitter', Georgia, "Times New Roman", serif;
    --ux-white: #ffffff;
    --ux-gradient: linear-gradient(90deg, #f1b392, #d4785c);
}

body {
    font-family: var(--font-graphik);
    color: var(--bs-primary);
}

.font-graphik {
    font-family: var(--font-graphik) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
p {
    margin: 0;
    padding: 0;
}

.square-bullets {
    list-style: square;
}


h1,
h2,
h3,
h4,
h5,
h6,
.font-bitter {
    font-family: var(--font-bitter) !important;
}

.font-bitter {
    letter-spacing: 1px;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-17 {
    font-size: 17px !important;
}

.fs-18 {
    font-size: 1.125rem !important;
}

.fs-22 {
    font-size: 1.375rem !important;
}

.fs-30 {
    font-size: 1.875rem !important;
}

.fs-35 {
    font-size: 35px !important;
}

.fs-60 {
    font-size: clamp(2rem, 5vw, 3.75rem);
}


.lh_sm {
    line-height: 1.2 !important;
}

.lh_md {
    line-height: 1.3 !important;
}

.lh_lg {
    line-height: 1.4 !important;
}

.lh_xl {
    line-height: 1.8 !important;
}

.btn_underline,
.underline_gradient,
input[type="submit"] {
    position: relative;
    z-index: 2;
}

.btn_underline::before,
.underline_gradient::before,
input[type="submit"]::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 2;
    transform: scaleX(1);
    transition: transform 0.4s ease-in-out;
    transform-origin: bottom left;
}

.btn_underline:hover::before {
    transform: scaleX(0);
    transform-origin: bottom right;
}


.btn_underline.underline_primary::before,
input[type="submit"]::before {
    background-color: var(--bs-primary);
}


.btn_underline.underline_gradient::before,
.underline_gradient::before {
    background: linear-gradient(50.15deg, #F7BA9D 17.04%, #F7CCB4 55.73%, #E29173 94.41%);
}

.btn_underline.underline_white::before {
    background-color: white;
}

input[type="submit"] {
    background-color: transparent;
    border: 0px;
}

.text_primary {
    color: var(--bs-primary) !important;
}

.text_gradient {

    /* gradient */
    background: linear-gradient(50.15deg, #F7BA9D 17.04%, #F7CCB4 55.73%, #E29173 94.41%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


.bg_primary {
    background-color: var(--bs-primary) !important;
}

.bg_light {
    background-color: var(--bs-light) !important;
}

.bg_2612700A {
    background-color: #2612700A;
}

.bg_F7C5AB4D {
    background-color: #F7C5AB4D;
}

.bg_2612700D {
    background-color: #2612700D;
}

.long-underline {
    position: relative;
    display: inline-block;
    /* Ensure it wraps text only if applied to text */
}

/* Specific style for the Icon Headings (Licenses, Private Clients) */
.icon-heading-text {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    /* Space between text and line */
}

.icon-heading-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* Thicker line as per image */
    background: var(--ux-gradient);
}

.hero-video {
    height: 600px;
    object-position: center bottom;
}

.hero-video-logo {
    position: absolute;
    bottom: 40px;
    right: 80px;
    height: 80px;
    width: auto;
    padding: 8px 12px;
    border-radius: 4px;
    filter: brightness(20);
}

@media (max-width: 767px) {
    .hero-video-logo {
        height: 50px;
        bottom: 12px;
        right: 14px;
        padding: 6px 10px;
    }
}

/* Contact Hero Background */
.contact-hero-bg {
    background-color: var(--bs-primary);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.contact-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Optional: Add a subtle pattern or overlay if desired */
    opacity: 0.1;
    pointer-events: none;
}


/* Additional utility classes for spacing */
.ls-2 {
    letter-spacing: 2px;
}

.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transition: left 0.6s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover::before {
    left: 100%;
    animation: shine 0.6s ease-in-out;
}

.zoom__img {
    overflow: hidden;
}

/* Desktop Reset for Offcanvas (Mobile Drawer -> Desktop Navbar) */
@media (min-width: 992px) {
    .bsc-offcanvas-menu {
        position: static !important;
        z-index: auto !important;
        flex-grow: 1 !important;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background-color: transparent !important;
        border: 0 !important;
        transform: none !important;
        transition: none !important;
        display: flex !important;
        align-items: center !important;
        box-shadow: none !important;
    }

    .bsc-offcanvas-menu .offcanvas-header {
        display: none !important;
    }

    .bsc-offcanvas-menu .offcanvas-body {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        overflow: visible !important;
    }
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-2deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(38, 18, 112, 0.15), 0 10px 20px rgba(38, 18, 112, 0.1);
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* News Section Arrow Buttons */
/* Custom Overrides for Standard Swiper Buttons */
.swiper-button-next:not(.t-nav-primary .circle-nav),
.swiper-button-prev:not(.t-nav-primary .circle-nav) {
    position: static !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    background-image: none !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
}

/* .nav-primary .circle-nav:after{
    display: block !important;
} */

.swiper-arrow svg path {
    transition: all 300ms ease;
    fill-opacity: 0.22;
}

.swiper-arrow:hover svg path {
    fill-opacity: 1;
}

/* NEW Testimonial Section  */
.testimonial-author-img {
    width: 62px;
    height: 62px;
}

.t-nav-primary .swiper-button-next,
.t-nav-primary .swiper-button-prev {
    width: 55px;
    height: 55px;
    background-color: #fff;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHZpZXdCb3g9IjAgMCAzNCAzNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIHN0cm9rZT0iIzI2MTI3MCIgc3Ryb2tlLXdpZHRoPSIxLjk5OSI+PHBhdGggZD0ibTEuMDAzIDE2Ljk3IDMxLjQ3LS4wNTVNMTkuMzkzIDMuODM3bDEzLjQyOSAxMy40M20wLS43MDgtMTMuNDMgMTMuNDI5Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTE2Ljk3IDAgMTYuOTcgMTYuOTctMTYuOTcgMTYuOTcxTDAgMTYuOTcxeiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==');
    background-size: 25px;
    background-repeat: no-repeat;
    border: 2px solid #dce6f6;
    border-radius: 50%;
    padding: 20px;
    background-position: center;
    transition: 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.t-nav-primary .swiper-button-next:hover,
.t-nav-primary .swiper-button-prev:hover {
    /* background: #f3f6fc; */
    border-color: #cfdcf1;
    /* color: #7f90ad; */
}


.t-nav-primary .swiper-button-prev {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(120deg);
}


.t-nav-primary .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d2d8e2;
    opacity: 1;
    margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
    background: #1b1b1b;
}


@media (max-width: 991px) {

    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .testimonial-author {
        font-size: 16px;
    }

    /* .testimonial-sec .testimonial-text{
        font-size: 24px !important;
      } */
}


/* Service Icon Styling */
.service-icon {
    color: white;
    opacity: 0.9;
}

/* Section Title Styling */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-wrp {
    margin: 0.5rem 0;
}

.btn-ux {
    --btn-color: #000;
    --btn-underline: currentColor;

    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 0;
    font-family: aktiv-grotesk-extended, sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    text-transform: uppercase;

    color: var(--btn-color) !important;
    text-decoration: none !important;
    overflow: hidden;
}

.btn-ux span,
.btn-ux .btn-arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.8, 1);
}

.btn-ux::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--btn-underline);

    transform-origin: 50% 100%;
    transition: clip-path .3s,
        transform .3s cubic-bezier(0.2, 1, 0.8, 1);

    clip-path: polygon(0% 0%, 0% 100%, 0 100%, 0 0,
            100% 0, 100% 100%, 0 100%, 0 100%,
            100% 100%, 100% 0%);
}

.btn-ux:hover span {
    transform: translate3d(0, -2px, 0);
}

.btn-ux:hover .btn-arrow {
    transform: translate3d(4px, -2px, 0);
}

.btn-ux:hover::before {
    transform: translate3d(0, 2px, 0) scale3d(1.08, 3, 1);
    clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 0,
            50% 0, 50% 100%, 50% 100%, 0 100%,
            100% 100%, 100% 0%);
}

.global__country .global_video_wrp {
    width: 66rem;
    height: 660px;
}

.global__country .global_video_wrp video {
    width: 100%;
    height: 1090px;
    object-fit: cover;
    object-position: -860px -150px;
}

.btn-ux-primary {
    --btn-color: var(--bs-primary);
    --btn-underline: var(--bs-primary);
}

.btn-ux-gradient {
    --btn-color: var(--bs-primary);
    --btn-underline: var(--ux-gradient);
}

.btn-ux-dark {
    --btn-color: var(--ux-white);
    --btn-underline: var(--ux-white);
}

.btn-ux-news {
    --btn-color: var(--ux-white);
    --btn-underline: var(--ux-white);
}


@media (min-width: 1400px) {
    .container {
        max-width: 1704px;
    }
}


.__cta .img-wrp {
    margin-left: -360px;
}


/* Navbar z-index so dropdown floats above hero */
.navbar.navbar-expand-lg,
nav.navbar {
    position: relative;
    z-index: 1060;
}

/* Header Branding & Utils */
.brand-logo-img {
    height: 50px;
    width: auto;
}

.brand-logo-img-offcanvas {
    height: 40px;
    width: auto;
}

.lang-switch-link {
    font-size: 14px;
    letter-spacing: 1px;
}

.lang-active-line {
    bottom: -6px;
    height: 3px;
    background-color: #F8B998;
}

.footer-logo-img {
    max-width: 170px;
}

/* Footer Improvements */
.transition-hover {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.transition-hover:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-search-input {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.footer-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-search-input:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-search-submit {
    background-color: rgba(255, 255, 255, 0.1);
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 2.2;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--theme-accent);
    text-decoration: underline;
}

/* Blog Card Styles */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(38, 18, 112, 0.1);
}

.blog-card-image {
    overflow: hidden;
}

.blog-card-image img {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

/* Pagination Styles */
.pagination {
    gap: 0.5rem;
}

.pagination .page-item .page-link {
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    padding: 0.5rem 1rem;
    border-radius: 0;
}

.pagination .page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.pagination .page-item .page-link:hover {
    background-color: var(--bs-primary);
    color: white;
}

/* Contact Form Styles */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: none;
}

.form-control.border-bottom:focus {
    border-bottom-color: var(--bs-primary) !important;
}



/* Blog TOC Styles */
.blog-toc a {
    transition: color 0.3s ease;
}

.blog-toc a:hover {
    color: var(--theme-accent) !important;
}

/* Blog Content Styles */
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}


.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background-color: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

.dropdown-item:hover {
    background-color: var(--bs-primary);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .blog-toc {
        position: relative !important;
        top: 0 !important;
    }
}

.text-dark-blue {
    color: #1A1A4D;
}

.bg-gray-light {
    background-color: #F5F5F7;
}

/* Responsive Borders for Contact Info */
@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid #DEE2E6;
    }
}

@media (max-width: 991px) {
    .border-end-lg {
        border-right: none;
        border-bottom: 1px solid #DEE2E6;
    }

    /* Remove bottom border from the last item */
    .col-lg-4:last-child .border-end-lg {
        border-bottom: none;
    }
}



/* Purple Section Full Height Border */
.bg_primary .row {
    align-items: stretch;
}

.bg_primary .border-end {
    position: relative;
}

.bg_primary .border-end::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.25);
}

.border_primary {
    border-right: rgba(38, 18, 112, 1) !important;
}

@media (max-width: 767px) {
    .bg_primary .border-end::after {
        display: none;
    }
}


.testimonial-section {
    background-color: var(--bs-primary);
    color: white;
}

.testimonial-quote {
    font-family: var(--font-graphik);
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
}

.profile__cta .profile__cta__image {
    margin-right: -4rem;
}

/* Support Section Styles */
.support-item {
    position: relative;
    border-right: 1px solid #E5E7EB;
}

.support-item:last-child {
    border-right: none;
}

.support-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.support-title {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.support-link {
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.support-link:hover {
    color: #5B3A9E !important;
    text-decoration: underline !important;
}

.wpcf7-form label {
    font-size: 12px;
    font-weight: 500;
    color: #181818;
    background-color: #ffffff;
    padding: 0px 6px;
    position: relative;
    z-index: 1;
    margin-inline: 17px;
}

.wpcf7-form :where(input, textarea, select) {
    margin-top: -14px;
    border-radius: 2px;
    border-color: #D8D8D8;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    font-weight: 500;
}

.wpcf7-form :where(input, select, textarea) {
    padding: 16px 14px;
}

input[type="submit"] {
    font-size: 18px;
    font-weight: 600;
    padding: 7px 0px;
    border-color: var(--bs-primary);
}

/* Responsive Support Section */
@media (max-width: 991px) {
    .support-item {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }

    .support-item:last-child {
        border-bottom: none;
    }

    .support-item>div {
        justify-content: flex-start !important;
        padding: 2rem 1.5rem !important;
    }
}

@media (min-width: 992px) {
    .support-item>div {
        min-height: 120px;
    }
}

/* Support Section - Exact Match */
.support-section {
    background-color: #F3F3F3;
}

.support-col {
    position: relative;
    border-right: 1px solid #373B61;
}

.support-col:last-child {
    border-right: none;
}

.support-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 60px 0px;
    min-height: 120px;
}

/* Services Tabs Customization */
#servicesTab {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 0;
    position: relative;
}

#servicesTab::-webkit-scrollbar {
    display: none;
}

#servicesTab .nav-link {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: #9CA3AF;
    font-size: 1.125rem;
    font-weight: 400;
    padding: 10px 17px !important;
    transition: color 0.3s ease;
}

@media (max-width: 991px) {
    #servicesTab .nav-link {
        margin-right: 2rem;
        font-size: 1rem;
    }
}

#servicesTab .nav-link:hover {
    color: #4B5563;
}

#servicesTab .nav-link.active {
    color: #000000 !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    border-bottom-color: transparent !important;
}

#servicesTab .nav-link:focus,
#servicesTab .nav-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.sliding-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--ux-gradient);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
    width: 0;
    pointer-events: none;
}

/* =========================================
   Dropdown Styles (Bootstrap-based, minimal)
   ========================================= */

/* Dropdown Menu Styling */
.navbar-nav .dropdown-menu {
    border: none;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(38, 18, 112, 0.12), 0 2px 8px rgba(38, 18, 112, 0.06);
    padding: 0.5rem 0;
    min-width: 260px;
    margin-top: 0.25rem;
}

/* Dropdown Items */
.navbar-nav .dropdown-item {
    color: var(--bs-primary);
    padding: 0.75rem 1.5rem;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    background-color: transparent;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: rgba(226, 145, 115, 0.08);
    color: #E29173;
    border-left-color: #E29173;
    padding-left: 1.75rem;
}

.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
    background-color: rgba(38, 18, 112, 0.06);
    color: var(--bs-primary);
    border-left-color: var(--bs-primary);
}

/* Top Level Nav Link Colors */
.navbar-nav>li>a {
    color: #261270 !important;
    background-color: transparent !important;
    transition: color 0.3s ease;
}

.navbar-nav>li>a:hover,
.navbar-nav>li.current-menu-item>a {
    color: #E29173 !important;
    background-color: transparent !important;
}


.team__bg img {
    max-height: 580px;
    object-fit: cover;
    object-position: top;
}

/* Desktop Dropdown Positioning */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .navbar-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1070;
        margin-top: 10px;
    }

    /* Invisible bridge to prevent hover loss between nav and dropdown */
    .navbar-nav .dropdown-menu::after {
        content: '';
        position: absolute;
        top: -15px;
        left: 0;
        right: 0;
        height: 15px;
        background: transparent;
    }

    /* Dropend (nested sub-menu) flies out to right */
    .navbar-nav .dropend>.dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: 0;
        margin-left: 10px;
        min-width: 220px;
    }

    .navbar-nav .dropend>.dropdown-menu::after {
        top: 0;
        left: -15px;
        width: 15px;
        height: 100%;
        background: transparent;
    }

    .navbar-nav .dropend:hover>.dropdown-menu {
        display: block;
    }
}

/* Mobile Dropdown */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background-color: #ffffff;
        border: none;
        margin-top: 0;
        padding: 0;
    }

    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.25rem;
    }

    .navbar-nav .dropend>.dropdown-menu {
        padding-left: 1rem;
        background-color: rgba(38, 18, 112, 0.03);
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        text-align: left;
        width: 100%;
    }
}

/* Sub-menu item reset */
.navbar-nav .sub-menu li {
    display: block;
    margin: 0;
    padding: 0;
}


/* ========================================
   SERVICE DETAIL PAGE RESPONSIVE STYLES
   ======================================== */

/* Company Profile Section Responsive */
@media (max-width: 1400px) {
    .__cta .img-wrp {
        margin-left: -140px;
    }

    .__cta .content__wrp {
        clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%) !important;
    }
}

@media (max-width: 1199px) {
    .global__country .global_video_wrp video {
        object-position: -1000px -150px;
    }
}

@media (max-width: 991px) {
    .company-profile-image {
        min-height: 300px;
    }

    .profile__cta__image {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* Service Detail Hero Image */
@media (max-width: 768px) {
    section .container-fluid img[style*="height: 500px"] {
        height: 300px !important;
    }

    .profile__cta .profile__cta__image {
        margin-right: 0rem;
    }
}

/* Service Detail CTA Section */
@media (max-width: 991px) {
    .display-5 {
        font-size: 2rem !important;
    }

    .display-4 {
        font-size: 2.5rem !important;
    }
}

/* Jurisdiction Cards Responsive */
@media (max-width: 576px) {
    .row.g-4>[class*="col-"] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .row.g-4 {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }

    .global__country .global_video_wrp {
        width: 25rem;
        height: 250px;
    }

    .global__country .global_video_wrp video {
        height: 640px;
        object-position: -640px -100px;
    }

    .__cta .content__wrp {
        clip-path: polygon(0px 0px, 100% 50px, 100% 100%, 0 100%) !important;
    }

    .__cta .img-wrp {
        margin-left: -170px;
        margin-bottom: -180px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .fs-4 {
        font-size: 1rem !important;
    }
}

/* Countries Grid Responsive */
@media (max-width: 576px) {
    .row-cols-2>* {
        width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .row-cols-md-3>* {
        width: 33.333333%;
    }
}

/* Contact Form Section Responsive */
@media (max-width: 991px) {
    section[style*="background-color: #261270"] .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    section[style*="background-color: #261270"] .row {
        gap: 2rem;
    }
}

/* Border Responsive for Homepage Purple Section */
@media (max-width: 767px) {
    .border-end.border-white {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }
}

/* Jurisdiction Cards Effect - Skew & Lift (No Shine, No Shadow) */
.jurisdiction-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid transparent;
    transition: all .5s;
}

.jurisdiction-card:hover {
    transform: scale(.98);
    background-color: #FFF5F0;
    border-color: #E29173;
    z-index: 2;
}

.button__icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.button__icon-svg--copy {
    position: absolute;
    transform: translateX(-150%);
}

.related__card:hover .button__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translateX(120%);
}

.related__card:hover .button__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translateX(0);
}

.related__card svg path,
.related__card .icon__wrp {
    transition: all 300ms ease;
}

.related__card:hover .button__icon-wrapper svg path {
    stroke: #E29173;
}

.related__card:hover .icon__wrp {
    margin-bottom: 0px !important;
}


/* Video Player Overlay Hover */
.video-wrapper:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2) !important;
}

.leadership-card {
    position: relative;
    overflow: hidden;
}

.leadership-bio {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background: linear-gradient(to top, #0d0233 0%, rgb(38 18 112) 45%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.leadership-card:hover .leadership-bio {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


/* ========================================
   SERVICE DETAIL PAGE — Layout & Sidebar
   ======================================== */

/* Sidebar Navigation */

.gap-20 {
    gap: 20px;
}

.bullet__list li {
    position: relative;
    padding-left: 20px;
}

.bullet__list li::before {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    top: 11px;
    left: 0px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    margin-right: 10px;
}

.border-primary {
    border-color: #261270 !important;
}