body {
    background: #efefef !important;
}

/* ========== UPCOMING EVENTS ========== */
.upcoming-events-section {
    background: linear-gradient(135deg, #f9f0fb 0%, #fce8f3 100%) !important;
}

.ev-events-row {
    display: flex;
    flex-wrap: wrap;
}

.ev-events-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.ev-events-row .event-card {
    flex: 1;
}

.event-card-placeholder {
    border: 2px dashed #d8b4e2;
    box-shadow: none;
    opacity: 0.65;
}

.event-card-placeholder:hover {
    box-shadow: none;
    transform: none;
}

.event-badge-placeholder {
    background: linear-gradient(to bottom right, #ccc 0%, #bbb 100%);
    min-width: 68px;
}

.placeholder-title {
    color: #999 !important;
}

.placeholder-text {
    color: #bbb !important;
    font-style: italic;
}

.event-placeholder-btn {
    border: 1px solid #ccc;
    color: #bbb;
    cursor: default;
    pointer-events: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
}

/* ========== ABOUT TRUST ========== */
.about-trust-section,
.content-section.about-trust-section,
.content-section:nth-of-type(even).about-trust-section,
.content-section:nth-of-type(odd).about-trust-section {
    background: #fff !important;
    background-color: #fff !important;
}

.about-title {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 0.3em;
}

.text-highlight {
    color: #CD334F;
}

.about-lead {
    font-size: 15px;
    font-weight: 500;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

\.about-body-row {
    margin-top: 1.5em;
}

.about-stats-cta-row {
    margin-top: 2em;
}

.about-body-row > [class*="col-"] {
    float: none;
}

.about-body-row p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.4em;
    font-size: 14px;
}

.about-stats-row {
    display: inline-flex;
    gap: 0;
    margin-bottom: 2em;
    border: 2px solid rgba(205, 51, 79, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    max-width: 75%;
    width: 75%;
}

.about-stat {
    flex: 1;
    text-align: center;
    padding: 15px 19px;
    border-right: 2px solid rgba(205, 51, 79, 0.15);
}

.about-stat:last-child {
    border-right: none;
}

.about-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #CD334F;
    line-height: 1.1;
}

.about-stat-label {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 8px;
    font-weight: 600;
}

.about-btn-outline {
    background: transparent !important;
    border: 2px solid #CD334F !important;
    color: #CD334F !important;
    border-radius: 4px;
    padding: 7px 20px;
    font-weight: 600;
    transition: all 0.2s;
}

.about-btn-outline:hover {
    background: #CD334F !important;
    color: #fff !important;
}

.about-why-box {
    margin-bottom: 1em;
}

.about-why-title {
    margin-top: 0;
    margin-bottom: 0.6em;
    color: #CD334F;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.about-why-list {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.volunteer-section {
    background: linear-gradient(135deg, #f9f0fb 0%, #fce8f3 100%) !important;
}

/* Subscribe Section */
.subscribe-section {
    background: linear-gradient(135deg, #f9f0fb 0%, #fce8f3 100%) !important;
    padding: 50px 0;
    position: relative;
}

.subscribe-content {
    position: relative;
    z-index: 1;
}

.subscribe-icon {
    font-size: 42px;
    color: #CD334F;
    margin-bottom: 15px;
    opacity: 0.9;
}

.subscribe-title {
    color: #2d1a2e;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
}

.subscribe-text {
    color: #6b4c70;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form-wrapper {
    max-width: 550px;
    margin: 0 auto;
}

.subscribe-input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 24px;
    border: 2px solid rgba(205, 51, 79, 0.25);
    border-radius: 30px 0 0 30px;
    border-right: none;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s ease;
    outline: none;
    box-sizing: border-box;
    line-height: normal;
    display: block;
}

.subscribe-input:focus {
    border-color: #CD334F;
}

.subscribe-input::placeholder {
    color: #aaa;
}

.subscribe-btn {
    height: 48px;
    padding: 0 28px;
    background: #CD334F;
    color: #fff;
    border: 2px solid #CD334F;
    border-radius: 0 30px 30px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
    display: block;
    margin: 0;
    vertical-align: top;
}

.subscribe-btn:hover {
    background: #a8253d;
    border-color: #a8253d;
    color: #fff;
}

.subscribe-privacy {
    color: #9a6b9e;
    font-size: 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.subscribe-privacy i {
    font-size: 11px;
}

.subscribe-input-group {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    justify-content: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.subscribe-input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 24px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px 0 0 30px;
    border-right: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
    box-sizing: border-box;
    line-height: normal;
    display: block;
}

.subscribe-input:focus {
    border-color: #fff;
    background: #fff;
}

.subscribe-input::placeholder {
    color: #999;
}

.subscribe-btn {
    height: 48px;
    padding: 0 28px;
    background: #fff;
    color: #CD334F;
    border: 2px solid #fff;
    border-radius: 0 30px 30px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
    display: block;
    margin: 0;
    vertical-align: top;
}

.subscribe-btn:hover {
    background: #CD334F;
    color: #fff;
    border-color: #fff;
}

.subscribe-privacy {
    color: rgba(0, 0, 0, 0.75);
    font-size: 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.subscribe-privacy i {
    font-size: 11px;
}

@media (max-width: 768px) {
    .subscribe-section {
        padding: 40px 0;
    }
    
    .subscribe-title {
        font-size: 24px;
    }
    
    .subscribe-text {
        font-size: 14px;
    }
    
    .subscribe-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .subscribe-input {
        width: 100%;
        min-width: 100%;
        border-radius: 30px;
        border: 2px solid rgba(255, 255, 255, 0.25);
    }
    
    .subscribe-input:focus {
        border: 2px solid #fff;
    }
    
    .subscribe-btn {
        width: 100%;
        border-radius: 30px;
    }
}

.about-why-list li {
    padding: 3px 0;
    line-height: 1.5;
    color: #555;
    font-size: 13px;
}

.about-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 1.5em;
}

@media (max-width: 768px) {
    .about-stats-row {
        flex-wrap: wrap;
    }
    .about-stat {
        flex: 0 0 50%;
        border-bottom: 1px solid rgba(205, 51, 79, 0.12);
    }
    .about-cta {
        flex-wrap: wrap;
    }
}

.event-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(205, 51, 79, 0.10);
    margin-bottom: 24px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.event-card:hover {
    box-shadow: 0 6px 20px rgba(205, 51, 79, 0.18);
    transform: translateY(-3px);
}

.event-date-badge {
    background: linear-gradient(to bottom right, #CD334F 0%, #9a47a9 100%);
    color: #fff;
    min-width: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    text-align: center;
    flex-shrink: 0;
}

.event-date-badge .event-day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .event-month {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.event-info {
    padding: 16px 18px;
    flex: 1;
}

.event-info h5 {
    margin-top: 0;
    margin-bottom: 6px;
    color: #CD334F;
}

.event-info p {
    margin-bottom: 8px;
    color: #555;
}

.event-location {
    font-size: 11px;
    color: #9a47a9 !important;
    font-weight: 600;
}

.event-location .fa {
    margin-right: 4px;
}

/* ========== FOOTER ========== */
.footer {
    background: none !important;
    padding: 0 !important;
}

.footer,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
    color: #1a0a1e !important;
}

.footer a {
    color: #4a2a50 !important;
}

.footer a:hover {
    color: #CD334F !important;
}

.footer-top {
    background: linear-gradient(135deg, #f9f0fb 0%, #fce8f3 100%) !important;
    padding: 55px 0 40px;
    border-top: 3px solid rgba(205, 51, 79, 0.15);
}

.footer-col {
    margin-bottom: 30px;
}

.footer-logo {
    filter: none;
    margin-bottom: 15px;
    display: block;
}

.footer-tagline {
    color: #4a2a50;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    max-width: 260px;
}

.footer-heading {
    color: #1a0a1e;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    margin-top: 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #CD334F;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links li a {
    color: #4a2a50;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: #CD334F;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}

.footer-contact-list li {
    color: #4a2a50;
    font-size: 13px;
    margin-bottom: 9px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.footer-contact-list li i {
    color: #CD334F;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(205, 51, 79, 0.1);
    color: #CD334F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-social-icons a:hover {
    background: #CD334F;
    color: #fff;
}

.footer-bottom {
    background: rgba(205, 51, 79, 0.08);
    padding: 14px 0;
    border-top: 1px solid rgba(205, 51, 79, 0.12);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-copy {
    color: #4a2a50;
    font-size: 12px;
    margin: 0;
}

/* ========== CAUSES SLIDER ========== */
.causes-slider-section,
.content-section.causes-slider-section,
.content-section:nth-of-type(even).causes-slider-section,
.content-section:nth-of-type(odd).causes-slider-section {
    background: #fff !important;
    background-color: #fff !important;
}

/* Equal-height cards */
.causes-slide {
    display: flex;
    flex-direction: column;
}

.causes-slide .campaign-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.causes-slide .campaign-card .cause-card {
    flex: 1;
}

/* Fixed image height — same across all cards */
.causes-slide .campaign-card .img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.causes-slide .campaign-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: none !important;
    transition: transform 0.5s ease-in-out;
    border-radius: 5px 5px 0 0;
}

.causes-slide .campaign-card:hover .img-container img {
    transform: scale(1.05) !important;
}

.causes-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.causes-slider {
    display: flex;
    overflow: hidden;
    gap: 24px;
    scroll-behavior: smooth;
    padding: 8px 4px 16px;
    flex: 1;
}

.causes-slide {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
}

.causes-arrow {
    background: linear-gradient(to bottom right, #CD334F, #9a47a9) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(205, 51, 79, 0.25) !important;
    transition: opacity 0.2s;
    z-index: 1;
    line-height: 1 !important;
}

.causes-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.causes-arrow:not(:disabled):hover {
    opacity: 0.85;
}

.causes-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.causes-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.causes-dot.active {
    background: #CD334F;
}

@media (max-width: 900px) {
    .causes-slide {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .causes-slide {
        flex: 0 0 100%;
    }
    .causes-arrow {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        font-size: 13px !important;
    }
}

/* ========== SECTION ALIGNMENT ========== */
.section-header {
    margin-bottom: 1.5em;
}

.content-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.content-section .row > [class*="col-"] {
    float: none;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-right {
        align-items: center;
        text-align: center;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .event-card {
        margin-bottom: 16px;
    }
}

.register {
    background: linear-gradient(to top right, #CD334F 0%, #9a47a9 100%);
    background-repeat: no-repeat;
    margin-top: 2%;
}

.fileUpload .Photoframe img {
    height: 98px;
    max-width: 98%;
}

.register-form .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #f7eac7;
    outline: 0;
    box-shadow: none;
}

.register-form .form-control::placeholder {
    color: rgb(165, 165, 165);
    font-size: 13px;
}

.content-box {
    font-size: 12px;
}

.content-box .checkbox input {
    vertical-align: bottom;
    position: relative;
    top: -2px;
}

.register-form .form-control {
    border-radius: 0px;
    border: solid 1px #c5c5c5;
}

.fileUpload .file:hover {
    background-color: #651e50;
}

.fileUpload .file {
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    background: #902b61;
    color: #fff;
    border-radius: 3px;
    border: 0;
    box-shadow: 0 3px 0 0 #9e577b;
    transition: all 0.3s ease-in-out;
    font-size: 14px;
}

.fileUpload label {
    width: 49%;
}

.Photoframe {
    height: 100px;
    border: solid 1px #ccc;
    width: 100%;
    text-align: center;
    position: relative;
    margin: auto;
    margin-bottom: 10px;
}

.fileUpload .fileInput {
    position: absolute;
    font-size: 50px;
    opacity: 0;
    right: 0;
    cursor: pointer;
    top: 0;
}

.register-left {
    text-align: center;
    color: #fff;
    margin-top: 4%;
}

.register-left input {
    border: none;
    border-radius: 1.5rem;
    padding: 2%;
    width: 60%;
    background: #f8f9fa;
    font-weight: bold;
    color: #383d41;
    margin-top: 30%;
    margin-bottom: 3%;
    cursor: pointer;
}

.register-right {
    background: #f8f9fa;
    border-top-left-radius: 10% 50%;
    border-bottom-left-radius: 10% 50%;
}

.register-left img {
    margin-top: 15%;
    margin-bottom: 5%;
    /* -webkit-animation: mover 2s infinite  alternate;
    animation: mover 1s infinite  alternate; */
}

@-webkit-keyframes mover {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-20px);
    }
}

@keyframes mover {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-20px);
    }
}

.register-left p {
    font-weight: lighter;
    padding: 12%;
    margin-top: -9%;
}

.register .register-form {
    padding: 9%;
    margin-top: 9%;
    padding-bottom: 30px;
}

.btnRegister {
    float: right;
    margin-top: 0%;
    border: none;
    border-radius: 1.5rem;
    padding: 0%;
    background: linear-gradient(to top right, #86284f 0%, #672f77 100%);
    color: #fff;
    font-weight: 600;
    width: 10rem;
    cursor: pointer;
    height: 35px;
    box-shadow: 1px 2px 4px 0px #ccc;
}

.register .nav-tabs {
    margin-top: 3%;
    border: none;
    background: #0062cc;
    border-radius: 1.5rem;
    width: 28%;
    float: right;
}

.register .nav-tabs .nav-link {
    padding: 2%;
    height: 34px;
    font-weight: 600;
    color: #fff;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.register .nav-tabs .nav-link:hover {
    border: none;
}

.register .nav-tabs .nav-link.active {
    width: 100px;
    color: #0062cc;
    border: 2px solid #0062cc;
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.register-heading {
    text-align: center;
    margin-top: 3%;
    margin-bottom: -15%;
    color: #495057;
}

.register-success-text {
    text-align: center;
    margin-top: 8%;
    margin-bottom: -10%;
    color: #00c216;
}

.register-error-text {
    text-align: center;
    margin-top: 8%;
    margin-bottom: -10%;
    color: #ff0000;
}

@media only screen and (max-width: 768px) {
    .register-right {
        background: #f8f9fa;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
}
/* ========== EVENT JOIN MODAL ========== */
.ej-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 10, 35, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}
.ej-overlay.active {
    display: flex;
}
.ej-modal {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 440px;
    width: 92%;
    position: relative;
    box-shadow: 0 20px 60px rgba(30,10,35,0.18);
    animation: ejSlideIn 0.25s ease;
}
@keyframes ejSlideIn {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.ej-close {
    position: absolute;
    top: 14px; right: 18px;
    background: none; border: none;
    padding: 0;
    width: auto; height: auto;
    font-size: 22px; color: #aaa;
    cursor: pointer; line-height: 1;
    transition: color 0.2s;
    display: inline;
    box-shadow: none;
    outline: none;
}
.ej-close:hover,
.ej-close:focus,
.ej-close:active { color: #CD334F; background: none !important; border: none !important; box-shadow: none !important; outline: none !important; }
.ej-modal-icon {
    font-size: 44px;
    color: #CD334F;
    margin-bottom: 12px;
    text-align: center;
}
.ej-modal-icon.ej-green { color: #27ae60; }
.ej-modal h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a0a1e;
    margin: 0 0 6px;
    text-align: center;
}
.ej-sub {
    color: #6b4c70;
    font-size: 14px;
    text-align: center;
    margin: 0 0 22px;
}
.ej-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ej-btn-group .btn,
.ej-btn-group .ej-outline-btn {
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
}
.ej-outline-btn {
    background: transparent;
    border: 2px solid #CD334F;
    color: #CD334F;
    border-radius: 6px;
    padding: 9px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.ej-outline-btn:hover {
    background: #CD334F;
    color: #fff;
}
.ej-back {
    position: absolute;
    top: 16px; left: 18px;
    background: none; border: none;
    color: #9a6b9e; font-size: 13px;
    cursor: pointer; padding: 0;
    display: flex; align-items: center; gap: 5px;
    transition: color 0.2s;
    line-height: 20px;
}
.ej-back:hover { color: #CD334F; background: none; border: none; outline: none; box-shadow: none; }
.ej-search-wrap { position: relative; margin-bottom: 14px; }
.ej-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0d0e8;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.ej-input:focus { border-color: #CD334F; }
.ej-amount-row .ej-input:focus { border-color: transparent; box-shadow: none; }
.ej-results {
    list-style: none;
    margin: 0; padding: 0;
    border: 1px solid #e0d0e8;
    border-radius: 8px;
    max-height: 180px;
    overflow-y: auto;
    background: #fff;
    position: absolute;
    width: 100%;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(30,10,35,0.1);
    display: none;
}
.ej-results li {
    padding: 10px 16px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid #f5eef8;
    transition: background 0.15s;
}
.ej-results li:last-child { border-bottom: none; }
.ej-results li:hover { background: #f9f0fb; }
.ej-results li strong { color: #1a0a1e; display: block; font-size: 14px; }
.ej-results li span { color: #9a6b9e; font-size: 12px; }
.ej-selected-user {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9f0fb;
    border: 1px solid rgba(205,51,79,0.2);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.ej-selected-user > i { font-size: 28px; color: #CD334F; }
.ej-selected-user > div { flex: 1; }
.ej-selected-user strong { display: block; color: #1a0a1e; font-size: 14px; }
.ej-selected-user span { color: #9a6b9e; font-size: 12px; }
.ej-clear-user {
    background: none; border: none;
    color: #aaa; font-size: 18px;
    cursor: pointer; line-height: 1;
    transition: color 0.2s;
}
.ej-clear-user:hover { color: #CD334F; }
.ej-full-btn { width: 100%; margin-top: 4px; }
#ejStep3 { text-align: center; }
#ejStep3 .btn { display: inline-block; margin-top: 8px; }
.ej-label {
    display: block;
    font-size: 13px;
    color: #4a2a50;
    font-weight: 600;
    margin-bottom: 8px;
}
.ej-label span { font-weight: 400; color: #9a6b9e; }
.ej-amount-row {
    display: flex;
    align-items: center;
    border: 2px solid #e0d0e8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #fff;
    transition: border-color 0.2s;
}
.ej-amount-row:focus-within {
    border-color: #CD334F;
}
.ej-rupee {
    height: 46px;
    line-height: 46px;
    padding: 0 10px 0 14px;
    background: transparent;
    border: none;
    color: #9a47a9;
    font-size: 17px;
    font-weight: 700;
    flex-shrink: 0;
}
.ej-amount-row .ej-input {
    border: none;
    border-radius: 0;
    padding-left: 2px;
    flex: 1;
    height: 46px;
    outline: none;
    box-shadow: none;
    background: transparent;
}
.ej-quick-amounts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.ej-quick {
    padding: 6px 14px;
    border: 1px solid rgba(205,51,79,0.35);
    border-radius: 20px;
    background: transparent;
    color: #CD334F;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.ej-quick:hover, .ej-quick.selected {
    background: #CD334F;
    color: #fff;
    border-color: #CD334F;
}
.ej-amount-wrap { margin-bottom: 10px; }


/* ============================================================
   ARTHA NGO - MODERN UI/UX REDESIGN STYLES
   ============================================================ */

/* ---- GLOBAL UTILITIES ---- */
:root {
    --artha-primary: #CD334F;
    --artha-primary-dark: #a8253d;
    --artha-accent: #9a47a9;
    --artha-gradient: linear-gradient(135deg, #CD334F 0%, #9a47a9 100%);
    --artha-gradient-soft: linear-gradient(135deg, #f9f0fb 0%, #fce8f3 100%);
    --artha-shadow: 0 4px 20px rgba(205,51,79,0.13);
    --artha-shadow-hover: 0 8px 32px rgba(205,51,79,0.22);
    --radius-card: 14px;
    --radius-btn: 30px;
}

.section-label {
    display: inline-block;
    background: var(--artha-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title-block {
    margin-bottom: 2.5em;
}

.section-heading {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 0;
    margin-bottom: 0.6em;
    line-height: 1.25;
}

.section-subtext {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- NAVBAR MODERNIZATION ---- */
#mainNavbar {
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 60px;
}

#mainNavbar.navbar-scrolled {
    background: #fff !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

#mainNavbar.navbar-scrolled .light-logo { display: none !important; }
#mainNavbar.navbar-scrolled .dark-logo { display: inline !important; }
#mainNavbar.navbar-scrolled .navbar-nav > li > a { color: #333 !important; }
#mainNavbar.navbar-scrolled .navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a:hover,
#mainNavbar.navbar-scrolled .navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a:focus {
    background: #CD334F !important;
    color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════════
   NAVBAR — solid white on EVERY page, from the very top.
   Previously this was gated behind .has-light-hero (home only) while
   the other pages each repeated the same override in their own inline
   <style>. Defining it once here makes the header identical sitewide.
   ══════════════════════════════════════════════════════════════════ */
#mainNavbar {
    background: #fff !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
#mainNavbar .light-logo { display: none !important; }
#mainNavbar .dark-logo  { display: inline !important; }
#mainNavbar .navbar-nav > li > a { color: #333 !important; }
#mainNavbar .navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a:hover,
#mainNavbar .navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a:focus {
    background: #CD334F !important;
    color: #fff !important;
}

.nav-donate-cta { margin-left: 8px; }

.nav-donate-btn {
    background: var(--artha-gradient) !important;
    color: #fff !important;
    border-radius: var(--radius-btn) !important;
    padding: 7px 22px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.3px;
    border: none !important;
    box-shadow: 0 3px 12px rgba(205,51,79,0.3);
    transition: box-shadow 0.2s, transform 0.2s !important;
}
.nav-donate-btn:hover {
    box-shadow: 0 5px 18px rgba(205,51,79,0.45) !important;
    transform: translateY(-1px);
    color: #fff !important;
}

/* ---- HERO MODERN ---- */
/* ══════════════════════════════════════════════════════════════════
   HERO BANNER — built to match the supplied design comp exactly.
   Cream canvas · full-bleed photo right · sage focus band on a wave.
   ══════════════════════════════════════════════════════════════════ */

.hero-split {
    position: relative;
    min-height: 92vh;
    background: #F6F4EC;                 /* warm cream canvas */
    overflow: hidden;
    padding-top: 78px;                   /* clears the fixed navbar */
    font-family: Poppins, 'Helvetica Neue', Arial, sans-serif;
}

/* ── botanical decorations (left edge, very subtle) ── */
.hero-leaf {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}
.hero-leaf-tl { top: 130px;    left: -34px; width: 190px; transform: rotate(-8deg); }
.hero-leaf-bl { bottom: 150px; left: -46px; width: 210px; transform: rotate(6deg); }
.hero-leaf svg { width: 100%; height: auto; display: block; }

/* faint dotted texture, as in the comp */
.hero-dots {
    position: absolute;
    left: 29%;
    bottom: 158px;
    width: 120px;
    height: 54px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
    background-image: radial-gradient(rgba(205,51,79,0.32) 1.6px, transparent 1.6px);
    background-size: 13px 13px;
}

/* ── layout ── */
.hero-split-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: calc(92vh - 78px);
}

/* ─────────── LEFT: copy ─────────── */
.hero-split-content {
    flex: 0 0 43%;
    max-width: 43%;
    padding: 40px 28px 190px 6%;
}

/* eyebrow pill + leaf sprig */
.hero-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
}

.hero-eyebrow {
    display: inline-block;
    background: transparent;
    border: 1px solid #C9C6B0;
    color: #4a4a44;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border-radius: 40px;
    padding: 10px 22px;
    margin: 0;
    white-space: nowrap;
}

.hero-eyebrow-sprig { width: 30px; flex-shrink: 0; }
.hero-eyebrow-sprig svg { width: 100%; height: auto; display: block; }

/* headline */
.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 70px;
    font-weight: 800;
    color: #23201e;
    line-height: 1.03;
    letter-spacing: -1px;
    margin: 0 0 20px;
    text-shadow: none;
}

.hero-accent {
    background: linear-gradient(95deg, #D6396B 0%, #DE5A54 48%, #E9982B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* olive stroke beneath "Compassion" */
.hero-underline {
    display: block;
    width: 232px;
    height: 3px;
    border-radius: 3px;
    margin: 0 0 30px;
    background: linear-gradient(90deg, #9BA173 0%, #B6BA92 70%, rgba(182,186,146,0) 100%);
}

.hero-subheading {
    font-size: 16.5px;
    color: #5f5c58;
    line-height: 1.78;
    max-width: 400px;
    margin: 0 0 36px;
}

/* ─────────── CTAs ─────────── */
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s, border-color 0.22s;
}

.hero-btn-primary {
    background: #CD334F;
    color: #fff !important;
    border: none;
    padding: 16px 32px;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(205, 51, 79, 0.28);
}
.hero-btn-primary:hover {
    background: var(--artha-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(205, 51, 79, 0.36);
    color: #fff !important;
    text-decoration: none;
}
.hero-btn-primary .fa { margin-right: 10px; }

.hero-btn-secondary {
    background: transparent;
    color: #3f3d39 !important;
    border: 1.5px solid #A8AD86;
    padding: 14.5px 30px;
    font-weight: 600;
}
.hero-btn-secondary:hover {
    background: rgba(168, 173, 134, 0.14);
    border-color: #8E9469;
    color: #2f2d2a !important;
    text-decoration: none;
}
.hero-btn-secondary .fa { margin-right: 10px; color: #7d8159; }

.hero-scroll-link {
    display: inline-block;
    color: #CD334F;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
}
.hero-scroll-link:hover { color: var(--artha-primary-dark); text-decoration: none; }
.hero-scroll-link .fa { margin-left: 9px; transition: transform 0.22s; }
.hero-scroll-link:hover .fa { transform: translateX(5px); }

/* ─────────── RIGHT: full-bleed photo ─────────── */
.hero-split-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 68%;            /* photo reads clearly larger than the copy column */
    z-index: 1;
}
.hero-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 26%;
    /* Gradual feather on the left edge, finishing at 36% so more of the
       photo stays fully visible. Still wide enough that no seam reads. */
    -webkit-mask-image: linear-gradient(93deg, transparent 0%, rgba(0,0,0,0.12) 7%, rgba(0,0,0,0.45) 16%, rgba(0,0,0,0.78) 25%, #000 36%);
            mask-image: linear-gradient(93deg, transparent 0%, rgba(0,0,0,0.12) 7%, rgba(0,0,0,0.45) 16%, rgba(0,0,0,0.78) 25%, #000 36%);
}

/* Cream veil over the photo's left side. Two jobs:
   1. shapes the CURVED boundary seen in the comp (the ellipse), and
   2. guarantees the blend even where mask-image is unsupported,
      so the layout can never fall back to a hard vertical split.
   Ellipse origin sits further left (-22%) so the shaded band shifts
   left and clears more of the photo. */
.hero-split-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 56% 130% at -22% 46%,
            #F6F4EC 26%,
            rgba(246,244,236,0.92) 41%,
            rgba(246,244,236,0.55) 55%,
            rgba(246,244,236,0) 69%),
        linear-gradient(93deg,
            #F6F4EC 0%,
            rgba(246,244,236,0.72) 8%,
            rgba(246,244,236,0.28) 19%,
            rgba(246,244,236,0) 31%);
}

/* ─────────── BOTTOM: sage focus band on a wave ─────────── */
.hero-focus-band {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
}

.hero-band-wave {
    display: block;
    width: 100%;
    height: 88px;
    margin-bottom: -2px;
}
/* Wave is filled by an SVG gradient defined inline in the markup.
   It runs left→right with the same stops as .hero-focus-inner below,
   so the two line up seamlessly where they meet. */
.hero-band-wave path { fill: url(#arthaBandGrad); }

.hero-focus-inner {
    background: linear-gradient(90deg, #9a47a9 0%, #b8407f 55%, #CD334F 100%);
    display: flex;
    align-items: center;
    padding: 4px 5% 30px;
}

.hero-focus-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}
.hero-focus-item:last-child { border-right: none; }

.hero-focus-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #CD334F;
}

.hero-focus-text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
.hero-focus-text span {
    display: block;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.4;
    margin-top: 2px;
}

/* ─────────── Responsive ─────────── */
@media (max-width: 1399px) {
    .hero-headline { font-size: 64px; }
    .hero-focus-item { padding: 0 18px; gap: 12px; }
    .hero-focus-text strong { font-size: 15px; }
    .hero-focus-text span   { font-size: 12.5px; }
}

@media (max-width: 1199px) {
    .hero-headline { font-size: 54px; }
    .hero-underline { width: 180px; }
    .hero-split-content { padding: 30px 30px 200px 5%; }
    .hero-split-media { width: 55%; }
    .hero-focus-icon { width: 46px; height: 46px; font-size: 17px; }
    .hero-focus-text span { font-size: 11.5px; }
    .hero-dots { display: none; }
}

@media (max-width: 991px) {
    /* stack: copy, then photo, then band */
    .hero-split { min-height: 0; }
    .hero-split-inner { flex-direction: column; min-height: 0; }
    .hero-split-content {
        flex: 1 1 auto; max-width: 100%;
        padding: 46px 24px 34px; text-align: center;
    }
    .hero-eyebrow-row { justify-content: center; }
    .hero-headline { font-size: 46px; }
    .hero-underline { margin-left: auto; margin-right: auto; }
    .hero-subheading { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-split-media {
        position: relative; width: 100%;
        height: 360px; order: 2;
    }
    .hero-split-media img {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 12%, #000 30%);
                mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 12%, #000 30%);
    }
    /* stacked: blend downward from the copy instead of sideways */
    .hero-split-media::after {
        background: linear-gradient(to bottom,
            #F6F4EC 0%,
            rgba(246,244,236,0.65) 13%,
            rgba(246,244,236,0.20) 26%,
            rgba(246,244,236,0) 40%);
    }
    .hero-focus-band { position: relative; margin-top: -46px; }
    .hero-band-wave { height: 56px; }
    .hero-focus-inner { flex-wrap: wrap; padding: 6px 22px 26px; }
    .hero-focus-item {
        flex: 0 0 50%; max-width: 50%;
        padding: 12px 14px; border-right: none;
    }
    .hero-leaf { display: none; }
}

@media (max-width: 767px) {
    .hero-split { padding-top: 60px; }
    .hero-split-content { padding: 30px 20px 22px; }
    .hero-eyebrow-row { margin-bottom: 22px; gap: 8px; }
    .hero-eyebrow { font-size: 10.5px; letter-spacing: 1.2px; padding: 7px 15px; white-space: normal; }
    .hero-eyebrow-sprig { width: 24px; }
    /* headline is the hero's focal point — scale with the viewport
       instead of shrinking to a fixed small size */
    .hero-headline { font-size: clamp(36px, 11.4vw, 54px); line-height: 1.06; letter-spacing: -0.6px; margin-bottom: 16px; }
    .hero-underline { width: 120px; margin-bottom: 20px; }
    .hero-subheading { font-size: 15px; line-height: 1.65; max-width: 340px; margin-bottom: 26px; }
    /* compact pill buttons, side by side */
    .hero-ctas { flex-wrap: nowrap; justify-content: center; gap: 10px; margin-bottom: 6px; }
    .hero-btn-primary,
    .hero-btn-secondary { font-size: 14px; }
    .hero-btn-primary { padding: 11px 22px; box-shadow: 0 6px 16px rgba(205, 51, 79, 0.24); }
    .hero-btn-secondary { padding: 9.5px 20px; }
    .hero-btn-primary .fa,
    .hero-btn-secondary .fa { margin-right: 7px; }
    .hero-btn-extra { display: none; }   /* "Become a Volunteer" → "Volunteer" */
    .hero-split-media { height: 270px; }
    .hero-split-media img { object-position: center 30%; }
    /* focus band: 2 × 2 grid of stacked icon + label */
    .hero-focus-band { margin-top: -40px; }
    .hero-band-wave { height: 44px; }
    .hero-focus-inner { padding: 4px 12px 22px; }
    .hero-focus-item {
        flex: 0 0 50%; max-width: 50%;
        flex-direction: column; text-align: center;
        gap: 8px; padding: 12px 6px;
    }
    .hero-focus-icon { width: 42px; height: 42px; font-size: 16px; }
    .hero-focus-text strong { font-size: 14px; }
    .hero-focus-text span   { font-size: 11.5px; }
}

@media (max-width: 360px) {
    .hero-split-content { padding-left: 16px; padding-right: 16px; }
    .hero-btn-primary { padding: 10px 17px; }
    .hero-btn-secondary { padding: 8.5px 15px; }
    .hero-split-media { height: 230px; }
}

/* ---- IMPACT STATS SECTION ---- */
.impact-stats-section {
    background: #fff;
    padding: 70px 0;
}

.impact-stats-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
}

.impact-stat-card {
    flex: 1;
    min-width: 160px;
    /* Cap must be high enough that 5 cards + 4 gaps can span the full
       container, otherwise the row stays narrow and sits centred with
       dead space either side. flex:1 shrinks them back down to fit. */
    max-width: 280px;
    background: var(--artha-gradient-soft);
    border-radius: var(--radius-card);
    padding: 28px 20px 22px;
    text-align: center;
    border: 1px solid rgba(205,51,79,0.12);
    transition: transform 0.25s, box-shadow 0.25s;
}
.impact-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--artha-shadow-hover);
}

.impact-stat-icon {
    width: 52px;
    height: 52px;
    background: var(--artha-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
    color: #fff;
}

.impact-stat-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1px;
    line-height: 1;
    margin-bottom: 8px;
}

.impact-stat-num {
    font-size: 38px;
    font-weight: 800;
    color: var(--artha-primary);
    line-height: 1;
}

.impact-stat-plus {
    font-size: 22px;
    font-weight: 700;
    color: var(--artha-primary);
    line-height: 1;
    margin-left: 1px;
}

.impact-stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ---- ABOUT MODERN ---- */
.about-modern-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0;
}

.about-mission-vision {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 1.5em;
}

.about-mv-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--artha-gradient-soft);
    border-radius: 12px;
    padding: 18px 20px;
    border-left: 4px solid var(--artha-primary);
}

.about-mv-icon {
    width: 42px;
    height: 42px;
    background: var(--artha-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.about-mv-content h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 15px;
    color: var(--artha-primary);
    font-weight: 700;
}

.about-mv-content p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.65;
}

.about-story-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.values-heading {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1em;
    margin-top: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.value-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(205,51,79,0.12);
    box-shadow: 0 2px 8px rgba(205,51,79,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--artha-shadow);
}

.value-icon {
    width: 36px;
    height: 36px;
    background: var(--artha-gradient-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--artha-primary);
    margin-bottom: 8px;
}

.value-card h5 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}
.value-card p {
    margin: 0;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* ---- DONATION IMPACT ---- */
.donation-impact-section {
    background: linear-gradient(160deg, #1a1a2e 0%, #2d1040 50%, #1a0a1e 100%);
    padding: 70px 0;
}

.donation-impact-section .section-label {
    background: linear-gradient(90deg, #ffd700, #ff7eb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donation-impact-section .section-heading { color: #fff; }
.donation-impact-section .section-subtext { color: rgba(255,255,255,0.7); }

.donation-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 0;
}

.donation-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-card);
    padding: 28px 20px 24px;
    text-align: center;
    transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
    position: relative;
}
.donation-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.donation-card-featured {
    background: var(--artha-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 6px 24px rgba(205,51,79,0.4);
}
.donation-card-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(205,51,79,0.5) !important;
}
.donation-card-featured .donation-amount,
.donation-card-featured .donation-desc,
.donation-card-featured .donation-impact-icon { color: #fff !important; }

.donation-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #1a1a2e;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.donation-amount {
    font-size: 28px;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 10px;
    line-height: 1;
}

.donation-impact-icon {
    font-size: 32px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    display: block;
}

.donation-desc {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 18px;
}

.donation-card-btn {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    border-radius: var(--radius-btn);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s !important;
}
.donation-card-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    color: #fff !important;
}
.donation-card-featured .donation-card-btn {
    background: rgba(255,255,255,0.22) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

/* ---- CAUSES GRID ---- */
.causes-grid-section {
    background: var(--artha-gradient-soft);
    padding: 70px 0;
}

.causes-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}

.cause-grid-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
}
.cause-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--artha-shadow-hover);
}

.cause-grid-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.cause-grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.cause-grid-card:hover .cause-grid-img img { transform: scale(1.05); }

.cause-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 60%);
}

.cause-grid-body {
    padding: 18px 20px 20px;
}

.cause-grid-icon {
    width: 40px;
    height: 40px;
    background: var(--artha-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(205,51,79,0.3);
}

.cause-grid-body h5 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}

.cause-grid-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
}

.cause-grid-actions {
    display: flex;
    gap: 8px;
}

.cause-donate-btn {
    flex: 1;
    background: var(--artha-gradient) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: box-shadow 0.2s !important;
}
.cause-donate-btn:hover { box-shadow: 0 3px 10px rgba(205,51,79,0.35) !important; }

.cause-learn-btn {
    flex: 1;
    background: transparent !important;
    color: var(--artha-primary) !important;
    border: 1px solid rgba(205,51,79,0.35) !important;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s !important;
}
.cause-learn-btn:hover {
    background: var(--artha-gradient-soft) !important;
    border-color: var(--artha-primary) !important;
}

/* ---- VOLUNTEER MODERN ---- */
.volunteer-modern-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.volunteer-img-wrap {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--artha-shadow-hover);
}
.volunteer-main-img { width: 100%; display: block; }

.volunteer-content-col {
    padding-left: 40px;
}

.volunteer-lead {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.2em;
}

.volunteer-quote {
    border-left: 4px solid var(--artha-primary);
    margin: 0 0 1.4em;
    padding: 12px 18px;
    background: var(--artha-gradient-soft);
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #555;
    font-style: italic;
}
.volunteer-quote cite {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    color: var(--artha-primary);
}

.volunteer-benefits h5 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    margin-top: 0;
}

.volunteer-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6em;
}
.volunteer-benefits-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 13px;
    color: #555;
}
.volunteer-benefits-list li .fa {
    color: var(--artha-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.volunteer-cta-btn .fa { margin-right: 8px; }

/* ---- STORIES OF CHANGE ---- */
.stories-section { background: #fff; padding: 70px 0; }

.stories-modern-row { margin-top: 0; }

.story-modern-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    transition: transform 0.25s, box-shadow 0.25s;
}
.story-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--artha-shadow-hover);
}

.story-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.story-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.story-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--artha-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-body { padding: 18px 20px 20px; }
.story-body h5 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}

.story-impact-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.story-impact-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.story-impact-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--artha-primary);
    white-space: nowrap;
    min-width: 82px;
    padding-top: 1px;
}

.story-impact-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.story-read-btn {
    background: transparent !important;
    color: var(--artha-primary) !important;
    border: 1px solid rgba(205,51,79,0.4) !important;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s !important;
}
.story-read-btn:hover {
    background: var(--artha-gradient) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
    background: linear-gradient(160deg, #1a1a2e 0%, #2d1040 50%, #1a0a1e 100%);
    padding: 70px 0;
}
.testimonials-section .section-label {
    background: linear-gradient(90deg, #ffd700, #ff7eb3);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.testimonials-section .section-heading { color: #fff; }
.testimonials-section .section-subtext { color: rgba(255,255,255,0.65); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-card);
    padding: 28px 24px 22px;
    transition: transform 0.25s, background 0.25s;
}
.testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.11); }

.testimonial-card-featured {
    background: var(--artha-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 6px 24px rgba(205,51,79,0.35);
}
.testimonial-card-featured .testimonial-text,
.testimonial-card-featured .testimonial-info strong,
.testimonial-card-featured .testimonial-info span { color: #fff !important; }
.testimonial-card-featured .testimonial-avatar .fa,
.testimonial-card-featured .testimonial-quote-icon { color: rgba(255,255,255,0.7) !important; }

.testimonial-quote-icon {
    font-size: 24px;
    color: var(--artha-primary);
    margin-bottom: 14px;
    display: block;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar .fa {
    font-size: 36px;
    color: rgba(255,255,255,0.35);
}

.testimonial-info strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.testimonial-info span {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
}

/* ---- GALLERY MODERN ---- */
.gallery-section { background: var(--artha-gradient-soft); padding: 70px 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

.gallery-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    min-height: 180px;
}
.gallery-item-large img { min-height: 375px; }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(205,51,79,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 28px;
    color: #fff;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---- WAYS YOU CAN HELP ---- */
.ways-to-help-section { background: #fff; padding: 70px 0; }

.ways-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ways-card {
    background: var(--artha-gradient-soft);
    border-radius: var(--radius-card);
    padding: 28px 18px 22px;
    text-align: center;
    border: 1px solid rgba(205,51,79,0.1);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ways-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--artha-shadow);
}

.ways-icon {
    width: 56px;
    height: 56px;
    background: var(--artha-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin: 0 auto 14px;
    flex-shrink: 0;
}

.ways-card h5 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}

.ways-card p {
    font-size: 12px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.ways-btn {
    padding: 7px 18px !important;
    font-size: 12px !important;
    border-radius: var(--radius-btn) !important;
    margin-top: auto;
    display: inline-block;
    cursor: pointer;
}

/* ---- TRANSPARENCY ---- */
.transparency-section { background: var(--artha-gradient-soft); padding: 70px 0; }

.transparency-trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    text-align: center;
    padding: 24px 30px;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--artha-shadow);
    min-width: 160px;
    transition: transform 0.2s;
}
.trust-badge:hover { transform: translateY(-3px); }
.trust-badge-center {
    background: var(--artha-gradient) !important;
    transform: scale(1.05);
}
.trust-badge-center:hover { transform: scale(1.08) translateY(-3px); }
.trust-badge-center .trust-badge-num { color: #fff !important; }
.trust-badge-center p { color: rgba(255,255,255,0.9) !important; }

.trust-badge-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--artha-primary);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.trust-badge p {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.transparency-docs-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.transparency-doc-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(205,51,79,0.1);
    transition: box-shadow 0.2s;
}
.transparency-doc-card:hover { box-shadow: var(--artha-shadow); }

.transparency-doc-icon {
    width: 46px;
    height: 46px;
    background: var(--artha-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.transparency-doc-info { flex: 1; }
.transparency-doc-info h5 {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}
.transparency-doc-info p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

.transparency-download-btn {
    background: var(--artha-gradient) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: box-shadow 0.2s !important;
}
.transparency-download-btn:hover { box-shadow: 0 4px 14px rgba(205,51,79,0.35) !important; }
.transparency-download-btn .fa { margin-right: 5px; }

/* ---- PARTNERS ---- */
.partners-section { background: #fff; padding: 60px 0; }

.partners-logo-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo-item {
    flex: 0 0 auto;
}

.partner-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 140px;
    height: 90px;
    background: var(--artha-gradient-soft);
    border: 1px solid rgba(205,51,79,0.15);
    border-radius: 12px;
    font-size: 22px;
    color: var(--artha-primary);
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 10px;
}
.partner-logo-placeholder:hover {
    transform: translateY(-3px);
    box-shadow: var(--artha-shadow);
}
.partner-logo-placeholder span {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-align: center;
    line-height: 1.3;
}

/* ---- FOOTER UPGRADE ---- */
.footer-trust-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 11px;
    color: #999;
}
.footer-trust-note .fa { color: var(--artha-primary); }

.footer-legal-links {
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer-legal-links a {
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--artha-primary); }

/* ---- RESPONSIVE ADJUSTMENTS ---- */
@media (max-width: 1199px) {
    .donation-impact-grid { grid-template-columns: repeat(2, 1fr); }
    .ways-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    /* stack: copy above, photo below */
    /* focus band → 2x2 grid */
    .causes-card-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item-large { grid-row: span 1; }
    .gallery-item-large img { min-height: 180px; }
    .ways-grid { grid-template-columns: repeat(2, 1fr); }
    .volunteer-content-col { padding-left: 20px; padding-top: 20px; }
    .section-heading { font-size: 26px; }
    .impact-stat-card { min-width: 130px; }
}

@media (max-width: 767px) {
    /* focus band → single column list */

    .impact-stats-grid { gap: 12px; }
    .impact-stat-card { min-width: calc(50% - 12px); max-width: calc(50% - 12px); }

    .values-grid { grid-template-columns: 1fr 1fr; }
    .about-modern-row > .col-md-6 { padding-bottom: 20px; }

    .donation-impact-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

    .causes-card-grid { grid-template-columns: 1fr; }

    .volunteer-img-col { margin-bottom: 20px; }
    .volunteer-content-col { padding-left: 15px; }

    .stories-modern-row .col-md-6 { margin-bottom: 0; }

    .testimonials-grid { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .ways-grid { grid-template-columns: 1fr 1fr; }

    .transparency-trust-badges { gap: 14px; }
    .trust-badge { min-width: 120px; padding: 18px 16px; }
    .trust-badge-num { font-size: 32px; }

    .transparency-doc-card { flex-direction: column; align-items: flex-start; }

    .partners-logo-row { gap: 12px; }
    .partner-logo-placeholder { width: 110px; height: 72px; }

    .footer-legal-links { flex-direction: column; gap: 6px; align-items: center; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }

    .section-heading { font-size: 22px; }
    .section-title-block { margin-bottom: 1.8em; }
}

@media (max-width: 480px) {
    .donation-impact-grid { grid-template-columns: 1fr; }
    .ways-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .impact-stat-card { min-width: calc(50% - 8px); max-width: calc(50% - 8px); }
}

/* ============================================================
   ARTHA NGO - UI FIXES (Round 2)
   ============================================================ */

/* ---- NAV: Fix Donate Now button vertical alignment ---- */
.navbar-nav > li.nav-donate-cta {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.navbar-nav > li.nav-donate-cta > a.nav-donate-btn {
    line-height: 1 !important;
    padding: 9px 22px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center;
    height: auto;
    vertical-align: middle;
}

/* Override the inherited line-height:60px that causes overflow */
.nav-donate-cta a {
    line-height: 1 !important;
}

/* ---- EVENTS: New vertical card layout ---- */
.events-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}

.ev-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(205, 51, 79, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.ev-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(205, 51, 79, 0.20);
}

.ev-card-header {
    background: linear-gradient(135deg, #CD334F 0%, #9a47a9 100%);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 0;
}

.ev-card-header-placeholder {
    background: linear-gradient(135deg, #ccc 0%, #bbb 100%) !important;
}

.ev-card-date {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
    color: #fff;
}

.ev-day {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.ev-month {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0;
}

.ev-year {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0;
}

.ev-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

.ev-card-body {
    padding: 20px 20px 14px;
    flex: 1;
}

.ev-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.ev-card-location {
    font-size: 12px;
    color: #9a47a9 !important;
    font-weight: 600;
    margin-bottom: 8px !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ev-card-location .fa {
    font-size: 12px;
}

.ev-card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0 !important;
}

.ev-card-footer {
    padding: 14px 20px 20px;
}

.ev-join-btn {
    display: block !important;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #CD334F 0%, #9a47a9 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: box-shadow 0.2s !important;
}
.ev-join-btn:hover {
    box-shadow: 0 4px 16px rgba(205, 51, 79, 0.35) !important;
    color: #fff !important;
}
.ev-join-btn .fa { margin-right: 6px; }

.ev-coming-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px dashed #ccc;
    color: #bbb;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    cursor: default;
    pointer-events: none;
    background: transparent;
    line-height: 1.4;
}

.ev-empty-state {
    text-align: center;
    padding: 20px;
    color: #aaa;
}
.ev-empty-state .fa {
    font-size: 48px;
    margin-bottom: 14px;
    display: block;
    color: rgba(205, 51, 79, 0.25);
}
.ev-empty-state p {
    font-size: 14px;
    color: #888;
}

/* ---- CORE VALUES: ensure 6 cards in 2-col grid (3x2 = fully aligned) ---- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
}

/* ---- WAYS TO HELP: force white background ---- */
.ways-bg-white,
.ways-bg-white.content-section,
.content-section.ways-bg-white {
    background: #fff !important;
    background-color: #fff !important;
}

/* ---- PARTNERS: force white background ---- */
.partners-bg-white,
.partners-bg-white.content-section,
.content-section.partners-bg-white {
    background: #fff !important;
    background-color: #fff !important;
}

/* ---- RESPONSIVE: events grid ---- */
@media (max-width: 991px) {
    .events-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .events-card-grid {
        grid-template-columns: 1fr;
    }
    .ev-day { font-size: 36px; }
}

/* ---- NAV: Divider between Contact and Register ---- */
.navbar-nav > li.nav-divider-item {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 6px;
    padding: 0;
    pointer-events: none;
    flex-shrink: 0;
}
.navbar-scrolled .navbar-nav > li.nav-divider-item {
    background: rgba(0, 0, 0, 0.12);
}

/* ---- NAV: Register button ---- */
/* Default (on transparent/dark navbar): red border, white bg, red text */
.navbar-nav > li.nav-register-cta {
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 6px;
}
.navbar-nav > li.nav-register-cta > a.nav-register-btn {
    display: inline-block !important;
    line-height: 1 !important;
    padding: 8.28px 23.18px !important;
    height: auto;
    color: #CD334F !important;
    background: #fff !important;
    border: 1px solid #CD334F !important;
    border-radius: 4px;
    margin: 0 !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.22s, color 0.22s;
    box-sizing: border-box;
    white-space: nowrap;
}
.navbar-nav > li.nav-register-cta > a.nav-register-btn:hover,
.navbar-nav > li.nav-register-cta > a.nav-register-btn:focus {
    background: #CD334F !important;
    color: #ffffff !important;
    border-color: #CD334F !important;
}

/* ---- NAV scrolled state ---- */
.navbar-scrolled .navbar-nav > li.nav-register-cta > a.nav-register-btn {
    color: #CD334F !important;
    background: #fff !important;
    border-color: #CD334F !important;
}
.navbar-scrolled .navbar-nav > li.nav-register-cta > a.nav-register-btn:hover,
#mainNavbar.navbar-scrolled .navbar-nav > li.nav-register-cta > a.nav-register-btn:hover,
#mainNavbar.navbar-scrolled .navbar-nav > li.nav-register-cta > a.nav-register-btn:focus {
    background: #CD334F !important;
    color: #ffffff !important;
    border-color: #CD334F !important;
}

/* ---- NAV: Fix hover block height - constrain to navbar 60px ---- */
#mainNavbar {
    overflow: visible;
}
#mainNavbar .navbar-nav {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    float: right;
    display: flex;
    align-items: center;
    height: 60px;
}
/* All regular nav items: fill full 60px so hover block matches header */
.navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) {
    height: 60px;
    display: flex;
    align-items: stretch;
}
.navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a {
    display: flex !important;
    align-items: center;
    height: 60px;
    line-height: 1 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
    color: #fff;
}
/* Hover: full-height red block with white text */
.navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a:hover,
.navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a:focus {
    background: #CD334F !important;
    color: #fff !important;
}
/* Active page: always red background, always white text */
.navbar-nav > li.active:not(.nav-register-cta):not(.nav-divider-item) > a,
#mainNavbar.navbar-scrolled .navbar-nav > li.active:not(.nav-register-cta):not(.nav-divider-item) > a,
#mainNavbar .navbar-nav > li.active:not(.nav-register-cta):not(.nav-divider-item) > a {
    background: #CD334F !important;
    color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════════
   NAV — pill-shaped hover/active state, applied on every page.
   The radius sits on the <a> itself, so the hover and active
   backgrounds are clipped to the pill rather than filling a square
   full-height block. Overrides the earlier height:60px stretch rules.
   ══════════════════════════════════════════════════════════════════ */
#mainNavbar .navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) {
    height: 60px;
    align-items: center;
}
#mainNavbar .navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a {
    height: auto !important;
    padding: 11px 21px !important;
    border-radius: 50px !important;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
}

/* ══════════════════════════════════════════════════════════════════
   CONTENT WIDTH
   Bootstrap 3 pins .container to 750/970/1170px, which leaves a lot of
   dead space either side on modern displays. Widen it so sections use
   more of the viewport, while keeping a max cap so line lengths stay
   readable on very wide monitors.
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .container { width: 94%; max-width: 940px; }
}
@media (min-width: 992px) {
    .container { width: 94%; max-width: 1180px; }
}
@media (min-width: 1200px) {
    .container { width: 92%; max-width: 1340px; }
}
@media (min-width: 1600px) {
    .container { max-width: 1440px; }
}

/* Navbar spans the full width — pull its inner padding in to match
   the wider content container rather than hugging the screen edges. */
#mainNavbar > .container-fluid {
    padding-left: 4%;
    padding-right: 4%;
}
@media (min-width: 1600px) {
    #mainNavbar > .container-fluid { padding-left: 3%; padding-right: 3%; }
}

/* ══════════════════════════════════════════════════════════════════
   NAV — responsive behaviour.
   The pill/flex rules above are desktop-only in intent but carry no
   media query, so on phones the opened menu became one horizontal row
   running off-screen, and on tablets (768–991px, where Bootstrap 3
   shows the full menu) the links wrapped under the logo onto the hero.
   Below 992px: hamburger + full-width dropdown panel with stacked links.
   992–1199px: same desktop row, tighter spacing so it fits beside the logo.
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 992px) and (max-width: 1199px) {
    #mainNavbar .navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a {
        padding: 10px 12px !important;
        font-size: 12.5px;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 991px) {
    #mainNavbar .navbar-header { float: none; }
    #mainNavbar .navbar-toggle {
        display: block;
        margin: 12px 15px 0 0;     /* offsets .navbar-header's -15px gutter on phones */
        padding: 10px 11px;
        border: none;
        border-radius: 10px;
    }
    /* 768px+: Bootstrap already zeroes the header's negative gutter */
    @media (min-width: 768px) { #mainNavbar .navbar-toggle { margin-right: 0; } }
    #mainNavbar .navbar-toggle .icon-bar {
        width: 20px;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }
    /* hamburger → X while open (first span is .sr-only, bars are 2–4) */
    #mainNavbar .navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
    #mainNavbar .navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(3) { opacity: 0; }
    #mainNavbar .navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }

    /* dropdown panel spans the full navbar width, just below it */
    #mainNavbar .navbar-collapse {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: auto;
        margin: 0;
        padding: 0;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
        max-height: calc(100vh - 60px);
    }
    #mainNavbar .navbar-collapse.collapse { display: none !important; }
    #mainNavbar .navbar-collapse.collapse.in {
        display: block !important;
        overflow-y: auto !important;
    }
    #mainNavbar .navbar-collapse.collapsing { overflow: hidden; }

    #mainNavbar .navbar-nav {
        float: none !important;
        display: block;
        height: auto;
        margin: 0 !important;
        padding: 10px 4% 16px;
    }
    #mainNavbar .navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) {
        float: none;
        display: block;
        height: auto;
        margin: 2px 0;
    }
    #mainNavbar .navbar-nav > li:not(.nav-register-cta):not(.nav-divider-item) > a {
        display: block !important;
        padding: 13px 18px !important;
        border-radius: 10px !important;
        font-size: 14px;
        letter-spacing: 0.05em;
    }
}
