* {
    --flag-black: #000000 ;
    --flag-blue: #00A3DD ;
    --flag-green:#1EB53A ;
    --flag-yellow:#FCD116;
}
#loading{
    width: 100%;
    height: 100vh;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
}
#loading img{
    animation: animate 1.5s linear infinite; 
}
  
@keyframes animate{ 
    0%{ 
      opacity: 0;
      scale: 1; 
    } 
    50%{ 
      opacity: 0.7; 
      scale: 2;
    } 
    100%{ 
      opacity: 0; 
      scale: 3;
    } 
  }

.black {
    background-color: var(--flag-blue);
    position: fixed !important;
    top: 0;
    left: 0;
    transition: 0.4s ease-in;
}

.scale>* {
    transition: 0.4s ease;
    scale: 0.95;
}

.alert {
    position: fixed;
    width: 80%;
    top: 100px;
    transform: translateX(10%);
}


.spacer {
    width: 100%;
    height: 100px;
    background-color: black;
}

.dm-sans {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.dm-serif-display-regular {
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
}

.dm-serif-display-regular-italic {
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: italic;
}

section {
    width: 100%;
    overflow: hidden;
}

.d-gr-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 20px;

}

.d-gr-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 30px;
}


h1 {
    font-size: 84px;
    font-family: "DM Serif Display", serif;
}

h2 {
    font-size: 50px;
    font-family: "DM Serif Display", serif;
}

h3 {
    font-size: 40px;
    font-family: "DM Serif Display", serif;
}

h4 {
    font-size: 32px;
    font-family: "DM Serif Display", serif;
}

h4 {
    font-size: 24px;
    font-family: "DM Serif Display", serif;
}

p {
    font-size: 20px;
    font-family: "DM Sans", sans-serif;
}

a:hover {
    color: var(--flag-green) !important;
}
header a:hover{
    color: var(--flag-black) !important;
}

header .nav-link {
    color: #f5f5f5;
}

header .logo {
    height: 70px;
}

header {
    width: 100%;
    color: fff;
    z-index: 1000;
}

header li.nav-item {
    margin-right: 20px;
    font-size: 19px;
}

.bg-black {
    background-color: 000;
}

.bg-brand {
    background-color: var(--flag-blue);
    color: #ffffff;
}
.bg-yellow {
    background-color: var(--flag-yellow);
    color: #ffffff;
}
.bg-yellow:hover {
    background-color: var(--flag-green);
    color: #ffffff;
}

.bg-brand2 {
    background:linear-gradient(var(--flag-blue), var(--flag-yellow) );
    color: #ffffff;
}

.btn:hover {
    color: #fff !important;
    background-color: var(--flag-green);
    border-color: none;
    box-shadow: 1px 1px 1px var(--flag-green);
}

.btn-outline-brand {
    border-color: none;
}

.my-focus:focus {
    border-color: #00A1DE;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(219, 182, 16, 0.25);

}

.form-navbar:before {
    position: absolute;
    left: 5px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #cccccc;
}

footer a {
    color: white !important;
}

footer a:hover {
    color: var(--flag-blue) !important;
}

.copyright {
    font-size: 16px;
}

.banner1 {
    width: 100%;
    height: 100vh;
    position: relative;
}

.banner1 h1 {
    color: white;
    text-shadow: 2px 1px #000;
}

.banner1 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner1 .heading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    text-align: -webkit-center;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    
}

#title{
    text-align: center;
    display: flex;
    justify-content: center;    
}

#title div:last-child{
    animation: fall 1s linear;
}

@keyframes fall{
    0%{
        transform: translateY(-200px);
        rotate: -45deg;
    }
    100%{
        transform: translateY(0px);
        rotate: 0deg;
        
        }
}

.banner2 {
    width: 100%;
    height: 70vh;
    position: relative;
}

.banner2 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner2 .heading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(0, 0, 0, .5);
}

.banner2 h1 {
    color: white;
    text-shadow: 2px 1px #000;
}

.bottom-banner {
    width: 100%;
    height: 70vh;
    position: relative;
}

.bottom-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-banner .heading {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .8);
}

.bottom-banner .heading {
    padding: 0 25%;
}

.bottom-banner .heading a {
    width: max-content;
}



.line {
    position: relative;
}

.line::before {
    content: "";
    width: 50px;
    height: 2px;
    position: absolute;
    bottom: 0;
    background-color: var(--flag-blue);
}

.brand {
    color: var(--flag-blue);
}

.btn-brand {
    background-color: var(--flag-yellow);
    color: white;
}

.abt-uganda {
    position: relative;
}

.abt-uganda img {
    position: absolute;
    top: 40px;
    left: 0;
    height: 100%;
    opacity: 0.35;
    width: 100%;
    object-fit: contain;
    z-index: -1;
}

.abt-africa {
    position: relative;
}

.mycard {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.mycard img {
    display: block;
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.card-heading {
    position: absolute;
    top: 0%;
    width: 100%;
    background-color:var(--flag-blue);
    height: 100%;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: 0.5s ease;
    opacity: 0;
    border-radius: 20px;
}

.card-heading h3 {
    transform: translateY(20px);
    transition: 0.5s ease;
}

.mycard:hover .card-heading {
    opacity: 1;
    ;
}

.mycard:hover .card-heading h3 {
    transform: translateY(0);
}

.blogsection {
    width: 100%;
    height: auto;
    padding: 8%;
    background-color: rgba(204, 171, 79, 0.2);
}

.blogitem {
    border-radius: 20px;
    overflow: hidden;
    max-height: 400px;
    transition: 0.35s ease;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.blogitem>:first-child {
    overflow: hidden;
    height: 50%;
}

.blogimage {
    display: block;
    transition: 0.4s ease;
}

.blogitem>:nth-child(2) {
    padding: 5%;
    height: 50%;
    background-color: white;
}


.blogitem:hover .blogimage {
    scale: 1.1;
}

.blogitem:hover {
    transform: translateY(-10px);
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.box {
    position: relative;
}





/*************************************Contact Page ***********************************/

.contact {
    height: auto;
    background-image: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .5)), url('/media/kenya.jpg');
    background-size: cover;
    background-position: center;
    align-content: center;
    padding: 8% 5% 5% 5%;

}

.contact .left {
    color: white;
    padding: 20px;

}

.card-contact {
    margin: 50px 0;
    max-width: 400px;
}

.py-8 {
    padding: 100px;
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    /* border-bottom: 1px solid rgba(0, 0, 0, .125); */
}

.input-group-prepend {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.input-group {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.input-group-text {
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 30px;
    color: #555;
    padding: -.5rem 0 -.5rem -.3rem;
    -webkit-transition: color .3s ease-in-out, border-color .3s ease-in-out, background-color .3s ease-in-out;
    transition: color .3s ease-in-out, border-color .3s ease-in-out, background-color .3s ease-in-out;
}

.input-group .input-group-prepend .input-group-text {
    border-left: 1px solid #e3e3e3 !important;
}

.input-group .input-group-prepend {
    margin-right: 0;
}

.input-group,
.form-group {
    margin-bottom: 10px;
    position: relative;
}
.form-control:focus{
    border-color:var(--flag-red) !important;
    box-shadow: 1px 1px 10px var(--flag-red);
}

.now-ui-icons {
    display: inline-block;
    font: normal normal normal 14px / 1 'Nucleo Outline';
    font-size: inherit;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.guidline:hover {
    transform: translateX(20px);
}

.guide-img {
    width: 200px;
    height: 200px;
    display: block;
}

/* FAQ section */
.chevron-arrow {
    display: inline-block;
    transition: .5s ease-in-out;
    font-family: bootstrap-icons !important;
}

.text-reset {
    --bs-text-opacity: 1;
    color: inherit !important;
}

.map1 {
    height: 80vh;
    width: 100%;
    object-fit: cover;
}

.whatsapp{
    position: fixed;
    bottom: 20px;
    left: 20px;
}
.whatsapp img{
    width: 45px;
    height: 45px;
}
.abt-icon{
    width: 100px;
    height: 100px;
    padding: 20px;
    background: var(--flag-red);
    border-radius: 50%;
    position: relative;

}
.abt-icon img{
    width: 100%;
}

/* About page Image Grid */
.image-grid{
    padding: 0 1%;
}
.grid{
    display: grid;
    grid-template-columns: 4.5fr 4fr 7fr;
    gap: 1vw;
    width: 100%;
    height: 100%;
}
.grid>div:nth-child(1){
    height: 70%;
}
.grid>div:nth-child(2){
    height: min-content
}

.grid-1{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1vw;
}
.grid-2{
    display: grid;
    grid-template-columns: 2fr 3fr;
    column-gap: 1vw;
    row-gap: 1vw;
}
.grid img{
    width: 100%;
    border-radius: 10px;
}
/* About page Image Grid */

#top{
    position: fixed;
    width: 45px;
    height: 45px;
    right: 20px;
    bottom: 20px;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    text-align: center;
    
}
#top::after{
    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--flag-yellow);
    scale: .9;
    z-index: -1;
}
.listing-gallery{
    display: grid;
    grid-template-columns: 4fr 3fr 2fr;
    gap: 10px;
}
.listing-gallery img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.listing-gallery>div:last-child{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 10px;
}
.listing-gallery>div:nth-child(2){
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap:10px;
}
.listing-gallery>div:nth-child(2)>img:first-child{
    grid-column: 1 / span 2;
    overflow: hidden;
}
#slideshow{
    position: fixed;
    display: none;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: 1001;
    padding: 5%;
    transition: 0.3s ease;
}

#slideshow #close-img{
    position: fixed;
    top: 50px;
    right: 50px;
    width: 40px;
    height: 40px;
}

.map{
    border: 1px solid gray;
}
.map iframe{
    width: 100%;
}
.sidebar>*{
    margin: 10px 0;
}
.address-icon{
    height: min-content;
    scale: 60%;
}

/******************************* Tablet view ***************************/
@media screen and (max-width:992px) {
    .d-gr-3 {
        grid-template-columns: 1fr 1fr;
    }

    header form {
        display: none;
    }

    .banner1 {
        height: 60vh;
    }

    .banner2 {
        height: 60vh;
    }

    h1 {
        font-size: 60px;
    }

    .guide-img {
        width: 100%;
        margin-bottom: 20px;
    }

    .sidebar {
        padding: 0 3%;
    }

    .spacer {
        height: 110px;
    }

    .bottom-banner {
        height: 60vh;
    }

    .bottom-banner .heading {
        padding: 5%;
    }

    iframe {
        width: 100%;
        height: 40vh;
    }
}


/******************************* Mobiel view ***************************/

@media screen and (max-width:600px) {

    .py-8 {
        padding: 120px 20px 50px 20px;
    }

    .d-gr-3 {
        grid-template-columns: 1fr;
    }

    .d-gr-2 {
        grid-template-columns: 1fr;
    }

    header form {
        display: none;
    }

    .banner1 {
        height: 50vh;
    }

    .banner2 {
        height: 50vh;
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 30px;
    }

    .guide-img {
        width: 100%;
        margin-bottom: 20px;
        object-fit: contain;
    }

    .down {
        display: block;
    }

    iframe {
        width: 100%;
        height: 50vh;
    }

    .contact{
        padding: 15% 2% 5% 2%;
    }

    .copyright {
        margin-top: 20px;
    }
    .card-heading {
        opacity: 1;
        background-color: rgba(0, 0, 0, .5);
    }
    .whatsapp{
        bottom: 10px;
        left: 10px;
    }

    #top{
        display: none;
    }
}


@media screen and (max-width:400px) {
    header .logo {
        height: 50px;
    }

    .banner1 {
        height: 70vh;
    }

    .banner2 {
        height: 70vh;
    }

    h1 {
        font-size: 45px;
    }

    h2 {
        font-size: 35px;
    }

    h3 {
        font-size: 25px;
    }

    iframe {
        width: 100%;
        height: 40vh;
    }
    .contact{
        padding: 15% 2% 5% 2%;
    }

}