/*
Custom CSS code
Author: Otegbeye Samuel (aka Khodex)
Contact: +2348134540801
Email: webdeveloper1972@gmail.com
Website: https://naijakit.com
 */
.single-cat, .single-team {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.maincolor a{
    color: #09CC7F;
    font-weight: bold;
}
.khodex-mob-nav {
        margin-top: 7px;
        padding-top: 10px;
        border-top: 1px solid #09cc7f;
    }
    .khodex-mob-nav a {
        background: #09cc7f;
        padding: 4px 7px 4px 7px;
        margin: 2px;
        font-weight: bold;
        border-radius: 5px;
    }
.khodex-logo img {
  filter: brightness(0);
  max-width: 100%;
}

@media (max-width: 768px) {
  .khodex-logo img {
    width: 60%;
    height: auto;
  }
}
/* About overlay image */
.about-overlay {
    position: absolute;
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Mission list */
.mission-list {
    padding-left: 20px;
}
.mission-list li {
    margin-bottom: 8px;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .about-overlay {
        display: none;
    }
}


.count-down-wrapper {
    padding: 40px 20px;
}

/* Counter box */
.single-counter {
    padding: 20px 10px;
}

/* Number */
.single-counter .counter {
    font-size: 42px;
    font-weight: 700;
    display: inline-block;
}

/* Plus sign */
.single-counter .plus {
    font-size: 26px;
    margin-left: 4px;
    vertical-align: top;
}

/* Label */
.single-counter p {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 500;
}

/* Tablet */
@media (max-width: 991px) {
    .single-counter .counter {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .count-down-wrapper {
        padding: 25px 10px;
    }

    .single-counter {
        padding: 15px 5px;
    }

    .single-counter .counter {
        font-size: 30px;
    }

    .single-counter .plus {
        font-size: 20px;
    }

    .single-counter p {
        font-size: 13px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .single-counter .counter {
        font-size: 26px;
    }
}



.gallery-img-wrapper {
    width: 100%;
    height: 200px; /* fixed height for uniform grid */
    overflow: hidden;
}
.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures image fills container without distortion */
}



.text-content::first-letter {
    text-transform: uppercase;
}

	.white-img {
  filter: brightness(0) invert(1);
}
.blog-by-khodex {
	background: #fff;
	padding: 10px;
	font-size: 32px;
	border: 1px solid #09CC7F;
    border-top: none;
}
.blog-by-khodex a {
	font-weight: bold;
}

.blog-by-khodex a:hover {
	color: #09CC7F;
}

	

.slider-height {
    min-height: 600px; /* desktop height */
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.hero__caption {
    text-align: left;
}

.hero__caption h1 {
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero__caption p {
    margin-bottom: 15px;
}

.hero__btn .hero-btn,
.hero__btn .cal-btn {
    padding: 12px 25px;
    font-size: 16px;
}

.hero__btn .cal-btn i {
    margin-right: 8px;
}

/* Mobile responsive fixes */
@media (max-width: 992px) {
    .slider-height {
        min-height: auto; /* adapt to content */
        align-items: flex-start !important; /* stop vertical centering */
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .slider-height {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .hero__btn .hero-btn,
    .hero__btn .cal-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}



.service-area {
    padding: 80px 0;
}

.section-tittle span {
    display: block;
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.section-tittle h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-tittle p {
    font-size: 16px;
}

.single-cat {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.single-cat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.single-cat .cat-icon span {
    display: inline-block;
}

.single-cat h5 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.single-cat p {
    font-size: 15px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .section-tittle h2 {
        font-size: 28px;
    }
    .section-tittle p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .section-tittle h2 {
        font-size: 24px;
    }
    .section-tittle p {
        font-size: 14px;
    }
    .single-cat {
        padding: 20px;
    }
}



.about-low-area {
    padding: 80px 0;
}

.section-tittle span {
    display: block;
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.section-tittle h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.mission-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.about-img {
    position: relative;
    width: 100%;
    height: auto;
}

.about-back-img {
    border-radius: 8px;
}

.about-font-img {
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-font-img {
        display: none !important;
    }
    .about-back-img {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-tittle h2 {
        font-size: 26px;
    }
    .about-low-area {
        padding: 50px 0;
    }
}



.cases-img {
    width: 100%;
    height: 250px; /* fixed image height */
    overflow: hidden;
}
.cases-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.single-cases {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.single-cases .cases-caption {
    flex-grow: 1; /* make captions stretch so all cards have equal height */
}
@media (max-width: 992px) {
    .cases-img {
        height: 200px;
    }
}
@media (max-width: 576px) {
    .cases-img {
        height: 150px;
    }
}



.featured-job-area {
    padding: 80px 0;
}

.section-tittle span {
    display: block;
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.section-tittle h2 {
    font-size: 32px;
    font-weight: 700;
}

.single-job-items {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-job-items:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.job-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.job-items .company-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.job-tittle h4 {
    font-size: 20px;
    font-weight: 600;
}

.job-tittle ul {
    padding-left: 0;
    list-style: none;
}

.job-tittle ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.job-tittle ul li i {
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .job-items {
        flex-direction: column;
        text-align: center;
    }
    .job-items .company-img {
        margin-bottom: 15px;
    }
}



.team-area {
    padding: 100px 0;
}

/* Image container */
.team-img {
    width: 100%;
    height: 260px; /* SAME height for all images */
    overflow: hidden;
    position: relative;
}

/* Image fit */
.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* crops nicely */
    display: block;
}

/* Social icons */
.team-social {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.team-social li {
    list-style: none;
}

.team-social a {
    background: #ff6b6b;
    color: #fff;
    padding: 8px 10px;
    border-radius: 50%;
    font-size: 14px;
}

/* Card styling */
.single-team {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-team:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-caption {
    padding: 20px;
}

.team-caption h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-caption p {
    font-size: 14px;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .team-img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .team-img {
        height: 200px;
    }
}



.wantToWork-area {
    padding: 80px 0;
}

.wants-wrapper {
    border-radius: 8px;
    padding: 40px;
    background-size: cover;
    background-position: center;
}

.wantToWork-caption h2 {
    color: #fff;
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.donation-details {
    color: #fff;
    font-size: 15px;
    margin-bottom: 0;
}

.donate-btn {
    padding: 14px 30px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .wantToWork-caption h2 {
        font-size: 22px;
    }
    .donation-details {
        font-size: 14px;
    }
    .donate-btn {
        margin-top: 20px;
        display: inline-block;
    }
}

.gallery-img-wrapper {
                    width: 100%;
                    height: 200px; /* fixed height for uniform grid */
                    overflow: hidden;
}
.gallery-img-wrapper img {
                    width: 100%;
                    height: 100%;
}

/* Office Card */
.office-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 100%;
}

/* Image */
.office-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.office-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge */
.office-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px 14px;
    border-radius: 4px;
    text-align: center;
}

.office-badge span {
    font-weight: 700;
    font-size: 14px;
}

.office-badge p {
    margin: 0;
    color: #09CC7F;
    font-size: 12px;
}

/* Content */
.office-content {
    padding: 25px;
}

.office-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.office-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.office-content a {
    color: #09CC7F;
    font-weight: bold;
}

.office-content hr {
    margin: 18px 0;
    border-color: #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .office-img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .office-img {
        height: 200px;
    }
    .office-content {
        padding: 20px;
    }
}