﻿.banner {
    background: #0b5b42;
    border-radius: 24px;
    color: #ffffff;
    padding: 18px 36px;
}

    .banner.mosque {
        background-image: url('../publicSite/images/icons/mosque-icon.svg');
        background-position: bottom;
        background-position-x: 32px;
        background-size: 50px;
        background-repeat: no-repeat;
    }

    .banner .text-area {
        padding-left: 42px;
    }
            
            .banner.prayer-room {
    background-image: url('../publicSite/images/icons/prayer-room-icon.svg');
    background-position: bottom;
    background-position-x: 24px;
    background-size: 50px;
    background-repeat: no-repeat;
    padding: 10px 36px;
}

    .banner.organization {
        background-image: url('../publicSite/images/icons/organization-icon.svg');
        background-position: bottom;
        background-position-x: 20px;
        background-size: 50px;
        background-repeat: no-repeat;
    }

    .banner.org-7 {
        background-image: url('../publicSite/Images/VectorImageFor7.png');
        background-position: bottom;
        background-position-x: 0px;
        background-repeat: no-repeat;
    }

    .banner.org-signup {
        background-image: url('../publicSite/Images/VectorImageforMidcard.png');
        background-position: bottom;
        background-position-x: 100%;
        background-repeat: no-repeat;
    }

    .banner .title {
        font-weight: bold;
        color: #ffffff;
        text-align: center;
        font-size:16px;
        line-height: 1.45;
    }

    .banner .description {
        color: #ffffff;
        text-align: center;
        line-height: 1.45;

    }


.web-title {
    display: inline;
}

.mobile-title {
    display: none;
}


@media only screen and (max-width: 600px) {

    .web-title {
        display: none;
    }

    .mobile-title {
        display: inline !important;
    }

    .is-search-box{
        padding:12px;
        border-radius:24px;
    }
    .banner {
        padding-bottom: 40px !important;
    }

        .banner .text-area {
            padding-left: 2px;
        }


    .green-tab .custom-col-left {
        width: 67%; /* fixed width for text column */
    }

    .green-tab .custom-col-right {
        width: 33%; /* fixed width for button column */
    }

    .green-tab .custom-row {
        display: flex;
        justify-content: center;
    }

}


@media (min-width: 600px) { /* Desktop breakpoint */

    .custom-col-left {
        width: 62%; /* fixed width for text column */
    }

    .custom-col-right {
        width: 38%; /* fixed width for button column */
    }

    .custom-row {
        display: flex;
        justify-content: center;
    }

}



.promotional-banner {
    background-color: #005b41;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}


.banner-icon img {
    width: 56px;
    height: 56px;
}


.banner-text {
    flex-grow: 1;
    max-width: calc(100% - 180px);
}

    .banner-text .main-text {
        font-size: 1.1em;
        font-weight: 600;
        margin: 0 0 5px 0;
        line-height: 1.3;
    }

    .banner-text .sub-text {
        font-size: 0.9em;
        margin: 0;
        opacity: 0.9;
    }

.banner-button .btn-add-mosque {
    background-color: #fff;
    color: #005b41;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    display: inline-block;
}

    .banner-button .btn-add-mosque:hover {
        background-color: #e6e6e6;
    }

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .promotional-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .banner-text {
        max-width: 100%;
    }

    .banner-button {
        width: 100%;
    }

        .banner-button .btn-add-mosque {
            width: 100%;
            text-align: center;
        }
}

.green-tab.nav-tabs {
    display: flex;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border: none;
    border-radius: 50px;
}

    .green-tab.nav-tabs .nav-link {
        flex: 1;
        color: #000000;
        text-align: center;
        padding: 12px;
        cursor: pointer;
        background: #f5f5f5;
        font-weight: bold;
        font-size: 16px;
        border: 1px solid #dbdbdb;
        border-radius: 50px;
    }

        .green-tab.nav-tabs .nav-link.active {
            color: #000000;
            background: #05cd6d !important;
        }

@media (max-width: 768px) {
    .green-tab.nav-tabs .nav-link {
        padding: 12px 0px;
        font-size: 0.75rem;
    }



}

.SearchBanner {
    display: none;
}

    .SearchBanner.active {
        display: block;
    }

.banner-child-paragraph p {
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

.banner-child-paragraph .main-text {
    font-size: 17px;
    font-weight: 600;
}

.banner-child-paragraph .sub-text {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

.SearchBanner {
    background-color: #005b41;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 900px;
    margin: 20px auto;
}

.SearchBanner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

.SearchBanner-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.SearchBanner-img {
    width: 100%;
    height: 100%;
    position: absolute;
}

.SearchBanner-text {
    flex-grow: 1;
    color: white;
}

.SearchBanner-title {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.3;
    color: white;
}

.SearchBanner-subtitle {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.9;
    color: white;
}

.SearchBanner-action {
    flex-shrink: 0;
}

    .SearchBanner-action a {
        background-color: white;
        color: #005b41;
        padding: 12px 20px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        white-space: nowrap;
        display: inline-block;
        transition: background-color 0.3s ease;
    }

        .SearchBanner-action a:hover {
            background-color: #e0e0e0;
        }

@media (max-width: 768px) {
    .SearchBanner {
        padding: 15px;
    }

    .SearchBanner-title {
        font-size: 1em;
    }

    .SearchBanner-subtitle {
        font-size: 0.85em;
    }

    .SearchBanner-action a {
        padding: 10px 16px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .SearchBanner {
        padding: 12px;
        gap: 12px;
    }

    .SearchBanner-icon {
        width: 40px;
        height: 40px;
    }

    .SearchBanner-img {
        left: 30px;
        top: 18px;
    }

    .SearchBanner-title {
        font-size: 0.95em;
    }

    .SearchBanner-subtitle {
        font-size: 0.8em;
    }

    .SearchBanner-action a {
        padding: 8px 14px;
        font-size: 0.85em;
    }
}

.card-header.p-0 {
    background-color: #FFF8E7;
    color: #000;
    font-weight: 600;
    padding: 12px 20px;
    border-bottom: 1px solid #E0D9C8;
    cursor: pointer;
}

    .card-header.p-0:hover {
        background-color: #FDEECF;
    }

.SearchBanner {
    position: relative;
    display: none;
    align-items: center;
    justify-content: space-between;
    border-radius: 28px;
    padding: 22px 28px;
    padding-left: 130px;
    margin-top: 18px;
    transition: background 0.22s ease, color 0.22s ease, padding 0.22s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

    .SearchBanner.active {
        display: flex;
    }

.SearchBanner-icon {
    top: 50%;
    transform: translateY(-50%);
}

.SearchBanner.active .SearchBanner-icon {
    position: absolute;
    left: 18px;
    bottom: 0;
    transform: none;
    width: 84px;
    height: 84px;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.SearchBanner.active .SearchBanner-img {
    width: 46px;
    height: auto;
    margin: 0;
    padding: 0;
}

.SearchBanner-icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    width: auto;
    height: auto;
    position: relative;
    margin-top: 22px;
}

.SearchBanner-img {
    margin: 0;
    padding: 0;
    height: auto;
    width: 40px;
}

.SearchBanner-text {
    flex: 1;
    margin-left: 6px;
}

.SearchBanner-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #111827;
}

.SearchBanner-subtitle {
    font-size: 14px;
    margin: 0;
    color: #6b7280;
}

.SearchBanner-action {
    margin-left: 18px;
    flex-shrink: 0;
}

    .SearchBanner-action a {
        display: inline-block;
        padding: 10px 18px;
        border-radius: 10px;
        font-weight: 600;
        text-decoration: none;
    }

.SearchBanner .SearchBanner-action a {
    background: #ffffff;
    color: #065f46;
    border: 1px solid rgba(6,95,70,0.12);
    box-shadow: none;
}

.SearchBanner.active {
    background: #0b5b42;
    color: #ffffff;
    padding-left: 120px;
}

    .SearchBanner.active .SearchBanner-title {
        color: #ffffff;
    }

    .SearchBanner.active .SearchBanner-subtitle {
        color: rgba(255,255,255,0.85);
    }

    .SearchBanner.active .SearchBanner-icon {
        background: transparent;
        box-shadow: none;
    }

    .SearchBanner.active .SearchBanner-img {
        filter: brightness(0) invert(1) saturate(2);
        width: 46px;
    }

    .SearchBanner.active .SearchBanner-action a {
        background: #ffffff;
        color: #0b5b42;
        border: 1px solid rgba(255,255,255,0.08);
    }

@media (max-width: 768px) {
    .SearchBanner {
        padding-left: 100px;
    }

    .SearchBanner-icon {
        left: 12px;
        width: 64px;
        height: 64px;
    }

    .SearchBanner-img {
        width: 36px;
    }
}

@media (max-width: 480px) {
    .SearchBanner {
        padding-left: 96px;
        padding-right: 12px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .SearchBanner-icon {
        width: 56px;
        height: 56px;
        left: 10px;
    }

    .SearchBanner-img {
        width: 30px;
    }

    .SearchBanner-action a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

.popular-searches {
    margin-top: 2px;
    margin-bottom: 16px;
}

.popular-title {
    font-size: 14px;
    font-weight: 600;
    color: #1c3c35;
    margin-right: 10px;
    white-space: nowrap;
}

.popular-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.popular-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #16a34a;
    border-radius: 20px;
    background-color: #fff;
    color: #16a34a;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .popular-badge:hover {
        background-color: #16a34a;
        color: #fff;
    }

.donation-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.donation-content {
    background: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    position: relative;
    animation: slideUp 0.4s ease-out;
}

.donation-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

.donation-content h2 {
    font-size: 22px;
    color: #014b34;
    margin-bottom: 15px;
}

.donation-content p {
    font-size: 16px;
    color: #444;
    margin-bottom: 25px;
}

.donation-btn {
    background: #016A4C;
    color: #fff;
    padding: 12px 60px;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .donation-btn:hover {
        background: #014b34;
        color: #fff;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .donation-content {
        padding: 20px;
        border-radius: 15px;
    }

        .donation-content h2 {
            font-size: 18px;
        }

        .donation-content p {
            font-size: 14px;
        }

    .donation-btn {
        width: 100%;
    }
}
/* iOS Safari scroll jump fix */
@supports (-webkit-touch-callout: none) {
    input, select, textarea {
        font-size: 16px !important;
    }
}