:root {
    --primary: #F4C2C2;
    --primary-light: #fceaea;
    --primary-dark: #d99f9f;
    --gray-bg: #faf8f8;
    --text: #2c3e50;
    --white: #ffffff;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    --border-radius: 24px;
    --border-radius-sm: 16px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
body {
    background: var(--white);
    color: var(--text);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
/* security header */
.security-header {
    font-size: 0.7rem;
    background: #1e2b37;
    color: #b0c4de;
    padding: 0.3rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    letter-spacing: 0.3px;
}
.security-header i {
    margin-right: 0.3rem;
    color: #7cf9b0;
}
/* navbar */
.navbar {
    background: var(--white);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
    background: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo span {
    font-weight: 300;
    font-size: 0.9rem;
    color: #3a4a5a;
}
.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover {
    border-bottom-color: var(--primary-dark);
}
.btn-donate {
    background: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
}
/* mobile adjustments */
@media (max-width: 700px) {
    .nav-flex {
        flex-direction: column;
        gap: 0.6rem;
    }
    .security-header {
        padding: 0.3rem 1rem;
        gap: 0.7rem;
        font-size: 0.65rem;
    }
}
/* hero */
.hero {
    background: linear-gradient(145deg, var(--primary-light) 0%, #fff7f7 100%);
    padding: 3rem 0;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
@media (max-width: 700px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.stat-item {
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
}
/* section title */
.section-title {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    position: relative;
    display: inline-block;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
}
/* card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0;
}
.card {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    border: 1px solid rgba(244, 194, 194, 0.2);
}
.campaign-progress {
    height: 10px;
    background: #f0d9d9;
    border-radius: 10px;
    margin: 0.8rem 0;
}
.progress-fill {
    height: 10px;
    background: var(--primary-dark);
    border-radius: 10px;
}
.countdown {
    font-weight: 600;
    color: #b96f6f;
}
/* Zakat calculator */
.calc-box {
    background: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
}
.calc-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: end;
}
.calc-field {
    flex: 1 1 180px;
}
.calc-field label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.calc-field input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #e2b4b4;
    border-radius: 30px;
    background: white;
    font-size: 1rem;
}
.btn {
    background: var(--primary-dark);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    margin: 5px;
}
.btn-light {
    background: white;
    color: var(--text);
    border: 1px solid var(--primary);
}
.btn:hover {
    filter: brightness(0.95);
}
/* donor wall */
.wall-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--primary-light);
    border-radius: 40px;
    padding: 2rem;
    justify-content: center;
}
.wall-item {
    background: white;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    font-weight: 500;
}
.wall-item i {
    color: #f4a2a2;
    margin-right: 0.3rem;
}
.anonymous {
    opacity: 0.7;
    font-style: italic;
}
/* live feed */
.feed-card {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    border-left: 5px solid var(--primary);
    margin-bottom: 1rem;
    align-items: center;
}
.feed-icon {
    background: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
/* dashboard */
.dashboard-mock {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 2px dashed var(--primary);
    margin: 2rem 0;
}
.hidden {
    display: none !important;
}
/* whatsapp float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
    z-index: 99;
    transition: 0.2s;
    border: 2px solid white;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
/* cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    font-size: 0.9rem;
}
.cookie-banner button {
    background: var(--primary);
    border: none;
    padding: 0.4rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    margin-left: 1rem;
    cursor: pointer;
}
/* footer */
footer {
    background: #1e2b37;
    color: #ccc;
    padding: 2.5rem 0;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-grid a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin: 0.4rem 0;
    font-size: 0.9rem;
}
.footer-grid a:hover {
    color: var(--primary);
}
.badge {
    background: #2d4a5f;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    display: inline-block;
}
.copyright {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
}
/* utility */
.security-note {
    background: #f2f2f2;
    padding: 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-family: monospace;
}
/* Add to assets/css/style.css */
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #e2b4b4;
    border-radius: 30px;
    background: white;
    font-size: 1rem;
}

/* ===== Past Activities Slider ===== */
.past-activities-slider {
    margin: 3rem 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: var(--primary-light);
    padding: 1rem;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.slider-slide {
    flex: 0 0 calc(100% / 3); /* Show 3 slides at a time on desktop */
    max-width: calc(100% / 3);
    padding: 0.5rem;
    box-sizing: border-box;
}

.media-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio – adjust as needed */
    background: #ddd;
    border-radius: 16px;
    overflow: hidden;
}

.media-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1rem;
    text-align: left;
    font-size: 0.9rem;
}

.slide-caption h4 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

/* slider buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
    transition: 0.2s;
}

.slider-btn:hover {
    background: white;
    color: var(--primary-dark);
}

.prev { left: 10px; }
.next { right: 10px; }

.slider-dots {
    text-align: center;
    margin-top: 1rem;
}

.slider-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #d99f9f;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: 0.2s;
}

.slider-dots .dot.active {
    background: var(--primary-dark);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 992px) {
    .slider-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 600px) {
    .slider-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
