/* 
Theme Name: Childfund
Text Domain: Childfund
Version: 6.9
Description: Custom Theme 
Author: Abhishek Tiwary
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* Fira */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Roboto Slab', serif;
}

.navbar {
    padding: 1.6em 0;
}

.custom-container {
    padding: 0 8.5em;
}

/* .navbar-collapse {
    margin-left: 5em;
} */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    transition: all 0.3s ease;
}


/* Shadow when scrolled */
.sticky-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Nav links */
.navbar-nav .nav-link {
    font-weight: 600;
    color: #333;
    font-size: 1.125em;
}

.navbar-nav .custom-nav-link {
    margin-left: 3.8em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0d6efd;
}




.custom-btn {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.25em;
    font-weight: 600;
    padding: 0.6em 3.5em;
    background-color: #FBB21D;
    border-color: #FBB21D;
    color: #000;
}


.search-bar {
    --size: 50px;
    --padding: 8px;
    --expanded-width: 400px;
    display: flex;
    justify-content: flex-end;
    background-color: #fff;
    border-radius: 100px;
    outline: 1px solid transparent;
    overflow: hidden;
    padding: var(--padding);
    margin-inline: auto;
    /* width: var(--size); */
    width: 100px;
    height: 38px;
    max-width: 100%;
    border: 2px solid #C0C0C0;
    transition: width 0.5s, outline 0.5s;
}

.search-bar:focus-within {
    width: var(--expanded-width);
}

.search-input {
    font-size: 18px;
    color: #3a3a3a;
    background-color: transparent;
    border: none;
    outline: none;
    margin-inline: 1rem;
    flex: auto;

    opacity: 0;
    transition: opacity 0.5s;
}

.search-bar:focus-within .search-input {
    opacity: 1;
}

.search-submit {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #C0C0C0;
    border-radius: 50%;
    border: none;
    width: calc(var(--size) - var(--padding) - var(--padding));
    aspect-ratio: 1;
    cursor: pointer;
    background: transparent;
}

/* MAIN DROPDOWN */
.custom-dropdown {
    position: relative;
}

.custom-dropdown .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    padding: 0;
    border-radius: 1px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

/* SHOW ON HOVER */
.custom-dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ARROW ROTATE */
.custom-dropdown i.fa-angle-down {
    transition: transform 0.3s ease;
}

.custom-dropdown:hover i.fa-angle-down {
    transform: rotate(180deg);
}

/* DROPDOWN ITEMS */
.dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 16px;
    color: #999999;
    font-weight: 600;
    border-bottom: 2px solid #D8D8D8;
}

.dropdown-menu .dropdown-item:hover {
    background: #f5f7fa;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #027b44;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-menu li:hover::before {
    transform: scaleY(1);
}

/* SUB DROPDOWN */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

/* SHOW SUB MENU ON HOVER */
.dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.navbar-nav .nav-link:hover {
    color: #000;
}

.carousel-caption {
    left: -7%;
}

.carousel-caption h1 {
    font-size: 3.5em;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.custom-caption {
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    right: auto;
    bottom: auto;
    text-align: left;
    max-width: 28%;
}

.custom-caption h1 {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    line-height: 1.44;
}

.underline {
    position: absolute;
    left: 36%;
    top: 13%;
}

.custom-secondary-btn {
    width: 237px;
    height: 55px;
    background-color: #FE7130 !important;
    color: #fff !important;
    font-family: 'Fira Sans', sans-serif;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 3px;
}


.custom-secondary-btn svg {
    margin-left: 10px;
    fill: #fff;
    width: 30px;
    height: 28px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-secondary-btn:hover svg {
    transform: translateX(6px) scale(1.2);
}

.footer {
    background-color: #067B46;
    padding-bottom: 3em;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer-address p,
h5 {
    font-family: "Montserrat", sans-serif;
    color: #fff;
    font-size: 1.25em;
}

.footer-address h5,
.footer-contact h5,
.footer-details h5,
.phone {
    /* font-size: 1.25em; */
    font-weight: 600;
}

.footer-details h5,
ul {
    font-family: "Montserrat", sans-serif;
}

.footer-quick-links ul li {
    list-style: none;
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1.9;
}

.newsletter-section {
    background-color: #0b7a43;
    /* green background */
}

.newsletter-form {
    max-width: 900px;
    margin: auto;
}

.newsletter-input {
    height: 56px;
    border-radius: 0;
    border: none;
    font-size: 16px;
    padding-left: 20px;
}

.newsletter-input::placeholder {
    color: #bfbfbf;
    font-family: "Montserrat", sans-serif;
}

.newsletter-btn {
    background-color: #F47E4D;
    font-family: "Montserrat", sans-serif;
    color: #fff;
    font-weight: 600;
    padding: 0 35px;
    border-radius: 0;
    height: 56px;
    text-transform: uppercase;
    border: none;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #e6682f;
    color: #fff;
}

.copy-right-section {
    position: relative;
}

.copy-right-section img {
    position: absolute;
    top: -54px;
}

.copy-right-section p {
    position: relative;
    z-index: 1;
    font-size: 1.25em;
    color: #fff;
    font-family: "Montserrat", sans-serif;
}

.what-drives-us .custom-row {
    background-color: #F1F6F7;
    padding: 5em 7em;
}



.what-drives-us p {
    font-family: "Montserrat", sans-serif;
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 1.2em;
}

.what-drives-us p {
    font-size: 1.25em;
    color: #000;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
}

/* CARD */
.health-card {
    border-radius: 28px;
    padding: 2em;
    height: 192px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ICON */
.icon-circle {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4em;
}

/* 
.icon-circle img {
    width: 30px;
} */

/* TITLE */
.health-card h3 {
    color: #fff;
    font-family: 'Roboto Slab', serif;
    font-size: 1.6em;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

/* COLORS */
.box-1 {
    background: #3CC387;
}

.box-2 {
    background: #FBB21D;
}

.box-3 {
    background: #067B46;
}

.box-4 {
    background: #FE7130;
}

.box-5 {
    background: #FBB21D;
}

.second-btn {
    background-color: transparent !important;
    border-color: #FE7130 !important;
    color: #000 !important;
    gap: 17px;
}

.second-btn:hover {
    background-color: #FE7130 !important;
    color: #fff !important;
}

.second-btn:hover svg {
    fill: #fff;
}

.second-btn svg {
    fill: #000;
}

.custom-text {
    color: #FE7130 !important;
    font-weight: 500;
    font-size: 1.25em;
    font-family: 'Fira Sans',
        sans-serif;
    text-decoration: none;
    text-transform: uppercase;
}

.heading {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 3.125em;
    text-transform: uppercase;
}

.programs-section h2 {
    font-size: 28px;
}

.svolving-section {
    background-color: #F1F6F7;
    padding: 4em 0;
}

.programs-section {
    background-color: #fff;
    height: 100%;
    border-radius: 70px;
}

.programs-section .image-part {
    border-radius: 70px;
    border-bottom-right-radius: 0;
}

.contant-part p {
    color: #000;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 31px;
    padding-bottom: 11px;
}

.contant-part {
    padding: 0 0 0 1em;
}

.programs-section {
    transition: background-color 0.3s ease;
    overflow: hidden;
}

.programs-section:hover {
    background-color: #FE7130;
}

.programs-section h2,
.programs-section p {
    transition: color 0.3s ease;
}


.desktop-banner {
    display: block;
}

.mobile-banner {
    display: none !important;
}


.programs-section:hover h2,
.programs-section:hover p {
    color: #fff;
}

.image-part {
    overflow: hidden;
}

.image-part img {
    transition: transform 0.4s ease;
}

.programs-section:hover .image-part img {
    transform: scale(1.1);
}

.testi {
    background-image: url(/wp-content/themes/childfund/assets/img/testi-bg.webp);
    background-size: cover;
    background-position: center;
    padding: 5em 0;

}

.testi .numbers span {
    color: #FBB21D;
    font-family: "Roboto Slab";
    font-size: 55px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.testi .numbers h2 {
    color: #FBB21D;
    font-family: "Roboto Slab";
    font-size: 44px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.testi .numbers p {
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 35px;
    /* 109.375% */
}

.border-left-right {
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
}

.testimonial-img img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid #ff7a00;
    object-fit: cover;
}

/* content */
.testimonial-content {
    color: #fff;
}

.quote-icon {
    font-size: 64px;
    line-height: 1;
    color: #cdebe0;
    display: block;
    margin-bottom: 0.3em;
}

.quote-icon img {
    max-width: 10%;
}

.testimonial-content p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
    font-family: "Montserrat", sans-serif;
    max-width: 900px;
}

.testimonial-content h5 {
    margin-top: 1.8em;
    font-weight: 600;
    margin-bottom: 4em;
}

.testi .owl-nav {
    justify-content: end;
    display: flex;
    gap: 5em;
}

.testi .second-btn {
    color: #fff !important;
    z-index: 1;
    position: relative;
    margin-top: -5em !important;
}

.testi .second-btn svg {
    fill: #fff !important;
}

.agents-section {
    padding: 0 0 5em 0;

}

.agents-image-card .agents-part img {
    border-top-left-radius: 134px;
}

.agents-image-card .agents-content h2 {
    color: #FFF;
    font-family: "Roboto Slab";
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 60px;
    /* 187.5% */
    text-transform: uppercase;
}

.agents-content {
    position: absolute;
    bottom: 4%;
    left: 8%;
    z-index: 2;
}

.agents-content {
    position: absolute;
    bottom: 4%;
    left: 8%;
    z-index: 2;
    transition: transform 0.4s ease;
}

.agents-part img {
    transition:
        border-radius 0.5s ease,
        transform 0.5s ease;
}

.agents-image-card:hover .agents-part img {
    border-top-left-radius: 68px;
}

.agents-image-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            #067B46 100%);
    z-index: 1;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        border-top-left-radius 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.agents-image-card:hover::after {
    height: 100%;
    border-top-left-radius: 68px;
    background: linear-gradient(180deg, rgba(6, 123, 70, 0.86) 0%, rgba(6, 123, 70, 0.86) 100%);
}

.agents-overlay-bg {
    background-color: #FBB21D;
    height: 20em;
}

.agents-section .container {
    margin-top: -15em;
}

.agents-slider .item {
    display: flex;
    justify-content: center;
}

.agents-slider .agents-image-card {
    max-width: 95%;
}