/********** Template CSS **********/
:root {
    --primary: #FF6F0F;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
}

.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: 99999;
}

    #spinner.show {
        transition: opacity .5s ease-out, visibility 0s linear 0s;
        visibility: visible;
        opacity: 1;
    }


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

    .btn.btn-primary,
    .btn.btn-outline-primary:hover {
        color: #FFFFFF;
    }

        .btn.btn-primary:hover {
            color: var(--primary);
            background: transparent;
        }

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: var(--primary);
    }

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

        .navbar .navbar-nav .nav-link {
            padding: 10px 0;
        }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    background: rgb(0 29 35 / 30%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@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, .8), rgba(0, 29, 35, .8)), url(../img/pattern.jpg) center center no-repeat;
    background-size: cover;
}

    .page-header .breadcrumb-item + .breadcrumb-item::before {
        color: #999999;
    }


/*** 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: #298b9e;
            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 rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked + label {
    color: #36b0c8;
    border-color: #36b0c8;
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

    .team-item .team-social .btn:hover {
        color: #FFFFFF;
        background: var(--primary);
    }


/*** 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(--primary);
    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: var(--primary) !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(--primary);
    font-size: 45px;
    transition: .5s;
}

    .testimonial-carousel .owl-nav .owl-prev:hover,
    .testimonial-carousel .owl-nav .owl-next:hover {
        color: var(--dark);
    }


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

    .footer .btn.btn-link::before {
        position: relative;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        color: rgba(255,255,255,0.5);
        margin-right: 10px;
    }

    .footer .btn.btn-link:hover {
        color: var(--light);
        letter-spacing: 1px;
        box-shadow: none;
    }

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

    .footer .btn.btn-square:hover {
        color: var(--secondary);
        border-color: var(--light);
    }

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

    .footer .copyright a {
        color: var(--secondary);
    }

        .footer .copyright a:hover {
            color: var(--primary);
        }


img.logo {
    width: 70px;
    display: block;
    position: relative;
}


.chairman-message {
    background-color: #f5fefe;
    padding: 3rem 2rem;
    border-left: 6px solid #36b0c8;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto 3rem;
    font-family: 'Segoe UI', sans-serif;
}

    .chairman-message h2 {
        font-size: 2rem;
        color: #36b0c8;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .chairman-message p {
        color: #333;
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 1.2rem;
        text-align: justify;
    }

    .chairman-message .signature {
        font-style: italic;
        color: #222;
    }

    .chairman-message .chairman-name {
        text-align: right;
        font-weight: bold;
        margin-top: 2rem;
        color: #36b0c8;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .chairman-message {
        padding: 2rem 1rem;
    }

        .chairman-message h2 {
            font-size: 1.5rem;
        }

        .chairman-message p {
            font-size: 1rem;
        }
}





.project-section {
    background-color: #f0f8ff;
    padding: 40px 20px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

    .filter-bar select,
    .filter-bar input,
    .filter-bar button {
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        background-color: #fff;
        color: #003366;
        font-size: 14px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .filter-bar button {
        background-color: #0099cc;
        color: white;
        cursor: pointer;
    }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

    .project-card:hover {
        transform: translateY(-5px);
    }

.project-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.project-content {
    padding: 20px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 10px;
}

.project-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #004d80; /* your sky blue theme */
    margin: 0;
}

.project-country {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.flag-icon {
    width: 20px;
    height: auto;
    margin-right: 5px;
    border-radius: 2px;
}

.project-cost {
    font-size: 16px;
    font-weight: bold;
    color: #cc0066;
}

.project-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.btn-details {
    text-align: center;
    padding: 10px;
    border-radius: 3px;
    border: #36b0c8 !important;
    background: #36b0c8;
    color: #fff;
}

    .project-actions button {
        padding: 10px;
        border: none;
        border-radius: 5px;
        font-size: 14px;
        cursor: pointer;
    }

.btn-installment {
    background-color: #0077b6;
    color: white;
}

.btn-sponsor {
    background-color: #0099cc;
    color: white;
}

.terms {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

@media (max-width: 576px) {
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .project-country {
        justify-content: flex-start;
    }
    .m-w-100{
        width : 100% !important;
        margin: 10px 0px;  
    }
    h1 {
        font-size: 1.5rem !important;
    }
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .step-title {
        font-size: 16px !important;
        font-weight: 600;
        margin-bottom: 2px !important;
        margin-left: 18px !important;
    }
    .step-desc {
        font-size: 14px !important;
        line-height: 1.6;
        color: #555;
        padding: 10px !important;
    }
    .steps-container {
        max-width: 800px;
        margin: 10px auto !important;
        padding: 10px !important;
    }
}


.project-section {
    padding: 40px 20px;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(54, 176, 200, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(54, 176, 200, 0.4);
    }

.project-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.project-content {
    padding: 20px;
    text-align: left;
}

    .project-content h5 {
        margin: 0;
        font-size: 18px;
        color: #36b0c8;
        font-weight: bold;
    }

.project-country {
    margin-top: 8px;
    font-size: 14px;
    color: #777;
}
/* Responsive Fix */
@media (max-width: 768px) {
    .project-image img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .project-image img {
        height: 160px;
    }
}

.project-detail-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.project-detail-card {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.project-image-side {
    flex: 1 1 45%;
    background-color: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

    .project-image-side .main-image {
        max-width: 100%;
        max-height: 400px;
        object-fit: cover;
        border-radius: 10px;
    }

.project-info-side {
    flex: 1 1 55%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

.project-description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #444;
}

.project-meta {
    display: flex;
    gap: 30px;
    font-size: 15px;
    margin-bottom: 25px;
    padding: 20px 0px;
    border-top: 1px dotted #f2f2f2;
    border-bottom: 1px dotted #f2f2f2;
}

    .project-meta div {
        color: #666;
    }

.donation-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-type-input,
.amount-input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9f9f9;
}

.donation-amount-section {
    display: flex;
    gap: 15px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .quantity-selector input {
        width: 50px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 8px;
        background-color: #fff;
    }

.qty-btn {
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
}

.btn {
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

    .btn.add-to-cart {
        background-color: #22b7d1;
        color: white;
    }

    .btn.donate {
        background-color: white;
        border: 2px solid #22b7d1;
        color: #22b7d1;
    }

    .btn:hover {
        opacity: 0.85;
    }

@media (max-width: 768px) {
    .project-detail-card {
        flex-direction: column;
    }

    .project-image-side,
    .project-info-side {
        flex: 1 1 100%;
    }

    .project-meta {
        flex-direction: column;
        gap: 10px;
    }

    .donation-amount-section {
        flex-direction: column;
        align-items: flex-start;
    }
}


.w-30{
    width: 30%;
}
.default-color {
    color: #36b0c8 !important;
}



.contact-header {
    background: linear-gradient(to right, #0d6efd, #0a58ca);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

    .contact-header h1 {
        font-size: 48px;
        font-weight: bold;
    }

    .contact-header p {
        font-size: 18px;
        margin-top: 10px;
    }

.contact-info {
    padding: 40px 20px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

    .info-box h5 {
        font-weight: 600;
        color: #0d6efd;
    }

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 12px;
}

    .map-responsive iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        border: none;
    }

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.text-proj {
    text-align: center;
    width: 100%;
    margin: 0px;
    font-size: 18px;
    padding: 5px;

}
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 36px;
    }
    .carousel-item {
        height: 420px;
    }
}

.carousel-item {
    height: 520px;
}
.a-text {
    color: #e0e0e0 !important
}
.lang-div {
    display: inline-block;
    position: relative;
    margin: 0px 20px;
}
.top-bar {
    background-color: #00000040;
}
.marginB5{
    margin-bottom: 10px;
}