/********** Template CSS **********/
:root {
    --primary: #1a4fd7;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}




.impact-section {
    padding: 60px 20px;
    background-color: var(--secondary); /* Template's secondary color */
    text-align: center;
}

.impact-title {
    font-size: 3em;
    font-weight: var(--font-weight-bold);
    text-align: center;
}

.impact-subtitle {
    font-size: 1.6em;
    margin-bottom: 40px;
    text-align: center;
}

.impact-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Service Item Styling */
.services-item {
    background-color: var(--light); /* Template's light color */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

/* Icon Container for Service Items */
.services-item .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary); /* Template's primary color */
    color: white;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Hover Effect */
.services-item:hover {
    transform: translateY(-10px);
}

/* Impact Numbers Styling */
.impact-number {
    font-size: 2.5em;
    font-weight: var(--font-weight-bold);
    color: var(--dark); /* Template's dark color */
    text-align: center;
}

/* Impact Text Styling */
.impact-text {
    font-size: 1.1em;
    color: #666;
    text-align: center;
}

/* Impact Icons Styling */
.impact-icon {
    font-size: 2em;
    color: var(--primary); /* Template's primary color */
    margin-bottom: 10px;
    text-align: center;
}

/* Animation for Numbers */
.animate-number {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.animate-number.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Layout for Service Items */
@media (max-width: 767px) {
    .services-item {
        flex: 0 0 100%; /* 1 item per row on small screens */
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .services-item {
        flex: 0 0 calc(50% - 20px); /* 2 items per row on medium screens */
        max-width: calc(50% - 20px);
    }
}

@media (min-width: 1024px) {
    .services-item {
        flex: 0 0 calc(25% - 20px); /* 4 items per row on large screens */
        max-width: calc(25% - 20px);
    }
}


/* General FAQ Section Styling */
       /* Professional Navbar Styling - Inspired by EmpowermentSquared & Chan Zuckerberg */

    /* Ensure dropdown works properly */

    .faq {
        padding: 20px 0 !important;
        background-color: #ffffff !important;
    }
    
    .faq h2 {
        color: #1E3A8A !important; /* Hope for Liberia red */
        font-size: 30px !important;
        font-weight: bold !important;
        text-align: center !important;
        margin-block-end: 15px !important;
    }
    
    /* FAQ Items Container - Two Columns */
    .faq-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* Two columns */
        gap: 20px !important; /* Spacing between columns */
        max-inline-size: 1200px !important;
        margin: 0 auto !important; /* Center the section */
    }
    
    /* Individual FAQ Items */
    .faq-item {
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        padding: 15px !important;
        background-color: #f9f9f9 !important;
        cursor: pointer !important;
        transition: background-color 0.3s ease !important;
    }
    
    .faq-item:hover {
        background-color: #eaeaea !important;
    }
    
    .faq-item h4 {
        margin: 0 !important;
        font-size: 16px !important;
        color: #000000 !important; /* Red for questions */
    }
    
    /* FAQ Answers Styling with Expanding Effect */
    .faq-answer {
        max-block-size: 0 !important; /* Start collapsed */
        overflow: hidden !important;
        transition: max-height 0.5s ease, padding 0.5s ease !important;
        font-size: 16px !important;
        color: #333 !important; /* Dark gray for answers */
        padding: 0 !important; /* No padding when collapsed */
        visibility: hidden !important; /* Hidden when collapsed */
    }
    
    .faq-item.active .faq-answer {
        max-block-size: 150px !important; /* Expanded height */
        padding-block-start: 10px !important;
        visibility: visible !important; /* Make visible when active */
        transition: max-height 0.5s ease, padding 0.5s ease !important;
    }
    
    /* Responsive Design for Small Screens */
    @media (max-width: 768px) {
        .faq-container {
            grid-template-columns: 1fr !important; /* Stack items */
        }
    }
    

/*Professsional Pictures for carosul */

.responsive-img {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    max-height: 600px; /* Adjust max height for larger screens */
    object-fit: cover; /* Ensures image fills the space without distortion */
    border-radius: 10px; /* Optional: Makes it look more professional */
}


@media (max-width: 700px) { /* Mobile screens */
    .responsive-img {
        max-height: 600px;
    }
}

@media (min-width: 577px) and (max-width: 992px) { /* Tablets */
    .responsive-img {
        max-height: 500px;
    }
}

@media (min-width: 993px) { /* Laptops & desktops */
    .responsive-img {
        max-height: 700px;
    }
}


 /* Blog Container */
 .blog-item {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
}
.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(26, 79, 215, 0.3);
}

/* Blog Image */
.blog-img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease-in-out;
}
.blog-item:hover .blog-img {
    transform: scale(1.05);
}

/* Date Box */
.date-box {
    background-color: #1a4fd7;
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    border-radius: 0 10px 10px 0;
}

/* Blog Content */
.blog-content {
    transition: background-color 0.3s ease-in-out;
    border-radius: 0 0 10px 10px;
}
.blog-item:hover .blog-content {
    background-color: #1a4fd7;
    color: #1a4fd7;
}

/* Blog Title */
.blog-title {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease-in-out;
}
.blog-item:hover .blog-title {
    color: #1a4fd7;
}

