/* Rashtra Yuva Seva Sangh - Main Stylesheet */
:root {
    --primary-color: #e65100;
    --primary-dark: #bf360c;
    --secondary-color: #1a237e;
    --secondary-dark: #0d47a1;
    --accent-color: #2e7d32;
    --gold-color: #f57f17;
    --dark-bg: #111827;
    --light-bg: #f8fafc;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Poppins', 'Hind', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

/* Top Bar */
.top-header {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-header a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.top-header a:hover {
    color: #ffb74d;
}

.lang-btn {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
}

.lang-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Navbar */
.navbar {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: #ffffff !important;
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 52px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.brand-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    padding: 8px 14px !important;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.btn-nav-primary {
    background-color: var(--primary-color);
    color: #fff !important;
    border-radius: 30px;
    padding: 8px 18px !important;
    font-weight: 600;
}

.btn-nav-primary:hover {
    background-color: var(--primary-dark);
}

.btn-nav-secondary {
    background-color: var(--secondary-color);
    color: #fff !important;
    border-radius: 30px;
    padding: 8px 18px !important;
    font-weight: 600;
}

.btn-nav-secondary:hover {
    background-color: var(--secondary-dark);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.93) 0%, rgba(230, 81, 0, 0.88) 100%), url('../images/group.jpeg') center/cover no-repeat;
    color: #ffffff;
    padding: 90px 0 100px;
    position: relative;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Section Cards & Features */
.section-title {
    position: relative;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 8px auto 0;
    border-radius: 2px;
}

.section-title.text-start::after {
    margin: 8px 0 0;
}

.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card-img-top-fixed {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

/* Stat Box */
.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--primary-color);
    height: 100%;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Mission Box */
.mission-card {
    background: linear-gradient(to right, #fff5f0, #ffffff);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
}

/* Gallery Grid */
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    color: #fff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Forms */
.form-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary-color);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.92rem;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 81, 0, 0.15);
}

/* Ticket Badge */
.ticket-badge {
    background: #e3f2fd;
    color: #0d47a1;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px dashed #1565c0;
    display: inline-block;
}

/* Admin Styling */
.admin-sidebar {
    background: var(--dark-bg);
    min-height: calc(100vh - 60px);
    color: #fff;
}

.admin-sidebar .nav-link {
    color: #9ca3af !important;
    border-radius: 8px;
    margin-bottom: 4px;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #9ca3af;
    padding-top: 60px;
    padding-bottom: 25px;
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-section {
        padding: 50px 0 60px;
    }
    .brand-title {
        font-size: 1.05rem;
    }
    .form-card {
        padding: 20px;
    }
}
