.about-heading,
.card,
.contact-section,
.feature,
.hero,
.hero-content,
.mission-section {
    text-align: center
}

.btn,
.cta-btn,
.footer-links ul li a,
.logo,
.nav-link,
.topan {
    text-decoration: none
}

.about-heading,
.hero-content h1,
.section-heading {
    text-transform: uppercase
}

html {
    scroll-behavior: smooth
}

.header-wrapper.scrolled .navbar,
.logo-container {
    left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    top: 0
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'work sans', sans-serif;
    overflow-x: hidden
}

.header-wrapper {
    position: relative;
    width: 100%;
    z-index: 1000
}

.topan {
    color: inherit;
    font-weight: inherit
}

.top-bar {
    background-color: #f0f3fb;
    color: #1f3589;
    padding: 8px 40px 8px 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    position: relative;
    transition: transform .1s ease-in-out;
    z-index: 1001
}

.contacta-info i,
.cta-btn,
.nav-link {
    color: #fff;
    font-size: 18px
}

.logo img,
.logo-container {
    transition: .3s ease-in-out
}

.top-bar svg {
    margin-right: 8px;
    vertical-align: middle;
    stroke: #1f3589
}

.mobile-menu-btn:focus {
    outline: 0
}

.business-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px
}

.contacta-info {
    display: flex;
    gap: 20px;
    font-size: 18px
}

.contacta-info .icon {
    vertical-align: middle;
    margin-right: 10px;
    color: #333
}

.contacta-info span {
    display: flex;
    align-items: center;
    gap: 6px
}

.logo-container {
    position: absolute;
    z-index: 1002;
    background: #fff;
    padding: 15px 2rem;
    height: 120px;
    display: flex;
    align-items: center
}

.nav-item,
.navbar {
    align-items: center
}

.logo {
    display: block
}

.nav-item,
.nav-link,
.nav-menu,
.navbar {
    display: flex
}

.logo img {
    height: 65px;
    width: auto
}

.navbar {
    background-color: #017aa2;
    padding: 0 2rem 0 300px;
    height: 80px;
    transition: background-color .4s ease-in-out;
    position: relative;
    z-index: 1000
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.nav-menu {
    list-style: none;
    gap: 45px;
    margin: 0
}

.nav-link {
    font-weight: 500;
    align-items: center;
    gap: 6px;
    transition: color .2s
}

.nav-link:hover {
    color: #fe5e00
}

.nav-link::after {
    content: '';
    font-size: 20px;
    font-weight: 400;
    margin-left: 2px
}

.header-wrapper.scrolled .navbar {
    position: fixed;
    width: 100%;
    background-color: #fff
}

.header-wrapper.scrolled .logo-container {
    position: fixed;
    top: 0;
    height: 80px;
    background-color: #fff
}

.header-wrapper.scrolled .logo img {
    height: 50px
}

.header-wrapper.scrolled .nav-link {
    color: #272e3d
}

.cta-btn {
    background-color: #e31837;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color .3s
}

.cta-btn:hover {
    background-color: #bf152d
}

.mobile-menu-btn {
    display: none;
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    right: 20px;
    top: 25px;
    z-index: 1003
}

.hamburger,
.hamburger:after,
.hamburger:before {
    display: block;
    width: 24px;
    height: 2px;
    background: #e31837
}

.hamburger {
    position: relative;
    transition: background .2s ease-out
}

.hamburger:after,
.hamburger:before {
    content: '';
    position: absolute;
    transition: .2s ease-out
}

.hamburger:before {
    top: -8px
}

.hamburger:after {
    bottom: -8px
}

.mobile-menu-btn.active .hamburger {
    background: 0 0
}

.mobile-menu-btn.active .hamburger:before {
    transform: rotate(45deg);
    top: 0
}

.mobile-menu-btn.active .hamburger:after {
    transform: rotate(-45deg);
    bottom: 0
}

.mobile-contacta {
    display: none
}

@media (min-width:992px) and (max-width:1024px) {
    .business-hours,
    .contacta-info {
        font-size: 16px
    }
}

@media (max-width:991px) {
    .header-wrapper {
        position: fixed;
        top: 0;
        width: 100%
    }
    .top-bar {
        display: none
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px
    }
    .logo-container {
        position: fixed;
        width: 100%;
        height: 80px;
        padding: 10px 2rem
    }
    .logo img {
        height: 50px
    }
    .navbar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: auto;
        background: #fff;
        padding: 100px 20px 20px;
        transform: translateX(100%);
        transition: transform .1s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, .1);
        overflow-y: auto;
        margin-top: 0;
        z-index: 1000
    }
    .cta-btn,
    .nav-item,
    .nav-link,
    .nav-menu {
        width: 100%
    }
    .navbar.active {
        transform: translateX(-300px)
    }
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%
    }
    .nav-container {
        flex-direction: column;
        align-items: flex-start
    }
    .nav-menu {
        flex-direction: column;
        gap: 0
    }
    .nav-link {
        color: #272e3d;
        padding: 15px 0;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid rgba(0, 0, 0, .1)
    }
    .mobile-contacta {
        display: block;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid rgba(0, 0, 0, .1)
    }
    .mobile-contacta .contacta-info {
        flex-direction: column;
        gap: 15px
    }
    .mobile-contacta .contacta-info p {
        color: #666;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0
    }
    .mobile-contacta .contacta-info i {
        color: #e31837;
        width: 16px;
        text-align: center
    }
    .cta-btn {
        margin-top: 30px;
        text-align: center
    }
}

.about-image,
.partners-slider,
footer {
    overflow: hidden
}

.about-content,
.contact-container,
.contact-item,
.cta-buttons,
.features,
.footer-container,
.hero,
.icon,
.partners-slider,
.partners-track {
    display: flex;
    display: flex
}

@media (max-width:767px) {
    .logo-container {
        padding: 10px 20px
    }
    .mobile-menu-btn {
        right: 15px
    }
    .navbar {
        width: 100%;
        right: -100%
    }
    .navbar.active {
        transform: translateX(-100%)
    }
}

.hero {
    position: relative;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: url(../img/nairobi-city-county-kenya-s-capital-east-africa-2024-10-18-08-43-41-utc.webp) center center/cover no-repeat;
    animation: 12s infinite changeBackground;
    transition: background 2s ease-in-out
}

.btn,
.feature {
    transition: .3s
}

@keyframes changeBackground {
    0% {
        background: url(../img/nairobi-city-county-kenya-s-capital-east-africa-2024-10-18-08-43-41-utc.webp) center center/100% no-repeat
    }
    33% {
        background: url(../img/kenyan-capitals-city-cityscapes-skyline-skscrapers-2024-10-18-18-02-45-utc.webp) center center/105% no-repeat
    }
    66% {
        background: url(../img/luxury-home-with-swimming-pool-2024-09-15-01-13-25-utc.webp) center center/100% no-repeat
    }
    100% {
        background: url(../img/construction-site-during-the-construction-of-an-of-2024-02-27-22-02-13-utc.webp) center center/105% no-repeat
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 13, 13, .6)
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f0f8ff
}

.contact-info h2,
.hero-content h1 span {
    color: #3b9abf
}

.hero-content p {
    font-size: 1.2rem;
    margin: 20px 0;
    color: #f0f8ff
}

.cta-buttons,
.features {
    justify-content: center;
    gap: 20px;
    margin-top: 20px
}

.feature {
    background: rgba(255, 255, 255, .1);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: #fdcd1b
}

.feature:hover {
    background: rgba(255, 255, 255, .2)
}

.btn {
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 30px
}

#contact,
.mission-section,
footer {
    padding: 20px 10px
}

.primary,
.secondary:hover {
    background: #3b9abf;
    color: #fff
}

.primary:hover {
    background: #565aa6
}

.secondary {
    background: #fff;
    color: #0d0d0d
}

.mission-section h2 {
    font-size: 28px;
    color: #3b9abf;
    margin-bottom: 20px
}

.card {
    background: linear-gradient(135deg, #3b9abf, #141a1b);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    transition: transform .3s ease-in-out
}

.card:hover {
    transform: translateY(-5px)
}

.icon {
    margin-bottom: 15px;
    justify-content: center;
    align-items: center;
    margin-left: auto
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff
}

.card p,
.card ul {
    color: #f1f1f1;
    font-size: 1.2rem
}

.card p {
    justify-content: left
}

.card ul {
    text-align: left;
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px
}

.about-us {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    border-radius: 10px;
    color: #000
}

.about-image,
.about-text {
    min-width: 50%;
    max-width: 50%
}

.about-image,
.contact-container {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1)
}

.about-heading {
    font-size: 28px;
    color: #3b9abf;
    margin-bottom: 20px
}

.about-content {
    justify-content: space-between;
    gap: 20px
}

.about-image {
    flex: 1;
    background-color: #bf8d30
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.about-text {
    flex: 1;
    color: #000
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px
}

.contact-section {
    padding: 40px 20px;
    background-color: #191659;
    color: #fff
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #bf8d30;
    margin-bottom: 20px
}

.contact-container {
    flex-wrap: wrap;
    background: #fff
}

.footer,
footer {
    background-color: #191659
}

.contact-item {
    align-items: center;
    margin-bottom: 15px
}

.icon {
    width: 24px;
    height: 24px;
    color: #bf8d30;
    margin-right: 15px
}

.contact-item p {
    font-size: 16px;
    color: #191659;
    margin: 0
}

.map-container {
    flex: 1;
    padding: 20px
}

.map {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 10px
}

.footer {
    color: #fff;
    padding: 40px 20px
}

.footer-container {
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative
}

.logo-small {
    width: 50px;
    height: auto;
    margin-right: 10px
}

.footer-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}

.logo-center {
    width: 80px;
    height: auto
}

.footer-links {
    flex: 1;
    text-align: right
}

#contact,
.footer-bottom,
footer {
    text-align: center
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #bf8d30
}

.footer-links ul {
    list-style: none;
    padding: 0
}

.footer-links ul li {
    margin-bottom: 8px
}

.footer-links ul li a {
    color: #fff;
    transition: color .3s
}

.footer-links ul li a:hover {
    color: #bf8d30
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 3px solid #bf8d30;
    font-size: 17px
}

@media (max-width:768px) {
    .hero {
        background: url(../img/nairobi-city-county-kenya-s-capital-east-africa-2024-10-18-08-43-41-utc.webp) center center/cover no-repeat;
        animation: none
    }
    .hero-content h1 {
        font-size: 2.5rem
    }
    .about-content,
    .features {
        flex-direction: column;
        align-items: center
    }
    .about-image,
    .about-text {
        max-width: 100%
    }
    .contact-container,
    .footer-container {
        flex-direction: column;
        text-align: center
    }
    .contact-item {
        justify-content: center
    }
    .footer-logo {
        position: relative;
        left: auto;
        transform: none;
        margin-top: 20px
    }
    .footer-links {
        text-align: center;
        margin-top: 20px
    }
}

@keyframes moveUpDown {
    0%,
    100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.footer-container a,
.footer-container p {
    color: #fff;
    text-decoration: none;
    margin: 5px 0
}

.footer-container img {
    width: 50px;
    height: 50px;
    margin-top: 10px
}

#contact,
iframe {
    width: 100%
}

@media (max-width:600px) {
    .footer-container p {
        font-size: 14px
    }
}

#contact {
    background-color: #f9f9f9
}

.section-heading {
    font-size: 28px;
    font-weight: 700;
    color: #3b9abf;
    margin-bottom: 20px
}

.contact-container {
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px
}

.contact-info,
.contact-map {
    width: 50%
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: 0
}

.contact-info {
    text-align: left;
    padding: 10px
}

.contact-info address {
    font-size: 16px;
    line-height: 1.6;
    font-style: normal
}

.contact-info a {
    color: #000;
    text-decoration: underline
}

.partners-section {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8
}

.partners-heading {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px
}

.partners-container {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    background: #fff;
    padding: 10px 0
}

.partners-slider {
    align-items: center;
    position: relative
}

.partners-track {
    animation: 30s linear infinite scrollLeft;
    gap: 20px
}

.partners-track span {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    padding: 10px 20px;
    background: #3b9abf;
    border-radius: 5px;
    white-space: nowrap
}

@keyframes scrollLeft {
    from {
        transform: translateX(0)
    }
    to {
        transform: translateX(-50%)
    }
}

@media (max-width:768px) {
    .contact-container {
        flex-direction: column;
        text-align: center
    }
    .contact-info,
    .contact-map {
        width: 100%
    }
    .contact-info {
        text-align: center
    }
    .partners-heading {
        font-size: 20px
    }
    .partners-track span {
        font-size: 16px;
        padding: 8px 15px
    }
}