body {
    background-color: #fff;
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: #6f6f6f;
    line-height: 1.8em;
    font-weight: 400;
    font-family: Arimo, sans-serif;
}

/* Background Image Section */
.top-bg {
    background-image: url("https://utech-africa.com/assets/img/Slide-16_9-1-5.png");
    background-size: cover;
    background-position: 50% 0;
    background-repeat: no-repeat;
    padding: 184px 0 0 0;
    height: 188px;
    width: 100%;
    position: relative;
}

/* Language Switcher */
/* Default top-right position */
.lang-switcher {
    position: absolute;
    top: 15px;
    right: 20px;
    transition: all 0.3s ease;
    z-index: 999;
}

.navbar-nav .lang-switcher-item a {
    text-decoration: none;
    padding: 0 5px;
}

/* When inside the navbar */
.lang-switcher-item {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.lang-switcher a {
    color: #000;
    text-decoration: none;
}
.lang-switcher .active {
    font-weight: bold;
}
.lang-switcher.scrolled {
    position: fixed;
    top: 90px; /* adjust to match your navbar height */
    right: 50%;
    transform: translateX(50%);
}

/* Centered Header Logo */
.centered-header {
    text-align: center;
    font-weight: bold;
    font-size: 28px;
    margin-top: -40px; /* Pull it up to align with service list visually */
    margin-bottom: 20px;
}

/* Navbar Styling */
.navbar {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-item {
    margin: 0 5px;
}
.nav-link {
    position: relative;
    display: flex;
    -webkit-box-align: center;
    line-height: 1.095em;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-family: Arimo, sans-serif;
    font-weight: 700;
    color: #000;
}
.navbar-brand img {
    height: 90px;
}
.nav-link:hover {
    color: #000;
    text-decoration: underline;
}

/* Product Card Styling */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card img {
    object-fit: cover;
    height: 200px;
}

/* Service Text Styling */
.services h4 {
    font-weight: bold;
}

.services li {
    margin-bottom: 15px;
    color: #666;
}

footer {
    background-color: #f8f9fa;
    font-size: 14px;
}
.navbar-brand {
    font-size: 28px;
}
h5 {
    font-family: Arimo, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    font-size: 21px;
    line-height: 1.095em;
    letter-spacing: 0.03em;
    margin: 0 0 25px 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
/* Custom Header */
.custom-header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Product Card Styling */
.product-card {
    background-color: transparent;
    position: relative;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.03);
}

.product-card .image-wrapper {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; /* Remove default background */
    overflow: hidden;
}

.product-card img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Button Styling */
.product-card .hover-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffeb3b;
    color: #000;
    font-weight: bold;
    padding: 10px 25px;
    border: none;
    opacity: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 3;
    white-space: nowrap;
}

/* Show on hover */
.product-card:hover .hover-btn {
    opacity: 1;
}

/* Hover effect */
.product-card .hover-btn:hover {
    background-color: #000;
    color: #fff;
}

/* Text Area Styling */
.product-card .p-3 {
    padding: 15px 0 0 0;
}

.product-card h6,
.product-card p {
    margin: 0;
    text-align: left;
}

.product-card h6 {
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.product-card p {
    color: #999;
    font-size: 14px;
}

/* Hover Button Styling */
.product-card .hover-btn {
    position: absolute;
    top: 92%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffeb3b;
    color: #000;
    font-weight: bold;
    padding: 10px 25px;
    border: none;
    opacity: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 3;
    white-space: nowrap;
}

/* Show on hover */
.product-card:hover .hover-btn {
    opacity: 1;
}
.product-text {
    padding: 15px 0 0 0; /* remove left padding */

    margin-right: auto;
    width: 100%;
    max-width: calc(
        100% - 30px
    ); /* Align with image assuming 15px spacing on each side */
}


.carousel-track img {
    /* height: 100%; */
    width: 250px;
    height: 200px !important;
    /* object-fit: cover; */
}

/* Featured Services Styling */
.featured-services-title {
    color: #000;
    font-weight: bold;
    text-align: center;
}

.featured-service-img {
    margin: 0 auto;
    height: auto;
    max-width: 100%;
}

.featured-service-text {
    margin-top: 10px;
    text-align: center;
    color: #000;
    font-weight: 550;
    font-size: 24px;
}
/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0 10px 0;
    font-size: 14px;
    position: relative;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .footer-logo {
    flex-basis: 200px;
}

footer .footer-logo img {
    background-color: #fff;
    height: 90px;
}

footer .social-icons a {
    margin-right: 20px; /* Added space between social icons */
    color: #fff; /* White color for social icons */
    text-decoration: none;
    font-size: 25px;
}

footer .social-icons a:hover {
    color: #ffeb3b;
}

footer .footer-links {
    flex-basis: 150px;
}

footer .footer-contact {
    flex-basis: 320px;
}

footer .footer-contact ul,
footer .footer-links ul {
    list-style: none;
    padding: 0;
    color: #fff;
}

footer .footer-contact li,
footer .footer-links li {
    margin-bottom: 10px;
}

footer .footer-contact a,
footer .footer-links a {
    color: #fff;
    text-decoration: none;
}

footer .footer-contact a:hover,
footer .footer-links a:hover {
    text-decoration: underline;
}

.footer-location {
    font-size: 16px;
    /* margin-top: 10px; */
    color: #fff;
}

/* Footer Right Text (2025 U-Tech) */
footer .footer-right {
    color: #888; /* Grey color */
    font-size: 14px;
    text-align: center;
    width: 100%;
}

footer .footer-right p {
    margin: 10px 0 10px 0;
}

/* Up Arrow Button */
.header-top-arrow {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffeb3b;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border-radius: 5px; */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.header-top-arrow::before {
    content: "\2191"; /* Unicode for upward arrow */
    font-size: 20px;
    color: #000;
    /* Black arrow */
}

.header-top-arrow:hover {
    background-color: #fdd835;
}

/* Footer Line */
.footer-line {
    width: 100%;
    height: 1px;
    background-color: #888;
    margin: 20px 0;
}
/* Button Styling */
.btn-yellow {
    background-color: #ffeb3b; /* Yellow */
    color: #000; /* Black text */
    font-weight: bold;
    padding: 10px 25px;
    border: none;
    /* border-radius: 5px; */
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 3;
    cursor: pointer;
    margin-top: 30px;
}

/* Hover effect for the button */
.btn-yellow:hover {
    background-color: #000; /* Black background on hover */
    color: #fff; /* White text on hover */
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-50%); /* Move halfway through the images */
    }
    100% {
        transform: translateX(-100%); /* Complete the loop */
    }
}
.language-select {
    display: none;
}
.desktop-lang-selector {
    display: block;
}
.navbar-toggler {
    display: none;
}
.mobile-content {
    display: none;
}
.lang-switcher-item a {
    color: #000;
    text-decoration: none;
}
.lang-switcher-item .active {
    font-weight: bold;
}
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 9999;
    /* top: 150%; Add space below the nav link */
    left: 0;
    border-radius: 0; /* Make dropdown corners sharp */
    transition: all 0.2s ease-in-out;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.dropdown-item:hover {
    text-decoration: underline;
    background-color: #000;
    color: #fff;
    /* color: #fff; */
}
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #fff;
}

.black-panel {
    background-color: #000;
    height: 30px;
    width: 100%;
}
/* Ensure the dropdown remains visible when hovering over the parent or sub-menu */
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
    display: block;
}

/* Dropdown item styling */
.dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.dropdown-item:hover {
    text-decoration: underline;
    background-color: #000;
    color: #fff;
}
.custom-modal-content {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    font-family: "Arial", sans-serif;
}
.custom-modal-content h2 {
    margin: 10px 0 30px;
    font-size: 24px;
    font-weight: bold;
    color: #555;
    text-align: center;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 20px;
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-body input {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    font-size: 15px;
    border: none;
    border-bottom: 1px solid #555;
    outline: none;
    background-color: transparent;
    color: #333;
    box-sizing: border-box;
}
.modal-body textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #555;
    background-color: transparent;
    color: #333;
    resize: vertical; /* allows user to expand height */
    margin-bottom: 25px;
}
/* .modal-body textarea {
    min-height: 100px;
    resize: vertical;
    height: auto;
    margin-bottom: 25px;
    border: 1px solid #555;
} */

.modal-body .btn {
    width: 100%;
    padding: 12px;
    background-color: #ffee58;
    color: #000;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    border-radius: 0;
    position: relative;
    display: inline-block;
    vertical-align: middle;

    margin: 0;
    font-family: Arimo, sans-serif;

    line-height: 2em;

    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0;
    outline: 0;
}
.iti {
    position: relative;
    display: block !important;
    margin-bottom: 25px;
}
.modal-backdrop {
    background-color: #000 !important; /* Black backdrop */
    opacity: 0.5 !important; /* Semi-transparent */
    z-index: 1040 !important; /* Ensure it's behind modal */
}
.footer-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Let each section take its natural width unless told otherwise */
@media (max-width: 1680px) {
    .top-bg {
        background-image: url(https://utech-africa.com/assets/img/Slide-16_9-1-5.png);
        background-size: cover;
        background-position: 50% 0;
        background-repeat: no-repeat;
        padding: 150px 0 0 0;

        width: 100%;
        position: relative;
        height: 100px;
    }
}
@media (max-width: 1440px) {
    .top-bg {
        background-image: url(https://utech-africa.com/assets/img/Slide-16_9-1-5.png);
        background-size: cover;
        background-position: 50% 0;
        background-repeat: no-repeat;
        padding: 100px 0 0 0;

        width: 100%;
        position: relative;
        height: 100px;
    }
}
@media (max-width: 1366px) {
    .top-bg {
        background-image: url(https://utech-africa.com/assets/img/Slide-16_9-1-5.png);
        background-size: cover;
        background-position: 50% 0;
        background-repeat: no-repeat;
        padding: 100px 0 0 0;

        width: 100%;
        position: relative;
        height: 100px;
    }
}
@media (max-width: 1280px) {
    .top-bg {
        background-image: url(https://utech-africa.com/assets/img/Slide-16_9-1-5.png);
        background-size: cover;
        background-position: 50% 0;
        background-repeat: no-repeat;
        padding: 100px 0 0 0;

        width: 100%;
        position: relative;
        height: 100px;
    }
}
@media (max-width: 1024px) {
    .top-bg {
        background-image: url(https://utech-africa.com/assets/img/Slide-16_9-1-5.png);
        background-size: cover;
        background-position: 50% 0;
        background-repeat: no-repeat;
        padding: 100px 0 0 0;

        width: 100%;
        position: relative;
        height: 100px;
    }
}
@media (max-width: 991px) {
    .navbar-brand img {
        height: 40px;
    }
    .nav-item .dropdown .service {
        display: none;
    }
    .mobile-content {
        display: block;
    }
    .desktop-content {
        display: none;
    }
    .navbar-nav {
        justify-content: flex-start !important;
    }
    .language-select {
        display: block;
    }
    .navbar-toggler {
        display: block;

        padding: 6px 10px;
        border-radius: 4px;
    }
    .top-bg {
        display: none;
    }
    .navbar-collapse {
        position: absolute; /* ✅ makes the menu float */
        top: 100%; /* ✅ starts below header */
        left: 0;
        width: 100%;
        background-color: #000; /* dropdown background */
        padding: 30px 0;
        text-align: center;
        z-index: 9999;
    }

    .navbar-nav .nav-link {
        color: #fff;
        padding: 15px 0;
        font-size: 16px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar {
        position: relative; /* keep header above dropdown */
        z-index: 10000;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-nav .nav-link:hover {
        background-color: #222;
    }

    .dropdown-menu {
        background-color: #000;
    }

    .dropdown-item {
        color: #fff;
    }

    .dropdown-item:hover {
        background-color: #222;
    }
    .language-select {
        display: block;
    }
    .desktop-lang-selector {
        display: none;
    }
    .footer-sections {
        flex-direction: column;
    }

    /* Reorder items using flexbox order */
    .footer-location {
        order: 1;
    }
    .footer-links {
        order: 2;
    }
    .footer-contact {
        order: 3;
    }
    .footer-logo {
        order: 4;
    }

    /* Ensure full width and left alignment */

    .footer-logo img {
        height: 70px;
    }

    .top-header-line img,
    .footer-image img {
        max-width: 100%;
        height: auto;
    }

    .header-top-arrow {
        width: 40px;
        height: 40px;
    }
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center; /* ✅ Center horizontally */
        justify-content: center;
    }
    .navbar-nav .nav-link.active {
        color: #fff;
        text-decoration: underline;
    }
    .services {
        order: 2;
    }
    .product-column {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-item .dropdown .service .show .dropdown-menu {
        display: block !important;
    }
    .services {
        text-align: center;
    }

    .lang-switcher {
        position: static;
        text-align: right;
        margin: 10px;
    }

    .centered-header {
        margin-top: 10px;
    }
    .featured-service-text {
        font-size: 20px;
    }
    footer .footer-contact {
        flex-basis: 200px;
    }
    footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
    footer .footer-right {
        text-align: center;
    }
    footer .footer-right p {
        margin:10px 0 10px 0;
    }
    /* Reorder items using flexbox order */
    .footer-location {
        order: 1;
    }
    .footer-links {
        order: 2;
    }
    .footer-contact {
        order: 3;
    }
    .footer-logo {
        order: 4;
    }
    .desktop-lang-selector {
        display: none;
    }
}
@media (max-width: 576px) {
    
    footer .footer-contact {
        flex-basis: 200px;
    }
    
    /* Reorder items using flexbox order */
    .footer-location {
        order: 1;
    }
    .footer-links {
        order: 2;
    }
    .footer-contact {
        order: 3;
    }
    .footer-logo {
        order: 4;
    }
    
    .custom-modal-content {
        padding: 20px 15px;
    }

    .modal-body input,
    .modal-body textarea {
        font-size: 15px;
        padding: 10px;
    }

    .modal-body h2 {
        font-size: 20px;
    }

    .modal-body .btn {
        font-size: 15px;
        padding: 10px;
    }
     .carousel-track img {
        /* height: 100%; */
        /* width: 250px !important; */
        height: 260px !important;
        /* object-fit: cover; */
    }
}
