/*
@Author: ThemeMascot
@URL: http://ThemeMascot.com

This is the file where you can add your custom styles to change the look of the
theme. But don't modify style-main.css file.

*/

/* Your custom css codes start here: */

.language-dropdown .btn-link {
    color: #fff; /* text-white */
    text-decoration: none;
    padding: 5px 10px;
}
.language-dropdown .btn-link:hover,
.language-dropdown .btn-link:focus {
    color: #fff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
}
.language-dropdown .dropdown-menu {
    min-width: 100px;
    background: #333; /* or any dark background to match your theme */
}
.language-dropdown .dropdown-menu > li > a {
    color: #fff;
    padding: 5px 20px;
}
.language-dropdown .dropdown-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.donate-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: #27883b;
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    margin-top: -2px;
    margin-bottom: 2px;
}

.donate-pill i {
    font-size: 18px;
    line-height: 1;
}

.donate-pill:hover,
.donate-pill:focus {
    background: #1f7331;
    color: #fff;
    text-decoration: none;
}

.floating-social {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9997;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.floating-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.floating-social__link:last-child {
    border-bottom: 0;
}

.floating-social__link i {
    font-size: 18px;
}

.floating-social__x {
    font-weight: 700;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.floating-social__link:hover,
.floating-social__link:focus {
    background: #27883b;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767px) {
    /* .floating-social {
        display: none;
    } */
}

/* Search */
.search-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    opacity: 0;
    transition: opacity 220ms ease;
}

.search-backdrop.is-open {
    display: block;
    opacity: 1;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-16px) scaleY(0.98);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.search-overlay.is-open {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    pointer-events: auto;
    visibility: visible;
    animation: searchSlideDown 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-18px) scaleY(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

.search-overlay .container {
    position: relative;
}

.search-overlay-inner {
    position: relative;
    margin-top: 30px;
    padding: 18px 60px 18px 0;
}

.search-overlay-form {
    margin: 0;
}

.search-input {
    height: 56px;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
}

.search-input:focus {
    border-color: #009688;
    box-shadow: none;
}

.search-overlay .input-group-addon {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-right: 0;
    border-radius: 0;
    width: 56px;
    text-align: center;
    color: #009688;
}

.search-submit-btn {
    height: 56px;
    padding: 0 24px;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.search-overlay-close {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 20px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
}

.search-overlay-close:focus {
    outline: none;
}

@media (max-width: 767px) {
    .search-overlay-inner {
        padding-right: 48px;
    }
    .search-submit-btn {
        padding: 0 14px;
    }
}

body.search-open {
    overflow: hidden;
}

.what-we-do {
    padding: 30px 0;
    background: #fff;
}

.what-we-do__title {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.what-we-do__title-underline {
    width: 34px;
    height: 2px;
    background: #009688;
    margin: 0 0 18px 0;
}

.what-we-do__intro {
    color: #666;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 22px;
}

.what-we-do__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    background: #27883b;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 0;
}

.what-we-do__btn:hover,
.what-we-do__btn:focus {
    background: #00695c;
    color: #fff;
    text-decoration: none;
}

.what-we-do__btn-icon {
    font-size: 16px;
    line-height: 1;
}

.what-we-do__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.what-we-do__card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 22px 22px 20px;
    min-height: 180px;
}

.what-we-do__card-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
}

.what-we-do__card-icon img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}

.what-we-do__card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px 0;
    padding-right: 90px;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #1f1f1f;
}

.what-we-do__card-dash {
    width: 16px;
    height: 2px;
    background: #009688;
    flex: 0 0 auto;
}

.what-we-do__card-text {
    margin: 0;
    padding-right: 90px;
    color: #6b6b6b;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .what-we-do__grid {
        grid-template-columns: 1fr;
    }
    .what-we-do__card {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .what-we-do {
        padding: 40px 0;
    }
    .what-we-do__title {
        font-size: 30px;
    }
    .what-we-do__card-icon {
        width: 64px;
        height: 64px;
    }
    .what-we-do__card-title,
    .what-we-do__card-text {
        padding-right: 76px;
    }
}

.clients .clients-logo .owl-item {
    display: flex;
}

.clients .clients-logo .owl-item .item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.clients .clients-logo .owl-item .item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.clients .clients-logo .owl-item .item img {
    max-height: 65px;
    width: auto;
    display: block;
}
