@import url(assets/css/bootstrap-grid.min.css);
@import url(css/animate.min.css);
@import url(css/owl.carousel.min.css);
@import url(css/jquery.fancybox.min.css);

body {
    margin: 0;
    background-color: rgb(243, 247, 252);
    font-family: "Libre Baskerville", serif;
}

.showcase {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.showcase video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3636362b 0%, rgba(36, 36, 36, 0.3) 100%);
    z-index: 0;
}

.text {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 100%;
    animation: fadeInUp 1s ease-out;
}

.showcase .text .title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-family: "Grechen Fuemen", cursive;
    letter-spacing: 4px;

}

.subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.cta-button {
    background: linear-gradient(45deg, #1b1b1b, #9cdef4);
    border: none;
    color: white;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px #9cdef4a5;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-family: "Grechen Fuemen", cursive;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(156, 222, 244, 0.548);
}

.cta-button:active {
    transform: translateY(1px);
}

.cta-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #9cdef48f;
    }

    70% {
        box-shadow: 0 0 0 15px #9cdef449;
    }

    100% {
        box-shadow: 0 0 0 0 #1616164a;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Find Reasons */
.reasons {
    text-align: center;
    word-spacing: 2px;
    font-size: 50px;
    padding-top: 60px;
    color: #9cdef4;
    text-transform: capitalize;
}

.experience {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 10px 50px;
}

.experience h2 {
    font-weight: 900;
    font-size: 20px;
    color: #9cdef4;
    font-size: 1.5rem;
    font-family: "Grechen Fuemen", cursive;
    padding-left: 10px;
    text-transform: capitalize;
}

.experience-description {
    color: #666;
    margin: 2rem 0;
}

.experience .count {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
}

.experience .count h5 {
    border: 1px solid #b0b0b0;
    padding: 20px 20px 10px 20px;
    box-shadow: 0 0 5px #e8e7e7;
}

.experience .count .counter {
    font-size: 4rem;
    color: #9cdef4;
}

.experience .count .counter-words {
    color: #666;
}

.who {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
    padding: 80px 50px 0px 50px;
}

.who .intro-content {
    padding-right: 2rem;
}

.who h2 {
    font-weight: 900;
}

.who .intro-content h2 {
    color: #9cdef4;
    font-size: 1.5rem;
    font-family: "Grechen Fuemen", cursive;
    margin-bottom: 1rem;
}

.who .intro-content h6 {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 2rem 0;
}

.who .book {
    display: inline-block;
    padding: 12px 30px;
    background-color: #9cdef4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.who .book:hover {
    background-color: #7ab8d8;
    transform: translateY(-2px);
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #9cdef4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-content {
    flex-grow: 1;
}

.service-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #666;
}

.service-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}


/* ######################################## */


/* Explore */
.explore {
    margin: 0px 0px 40px 0px;
}

.explore h2 {
    text-align: center;
    word-spacing: 2px;
    font-size: 50px;
    padding-top: 60px;
    color: #9cdef4;
    text-transform: capitalize;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
    padding: 10px;
}

.image-item {
    text-align: center;
    padding: 0px;
    overflow: hidden;
    position: relative;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.image-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-item:hover .overlay {
    opacity: 65%;
    cursor: pointer;
}


.best-of-uganda div h1 {
    font-size: 50px;
    line-height: 90px;
    text-transform: capitalize;
    color: #666;
    text-align: center;
}

.best-of-uganda div h1 b {
    background-color: #9cdef4;
    padding: 10px;
    font-size: 70px;
    color: white;
}

/* automatic slider */
.slider {
    overflow: hidden;
    padding: 20px 0;
    background-color: white;
    position: relative;
    margin: 30px 0;
}

.slider:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    background-color: #9cdef4;
    height: 100%;
    content: "";
    z-index: 2;
}

.slider:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    background-color: #9cdef4;
    height: 100%;
    content: "";
    z-index: 2;
}

.image-slider {
    white-space: nowrap;
    display: inline-block;
    animation: scroll 20s linear infinite;
}

/* Duplicate the images in the animation */
.image-slider {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

.image-slider img {
    height: 250px;
    margin: 0 10px;
    display: inline-block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Changed from -100% to -50% */
    }
}

.image-slider:hover {
    animation-play-state: paused;
}


/* Reviews */

.reviews {
    margin-top: 100px;
}

.reviews h2 {
    text-align: center;
    word-spacing: 2px;
    font-size: 50px;
    padding-top: 60px;
    color: #9cdef4;
    text-transform: capitalize;
}

.reviews .reviews_description {
    font-size: 14px;
    padding: 5px 100px;
}

.client-reviews {
    margin-top: 50px;
}

.single-review {
    position: relative;
    background-color: rgb(243, 247, 252);
    -webkit-box-shadow: 0 10px 50px 0px rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 50px 0px rgba(0, 0, 0, 0.12);
    -webkit-transform: scale(0.96);
    transform: scale(0.96);
    -webkit-transition: background-color, -webkit-transform 0.3s ease-in-out 0s;
    transition: background-color, -webkit-transform 0.3s ease-in-out 0s;
    transition: background-color, transform 0.3s ease-in-out 0s;
    transition: background-color, transform 0.3s ease-in-out 0s, -webkit-transform 0.3s ease-in-out 0s;
    z-index: 1;
    color: #666;
    font-size: 14px;
}

.owl-item.active.center .single-review {
    background-color: rgb(243, 247, 252);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.review-area.bg-overlay::after {
    opacity: 1;
}

.single-review .quot-icon {
    position: absolute;
    top: 8%;
    left: 13%;
}

.associations {
    padding: 40px 50px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
}

.associations img {
    width: 50%;
    border-radius: 50%;
}


@media screen and (max-width:1200px) {
    .carousel .list .item .content {
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
        padding-right: 5%;
        max-width: 90%;
    }

    .who {
        padding: 40px 30px 0px 30px;
    }

    .associations {
        padding: 40px 30px;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width:900px) {

    .experience {
        margin-top: 50px;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:800px) {
    .explore h1 {
        font-size: 2rem;
    }

    .reviews {
        margin-top: 10px;
    }

    .reviews h1 {
        font-size: 2rem;
    }

    .associations {
        margin-top: 50px;
    }

}

@media screen and (max-width:768px) {
    .reasons {
        font-size: 40px;
    }

    .experience {
        padding: 10px 20px;
    }

    .who {
        grid-template-columns: 1fr 1fr;
        height: auto;
        padding: 30px 20px;
    }

    .who .intro-content {
        padding-right: 0;
    }

    .explore h2 {
     font-size: 40px;
}

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews h2 {
    font-size: 40px;
}

    .reviews .reviews_description {
        font-size: 14px;
        padding: 5px 50px;
    }

}


@media screen and (max-width: 600px) {

    .reasons {
        font-size: 30px;
        padding: 10px 20px 0px 20px;
    }

    .experience {
        padding: 10px 50px;
    }

    .experience h2 {
        font-size: 24px;
    }

    .experience .count .counter {
        font-size: 3rem;
    }

    .experience .count h5 {
        font-size: 1rem;
    }

    .who {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr;
        padding: 40px 50px 0px 50px;
    }

    .service-item {
        margin-top: 25px;
    }

    .best-of-uganda div h1 {
        font-size: 40px;
        line-height: 90px;
        text-transform: capitalize;
    }

    .best-of-uganda div h1 b {
        font-size: 50px;
    }


    .reviews {
        margin-top: 0px;
    }

    .reviews h1 {
        margin-top: 0px;
        font-size: 1.6rem;
    }


    .single-review {
        font-size: 13px;
    }

    .single-review .review-text h5 {
        font-size: 13px;
    }

    .single-review .review-text b {
        font-size: 12px;
    }

    .associations {
        margin-top: 50px;
    }

}

@media screen and (max-width: 500px) {
    .showcase .text .title {
        font-size: 2.2rem;
    }

    .experience .count {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .best-of-uganda div h1 {
        font-size: 40px;
        line-height: 70px;
    }

    .best-of-uganda div h1 b {
        padding: 5px;
        font-size: 45px;
    }

    .reviews .reviews_description {
        font-size: 14px;
        padding: 5px 40px;
    }


    .association {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 400px) {

    .showcase .text .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .best-of-uganda div h1 {
        font-size: 30px;
        line-height: 70px;
    }

    .best-of-uganda div h1 b {
        padding: 5px;
        font-size: 35px;
    }

    .who {
        padding: 80px 20px 0px 20px;
    }

    .who .intro-content {
        text-align: center;
    }

    .service-item {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .service-icon {
        margin: 0px 0px 0px 150px;
    }

}

@media screen and (max-width: 320px) {

    .showcase .text .title {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .reasons {
        text-align: center;
        word-spacing: 2px;
        font-size: 10px;

    }

    .experience {
        margin-top: 10px;
        padding: 10px 15px;
    }

    .explore h1 {
        margin-top: 40px;
    }

    .reviews .reviews_description {
        font-size: 14px;
        padding: 5px;
    }

    .reasons {
        font-size: 20px;
    }

    .service-icon {
        margin: 0px 0px 0px 110px;
    }

}

@media screen and (max-width: 480px) {
    .carousel .list .item .content {
        top: 5%;
        max-width: 95%;
    }

    .carousel .list .item .title {
        font-size: 35px;
        line-height: 2.8rem;
    }

    .thumbnail .item {
        width: 100px;
        height: 140px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .experience .count {
        grid-template-columns: 1fr;
    }

    .reasons {
        font-size: 35px;
        padding-top: 40px;
    }

    .associations {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .reviews h1 {
        font-size: 35px;
    }

    .reviews .reviews_description {
        padding: 5px 20px;
    }
}
