:root {
    --bg: #f7f7f9;
    --ink: #17151b;
    --muted: #4f4a56;
    --line: #ea91bb;
    --pink: #ad246d;
    --pink-strong: #cf2f84;
    --container: min(1200px, 94vw);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 247, 249, 0.92);
    backdrop-filter: blur(8px);
}

.navbar {
    width: var(--container);
    min-height: 5rem;
    display: flex;
    align-items: center;
    padding-inline: clamp(12px, 2.2vw, 28px);
    margin-inline: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #231b2d;
    font-weight: 800;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.brand-ribbon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: #2f2a36;
}

.menu a {
    opacity: 0.85;
}

.menu a:hover {
    opacity: 1;
    color: #b82172;
}

.menu-toggle {
    display: none;
}

.menu-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    align-items: center;
    background: linear-gradient(180deg, #e75ba5, #c93586);
    box-shadow: 0 2px 0 #8e2f61;
}

.menu-toggle-bar {
    width: 13px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: transform 220ms ease, opacity 220ms ease;
}

.auth-actions {
    margin-left: 1rem;
    display: flex;
    gap: 0.6rem;
}

.btn {
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.65rem 1.5rem;
    font-size: 0.88rem;
    letter-spacing: -0.1px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(173, 36, 109, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #ad246d, #cf2f84);
    color: #fff;
    box-shadow: 0 4px 12px rgba(173, 36, 109, 0.15);
}

.btn-outline {
    background: #fff;
    border: 2px solid #ead7e8;
    color: #4a3452;
}

.btn-outline:hover {
    background: #fff0f8;
    border-color: #ad246d;
    color: #ad246d;
}

.hero {
    width: var(--container);
    padding-inline: clamp(12px, 2.2vw, 28px);
    border-radius: 0 0 1.1rem 1.1rem;
    overflow: hidden;
    background: radial-gradient(circle at left center, #c19bed 0, transparent 42%), linear-gradient(135deg, #b982dd, #f07fa6);
    margin-inline: auto;
}

.hero-backdrop {
    display: none;
}

.hero-inner {
    text-align: center;
    padding: 3rem 1.5rem 4rem;
}

.hero-logo-wrap {
    width: 82px;
    height: 82px;
    margin: 0.2rem auto 0.55rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 3px 0 rgba(84, 20, 55, 0.55);
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.45rem, 4.2vw, 2.45rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 5px 0 rgba(0, 0, 0, 0.08);
}

.hero-copy {
    margin-top: 0.15rem;
    color: #c02573;
    font-size: clamp(0.88rem, 1.5vw, 1.15rem);
    font-weight: 700;
}

.hero-actions {
    margin-top: 0.9rem;
}

.hero-actions .btn {
    font-size: clamp(1rem, 2vw, 1.35rem);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    box-shadow: 0 4px 0 #7c2b57;
    position: relative;
    background: linear-gradient(180deg, #d8388a, #b82172);
    color: #fff;
}

.hero-actions .btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.hero-actions .btn::before {
    content: '';
    width: 1.25rem;
    height: 1.25rem;
    background: url('../images/landing/pink-ribbon.png') center/contain no-repeat;
    margin-right: 0.35rem;
}

.hero-stats {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-stats h3 {
    font-size: clamp(1.25rem, 2.4vw, 2.05rem);
    font-weight: 900;
    line-height: 1;
}

.hero-stats p {
    margin-top: 0.22rem;
    font-size: clamp(0.82rem, 1.1vw, 0.95rem);
}

.section {
    width: var(--container);
    padding-inline: clamp(12px, 2.2vw, 28px);
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    margin-inline: auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 900;
    line-height: 1.05;
}

.section-heading p {
    margin-top: 0.25rem;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.services {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.service-card {
    min-height: 220px;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(73, 20, 52, 0.08);
}

.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #4a3452;
}

.service-card p {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #665772;
    line-height: 1.5;
}

.service-card .btn {
    margin-top: auto;
    width: 100%;
}

.event-panel-premium-compact {
    margin-top: 2rem;
    position: relative;
    padding: 3rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(rgba(173, 36, 109, 0.8), rgba(173, 36, 109, 0.8)), url('../images/landing/event.png') center/cover no-repeat;
    overflow: hidden;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 12px -2px rgba(0, 0, 0, 0.08), 
        0 20px 40px -10px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.event-panel-premium-compact::before,
.event-panel-premium-compact::after {
    content: '❤';
    position: absolute;
    color: rgba(255, 255, 255, 0.05);
    font-size: 8rem;
    z-index: 1;
}

.event-panel-premium-compact::before {
    top: -2rem;
    left: 2rem;
    transform: rotate(-15deg);
}

.event-panel-premium-compact::after {
    bottom: -2rem;
    right: 2rem;
    transform: rotate(15deg);
}

.premium-compact-inner {
    position: relative;
    z-index: 5;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-title-serif-compact {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.premium-countdown-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.mini-count-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.mini-box {
    width: clamp(55px, 6.5vw, 68px);
    height: clamp(55px, 6.5vw, 68px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
}

.mini-box span {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    font-weight: 700;
}

.mini-count-item small {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
}

.mini-sep {
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 1.2rem;
    opacity: 0.4;
}

.premium-donate-btn-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #ad246d;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.premium-donate-btn-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: #fdf2f8;
}

@media (max-width: 600px) {
    .premium-countdown {
        gap: 0.4rem;
    }
    .count-box {
        border-radius: 12px;
    }
    .count-sep {
        display: none;
    }
}

.about {
    padding-top: 1.35rem;
}

.about-block {
    background: #fff;
    border-radius: 0.7rem;
    overflow: hidden;
    max-width: 1040px;
    margin: 0 auto;
}

.about-hero-image {
    max-height: 420px;
    overflow: hidden;
}

.about-hero-image .slider-track {
    height: 100%;
}

.about-hero-image .slider-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    background: transparent;
}

.about-block > .slider-dots {
    padding: 0.6rem 0 0.2rem;
}


.about-copy {
    padding: 0.8rem 1rem 1rem;
    text-align: center;
}

.about-copy h2 {
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.about-copy h2 img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.about-copy p {
    margin-top: 0.75rem;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.6;
    color: #665772;
}

.partners {
    margin-top: 0.85rem;
}

.partners .section-heading {
    margin-bottom: 0.8rem;
}

.partners-slider {
    background: #fff;
    overflow: hidden;
    border-radius: 0.2rem;
    max-width: 860px;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 700ms ease;
}

.slider-track img {
    width: 100%;
    height: 280px;
    flex-shrink: 0;
    object-fit: contain;
    background: #fff;
    padding: 0.8rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.38rem;
    padding: 0.5rem 0 0.25rem;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #c5c7ce;
    border: none;
    cursor: pointer;
}

.slider-dot.active {
    background: #616773;
}

.contact {
    margin-top: 0.95rem;
    padding-top: 0;
    padding-bottom: 0;
}

.contact-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
}

.section-heading-left {
    text-align: left;
    margin-bottom: 0.7rem;
}

.section-heading-left h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    font-weight: 700;
}

.section-heading-left p {
    font-size: 1rem;
    color: #3f3a49;
}

.contact-form {
    display: grid;
    gap: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.form-row:last-of-type {
    grid-template-columns: 1fr;
    max-width: 33%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    font: inherit;
    border: 1px solid #ddd;
    border-radius: 0.6rem;
    padding: 0.62rem 0.7rem;
}

.contact-form .btn {
    margin: 1rem auto 0;
    min-width: 180px;
    padding: 0.8rem 2.5rem;
    border-radius: 12px;
    width: fit-content;
}

.site-footer {
    margin-top: 1.5rem;
    background: #fdf7fb;
    border-top: 1px solid #ead7e8;
    padding: 1.5rem 0;
}

.footer-main {
    width: var(--container);
    padding-inline: clamp(12px, 2.2vw, 28px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-inline: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-brand img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-brand h3 {
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    font-weight: 900;
}

.footer-brand p {
    margin-top: 0.2rem;
    font-size: clamp(0.68rem, 0.92vw, 0.82rem);
}

.footer-subscribe {
    min-width: 0;
    width: 100%;
}

.footer-subscribe p {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.subscribe-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.45rem;
}

.subscribe-row img {
    width: 30px;
    height: 30px;
}

.subscribe-row input {
    border: 0;
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    width: 100%;
}

.subscribe-row button {
    border: 0;
    border-radius: 999px;
    padding: 0.43rem 0.95rem;
    font-weight: 700;
    color: #fff;
    background: #6d4fab;
    cursor: pointer;
}

.social-row {
    margin-top: 0.45rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.social-row span {
    width: 29px;
    height: 29px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: #a14278;
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
        background: #fff;
        border: 1px solid #ebc8dc;
        border-radius: 999px;
        padding: 0.3rem;
        align-items: center;
        box-shadow: 0 6px 18px rgba(107, 49, 84, 0.14);
        transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    }

    .menu-toggle:hover {
        transform: translateY(-1px);
        box-shadow: 0 9px 20px rgba(107, 49, 84, 0.16);
    }

    .menu-toggle.is-active {
        background: #fff2f9;
        border-color: #dc89b6;
    }

    .menu-toggle.is-active .menu-toggle-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle.is-active .menu-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .menu-toggle-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .menu-toggle.is-active .menu-toggle-icon {
        box-shadow: 0 2px 0 #7b2a56;
    }

    .menu {
        position: absolute;
        top: 68px;
        left: 3vw;
        right: 3vw;
        display: flex;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 0.9rem;
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.42rem;
        z-index: 12;
        margin-left: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(0.98);
        transition: opacity 200ms ease, transform 220ms ease, visibility 0s linear 220ms;
    }

    .menu a {
        padding: 0.48rem 0.56rem;
        border-radius: 0.5rem;
    }

    .menu a:hover {
        background: #fff1f8;
        color: #b82172;
    }

    .menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition: opacity 200ms ease, transform 220ms ease;
    }

    .auth-actions {
        display: none;
    }

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

    .about-block {
        max-width: 100%;
    }

    .about-hero-image {
        max-height: 300px;
    }

    .event-bottom {
        grid-template-columns: 1fr;
    }

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

    .form-row,
    .form-row:last-of-type {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-subscribe {
        width: 100%;
        min-width: 0;
    }

    .partners-slider {
        max-width: 100%;
    }

    .slider-track img {
        height: 220px;
        padding: 0.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Center-aligned footer layout styling */
.footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding-inline: clamp(12px, 2.2vw, 28px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.footer-social-link { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    color: var(--primary); 
    background: #fff0f7; 
    border: 1px solid rgba(173, 36, 109, 0.2); 
    box-shadow: 0 4px 10px rgba(173, 36, 109, 0.08);
    text-decoration: none; 
    transition: all 0.25s ease; 
}

.footer-social-link:hover { 
    transform: translateY(-2px); 
    color: #fff; 
    box-shadow: 0 6px 15px rgba(173, 36, 109, 0.25); 
}

.footer-social-link i { 
    font-size: 1.3rem; 
}

.footer-social-facebook:hover { 
    background: #1877f2; 
    border-color: #1877f2; 
}

.footer-social-instagram:hover { 
    background: radial-gradient(circle at 30% 30%, #feda75 0%, #f58529 25%, #dd2a7b 50%, #8134af 75%, #515bd4 100%); 
    border-color: transparent; 
}

.footer-address {
    font-size: 0.95rem;
    color: #665772;
    line-height: 1.5;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: #4a3452;
    font-weight: 500;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.2rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(173, 36, 109, 0.15);
}

.footer-brand-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--primary);
    text-transform: uppercase;
}

.footer-bottom-bar {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #ead7e8;
    width: 100%;
    font-size: 0.8rem;
    color: #8c7e95;
}

/* Dynamic Branding Custom Font & Colors Fallbacks/Overrides */
h1, h2, h3, .brand span { font-family: var(--font-heading) !important; }
body, p, span, a, button, input, textarea { font-family: var(--font-body) !important; }
.btn { border-radius: var(--radius) !important; }
.btn-primary { background: var(--primary) !important; color: var(--on-primary) !important; }
.btn-outline { border-color: var(--primary) !important; color: var(--primary) !important; }
.hero h1, .section-heading h2, .footer-brand h3 { color: var(--primary); }
.stat-item h3 { color: var(--primary); }

/* Past Events Section Styling */
.past-events {
    background: #fff;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(73, 20, 52, 0.05);
    border: 1px solid #ead7e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(173, 36, 109, 0.1);
}

.event-img-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-img-wrap img {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.event-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4a3452;
}

.event-info p {
    font-size: 0.92rem;
    color: #665772;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .event-img-wrap {
        height: 220px;
    }
}
