/********** Template CSS **********/
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
}

:root {
    --primary: #FFE468;
    --secondary: #8CC641;
    --light: #F2F2F2;
    --dark: #272630;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    text-align: center;
    line-height: 1 !important;
}

.btn-square i,
.btn-sm-square i,
.btn-lg-square i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    margin: 0 auto 1.25rem auto !important;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-card-icon i {
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    margin: 0;
    padding: 0;
}


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.navbar-dark .navbar-nav {
    flex-wrap: wrap !important;
    justify-content: flex-end;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 18px;
    padding: 22px 0;
    font-size: 16px;
    color: var(--light);
    outline: none;
    transition: .5s;
    white-space: nowrap;
}

@media (min-width: 1300px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-left: 24px;
        padding: 30px 0;
        font-size: 17px;
    }
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 16px 0;
}

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

.navbar-logo {
    max-height: 45px;
    width: auto;
}

.navbar-title {
    font-size: 1.85rem;
    letter-spacing: -1px;
}

@media (min-width: 992px) {
    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .border-end-lg {
        border-right: 5px solid var(--primary) !important;
    }
}

/* Mobile Navbar Customization: 5px side paddings, single row logo & burger */
@media (max-width: 991.98px) {
    nav.navbar {
        padding-left: 5px !important;
        padding-right: 5px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .navbar-brand {
        display: flex !important;
        align-items: center !important;
        margin-right: auto !important;
        padding: 0 !important;
        max-width: calc(100% - 55px) !important;
        min-width: 0 !important;
    }

    .navbar-logo {
        max-height: 36px !important;
        width: auto !important;
        margin-right: 8px !important;
        flex-shrink: 0;
    }

    .navbar-title {
        font-size: 1.35rem !important;
        letter-spacing: -0.5px;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }

    .navbar-toggler {
        margin-left: auto !important;
        padding: 6px 9px !important;
        font-size: 1.15rem !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }

    .navbar-collapse {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .navbar-dark .navbar-nav {
        border-right: none !important;
        padding-right: 0 !important;
    }

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

@media (max-width: 380px) {
    .navbar-title {
        font-size: 1.15rem !important;
    }
    .navbar-logo {
        max-height: 30px !important;
        margin-right: 6px !important;
    }
    .navbar-toggler {
        padding: 4px 7px !important;
    }
}

/* Navbar Dropdown Menu Styles */
.navbar-dark .dropdown-menu {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 8px 0;
    min-width: 280px;
    z-index: 1000;
}

.navbar-dark .dropdown-item {
    color: #eaeaea;
    font-size: 15px;
    padding: 9px 20px;
    transition: all 0.25s ease;
    white-space: normal;
    line-height: 1.4;
}

.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item.active {
    background: #252525;
    color: var(--primary);
    padding-left: 24px;
}

.navbar-dark .dropdown-item.border-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 991.98px) {
    .navbar-dark .dropdown-menu {
        background: #141414;
        border: none;
        border-left: 2px solid var(--primary);
        margin-left: 15px !important;
        margin-bottom: 10px;
        box-shadow: none;
        min-width: unset;
    }
}

.bg-hero {
    position: relative;
    background: url(../img/hero.jpg?v=3) top right no-repeat;
    background-size: cover;
    overflow: hidden;
}

.bg-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(255, 228, 104, 0.95) 0%,
        rgba(255, 228, 104, 0.92) 50%,
        rgba(255, 228, 104, 0.80) 56%,
        rgba(255, 228, 104, 0.45) 64%,
        rgba(255, 228, 104, 0) 74%
    );
    pointer-events: none;
    z-index: 1;
}

.bg-hero > * {
    position: relative;
    z-index: 2;
}

/* High Contrast Override for Hero Headers on Yellow Background */
.bg-hero h1,
.bg-hero h2,
.bg-hero .h1,
.bg-hero .h2,
.bg-hero .h5,
.bg-hero span,
.bg-hero a {
    color: #111111 !important;
}

@media (min-width: 992px) {
    .home-hero {
        margin-bottom: 90px;
    }
}

@media (max-width: 991.98px) {
    .bg-hero {
        background-size: cover;
        padding-left: 5px !important;
        padding-right: 5px !important;
        padding-top: 3.5rem !important;
        padding-bottom: 2.5rem !important;
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    /* Full-Screen Immersive Home Hero on Mobile */
    .home-hero {
        min-height: calc(100vh - 58px) !important;
        min-height: calc(100dvh - 58px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding-top: 2rem !important;
        padding-bottom: 2.5rem !important;
        margin-bottom: 5px !important;
        background-position: center right !important;
    }

    .home-hero .container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        flex: 1 1 auto !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        max-width: 100% !important;
    }

    .home-hero .row {
        margin: auto 0 !important;
        width: 100% !important;
    }

    .home-hero .row > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    .home-hero h1,
    .home-hero h1.display-1 {
        font-size: 1.95rem !important;
        font-weight: 800 !important;
        line-height: 1.22 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 1.15rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .home-hero p,
    .home-hero p.fs-4 {
        font-size: 1.1rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.75rem !important;
        color: #1a1a1a !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .home-hero::before {
        background: linear-gradient(
            to bottom,
            rgba(255, 228, 104, 0.91) 0%,
            rgba(255, 228, 104, 0.86) 45%,
            rgba(255, 228, 104, 0.50) 75%,
            rgba(255, 228, 104, 0.65) 100%
        ) !important;
    }
}

/* Hero CTA Buttons - Responsive Layout */
.hero-btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

@media (min-width: 576px) {
    .hero-btn-group {
        flex-direction: row !important;
        width: auto !important;
        gap: 1rem !important;
    }
}

@media (max-width: 575.98px) {
    .home-hero h1,
    .home-hero h1.display-1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .bg-hero .hero-btn-group,
    .bg-hero .pt-2,
    .bg-hero .pt-3 {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 14px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .bg-hero .btn,
    .hero-btn-group .btn {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px 24px !important;
        margin: 0 !important;
        font-size: 1.15rem !important;
        border-radius: 50rem !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
    }
}

/* Article Body High-Legibility Typography */
.blog-body h1,
.blog-body h2,
.blog-body h3,
.blog-body h4,
.blog-body h5 {
    color: #111111;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}
.blog-body p {
    color: #2b2b2b;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.blog-body a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
}
.blog-body a:hover {
    color: #111111;
}
.blog-body blockquote {
    border-left: 4px solid var(--secondary);
    background: #f8f9fa;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #333333;
}
.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.about-start,
.about-end {
    background: url(../img/about-bg.jpg) center center no-repeat;
    background-size: contain;
}

@media (min-width: 992px) {
    .about-start {
        position: relative;
        margin-right: -90px;
        z-index: 1;
    }

    .about-end {
        position: relative;
        margin-left: -90px;
        z-index: 1;
    }
}

/* Styling CMS Editor Content inside yellow About card */
.about-cms-card,
.about-start,
.about-end {
    font-size: 1.05rem;
    line-height: 1.6;
}
.about-cms-card h1,
.about-start h1,
.about-end h1 {
    font-size: 2rem;
    color: #212529 !important;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.about-cms-card h2,
.about-start h2,
.about-end h2 {
    font-size: 1.65rem;
    color: #212529 !important;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    margin-bottom: 0.65rem;
}
.about-cms-card h3,
.about-start h3,
.about-end h3 {
    font-size: 1.35rem;
    color: #212529 !important;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.about-cms-card h4,
.about-start h4,
.about-end h4 {
    font-size: 1.15rem;
    color: #212529 !important;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.about-cms-card p,
.about-cms-card div,
.about-cms-card span,
.about-start p,
.about-end p {
    color: #212529 !important;
    line-height: 1.6;
}
.about-cms-card p,
.about-start p,
.about-end p {
    margin-bottom: 0.75rem;
}
.about-cms-card p:last-child,
.about-start p:last-child,
.about-end p:last-child {
    margin-bottom: 0;
}
.about-cms-card ul,
.about-start ul,
.about-end ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}
.about-cms-card ul li,
.about-start ul li,
.about-end ul li {
    position: relative;
    padding-left: 1.85rem;
    margin-bottom: 0.5rem;
    color: #212529;
}
.about-cms-card ul li::before,
.about-start ul li::before,
.about-end ul li::before {
    content: "\f058"; /* Font Awesome check-circle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 1.1rem;
    line-height: 1;
}

.about-img-wrapper {
    overflow: hidden;
}

.about-img-container {
    min-height: 680px;
    height: 100%;
    border-radius: 0.5rem;
}

@media (max-width: 991.98px) {
    /* Mobile Content Container Side Paddings: exactly 5px */
    .container,
    .container-fluid {
        padding-left: 5px !important;
        padding-right: 5px !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    
    .container-fluid > .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .container-fluid.py-5 > .container.py-5 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .home-services-section,
    .home-services-section.container-fluid,
    .home-blog-section,
    .home-blog-section.container-fluid {
        padding-top: 2rem !important;
    }

    /* Content Cards & Images: 5px gap and uniform corners */
    .about-start,
    .about-end {
        position: relative;
        margin: 0 0 5px 0 !important;
        border-radius: 0.5rem !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

    .about-img-wrapper,
    .about-img-container {
        position: relative;
        display: block !important;
        width: 100% !important;
        min-height: 260px;
        height: 320px;
        max-height: 380px;
        margin: 0 0 5px 0 !important;
        border-radius: 0.5rem !important;
        overflow: hidden !important;
    }

    .about-start-img img,
    .about-end-img img {
        border-radius: 0.5rem !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }
    .row > * {
        max-width: 100% !important;
    }
}

.about-img-wrapper a,
.about-img-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.about-img-wrapper img,
.about-img-wrapper picture img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center center;
    transition: object-position 0.25s ease;
}

/* Django CMS Image Plugin Alignment Mappings */
.about-img-wrapper img.float-start,
.about-img-wrapper picture img.float-start,
.about-img-wrapper img.object-left,
.object-left {
    object-position: left center !important;
}

.about-img-wrapper img.float-end,
.about-img-wrapper picture img.float-end,
.about-img-wrapper img.object-right,
.object-right {
    object-position: right center !important;
}

.about-img-wrapper img.mx-auto,
.about-img-wrapper picture img.mx-auto,
.about-img-wrapper img.object-center,
.object-center {
    object-position: center center !important;
}

/* Granular Object Position Classes */
.about-img-wrapper img.object-top,
.about-img-wrapper picture img.object-top,
.object-top {
    object-position: center top !important;
}

.about-img-wrapper img.object-bottom,
.about-img-wrapper picture img.object-bottom,
.object-bottom {
    object-position: center bottom !important;
}

.about-img-wrapper img.object-left-top,
.about-img-wrapper picture img.object-left-top,
.object-left-top {
    object-position: left top !important;
}

.about-img-wrapper img.object-right-top,
.about-img-wrapper picture img.object-right-top,
.object-right-top {
    object-position: right top !important;
}

.about-img-wrapper img.object-left-bottom,
.about-img-wrapper picture img.object-left-bottom,
.object-left-bottom {
    object-position: left bottom !important;
}

.about-img-wrapper img.object-right-bottom,
.about-img-wrapper picture img.object-right-bottom,
.object-right-bottom {
    object-position: right bottom !important;
}

.about-start-img img {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.about-end-img img {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

@media (max-width: 991.98px) {
    .about-start-img img,
    .about-end-img img {
        border-radius: 0.5rem !important;
    }
}

.service-item,
.contact-item {
    background: url(../img/service.jpg) top center no-repeat;
    background-size: cover;
    transition: .5s;
}

.service-item:hover,
.contact-item:hover {
    background: url(../img/service.jpg) bottom center no-repeat;
    background-size: cover;
}

.service-item .service-icon,
.contact-item .contact-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    color: var(--secondary);
    background: #FFFFFF;
    border-radius: 50% !important;
    transform: none !important;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-item .service-icon div,
.contact-item .contact-icon div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50% !important;
    transform: none !important;
    transition: .5s;
}

.service-item .service-icon i,
.contact-item .contact-icon i {
    transform: none !important;
    transition: .5s;
}

.service-item:hover .service-icon div,
.contact-item:hover .contact-icon div {
    background: var(--secondary);
}

.service-item:hover .service-icon i,
.contact-item:hover .contact-icon i {
    color: var(--primary);
}

.service-item a.btn,
.service-item .service-link,
.service-item .service-link a,
.service-item .service-link .cms-plugin {
    position: relative;
    bottom: -30px;
    opacity: 0;
    transition: all 0.5s ease !important;
}

.service-item:hover a.btn,
.service-item:hover .service-link,
.service-item:hover .service-link a,
.service-item:hover .service-link .cms-plugin {
    bottom: 0;
    opacity: 1;
}

.bg-quote {
    background: url(../img/quote.jpg?v=2) top right no-repeat;
    background-size: contain;
    margin: 90px 0;
}

@media (max-width: 991.98px) {
    .bg-quote {
        background: transparent !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .bg-quote .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .bg-quote .row,
    .bg-quote .col-lg-6 {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .bg-quote .bg-white {
        margin: 0 !important;
        padding: 2rem 1rem !important;
        border-radius: 0.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
    }

    .bg-quote h1 {
        font-size: 1.5rem !important;
        margin-bottom: 1.25rem !important;
    }

    .bg-quote .row.g-3 {
        margin: 0 !important;
        width: 100% !important;
    }

    .bg-quote .row.g-3 > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 12px !important;
        width: 100% !important;
    }

    .bg-quote .form-control {
        width: 100% !important;
        border-radius: 0.375rem !important;
    }
}

.team-item {
    position: relative;
    margin-bottom: 45px;
}

.team-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url(../img/team.jpg) bottom center no-repeat;
    background-size: cover;
    height: 90px;
    padding: 0 30px;
    right: 45px;
    left: 45px;
    bottom: -45px;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    height: 100%;
    bottom: 0;
}

.team-social {
    position: absolute;
    transition: .1s;
    transition-delay: .0s;
    opacity: 0;
}

.team-item:hover .team-social {
    transition-delay: .3s;
    opacity: 1;
}

.bg-testimonial {
    background: url(../img/testimonial.jpg) top left no-repeat;
    background-size: contain;
}

@media (max-width: 991.98px) {
    .bg-testimonial {
        background-size: cover;
    }
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--secondary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

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

.testimonial-carousel .owl-item img {
    width: 60px;
    height: 60px;
}

.bg-call-to-action {
    background: url(../img/call-to-action.jpg?v=3) top right no-repeat;
    background-size: contain;
}

.bg-footer {
    background: url(../img/footer.jpg) center center no-repeat;
    background-size: contain;
}

@media (max-width: 991.98px) {
    .bg-call-to-action,
    .bg-call-to-action.container-fluid,
    .bg-call-to-action.container-fluid.py-5 {
        background: url(../img/call-to-action.jpg?v=3) right bottom no-repeat, var(--primary) !important;
        background-size: contain !important;
        margin-top: 3.5rem !important;
        margin-bottom: 2rem !important;
        padding: 2rem 1.25rem 2.25rem 1.25rem !important;
        border-radius: 0.5rem !important;
        width: calc(100% - 10px) !important;
        margin-left: 5px !important;
        margin-right: 5px !important;
        overflow: hidden;
    }

    .bg-call-to-action .container,
    .bg-call-to-action .row,
    .bg-call-to-action .col-lg-6,
    .bg-call-to-action .col-lg-8 {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .bg-call-to-action h2,
    .bg-call-to-action h1 {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }

    .bg-call-to-action p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.25rem !important;
        max-width: 85% !important;
    }

    .bg-call-to-action .btn {
        margin-top: 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .bg-footer,
    .bg-footer.container-fluid,
    .bg-footer.container-fluid.py-5 {
        background-size: cover;
        padding-top: 2.5rem !important;
        padding-bottom: 2rem !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-top: 2rem !important;
    }

    .bg-footer > .container,
    .bg-footer > .container.py-5 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .bg-footer .row.g-5 {
        --bs-gutter-y: 2rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .bg-footer .row.g-5 > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .bg-footer .btn-secondary {
        margin-bottom: 1.5rem !important;
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }

    .bg-footer + .container-fluid {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ==========================================================================
   Language Chooser Component
   ========================================================================== */
.language-chooser .btn {
    font-size: 12px;
    min-width: 36px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

/* On Topbar (Yellow background) */
.topbar .language-chooser .lang-active,
.bg-primary .language-chooser .lang-active {
    background-color: var(--dark) !important;
    border: 1px solid var(--dark) !important;
    color: #ffffff !important;
}

.topbar .language-chooser .lang-inactive,
.bg-primary .language-chooser .lang-inactive {
    background-color: transparent !important;
    border: 1px solid var(--dark) !important;
    color: var(--dark) !important;
}

.topbar .language-chooser .lang-inactive:hover,
.bg-primary .language-chooser .lang-inactive:hover {
    background-color: var(--dark) !important;
    color: #ffffff !important;
}

/* Inside Dark Navbar / Mobile Menu */
.navbar .language-chooser .lang-active {
    background-color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: var(--dark) !important;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.navbar .language-chooser .lang-inactive {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.navbar .language-chooser .lang-inactive:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--dark) !important;
}

/* ==========================================================================
   Calculator Responsive Mobile Adjustments (5px paddings, 100% cards and buttons)
   ========================================================================== */
@media (max-width: 767.98px) {
    #calculator-app,
    #calculator-app.container-fluid {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    #calculator-app > .container,
    #calculator-app .row,
    #calculator-app .col-lg-11 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #calculator-app .bg-white.p-4 {
        padding: 1.25rem 0.75rem !important;
        border-radius: 0.5rem !important;
    }

    #calc-wizard-form .row:not(#calc-step-nav-row) > [class*="col-"],
    #calc-wizard-form .btn-check + .btn,
    #calc-wizard-form .card,
    #calc-wizard-form .form-check {
        width: 100% !important;
    }

    #calculator-app .d-none {
        display: none !important;
    }

    #calc-step-nav-row {
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    #calc-step-nav-row > #calc-prev-col.col-6,
    #calc-step-nav-row > #calc-next-col.col-6 {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }

    #calc-step-nav-row > #calc-prev-col.col-12,
    #calc-step-nav-row > #calc-next-col.col-12 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .calc-steps-indicator {
        margin-bottom: 2rem !important;
        gap: 4px !important;
    }

    .step-icon-bubble {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 0.95rem;
    }

    .step-title {
        font-size: 0.7rem !important;
        line-height: 1.2;
    }

    /* Wizard navigation buttons */
    #calc-prev-btn:not(.d-none),
    #calc-next-btn:not(.d-none) {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    #calc-submit-btn:not(.d-none),
    #calc-recalc-quick-btn:not(.d-none),
    #calc-goto-results-btn:not(.d-none),
    #btn-download-pdf:not(.d-none),
    #btn-edit-params:not(.d-none),
    #res-header-recalc-btn:not(.d-none),
    #calc-stale-alert .btn:not(.d-none),
    #btn-add-window:not(.d-none),
    .js-lead-form button[type="submit"]:not(.d-none) {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #calc-results .d-flex.flex-wrap.justify-content-between {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }

    #calc-results .d-flex.gap-2 {
        flex-direction: column !important;
        width: 100% !important;
    }

    #res-summary-cards > [class*="col-"] {
        width: 100% !important;
    }
}

/* Service Horizontal Cards */
.service-horizontal-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.service-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

@media (min-width: 768px) {
    .service-horizontal-card {
        height: 270px !important;
    }
    .service-horizontal-card > .row {
        height: 100% !important;
    }
    .service-horizontal-card > .row > [class*="col-"] {
        height: 100% !important;
    }
    .service-card-img-wrap {
        height: 100% !important;
        max-height: 270px !important;
    }
}

@media (max-width: 767.98px) {
    .service-card-img-wrap {
        height: 220px !important;
    }
}

.service-card-img-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.service-card-img-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.service-card-img-wrap img {
    transition: transform 0.4s ease;
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.service-horizontal-card:hover .service-card-img-wrap img {
    transform: scale(1.05);
}

.service-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1.5rem 1.75rem !important;
}

.service-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.service-card-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #6c757d;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-primary {
    transition: color 0.2s ease;
}

.hover-primary:hover {
    color: #495057 !important;
}

/* Big Card Template Wrapper */
.card-img-wrapper img,
.card-img-wrapper picture img {
    width: 100% !important;
    max-height: 480px !important;
    object-fit: cover !important;
    display: block;
}

.card-img-wrapper:empty,
.card-img-wrapper:not(:has(*)),
.card-actions:empty,
.card-actions:not(:has(*)) {
    display: none !important;
}

.container-card-section {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.container-card-wrapper {
    width: 100%;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.container-card-body {
    padding: 5px !important;
}

@media (min-width: 768px) {
    .container-card-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .container-card-body {
        padding: 3rem !important;
    }
}