:root {
    --primary-orange: #E8852A;
    --primary-maroon: #8B2E5F;
    --accent-orange: #F5A742;
    --light-cream: #FFF9F5;
    --dark-text: #1a1a1a;
    --border-radius-sm: 16px;
    --border-radius-lg: 24px;
    --primary-dark: #8B2E1F;
    --light-cream: #FFF8F0;
    --gold: #D4A574;
    --saffron-100: #fff3dc;
    --saffron-300: #f9c877;
    --saffron-500: #f0a03c;
    --saffron-700: #e8862a;
    --rust: #b83f0b;
    --cream: #fdf3e3;
    --ink: #3b2412;
    --green: #2c6b3f;
    --green-dark: #235532;
    --red: #cf2f2f;
    --red-dark: #b42424;
    --amber-1: #fbd28a;
    --amber-2: #f5a742;
    --amber-3: #e8781a;
    --amber-4: #c45a0c;
    --maroon: #7a1f0b;
    --cream: #fff8ea;
    --cream-2: #fdecc8;
    --ink: #4a2410;
}



* {
    --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


body {
    background-color: var(--light-cream);
    color: var(--dark-text);
    font-family: var(--bs-font-sans-serif);
    margin: 0;
    padding: 0;
}


.navbar-toggler {
    border-color: #FFD700;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,215,0, 1)' stroke-width='3' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link:hover {
    color: #fff !important;
}

.nav-link::after {
    content: "|";
    margin-left: 12px;
    color: #BF5B04;
    /* saffron theme */
    font-weight: 600;
}

.nav-item:last-child .nav-link::after {
    content: "";
}
/* .navbar-nav {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
}
.nav-item {
    flex: 0 0 auto;
} */
/* 
.donationlink{
    border: 2px solid #d0c61b;
    border-radius: 4px;
    box-shadow: 0 2px 10px #885252;
}
.donationlink::after{
    display:none;
} */

.bhs-elegant {
    font-family: "Cormorant Garamond", serif;
    text-align: center;
    color: #3b2a1a;
}

.bhs-elegant .bhs-top {

    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bhs-elegant .bhs-bottom {
    display: inline-block;
   
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    padding: 0 10px;
}

.bhs-elegant .bhs-bottom::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: linear-gradient(90deg, #FF9933, #FFD700);
    border-radius: 999px;
}

.bhs-text {
    margin-top: 15px;
}

/* Header */
/* .navbar-custom {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
} */

.img-logo{
    width: 64px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-decoration: none;

    align-items: center;
    float: left;

}

.header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.search-icon {
    cursor: pointer;
    color: var(--primary-orange);
    font-size: 1.25rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* Hero Section - Full Width */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    /* background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange)); */
    background-image: url('../../images/m3.png');
    /* overflow: hidden; */
    margin-bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(232, 133, 42, 0.7), rgba(139, 46, 95, 0.7));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-content-overlay {
    /* position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0; */
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 3rem;
    color: white;
}

.hero-left {
    max-width: 400px;
    z-index: 2;
}

.greeting {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.greetingHoverBox {
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    height: 23px;
    width: 283px;
    position: absolute;
    top: 20px;
}

.greeting-text {
    position: relative;
    z-index: 1;
}


.greeting-icon {
    color: #FFD700;
    font-size: 1.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--dark-text);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
}

.status-indicator.deactivated {
    background: #dc3545
}

.status-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-text);
}

.status-expiry {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
}

.btn-primary-orange {
    background: var(--primary-orange);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.btn-primary-orange:hover {
    background: #d4722a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 133, 42, 0.4);
}

.btn-primary-maroon:hover {
    background: #800000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(128, 0, 0, 0.4);
}

.btn-primary-maroon {
    background: var(--primary-maroon);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}


.membership-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--dark-text);
}

.membership-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.membership-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.renewal-date {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.btn-receipt {
    background: white;
    border: 1px solid #ddd;
    color: var(--dark-text);
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-receipt:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 2rem;
    z-index: 1;
}

.upgrade-badge {
    background: white;
    color: var(--primary-orange);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Quick Actions Section */
.quick-actions-section {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 10;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
}

.quick-action-card {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-orange);
}

.quick-action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quick-action-orange .quick-action-icon {
    color: var(--primary-orange);
}

.quick-action-maroon .quick-action-icon {
    color: var(--primary-maroon);
}

.quick-action-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-text);
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 2.5rem 0 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Event Cards */
.event-card {
    background: white;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;

    background-size: cover;
    background-position: center;
}

.attention-icon {
    position: absolute;
    right: 45px;
    top: 17%;
    transform: translateY(-50%);
    color: #dc3545;
    font-size: 1.3rem;
    animation: pulse 1.5s infinite;
    cursor: pointer;
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.2);
    }

    100% {
        transform: translateY(-50%) scale(1);
    }
}


.thumb-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.event-card:hover {
    /* transform: translateY(-6px); */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.event-card-title {
    background: linear-gradient(to right, #FF9933, #FF6A00);
}

.event-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
}

.event-card-content {
    padding: 1.25rem;
}

.event-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-text);
    /* margin-bottom: 0.5rem; */
    padding: 17px 17px 0;

}

.event-subtitle {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem;
}

.event-date {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    background: transparent;
    color: #fff;
    text-shadow: 0 1px 0px #be6929;
    text-transform: uppercase;
    padding-top: 0;
    text-align: right;
}

/* Family Members */
.family-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    text-transform: capitalize;
}

.member-role {
    font-size: 0.85rem;
    color: #999;
}

.member-menu {
    color: #ccc;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Membership Card in Sidebar */
.upgrade-card {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 24px rgba(232, 133, 42, 0.2);
}

.upgrade-card-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.upgrade-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.upgrade-card-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-upgrade {
    background: white;
    color: var(--primary-orange);
    font-weight: 600;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Notifications */
.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-orange);
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.notification-icon {
    font-size: 1.5rem;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.notification-text {
    font-size: 0.95rem;
    color: var(--dark-text);
    line-height: 1.5;
    flex: 1;
}

.btn-view-all {
    width: 100%;
    background: var(--primary-orange);
    color: white;
    font-weight: 600;
    border: none;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #d4722a;
    transform: translateY(-2px);
}

/* Groups Section */
.group-card {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.group-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-orange);
}

.group-name {
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.group-time {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.group-badge {
    display: inline-block;
    background: var(--primary-maroon);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Donation Section */
.donation-box {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
    color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 8px 24px rgba(232, 133, 42, 0.2);
    margin-top: 1rem;
}

.donation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.donation-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.donation-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-donate {
    background: white;
    color: var(--primary-orange);
    font-weight: 600;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Settings */
.settings-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.settings-item:hover {
    border-left-color: var(--primary-orange);
    background: rgba(232, 133, 42, 0.05);
}

.settings-icon {
    font-size: 1.5rem;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.settings-text {
    flex: 1;
    font-weight: 600;
    color: var(--dark-text);
}

.settings-arrow {
    color: #ccc;
    font-size: 1.25rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(232, 133, 42, 0.1);
    color: #999;
    font-size: 0.9rem;
}

.footer-charity {
    font-size: 0.85rem;
    color: #bbb;
    margin: 0.5rem 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 1.25rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content-overlay {
        padding: 2.5rem;
    }

    .hero-section {
        height: 400px;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .bhs-text {
    margin-top: 5px;
    display: inline-grid;
}
    .hero-section {
        height: 350px;
    }

    .hero-content-overlay {
        padding: 2rem 1.5rem;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-right {
        display: none;
    }

    .hero-left {
        max-width: 100%;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .quick-action-card {
        padding: 1.25rem;
    }

    .greeting {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        position: relative;
    }


    .btn-primary-orange {
        padding: 0.75rem 1.5rem;
        margin-bottom: 1rem;
    }

    .membership-card {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 1.25rem;
        margin: 2rem 0 1rem 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 335px;
    }

    .hero-content-overlay {
        padding: 1.5rem;
    }

    .greeting {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .quick-actions {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .quick-action-icon {
        font-size: 2.5rem;
    }

    .quick-action-text {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bhs-elegant .bhs-top{
        font-size: 0.8rem;
    }
    .bhs-elegant .bhs-bottom {
        font-size: 1rem;
    }

}

.donation-ribbon {
    position: fixed;
    top: 90px; /* adjust based on your header height */
    right: 0;
    z-index: 9999;
    /* background: #ff9933;
    padding: 10px 0;
    width: 60px;
    text-align: center;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); */
}

.donation-text {
  position: fixed;
    top: 81px;
    right: 0;
    z-index: 9999;
    background: #fe850d;
    padding: 10px 0;
    width: 60px;
    text-align: center;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 2px 10px #000;
    text-decoration: none;
    min-height: 77px;
    padding-left: 7px;
}

.donation-ribbon:hover {
    background: #ff7a00;
}
@media (max-width: 1024px) {
    .donation-ribbon {
        top: 80px;
        width: 50px;
    }
    .donation-text {
        font-size: 14px;
        top:64px
    }
}

