.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    max-width: 280px;
}
.floating-contact-mobile {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    text-align: center;
    line-height: 56px;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 100;
}
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.card .card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 100%;
}
.text-truncate-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 4);
}
.text-truncate-6 {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 100%;
}
.service-link {
    display: inline-block;
    font-weight: 500;
    color: #0d6efd;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 0.25rem;
    position: relative;
    transition: color 0.2s;
}
.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}
.service-link:hover {
    color: #0a58ca;
}
.service-link:hover::after {
    width: 100%;
}
.object-fit-cover {
    object-fit: cover;
}
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.icon-fixed-width {
    width: 1.5rem;
    text-align: left;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent !important;
    transition: background-color 0.3s ease-in-out;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.nav-item, .nav-link {
    background-color: transparent !important;
}
body.has-hero-bg .navbar,
body.has-hero-bg .navbar a,
body.has-hero-bg .navbar .btn-outline-secondary,
body.has-hero-bg .navbar .nav-link { 
    color: var(--bs-light);
}
body.has-hero-bg .navbar .navbar-brand {
    color: white;
}
body.has-hero-bg .navbar .btn {
    background-color: transparent !important;
    border: 0.8px solid var(--bs-light);
    /* color: var(--bs-light); */
}
body.has-hero-bg .navbar .nav-link.active,
body.has-hero-bg .navbar .nav-link:hover {
    color: white;
    font-weight: 600; 
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--bs-dark);
    font-weight: 600; 
}
.navbar.scrolled {
    background-color: var(--bs-light) !important;
}
.navbar.scrolled, 
.navbar.scrolled a,
.navbar.scrolled .btn-outline-secondary,
.navbar.scrolled .nav-link {
    color: var(--bs-nav-link-color) !important;
}
.navbar.scrolled .active {
    color: var(--bs-dark) !important;
}
.navbar.scrolled .btn {
    background-color: transparent !important;
    border: 0.8px solid var(--bs-btn-color) !important;
    color: var(--bs-btn-color) !important;
}
.navbar.scrolled .navbar-brand {
    color: black !important;
}
.banner-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin-top: -66px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); 
    z-index: -1;
}
.banner-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--banner-bg); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: -2;
}
.banner-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--bs-primary-rgb), 0.3); 
    z-index: -1;
}
.banner-container.default-bg::before {
    background-color: #1a365d;
    opacity: 1;
}
.banner-content {
    z-index: 1;
    padding: 20px;
    margin-top: 66px;
    justify-content: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.banner-content p {
    font-size: 1.1rem;
    font-weight: 300;
}
.responsive-image {
    max-width: 100%;
    height: auto;
}
.responsive-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.responsive-embed iframe,
.responsive-embed object,
.responsive-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 991.98px) {
    .mobile-menu {
        background-color: var(--bs-light) !important;
        color: var(--bs-dark) !important;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        border-radius: 0 0 0.5rem 0.5rem;
        z-index: 1000;
    }
    .mobile-menu .nav-link,
    .mobile-menu .navbar-brand,
    .mobile-menu .dropdown-item {
        color: var(--bs-nav-link-color) !important;
    }
    .mobile-menu .active {
        color: var(--bs-dark) !important;
    }
    .mobile-menu .navbar-nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .mobile-menu form {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .mobile-menu .btn {
        background-color: transparent !important;
        border: 0.8px solid var(--bs-btn-color) !important;
        color: var(--bs-btn-color) !important;
    }
}
@media (max-width: 767px) {
    .banner-container {
        height: 400px;
        text-align: center;
    }
    .banner-container::before {
        background-size: cover; 
        background-position: center; 
    }
    .banner-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .banner-content p {
        font-size: 1rem;
        line-height: 1.5;
    }
    .mobile-horizontal-list {
        display: block;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .mobile-horizontal-list > li {
        display: inline-block;
        margin: 0 0.8rem 0.5rem 0;
        padding: 0;
        line-height: 1.4;
    }
    .mobile-horizontal-list a {
        white-space: nowrap;
        text-decoration: none;
    }
}
@media (max-width: 480px) {
    .banner-container {
        height: 300px;
    }
    .banner-content {
        transform: translateY(-20px); 
    }
    .banner-content h1 {
        font-size: 1.5rem;
    }
    .banner-container::before {
        opacity: 0.3; 
    }
}