
        /* Custom CSS */
:root {
    --primary-blue: #0069d9;
    --secondary-blue: #0084ff;
    --light-blue: #f5f8ff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.top-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 20px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.nav-item {
    padding: 0 10px;

}
.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: #303030;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.navbar-brand img {
    height: 97px;
    width: 295px !important;
}

.navbar {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 5px 0;
}

.hero-section {
    /* background-color: var(--light-blue); */
    background-image: url('/static/images/logos/Group 3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* padding: 80px 0;
    min-height: 550px; */
    padding: 60px 0;
    padding-bottom: 70px;

    min-height: 400px;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a2b49;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--secondary-blue);
    display: block;
    /* font-size: 45px;
    margin-right: 10px; */
}

.display-5 {
    /* font-size: calc(1.425rem + 2.1vw); */
    font-weight: 300;
    line-height: 1.2;

}

.hero-content p {
    color: #555;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
    word-wrap: break-word;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: 407px;
}

.phone-number {
    font-weight: bold;
    font-size: 18px;
}

.social-icons a {
    margin-left: 15px;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

/* Enhanced Dropdown Styles */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    margin-top: 0;
    border-radius: 3px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    top: 100%; /* Ensure dropdown appears below */
    left: 0; /* Align to the left */
}

.nav-item.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.2s;
    text-align: left; /* Ensure text aligns left */
}

.dropdown-item:hover {
    background-color: rgba(0,105,217,0.1);
    color: var(--primary-blue);
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "\f107"; /* Font Awesome down arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    border: none;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

@media (max-width: 990px) {
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-image img {
        height: 300px;
        width: auto;
    }
}

@media (max-width: 1200px) {

    .hero-image img {
        height: 300px;
        width: auto;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-image img {
        height: 300px;
        width: auto;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h1 span {
        font-size: 48px;
    }

    /* Fix for mobile dropdown */
    .nav-item.dropdown .dropdown-menu {
        display: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu.show {
        display: block;
    }
}






.card-hover:hover h4,
.card-hover:hover p {
    color: white !important;
}



@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move to show the second set of logos */
    }
}

/* Add these styles to control the number of images displayed at different breakpoints */
.company-col {
    display: block; /* Make sure all columns are visible by default */
}
.company-container:hover .compony-row {
    animation-play-state: paused;
}

/* Company logos section */
.company-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 230px;
}

.compony-row {
    display: flex;
    align-items: center;
    padding: 20px 0;
    position: relative;
    gap: 175px;
    justify-content: center; /* Center logos by default */
}

.company-col {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent logos from shrinking */
}

.compony-row img {
    height: 70px;
}

/* Media queries for responsive behavior */
@media (min-width: 1201px) {
    /* Above 1200px: Static display, no scrolling */
    .company-container {
        overflow: visible;
    }

    .compony-row {
        width: auto;
        transform: none !important; /* Override any transform from JS */
        animation: none !important; /* Ensure no animation is applied */
    }
}

@media (max-width: 1200px) {
    /* Below 1200px: Enable scrolling container */
    .company-container {
        overflow: hidden;
    }

    .compony-row {
        width: max-content;
        justify-content: flex-start;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .compony-row {
        gap: 40px;
    }
}

@media (max-width: 575px) {
    .compony-row {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .compony-row {
        gap: 25px;
    }
}




.why-choose-us {
    background-color: #f8faff;
}

.why-choose-us .card {
    transition: all 0.3s ease;
}

.why-choose-us .card:hover {
    transform: translateY(-5px);
}

.icon-box {
    transition: all 0.3s ease;
}

.card:hover .icon-box {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .why-choose-us .section-title {
        flex-direction: column;
        text-align: center;
    }

    .why-choose-us .line {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
}

.card-hover {
    transition: background-color 0.5s ease-in-out; /* Smooth transition effect */
}

.card-hover:hover {
    background: linear-gradient(90deg, rgba(8, 106, 216, 1) 0%, rgba(10, 60, 116, 1) 100%)!important;
}

.service-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card:hover:before {
    border-color: var(--primary-blue);
    animation: borderAnimation 1s infinite alternate;
}

.card-inner {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service-card:hover .card-inner {
    box-shadow: 0 10px 30px rgba(0, 105, 217, 0.15);
}

.icon-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 105, 217, 0.1);
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-card:hover .icon-container {
    transform: scale(1.1);
    background-color: rgba(0, 105, 217, 0.2);
}

.service-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2b49;
    text-align: center;
}

.service-description {
    color: #666;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
}

.btn-learn-more {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    width: 100%;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    color: var(--secondary-blue);
}

/* Border Animation */
@keyframes borderAnimation {
    0% {
        border-color: var(--primary-blue);
    }
    50% {
        border-color: var(--secondary-blue);
    }
    100% {
        border-color: var(--primary-blue);
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .service-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .services-section .section-title {
        flex-direction: column;
        text-align: center;
    }

    .services-section .line {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }

    .card-inner {
        padding: 20px;
    }
}

/* Footer Styles */
.footer-section {
    background-color: #B0CCFA;
    color: white;
    padding-top: 20px;
}

.footer-logo {
    height: 120px;
    width: 300px;
    margin-bottom: 20px;
}

.footer-description {
    color: #0c0d19;
    font-size: 14px;
    line-height: 1.6;
    max-width: 400px;
    word-wrap: break-word;
}

.footer-section .row > div {
    padding-left: 10px;
    padding-right: 10px;
}

/* Reduce spacing in nested row */
.footer-section .row .row {
    /* margin-left: -5px; */
    margin-right: -5px;
}

.footer-section .row .row > div {
    padding-left: 5px;
    padding-right: 5px;
}

.footer-links h4, .footer-contact h4 {
    color: #0c0d19;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px; /* Reduced from 20px */
    position: relative;
}

.footer-links ul li {
    margin-bottom: 6px;
}

.footer-links ul li a {
    color: #0c0d19;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: 0c0d19;
    text-decoration: none;
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    margin-bottom: 8px;
    
}

.contact-icons {
    margin-right: 4px;
    width: 20px;
    color: var(--primary-blue);
}

.contact-text {
    color: #0c0d19;
    font-size: 14px;
}

.contact-text a {
    color: #0c0d19;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-text a:hover {
    color: 0c0d19;
}

.copyright-bar {
    background-color: #001530;
    padding: 20px 0;
    margin-top: 35px;
}

.copyright-text {
    color: #b1b1b1;
    font-size: 14px;
    margin-bottom: 0;
}

.footer-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.footer-nav li {
    margin-left: 20px;
}

.footer-nav li a {
    color: #b1b1b1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-nav li a:hover {
    color: white;
}

@media (max-width: 767px) {
    .footer-brand,  .footer-contact {
        margin-bottom: 15px;
    }
    .footer-brand{
        border: 1px solid #9d9d9d;
        /* background: rgb(140 94 77 / 5%); */
        background: #f9f9f9;
        /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    }

    .footer-contact {
        margin-top: 15px;
    }
}

@media (max-width: 400px) {
    .footer-links {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .footer-links {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 575px) {
    .footer-section .row {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    .footer-section .fotter-content{
        /* background: #faccb0; */
        width: 100%;
        padding: 2px;

    }

    .footer-links {
        width: 50%;
        float: left;
                margin-bottom: 20px;
    }

    .footer-contact {
        clear: both;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-brand, .footer-links, .footer-contact {
        margin-bottom: 0px;
    }
    .footer-brand{
        margin-top: 1rem;
    }

}

@media (max-width: 767px) {
    .footer-nav {
        justify-content: center;
        margin-top: 15px;
    }

    .copyright-text {
        text-align: center;
    }

    .footer-nav li:first-child {
        margin-left: 0;
    }
}

/* Hero section animations */
.hero-content h5,
.hero-content h1,
.hero-content p,
.hero-content .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-image img {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.8s ease forwards;
}

/* Stagger the animations */
/* Update these values in your existing hero section animations */
.hero-content h5 { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.3s; }
.hero-content .btn { animation-delay: 0.4s; }
.hero-image img { animation-delay: 0.5s; }

/* Animation keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add this to your existing CSS */
.reveal-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    visibility: hidden;
}

.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.fade-in {
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile sidebar menu styles */
.mobile-menu {
    width: 350px;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu .navbar-nav .nav-link {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #f1f1f1;
    text-align: left;
}

/* Update these styles in your existing <style> section */
/* Mobile sidebar dropdown styles */
.mobile-menu .mobile-dropdown-item {
    position: relative;
}

.mobile-menu .dropdown-menu.mobile-dropdown {
    position: absolute !important;
    top: 30px;
    right: 0%;
    left:30%;
    width: 200px;
    padding: 10px 0;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    background-color: white;
    display: none;
    z-index: 1000;
}

.mobile-menu .mobile-dropdown-item:hover .dropdown-menu.mobile-dropdown {
    display: block;
}

.mobile-menu .dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
}

.mobile-menu .dropdown-item:hover {
    background-color: rgba(0,105,217,0.1);
    color: var(--primary-blue);
}

/* Remove the onclick function since we're using hover */
.mobile-menu .nav-link {
    cursor: pointer;
}


.mobile-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    text-align: left;
}

.mobile-dropdown-icon {
    transition: transform 0.3s ease;
}

.offcanvas-body {
    flex-grow: 1;
    /* padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x); */
    overflow-y: auto;
}

.rotate-icon {
    transform: rotate(180deg);
}

.mobile-menu .offcanvas-header {
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu .offcanvas-title {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Ensure the sidebar only appears on mobile */
@media (min-width: 992px) {
    .navbar-toggler[data-bs-toggle="offcanvas"] {
        display: none;
    }
}

/* Fix dropdown alignment in regular navbar */
.navbar-nav {
    align-items: left;
}

.nav-item.dropdown {
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    color: #303030;
}

/* Ensure dropdown menus appear below in desktop view */
@media (min-width: 992px) {
    .dropdown-menu {
        margin-top: 0.5rem !important;
        top: 100% !important;
        transform-origin: top center;
    }

    .navbar-nav .dropdown-menu {
        position: absolute;
        float: none;
    }
}

/* Fix for mobile navbar */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 10px 0;
    }

    .navbar-nav .dropdown-menu {
        border: none;
        padding-left: 15px;
        background-color: #f8f9fa;
        box-shadow: none;
    }

    .navbar-nav .dropdown-item {
        font-size: 13px;
        padding: 8px 15px;
    }

    .phone-number {
        font-size: 16px;
    }
}

        .d-lg-flex {

    font-size: 13px;
}

@media (min-width: 991px) {
    .d-lg-flex {
        display: flex !important;
        font-size: 13px;
    }
}
/* Add these styles to your existing CSS section */

/* Top bar responsive adjustments */
@media (max-width: 991px) {
    .top-bar {
        padding: 10px 0;
        font-size: 13px;
    }

    .top-bar .social-icons {
        margin-left: 10px;
    }

    .top-bar .social-icons a {
        margin-left: 8px;
    }
}

@media (max-width: 767px) {


    .top-bar .col-md-6 {
        width: 100%;

    }

    .top-bar .col-md-6:last-child {
        margin-bottom: 0;
    }

    .top-bar .d-flex {
        justify-content: center;
    }

    .top-bar .text-end .d-flex {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .top-bar {
        font-size: 12px;
    }

    .top-bar .d-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .justify-content-end {
    justify-content: space-between;
}

    .top-bar .mx-3 {
        margin: 0 5px !important;
    }

    .top-bar .col-md-6:first-child .d-flex {
        align-items: center;
    }

    .top-bar .col-md-6:first-child .mx-3 {
        display: none;
    }

    .top-bar .col-md-6:first-child i {
        margin-top: 5px;
    }
}

        .justify-content-end {
    justify-content: space-between;
}

.mb-3 {
    /* margin-bottom: 2rem !important; */
    margin-bottom: 1.5rem !important;
}
/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #edf1f5;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

#lottie-container {
    width: 200px;
    height: 200px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.back-to-top:hover {
    background-color: var(--secondary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        width: 60px;
        height: 60px;
        bottom: 120px;
        right: 20px;
    }
}
/* Add these styles for the top bar responsive behavior */
.office-hours-container {
    display: flex;
    justify-content: flex-end; /* Align to the right on desktop */
}

/* Tablet and desktop styles */
@media (min-width: 768px) {
    .top-bar .row {
        flex-wrap: nowrap;
    }

    .top-bar .col-md-6:first-child {
        flex: 1;
    }

    .top-bar .col-md-6:last-child {
        flex: 0 0 auto;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .top-bar .col-md-6 {
        width: 100%;
    }

    .top-bar .col-md-6:first-child {
        margin-bottom: 10px;
    }

    .top-bar .d-flex {
        justify-content: center;
    }

    .office-hours-container {
        justify-content: center; /* Center on mobile */
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .top-bar .d-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar .mx-3 {
        margin: 0 5px !important;
    }
}

/* Add these styles for the top bar responsive behavior */
.address-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.separator {
    margin: 0 10px;
    display: inline-block;
}

.office-hours-container {
    display: flex;
    justify-content: flex-end; /* Align to the right on desktop */
}

/* Tablet and desktop styles */
@media (min-width: 768px) {
    .top-bar .row {
        flex-wrap: nowrap;
    }

    .top-bar .col-md-6:first-child {
        flex: 1;
    }

    .top-bar .col-md-6:last-child {
        flex: 0 0 auto;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .top-bar .col-md-6 {
        width: 100%;
    }

    .top-bar .col-md-6:first-child {
        margin-bottom: 10px;
    }

    .address-container {
        justify-content: center;
    }

    .office-hours-container {
        justify-content: center; /* Center on mobile */
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .address-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .separator {
        margin: 0 5px;
    }
}
