/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll offset for fixed header */
#about-us {
    scroll-margin-top: 100px;
}

/* Bootstrap navbar active color override */
:root {
    --bs-navbar-active-color: #AEA8A5;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #AEA8A5 !important;
}

/* Feature strip icons */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 2.3rem;
}

/* Service card icon treatment */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: all 0.4s ease;
}

.icon-circle i {
    font-size: 2rem;
    color: #ffffff;
    transition: inherit;
}

.card-style11:hover .icon-circle {
    background-color: #ffffff;
    border-color: #ffffff;
}

.card-style11:hover .icon-circle i {
    color: #001f3f;
}

/* About section metrics */
.progress-item {
    margin-bottom: 1.6rem;
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-meta {
    min-height: 1.5rem;
}

.progress-label {
    font-weight: 600;
    font-size: 1rem;
}

.progress-value {
    font-weight: 700;
    font-size: 1rem;
    color: #001f3f;
}

.custom-progress.progress {
    height: 30px;
}

/* Services grid uniform cards */
.services-grid > div > a {
    height: 100%;
}

.services-grid .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-grid .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-grid .card-body h3 {
    display: inline-block;
    max-width: 13rem;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
}

.services-grid .card-body h3 br {
    display: none;
}

/* Language Switcher Styles */
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.language-switcher-container {
    display: inline-block;
}

.language-switcher .lang-current {
    color: #ffffff;
    font-weight: 600;
}

.language-switcher .lang-separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.25rem;
}

.language-switcher .lang-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.language-switcher .lang-link:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Language switcher in navbar (desktop) - keep original styling */
.attr-nav .language-switcher-container {
    margin-left: 1rem;
}

/* Language switcher in mobile menu - submenu format */
.language-switcher-menu-item .nav-link {
    color: #5F5148;
}

.language-switcher-menu-item .nav-link:hover {
    color: #AEA8A5;
}

.language-switcher-submenu {
    background: rgba(255, 255, 255, 0.05);
}

.language-switcher-submenu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-switcher-submenu li:last-child {
    border-bottom: none;
}

.language-switcher-submenu .lang-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #5F5148;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.language-switcher-submenu .lang-menu-link:hover {
    background-color: rgba(174, 168, 165, 0.1);
    color: #AEA8A5;
}

.language-switcher-submenu li.active .lang-menu-link {
    color: #AEA8A5;
    font-weight: 600;
}

.language-switcher-submenu .lang-name {
    flex: 1;
}

.language-switcher-submenu .lang-check {
    color: #AEA8A5;
    font-weight: bold;
    margin-left: 0.5rem;
}

/* Responsive language switcher - hide/show based on screen size */
@media (max-width: 991.98px) {
    /* Hide desktop version on mobile */
    .attr-nav .language-switcher-container {
        display: none !important;
    }
    
    /* Show mobile version in menu */
    .navbar-nav .language-switcher-container {
        display: block !important;
    }
}

@media (min-width: 992px) {
    /* Hide mobile version on desktop - let desktop version display naturally */
    .navbar-nav .language-switcher-container {
        display: none !important;
    }
    
    /* Desktop version displays naturally (inline-block) - no forced display needed */
}

/* Fallback notice */
.i18n-fallback-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ff9800;
    color: white;
    padding: 10px;
    text-align: center;
    z-index: 10000;
    font-size: 0.875rem;
}

/* Fix nested spans in title-style13 - override base styles for nested spans */
.title-style13 span .i18n-text {
    display: inline !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-size: inherit !important;
    text-transform: inherit !important;
    vertical-align: baseline;
}

/* Ensure the outer span gets the styling, not nested ones */
.title-style13 > span {
    /* Base styles are applied by styles.css */
}

.title-style13 > span > .i18n-text {
    /* Reset any inherited styles from parent span */
    display: inline !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-weight: inherit;
    font-size: inherit;
    text-transform: inherit;
    color: inherit;
}

/* Testimonial cards equal height */
.testimonial-style13 .owl-carousel .owl-item .card-style10 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-style13 .card-style10 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-style13 .card-style10 .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-style13 .card-style10 .card-body p {
    flex: 1;
    min-height: 0;
}

