/*
Theme Name: Ambedkar Sevak Samiti Theme
Author: Custom Developer
Description: A dynamic, responsive WordPress theme for Ambedkar Sevak Samiti NGO with ID Card Generator and Event Management.
Version: 1.0
*/

:root {
    --royal-blue: #0d47a1;
    --accent-gold: #ffb300;
    --highlight-red: #d32f2f;
    --bg-white: #ffffff;
    --text-dark: #333333;
}

body {
    font-family: 'Poppins', 'Mukta', sans-serif;
    color: var(--text-dark);
    background-color: #f8f9fa;
}

.top-bar {
    background-color: var(--royal-blue);
    color: #fff;
    padding: 5px 0;
    font-size: 0.9rem;
}

.navbar-brand {
    font-weight: 700;
    color: var(--royal-blue) !important;
}

.navbar-brand span {
    display: block;
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .active .nav-link {
    color: var(--royal-blue) !important;
    border-bottom: 2px solid var(--accent-gold);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: #000;
    font-weight: 600;
    border: none;
}

.btn-gold:hover {
    background-color: #e6a200;
    color: #000;
}

.hero-section {
    background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(13, 71, 161, 0.9)), url('https://images.unsplash.com/photo-1454165184476-0d8a4b9f7f9b?q=80&w=2070') center/cover no-repeat;
    color: #fff;
    padding: 60px 0;
}

.event-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-gold);
    border-radius: 10px;
    padding: 20px;
}

.section-title {
    color: var(--royal-blue);
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent-gold);
    margin: 10px auto 0;
}

.demand-card {
    background: #fff;
    border-left: 5px solid var(--highlight-red);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.legal-aid-banner {
    background-color: #f1f8e9;
    border: 2px dashed #8bc34a;
    border-radius: 10px;
    padding: 20px;
    margin: 40px 0;
}

/* ID Card Styling */
.id-card-wrapper {
    width: 350px;
    height: 220px;
    border: 1px solid #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

.id-header {
    background: var(--royal-blue);
    color: var(--accent-gold);
    padding: 5px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.id-body {
    display: flex;
    padding: 10px;
}

.id-photo {
    width: 80px;
    height: 100px;
    border: 2px solid var(--royal-blue);
    margin-right: 10px;
    object-fit: cover;
}

.id-details {
    font-size: 11px;
    line-height: 1.4;
}

.id-footer {
    background: #f1f1f1;
    font-size: 9px;
    text-align: center;
    padding: 3px;
    border-top: 1px solid #ccc;
}

.footer {
    background-color: var(--royal-blue);
    color: #fff;
    padding: 40px 0 20px 0;
    margin-top: 50px;
}

.footer a {
    color: var(--accent-gold);
    text-decoration: none;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .id-card-wrapper { transform: scale(0.95); }
}