/********** CSS **********/

.privacy-header {
    background-color: #e9ecef;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}
.privacy-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.privacy-header p {
    font-size: 1rem;
    color: #6c757d;
}
.content {
    margin: 20px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.content p {
    font-size: 1rem;
    margin-bottom: 15px;
}
.content a {
    color: #0d6efd;
    text-decoration: none;
}
.content a:hover {
    text-decoration: underline;
}
/* Pop-up container */
.popup {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 600px;
    background-color: rgb(255, 255, 255);
    padding: 0px;
    z-index: 1000;
    display: none; /* Initially hidden */
    font-family: Arial, sans-serif;
    border: 2px solid #7e0606;
    border-radius: 8px;
    overflow: hidden; /* To hide overflowing slides */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Close button */
.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7e0606;
    z-index: 10;
}

/* Slider container */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden; /* Hide overflowing content */
}

/* Slides container */
.slides {
    display: flex;
    flex-direction: reverse; /* Reverse the direction for right-to-left sliding */
    transition: transform 0.5s ease-in-out;
}

/* Individual slides */
.slides a {
    min-width: 100%;
    text-align: center;
}

.slides img {
    width: 100%;
    height: auto;
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
    .popup {
        width: 90%; /* Reduce width to 90% of the screen */
        bottom: 50px; /* Adjust position */
        right: 5%; /* Center horizontally */
    }

    .popup .close-btn {
        font-size: 20px; /* Adjust close button size */
    }

    .slides img {
        border-radius: 6px; /* Adjust border radius for smaller screens */
    }
}

@media (max-width: 480px) {
    .popup {
        width: 95%; /* Further reduce width for very small screens */
        bottom: 30px; /* Adjust position */
    }

    .popup .close-btn {
        font-size: 18px; /* Further adjust close button size */
    }

    .slides img {
        border-radius: 4px; /* Subtle rounding for very small screens */
    }
}

.carousel-item img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.carousel-caption h1 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    color: white;
}
.carousel-caption .btn {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .image-container {
        display: none;
    }
}

/* Display images on desktop */
@media (min-width: 769px) {
    .image-container {
        display: flex;
    }
}
 /* General Styles */
 .filters {
    width: 20%;
    padding: 20px;
    background-color: #f8f8f8;
    border-right: 1px solid #ddd;
}

.webinars {
    width: 100%;
    padding: 10px;
}


/* Hide sidebar on smaller screens */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .schedule-container {
        flex-direction: column; /* Adjust layout for mobile */
    }
}


 /* Make the carousel image responsive */
    .carousel-image {
        width: 100%;
        height: auto; /* Maintain aspect ratio */
    }

    /* Style the responsive heading */
    .responsive-heading {
        font-size: 3rem; /* Default for desktop */
    }

    /* Adjustments for tablets */
    @media (max-width: 992px) {
        .responsive-heading {
            font-size: 2.5rem;
        }
    }

    /* Adjustments for mobile devices */
    @media (max-width: 768px) {
        .responsive-heading {
            font-size: 2rem;
            text-align: center; /* Center align for better appearance */
        }
    }

/* Hide Read More button on mobile devices */
    @media (max-width: 768px) {
        .read-more-btn {
            display: none;
        }
    }

/* two buttons shown */
@media (max-width: 576px) {
    .course-item {
        margin-bottom: 1rem;
    }

    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.filters-sidebar {
    display: none; /* Hide by default */
}

@media (min-width: 1024px) {
    .filters-sidebar {
        display: block; /* Show on desktop devices */
    }
}
 /* Adjust the logo size for mobile devices */
        @media (max-width: 991.98px) {
            .navbar-brand img {
                width: 10px; /* Smaller width for mobile */
                height: 10px; /* Maintain aspect ratio */
            }
        }
 /* Hide the search icon and bar on smaller screens */
        @media (max-width: 991.98px) {
            #searchIcon {
                display: none !important;
            }
        }

/* Hide only the Certified Training dropdown on mobile/tablet */
@media (max-width: 991.98px) {
    .nav-item.dropdown .dropdown-menu {
        display: none !important;
    }
    .nav-item.dropdown .nav-link.dropdown-toggle::after {
        content: none !important;
    }
    .nav-item.dropdown {
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar-nav .nav-item {
        text-align: center; /* Ensures consistent alignment */
    }

    /* Override to keep 'Choose Region' visible */
    .nav-item.dropdown.me-4 .dropdown-menu {
        display: block !important;
    }
}

.location-box {
    background-color: rgb(255, 255, 255);
    color: white;
    padding: 20px;
    border-radius: 8px;
}
.location-section {
    padding: 20px;
}
.location-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.split-row {
    display: flex;
    flex-wrap: wrap;
}
.split-row > div {
    flex: 1;
    padding: 10px;
}
    .schedule-container {
        display: flex;
        font-family: Arial, sans-serif;
        color: #333;
    }

    .filters {
        width: 20%;
        padding: 20px;
        background-color: #f4f4f4;
        border-right: 1px solid #ddd;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .filters h4 {
        margin-bottom: 20px;
        font-size: 1.5em;
        color: #bf2427;
    }

    .filter-group {
        margin-bottom: 20px;
    }

    .filter-group h5 {
        margin-bottom: 10px;
        font-size: 1.2em;
        color: #555;
    }

    .filter-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1em;
        background-color: #fff;
    }

    .webinars {
        width: 80%;
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        background-color: #fafafa;
    }

    .webinar-card {
        position: relative;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .webinar-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .webinar-card h5 {
        font-size: 1.2em;
        margin-bottom: 10px;
        color: #333;
    }

    .webinar-card p {
        margin-bottom: 10px;
        color: #555;
    }

    .webinar-card .details span {
        display: inline-block;
        margin-right: 10px;
        font-size: 0.9em;
        color: #777;
    }

    .webinar-card .register-btn {
        display: inline-block;
        margin-top: 15px;
        padding: 10px 15px;
        background-color: #bf2427;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        font-size: 0.9em;
        font-weight: bold;
        transition: background-color 0.3s;
    }

    .webinar-card .register-btn:hover {
        background-color: #a51e21;
    }

    .webinar-card .show-more {
        background: none;
        border: none;
        color: #bf2427;
        cursor: pointer;
        font-size: 0.9em;
        font-weight: bold;
        margin-top: 10px;
        text-decoration: underline;
        transition: color 0.2s;
    }

    .webinar-card .show-more:hover {
        color: #a51e21;
    }

    .hidden-content {
        display: none;
        margin-top: 10px;
        color: #555;
        font-size: 0.9em;
    }


.clickable-image {
    width: 200px;
    height: 100px;
    cursor: pointer;
  }


.live-search-results {
    border: 1px solid #ccc;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.live-result-item:hover {
    background: #f0f0f0;
}

    .dropdown-menu {
        display: none;
        background-color: white;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    }

    .dropdown:hover .dropdown-menu {
        display: flex;
    }

    .dropdown-row {
        display: flex;
    }

    .dropdown-column {
        width: 200px;
        margin-right: 20px;
    }

    .dropdown-column h4 {
        font-size: 16px;
        margin-bottom: 10px;
        color: #e74c3c;
    }

    .dropdown-column ul {
        list-style: none;
        padding: 0;
    }

    .dropdown-column li {
        margin-bottom: 10px;
    }

    .dropdown-column li a {
        text-decoration: none;
        color: #000;
        font-size: 14px;
    }

    .dropdown-column li a:hover {
        text-decoration: underline;
        color: #e74c3c;
    }



#customForm.quick_form_22_css * {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word
}
.shiny-link {
    background-color: transparent; /* Transparent background */
    border: none; /* Remove border */
    text-decoration: underline; /* Underline text */
    color: black; /* Text color */
    padding: 10px; /* Padding for better clickability */
    display: inline-block; /* Make it a block element */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5), 
                 0 0 25px rgba(0, 0, 255, 0.5), 
                 0 0 5px rgba(0, 0, 255, 0.5); /* Text shadow for shine effect */
}


#searchBar {
    width: 200px;
    padding: 10px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
 /* Style for the Google Translate widget */
 #google_translate_element {
    position: fixed; /* Keep it fixed to the viewport */
    top: 5px; /* Distance from the top of the page */
    right: -10px; /* Distance from the right side of the page */
    z-index: 1000; /* Ensure it's on top of other elements */
    background-color: #fff9f9; /* Optional: Background for visibility */
    padding: 5px; /* Optional: Padding for aesthetics */
    border-radius: 5px; /* Optional: Rounded corners */
}
.image-container {
    display: flex;
    justify-content: center; /* Centers the images horizontally */
    align-items: center;     /* Centers the images vertically if necessary */
    flex-wrap: nowrap;       /* Prevents wrapping to a new line */
}

.image-container img {
    width: 200px; /* Adjust the size of the images */
    height: 100px; /* Maintains the aspect ratio */
}
  /* Styling for the WhatsApp button */
  .whatsapp_float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px; /* Position at the top */
    right: 20px; /* Position at the right */
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: glowing 1.5s infinite; /* Shining effect */
}

/* Icon styling */
.whatsapp-icon {
    margin-top: 15px;
}

/* Hover effect */
.whatsapp_float:hover {
    background-color: #128c7e;
    transition: background-color 0.3s ease-in-out;
}

/* Glowing animation */
@keyframes glowing {
    0% {
        box-shadow: 0 0 5px #25d366, 0 0 10px #25d366, 0 0 15px #25d366;
    }
    50% {
        box-shadow: 0 0 10px #25d366, 0 0 20px #25d366, 0 0 30px #25d366;
    }
    100% {
        box-shadow: 0 0 5px #25d366, 0 0 10px #25d366, 0 0 15px #25d366;
    }
}

.form-control {
    padding: 5px;
    border-radius: 10px;
   
}

.input-group-text {
    background: none;
    border: none;
    cursor: pointer;
}


.navbar {
    background-color: #ffeeee;
    padding: 10px 0;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.navbar ul li {
    display: inline;
    margin-right: 20px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul li a:hover {
    text-decoration: underline;
}

.reduce-space {
    margin-bottom: 15px; /* Reduce space between each item */
    padding-left: 5px;   /* Optional padding adjustments */
    padding-right: 5px;  /* Optional padding adjustments */
}

.course-item img {
    margin-bottom: 0; /* Remove any margin below the images */
}

.image-container {
    display: flex; /* Use flexbox to align items */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically if needed */
    flex-wrap: wrap; /* Allow items to wrap if there's not enough space */
    margin: 0 auto; /* Optional: center the container itself */
}

.image-container img {
    margin: 10px; /* Optional: add space between images */
    max-width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
}
.card {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-footer {
    background-color: #fff;
    border-top: none;
    padding: 1rem;
    font-family: 'Arial', sans-serif; /* Change to your preferred font*/
}

.btn-primary {
    background-color: #233f5e;
    border-color: #007bff;
    background-color: #165fac; /* Default primary color */
    color: white; /* Default text color */
}
.btn-primary:hover {
    background-color: black; /* Hover color */
    color: rgb(0, 0, 0); /* Text color on hover */
}
.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #000000;
    color: #000000;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

:root {
    --primary: #000000;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

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

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
.navbar-nav .nav-link {
    color: black !important; /* Set link color to black */
}

.navbar-nav .nav-link.active {
    color: rgb(73, 5, 230) !important; /* Ensure the active link is also black */
}

/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/nairobi.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.nav-link.dropdown-toggle {
    color: blue !important; /* Set link color to blue */
}
/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

/**.category a:hover img,
.course-item:hover img {
    
}


/*** Team ***/
.team-item img {
    transition: .0s;
}




/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}




/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
    font-family: 'Arial', sans-serif; /* Change to your preferred font*/
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Arial', sans-serif; /* Change to your preferred font*/
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.slideInDown {
    animation-name: slideInDown;
}

.social-icons-top {
    display: flex;
}

.btn-social {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
    color: #fff;
    background-color: #000;
    transition: all 0.3s ease;
}

.btn-social:hover {
    color: #000;
    background-color: #fff;
    border: 1px solid #000;
}
