:root {
    --brand: #ccab4f;
    --brand-dark: #8f5f05;
}

body {
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.black {
    background-color: #000;
    position: fixed !important;
    top: 0;
    left: 0;
    transition: 0.4s ease-in;
}

.scale>* {
    transition: 0.4s ease;
    scale: 0.95;
}

.toast-stack {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 720px);
    z-index: 1100;
}


.spacer {
    width: 100%;
    height: 100px;
    background-color: black;
}

.dm-sans {
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.dm-serif-display-regular {
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
    font-style: normal;
}

.dm-serif-display-regular-italic {
    font-family: "DM Serif Display", Georgia, 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", Georgia, serif;
}

h2 {
    font-size: 50px;
    font-family: "DM Serif Display", Georgia, serif;
}

h3 {
    font-size: 40px;
    font-family: "DM Serif Display", Georgia, serif;
}

h4 {
    font-size: 32px;
    font-family: "DM Serif Display", Georgia, serif;
}

h5 {
    font-size: 24px;
    font-family: "DM Serif Display", Georgia, serif;
}

p {
    font-size: 20px;
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a:hover {
    color: #ccab4f !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: #ccab4f;
    color: #111;
}

.btn:hover {
    color: gold;
    background-color: var(--bs-btn-hover-bg);
    border-color: gold;
    box-shadow: 1px 1px 1px #ccab4f;
}

.btn-outline-brand {
    border-color: #ccab4f;
}

.my-focus:focus {
    border-color: #ccab4f;
    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: black !important;
}

footer a:hover {
    color: #ccab4f !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: #ccab4f;
}

.brand {
    color: #8f6a12;
}
.bg-black .brand, .bg-dark .brand, .banner1 .brand, .banner2 .brand { color: #ccab4f; }

.btn-brand {
    background-color: #ccab4f;
    color: #111;
}

.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: #ccab4f;
    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("../img/contact-bg.005e8ceb3eff.webp");
    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:#ccab4f !important;
    box-shadow: 1px 1px 10px #ccab4f;
}

.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: #ccab4f;
    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;
    border: 0;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 900;
}
#top.show{
    opacity: 1;
    visibility: visible;
}
#top::after{
    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #8f5f05;
    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%;
    }

}

/*************************** Additions (2026 rebuild) ***************************/
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.site-note { background: var(--brand); color: #000; text-align: center; padding: 6px 12px; font-size: 15px; position: relative; z-index: 1001; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
img { max-width: 100%; height: auto; }
.banner1 img, .banner2 img, .bottom-banner img, .mycard img { height: 100%; }
.navbar-brand .logo { width: auto; }
header .btn-link.nav-link { color: #f5f5f5; text-decoration: none; padding: .5rem 0; }

/* hero */
.banner1 .heading h1, .banner2 .heading h1 { color: #fff; text-shadow: 2px 1px #000; }
.hero-sub { color: #fff; font-size: 22px; max-width: 760px; margin: 0 auto; text-shadow: 1px 1px #000; }
.banner-kicker { display: inline-block; color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: 16px; margin-bottom: .5rem; }

/* reveal-on-scroll (replaces AOS) */
.js-reveal [data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal [data-aos="fade-right"] { transform: translateX(-24px); }
.js-reveal [data-aos="fade-left"] { transform: translateX(24px); }
.js-reveal [data-aos="zoom-in"], .js-reveal [data-aos="fade-in"] { transform: none; }
.js-reveal [data-aos].aos-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* cards: fixed aspect ratios => no layout shift */
.mycard { aspect-ratio: 16 / 10; display: block; }
.blogitem { display: flex; flex-direction: column; height: 100%; max-height: none; }
.blogitem > :first-child { height: auto; aspect-ratio: 16 / 10; }
.blogitem > :first-child img { width: 100%; height: 100%; object-fit: cover; }
.blogitem > :nth-child(2) { height: auto; flex: 1; }
.blogitem .card-title { font-size: 22px; color: #111; margin: 0; }
.d-gr-cat { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.post-meta { font-size: 15px; color: #555; margin-bottom: .5rem; }
.post-meta p, .post-meta span { font-size: 15px; margin: 0; }

/* article */
.post-title { font-size: 46px; line-height: 1.15; color: #111; }
.post-content { font-size: 19px; line-height: 1.75; color: #222; overflow-wrap: anywhere; }
.post-content p, .post-content li { font-size: 19px; }
.post-content img { border-radius: 12px; margin: 1rem 0; }
.post-content h2 { font-size: 36px; margin-top: 2rem; }
.post-content h3 { font-size: 30px; margin-top: 1.75rem; }
.post-content h4 { font-size: 26px; margin-top: 1.5rem; }
.post-content h5 { font-size: 23px; margin-top: 1.5rem; }
.post-content table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.post-content td, .post-content th { border: 1px solid #ddd; padding: .5rem; }
.post-content blockquote { border-left: 4px solid var(--brand); padding-left: 1rem; color: #444; font-style: italic; }
.post-content figure.image { margin: 1rem 0; }
.post-content figure.image-style-side { float: right; max-width: 50%; margin-left: 1rem; }
.post-content .media iframe, .post-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.post-content a, .page-content a, .form-check-label a { color: var(--brand-dark); }
.breadcrumb { font-size: 15px; margin-bottom: .75rem; }
.breadcrumb a { color: var(--brand-dark); text-decoration: none; }
.share-links a { display: inline-block; margin-right: .75rem; font-size: 15px; color: var(--brand-dark); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* pagination */
.pagination .page-link { color: #000; }
.pagination .active > .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }

/* misc */
.btn-brand:focus-visible, .form-control:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.section-bg { position: absolute; inset: 40px 0 0 0; width: 100%; height: 100%; object-fit: contain; opacity: .35; z-index: -1; }
.abt-uganda img.section-bg { position: absolute; }
.errorlist { color: #b91c1c; list-style: none; padding: 0; font-size: 15px; margin: .25rem 0 0; }
.page-content { font-size: 18px; }
.page-content p, .page-content li { font-size: 18px; }
.faq-item summary { cursor: pointer; font-size: 20px; font-family: "DM Serif Display", Georgia, serif; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .chevron-arrow { transform: rotate(180deg); }
.whatsapp { z-index: 900; }
footer .nav-link, footer a { color: #111 !important; }

@media screen and (max-width: 992px) {
    .post-title { font-size: 36px; }
}
@media screen and (max-width: 600px) {
    .post-title { font-size: 30px; }
    .post-content, .post-content p, .post-content li { font-size: 17px; }
    .post-content figure.image-style-side { float: none; max-width: 100%; margin: 1rem 0; }
    .hero-sub { font-size: 18px; }
}
