/********** Template CSS **********/
:root {
    --primary: #FC8500;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;

    --color-white-1: whitesmoke;
    --color-orange-1: orangered;
    --color-green-1: rgb(1, 60, 1);
    --color-green-2: rgb(1, 60, 1, 0.1);
    --color-orange-2: rgb(255, 69, 0, 0.1);
    --color-dark-1: rgb(62, 100, 100);
    --color-dark-2: rgb(38, 114, 114);
    --color-dark-3: rgb(187, 209, 209);
    --color-black-1: rgb(0, 0, 0);
    --fontsize-maelezo-1: 1.15rem;
    --fontsize-maelezo-2: 1.15rem;
    --fontsize-maelezo-3: 1.3rem;
    --fontsize-maelezo-4: .8rem;
    --fontsize-footer: 1rem;
    --fontsize-maelezo-small: .8rem;

    --transition: all 300ms ease;



    --shadow-light: 0px 0px 10px rgba(255, 255, 255, 0.6);
    --shadow-dark: 0px 0px 10px rgba(0, 0, 0, 0.6);
}




*, *::before, *::after { box-sizing: border-box;}



.container-1{width:100%; padding-right:var(--bs-gutter-x, 1rem);padding-left:var(--bs-gutter-x, 1rem);margin-right:auto; margin-left:auto; margin-top: 2px; margin-bottom: 2px; border-radius: 2px; box-shadow: var(--shadow-light); position: relative;}




.back-to-top {position: fixed; display: none; right: 30px; bottom: 30px; z-index: 99; }


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 1;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}
.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}
.btn.btn-primary{
    background: rgb(255, 68, 0, 0.6);
}
.btn.btn-primary:hover {
    color: var(--color-orange-1);
    background: transparent;
}
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 40px;
    height: 40px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}






.btn.btn-1 {
    padding: 5px  20px;
    color: var(--color-white-1);
    background-color: var(--color-orange-1);
    border: 0.5px solid var(--color-white-1);
    font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-maelezo-2);
    font-weight: 400;
}
.btn.btn-1:hover {
    background: rgba(255, 255, 255, .15);
    border: 1px solid var(--color-orange-1);
    /*border-color: var(--color-orange-1);*/
    color: var(--color-orange-1);
    font-weight: 400;
    translate: 2px;
}
.btn.btn-1 .d-inline-flex:hover {
    background: none;    
}

.btn.btn-3 {
    padding: 1px  10px;
    color: var(--color-white-1);
    background-color: var(--color-orange-1);
    border: 0.5px solid var(--color-white-1);
    font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-maelezo-4);
    font-weight: 400;
    transition: .3s;
}
.btn.btn-3:hover {
    background: rgba(255, 255, 255, .15);
    border: 1px solid var(--color-orange-1);
    /*border-color: var(--color-orange-1);*/
    color: var(--color-orange-1);
    translate: 1px;
}

.btn.btn-4, .btn-4 .inside-cycle:hover {
    padding: 2px  9px;
    background-color: var(--color-orange-1);
    border: 0.5px solid var(--color-white-1);
    color: var(--color-white-1);
    /*font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-maelezo-2);
    font-weight: 400;*/
}
.btn.btn-4:hover {
    background: rgba(255, 255, 255, .15);
    border: 0.8px solid var(--color-orange-1);
    color: var(--color-orange-1);
    translate: 1px;
}
.btn-4 .inside-cycle{
    background: var(--color-white-1); border: .5px solid var(--color-orange-1); color: var(--color-orange-1); padding: .1rem .5rem; border-radius:10px; font-size: 0.8rem; transition: .3s;
}




.section-Title {
    margin: 1rem auto 1.2rem;
    height: 6rem;
    width: 90%;
    /*max-width: 800px;*/
    background: rgba(246, 253, 253,  .95);
    position: relative;
    box-shadow: 5px 4px 5px 0 rgba(0,0,50,0.5);
    margin-bottom: 20px;
}
.section-Title h1 {
    padding: 25px 0;
    font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-maelezo-3);
    text-align: center;
  }
  .section-Title h1 a{
    text-decoration: none;
    color:var(--color-orange-1);
    border-bottom: 1.2px solid; /* Add a custom underline */
  }
  .section-Title:before {
    content: '';
    height: 90%;
    width: 90%;
    background-color: var(--color-orange-1);
    position: absolute;
    top: -5px;
    left: -5px;
    z-index: -1;
  }
  .section-Title h1 a:hover {
    border-bottom: none; /* remove the underline */
    text-decoration: overline 1.5px;
    color: var(--color-green-1);
    transition: var(--transition);
  }

  .after-Title {
    margin: 0.1rem auto 0.5rem;
  }
  .after-Title h2 {
    padding: 0.1rem .5rem;
    font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-maelezo-2);
    font-weight: 900;
    color: var(--color-green-1);
    line-height: 1.8rem;
    position: relative; /* Allows positioning of the pseudo-element */
  }
  .after-Title h2::after { /*This is the bottom border, 90% width*/
    content: "";
    display: block;
    width: 90%;
    height: 0.5px;
    background-color: var(--color-green-1);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .video {
    width: 100%;      /* Make the container full width */
    height: 100%;     /* Make the container full height */
    overflow: hidden; /* Ensure any overflow is hidden */
  }
  .video video {
    width: 100%;      /* Make the video fill the container width */
    height: 100%;     /* Make the video fill the container height */
    object-fit: cover; /* Ensures the video covers the container without distortion */
  }










.text-maelezo-1 {
    font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-maelezo-1);
}
.text-maelezo-2 {
    font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-maelezo-2);
    font-weight: 500 !important;
}
.text-maelezo-3 {
    font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-maelezo-3);
}
.text-maelezo-small {
    font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-maelezo-small);
    font-weight: 300 !important;
    color: var(--color-white-1);
}


.color-white-1 {
    color: var(--color-white-1);
}
.color-orange-1 {
    color: var(--color-orange-1);
}
.color-green-1 {
    color: var(--color-green-1);
}

.bg-white-1{
   background-color: var(--color-white-1);
   z-index: -500px;
}
.bg-orange-1{
    background-color: var(--color-orange-1);
 }
 .bg-orange-2{
    background-color: var(--color-orange-2);
 }
 .bg-green-1{
    background-color: var(--color-green-1);
 }
 .bg-green-2{
    background-color: var(--color-green-2);
 }
.top-bottom-bars-1 {
    border-bottom: .5px solid var(--color-orange-1);
    border-top: .5px solid var(--color-orange-1);
}



/***------------------ Navbar -------------------***/
.fixed-top {transition: .5s;}

.top-bar {height: 60px; border-bottom: 1px solid rgba(255, 255, 255, .1);}

.text-maelezo-header{font-family: 'Stylus BT', sans-serif; font-size: var(--fontsize-maelezo-4); font-weight: 200; color: var(--color-white-1);}

.header-column{padding: 3px;}

.socialm-icon{color: var(--color-white-1); font-size: .8rem; margin-right: .6rem;}

.socialm-icon:hover, .anwani:hover{color: var(--color-orange-1)}

.navbar-brand .navLogo{width: 50px; height: 50px; margin: .5px; border-top-left-radius: 4px; border-bottom-left-radius: 4px;}

.navbar-brand-2 .navLogo{width: 30px; height: 30px; margin: 2px; margin-left: 20px; border-top-left-radius: 3px; border-bottom-left-radius: 3px;}
.navbar-brand-2 h1{font-family: 'Stylus BT', sans-serif; font-size: .9rem; font-weight: 600; }

.topbar-icon {margin-bottom: 3px;}

nav {display: flex; padding: 3px 8px; width: 100%; height: 80px;}

.navbar-brand, .navbar-brand-2 {margin: 0 !important;}

.col-1 {width: 30%; height: 60px;}

.col-1 h1{font-family: 'Stylus BT', sans-serif; font-size: 1.3rem; font-weight: 600; }

.custom-borders::before, .custom-borders::after {content: ''; position: absolute; background-color: var(--color-white-1); height: .5px;}

.custom-borders::before { top: 1px; left: 9%;right: 10%;}

.custom-borders::after {bottom: 0; left: 7%; right: 50%;}

.col-2 {width: 60%; display: flex; justify-content: space-between;}

.inner-col {flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2px 1px; transition: .3s;}

.active-col {border: .5px solid rgb(255, 69, 0, 0.4); border-radius: 0px; background: rgb(255, 255, 255, 0.1);}

.active-icon i{color: orangered;}

.inner-col:hover, .active-col:hover {background: rgb(255, 255, 255, 0.3); color: var(--color-orange-1); border: .5px solid var(--color-orange-1); border-radius: 0px;}

.inner-col:hover .icon-wrapper i,.inner-col:hover .text-wrapper a, .inner-col:hover .icon-wrapper {color: var(--color-orange-1);}

.inner-col:not(:last-child) {margin-right: 1px;}

.text-wrapper {font-family: 'Stylus BT', sans-serif; font-size: 1rem; font-weight: 500;color: var(--color-white-1); padding: 2px 0;}

.icon-wrapper {font-size: 12px; color:var(--color-white-1); border-bottom: .5px solid;}

.text-wrapper a {display: block;  text-align: center; border-bottom: .25px solid;}

.col-3 {width: 10%; height: 60px; }

.btn.btn-donate, .btn.btn-donate-2 {padding: 1px  8px; color: var(--color-white-1); background-color: var(--color-orange-1); border: 0.5px solid var(--color-white-1); border-radius: 2px; font-family: 'Stylus BT', sans-serif; font-size: .9rem; font-weight: 500; transition: .3s;}

.btn.btn-donate:hover, .btn.btn-donate-2:hover {background: rgba(255, 255, 255, .15); border: 1px solid var(--color-orange-1); color: var(--color-orange-1); translate: 2px;}






.navbar .dropdown-toggle::after {border: none; content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 600; vertical-align: middle; margin-left: 6px;}

.navbar .navbar-nav .nav-link {padding: 1.5px 0; color: rgb(255, 255, 255);}

.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active {color: var(--color-orange-1);}

.dropdown-menu{border: .25px solid var(--color-black-1); border-radius: 0; padding: 2px  20px; transition: .3s; background: var(--color-dark-3);}

.dropdown-item {transition: border 0.3s ease, color 0.3s ease, transform 0.3s ease;}
.dropdown-item:hover {
    border: 0.25px solid var(--color-green-1);
    border-radius: 2px;
    color: var(--color-orange-1);
    transform: translate(2px); /* Use transform for translation */
}



/*******************************----------Start Toggler button ---------***********************************/
.navbar-toggler {width: 50px; height: 40px; padding: 0; border: .8px solid var(--color-white-1) !important; border-radius: 3px; display: flex; align-items: center; justify-content: center; background-color: transparent; position: relative;}
    /*-------- Middle line of toggle hamburger */
.navbar-toggler-icon {width: 18px; height: 2px; background-color: var(--color-white-1); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: all 0.3s ease-in-out;}
   /*----- Top and bottom Hamburger lines --------*/
.navbar-toggler::before, .navbar-toggler::after {content: ''; width: 25px; height: 2px; background-color: var(--color-white-1); display: block; position: absolute; left: 50%; transform: translateX(-50%); transition: all 0.3s ease-in-out;}
/* Positioning for the top Hamburger line */
.navbar-toggler::before {top: calc(50% - 8px);}
/* Positioning for the bottom Hamburger line */
.navbar-toggler::after {top: calc(50% + 6px);}
/* Hide middle Hamburger line and form "X" when collapsed */
.navbar-toggler.collapsed .navbar-toggler-icon {opacity: 0; /* you can also use display: none;*/}
/* Color for "X" icon lines */
.navbar-toggler.collapsed::before, .navbar-toggler.collapsed::after {background-color: var(--color-orange-1);}
/* Add a small line beside the top/bottom lines */
.navbar-toggler::before,.navbar-toggler::after {border-top: 1.5px solid white; position: absolute; left: 50%; transform: translateX(-50%); transition: all 0.3s ease-in-out;}
/* Transform to "X" when collapsed */
.navbar-toggler.collapsed::before {
    transform: translateX(-50%) rotate(-135deg); /* Top line rotates to form "X" */
    top: 50%; /* Center vertically */
}
.navbar-toggler.collapsed::after {
    transform: translateX(-50%) rotate(135deg); /* Bottom line rotates to form "X" */
    top: 50%; /* Center vertically */
}
/*******************************------- End Toggler button ---------***********************************/

.container-2-after-decollapse{display: none;}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 4px;
        border-top: .1px solid rgba(255, 255, 255, .1);
        background: var(--color-dark-1);
        max-height: 350px; overflow-y: auto; overflow-x: hidden;
        padding-bottom: 5px;
    }
    /*.container-1-after-decollapse{border: .5px solid var(--color-white-1); width:99%; background-color:rgb(37, 87, 87); margin: 0;}*/

    .navbar .navbar-nav .nav-link {padding: 1px 0;}

    .container-2-after-decollapse{display:inline; width: 99%; background-color:var(--color-dark-2); border: .5px solid var(--color-white-1);border-radius: 0px; margin: 1px 0px; padding: 10px;}

    .inner-col {width: 100%; border: .25px solid rgb(255, 255, 255, 0.1);}
    .inner-col:hover {border-radius: 0;}

    .dropdown-menu{padding: 2px; min-width: 400px;}

    .btn.btn-donate-2 {width: 40%; margin-top: 15px;}
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-5deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/***------------------ Carousel --------------------***/
.carousel-item{height: 720px; background: linear-gradient(rgba(0, 29, 35, .5), rgba(0, 29, 35, .5)), url(../img/picha-30.jpg) center center no-repeat;}

.carousel-item img{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 100%; max-height: 100%;}

.carousel-caption {top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; text-align: center; background: rgba(0, 29, 35, .2); z-index: 1;}

.carousel-control-prev, .carousel-control-next {width: 45px; height: 45px; top: 50%; transform: translateY(-50%); border: .5px solid var(--color-white-1); border-radius: 1rem; transition: .2s;}

.carousel-control-prev {left: 5%;}
  
.carousel-control-next {right: 5%;}

.carousel-control-prev-icon, .carousel-control-next-icon {width: 100%; height: 100%; background-color: rgb(0, 100, 0, 0.4); border: 10px solid rgb(0, 100, 0, 0.4); border-radius: 1rem;}

.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover { background-color: rgb(0, 100, 0, 0.9); border: 10.5px solid rgb(0, 100, 0, 0.9);}

.carousel-control-prev:hover, .carousel-control-next:hover {border: .5px solid var(--color-orange-1);}





@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .5), rgba(0, 29, 35, .5)), url(../img/picha-28.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/***------------------------------- About Us -----------------------------------------***/
.position-relative1{min-height: 200px; padding: 2px; margin: 3px; border: .5px solid var(--color-green-1); border-radius: 8px; background: rgba(0, 52, 0, 0.7);}

.foto1{width: 100%; height: auto; border-bottom-left-radius: 8px; padding-top: 25px; padding-right: 25px;}

.foto2{width: 140px; height: 140px; background: rgba(0, 52, 0, 0.6); border-bottom-left-radius: 8px; border-left: .5px solid var(--color-green-1); border-bottom: .5px solid var(--color-green-1);  padding-left: 5px; padding-bottom: 5px;}




/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgb(0, 63, 0, 0.4);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/***--------------- Team Starts Here-----------------***/
.borders{border-bottom: .5px solid var(--color-orange-1); border-top: .5px solid var(--color-orange-1);}

.container-team {display: flex; justify-content: center; flex-wrap: wrap;}

.team-item{border: .5px solid var(--color-orange-1); box-shadow: 4px 4px 3px 0 rgb(0, 53, 0, 0.7); height: 325px; width: 260px; margin: 5px;}

.team-foto-container{height: 80%;}

.team-foto-container img {position: relative; top: 0; transition: .5s; max-height: 300px;}

.team-text {position: relative; transition: .5s; background: var(--color-white-1); padding: 5px  0;}

.team-item .team-text .team-social {opacity: 0; transition: .5s;}

.team-item:hover img {top: -50px;}

.team-item:hover .team-text {margin-top: -60px; height: 50%;}

.team-item:hover .team-text .team-social {opacity: 1;}

.team-text-1{font-family: 'Stylus BT', sans-serif; font-size: var(--fontsize-maelezo-2); font-weight: 600 !important; color: var(--color-green-1);}

.team-text-2{font-family: 'Stylus BT', sans-serif; font-size: var(--fontsize-maelezo-1); font-weight: 500 !important; color: var(--color-orange-1); border-bottom: .5px solid;}

.team-item .team-social .btn {display: inline-flex; color: var(--color-orange-1); background: var(--color-white-1); border-radius: 40px;}

.team-item .team-social .btn:hover {color: var(--color-white-1); background: var(--color-orange-1);}

/***--------------- Team Ends Here-----------------***/

/*Projects*/
.image-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    height: 100%;            /* Adjust this based on the container's height */
    width: 100%;             /* Adjust this based on the container's width */
    padding: 2px;
    border-radius: 8px;
    background: rgb(0, 92, 0, 0.05);
}
.img-fluid.rounded {
    max-width: 100%;
    height: 500px;
}
.causes-progress{padding: 10px 50px 15px  60px;}


/*** 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;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--color-orange-1);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: rgb(1, 192, 103) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--color-orange-1);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--color-green-1);
}


/**---------Photo-gallery in Events HTML----------*/
.header-gallery {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .5), rgba(0, 29, 35, .5)), url(../img/picha-26.jpg) center no-repeat;
    background-size: cover;
}
.photo-gallery {
    height: 480px; background: var(--color-green-2); border: 0.5px solid var(--color-orange-1); border-radius: 8px; padding: 2px;
}
.photo-gallery-imagebox{
    height: 350px;  border: 0.5px solid var(--color-orange-1); border-radius: 8px; padding: 0px; display: flex; align-items: center; justify-content: center; width: 100%; overflow: hidden; transition: transform 0.5s ease;
    background: linear-gradient(rgba(225, 140, 84, 0.8), rgba(92, 152, 163, 0.5)), url(../img/Picha-1.jpg) center no-repeat;
    background-size: cover;
}
.photo-gallery img {
    height: 100%; object-fit: cover; transition: transform 0.5s ease; padding: 1px;
}
.photo-gallery-imagebox:hover img {
    transform: scale(1.2);
}


/*----------- Photo/Video modal------------*/
.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    width: auto;
    max-width: 100%; /* Optional max width for responsiveness */
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}
/*
.modal-body {
    padding: 0; /* Remove padding around the image 
    display: flex;
    justify-content: center;
    align-items: center;
}*/
.modal-header {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    position: relative;
    padding: 0.5rem 0.8rem; /* Adjust padding as needed */
}
.modal-footer {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    position: relative;
    padding: 0.1rem 0rem; /* Adjust padding as needed */
    height: 35px;
}
.modal-title {
    margin: 0;text-align: center; /* Center text within the h2 element */
}
.btn-close {
    position: absolute; /* Position button absolutely to the right */
    right: .8rem;
    top: 50%;
    transform: translateY(-25%); /* Center button vertically */
    border: .5px solid var(--color-orange-1);
    background-color: rgb(255, 69, 0, 0.1);
}
.modal-body img {
    width: auto;
    max-height: 75vh;
    display: block;
    margin: 0 auto; /* Center the image */
    margin: 2px;
    border-radius: 0px;
}
.modal-dialog {
    max-width: none; /* Remove any fixed width constraints */
    width: auto;
    top: -20px; /* 50px from the top of the viewport */
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        top: 0px;
    }
    .modal-body img {
        max-height: 85vh;
    }
}  







/***------------- Footer ------------------***/
.footer-logo{padding: .5px; border-radius: 4px; font-family:'Stylus BT', sans-serif;font-size: 1.4rem; font-weight: bold !important; border: 1px solid var(--color-white-1); transition: .3s;}

.footer-logo:hover {border: 1px solid var(--color-orange-1); letter-spacing: .1px; box-shadow: 1px 1px 1px  1px rgb(255, 69, 0, .4);}

.footer-logo img{width: 40px; height: 40px; border-top-left-radius: 4px; border-bottom-left-radius: 4px; margin-right: 6px;}

.footer-logo h2 {font-family: 'Stylus BT', sans-serif; font-size: 1.1rem; font-weight: 600;}


.footer-maelezo-1 {margin: .1rem auto 0.5rem;}

  .footer-maelezo-1 h2 {
    padding: .5rem .1rem;
    font-family: 'Stylus BT', sans-serif;
    font-size: var(--fontsize-footer);
    font-weight: 400;
    color: var(--color-white-1);
    line-height: 1.4rem;
    position: relative; /* Allows positioning of the pseudo-element */
  }
  .footer-maelezo-1 h2::after { /*This is the bottom border, 100% width*/
    content: "";
    display: block;
    width: 100%;
    height: 0.5px;
    background-color: var(--color-white-1);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
.footer .btn.btn-square {
    color: var(--color-white-1); border: 1px solid var(--color-white-1); transition: .2s;
}
.footer .btn.btn-square:hover {
    color: var(--color-orange-1); border-color: var(--color-orange-1);
}
.footer-social-media{
    padding: 2px; margin-top: 20px; transition: .2s;
}
.footer-social-media:hover{
    box-shadow: 0px 0px 5px  1px rgb(255, 69, 0, .4);
}
.footer-heading {
    margin: .1rem auto 0.5rem;
}
.footer-heading h2 {
    padding: .5rem .1rem; font-family: 'Stylus BT', sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--color-white-1); position: relative;
}
.footer-heading h2::after {
    content: ""; display: block; width: 100%; height: 0.5px; background-color: var(--color-white-1); position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
}
.footer-maelezo-2 {
    padding: .3rem .1rem; font-family: 'Stylus BT', sans-serif; font-size: var(--fontsize-footer); font-weight: 400; color: var(--color-white-1);
    line-height: 1.2rem;
    position: relative; display: flex;
    align-items: flex-start; /* Align items to the start */
}

.icon-text {
    display: flex; align-items: flex-start; /* Align icon and text at the start */
}
.icon-text i {
    margin-right: 25px; /* Space between the icon and text */
    margin-left: -10px; /* Move the icon to the left */
    padding: 5px;
}
.icon-text .text {
    display: inline; /* Ensures text wraps correctly */
}

.quick-link .maelezo {
    padding: 4px; margin: 2px 0; font-family: 'Stylus BT', sans-serif; font-size: var(--fontsize-footer); font-weight: 400; color: var(--color-white-1); position: relative; display: flex; transition: .4s;
    align-items: flex-start; /* Align items to the start */
}
.quick-link h2:hover {
    color: var(--color-orange-1); letter-spacing: 0.8px;border: 0.5px solid var(--color-orange-1); border-radius: 4px; box-shadow: 1px 1px 1px  1px rgb(255, 69, 0, .4);
}

.newsletter{
    padding: 4px  2px; border: 0.5px solid var(--color-white-1); border-radius: 4px; margin-bottom: 3px;transition: .3s;
}
.newsletter:hover{
    border: 0.5px solid var(--color-orange-1);
}
.form-control {
    font-family: 'Stylus BT', sans-serif; color: var(--color-green-1) !important;background: rgba(255, 255, 255, 0.7) !important; transition: .03s;
}
.form-control:hover {
  background: rgba(255, 255, 255, 0.9) !important;
}
.form-control::placeholder {
    color: var(--color-green-1);
}
.copyright {
    padding: 15px 0; border-top: 0.5px solid var(--color-white-1); font-family: 'Stylus BT', sans-serif; font-size: var(--fontsize-footer); font-weight: 300; color: var(--color-white-1);
}
.footer-span:hover {
 color: yellowgreen;
}
