/* ==========================================================================
   राष्ट्रीय सनातन शक्ति दल ट्रस्ट (RSSD) - मुख्य स्टाइलशीट
   ========================================================================== */

:root {
    --primary-saffron: #FF6B00;
    --deep-saffron: #D94E00;
    --royal-maroon: #7A0C18;
    --gold-accent: #F4B400;
    --warm-cream: #FFF9F2;
    --soft-beige: #FDF3E7;
    --dark-text: #221A15;
    --muted-text: #5E5047;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 15px rgba(122, 12, 24, 0.08);
    --shadow-md: 0 10px 30px rgba(122, 12, 24, 0.14);
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--warm-cream);
    line-height: 1.75;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', serif;
    font-weight: 700;
    color: var(--royal-maroon);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, var(--royal-maroon) 0%, #9B111E 100%);
    color: #FFF;
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--gold-accent);
}

.top-bar a {
    color: #FFE4B5;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--gold-accent);
}

.motto-badge {
    background: rgba(255, 255, 255, 0.14);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: #FFD54F;
    letter-spacing: 0.4px;
}

/* Navbar */
.navbar-rssd {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    transition: var(--transition);
}

.navbar-rssd.scrolled {
    padding: 6px 0;
    box-shadow: 0 6px 25px rgba(122, 12, 24, 0.15);
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--primary-saffron);
    box-shadow: 0 3px 10px rgba(255, 107, 0, 0.25);
}

.brand-title-group .org-name {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--royal-maroon);
    line-height: 1.2;
    margin: 0;
}

.brand-title-group .org-sub {
    font-size: 0.78rem;
    color: var(--deep-saffron);
    font-weight: 600;
    display: block;
}

.navbar-rssd .nav-link {
    font-weight: 600;
    color: var(--dark-text);
    padding: 8px 14px !important;
    border-radius: 8px;
    margin: 0 2px;
    transition: var(--transition);
    font-size: 0.98rem;
}

.navbar-rssd .nav-link:hover,
.navbar-rssd .nav-link.active {
    background: linear-gradient(135deg, var(--primary-saffron), var(--deep-saffron));
    color: var(--white) !important;
}

.btn-donate-nav {
    background: linear-gradient(135deg, var(--royal-maroon), #A61423);
    color: var(--white) !important;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 50px;
    border: 2px solid var(--gold-accent);
    box-shadow: 0 4px 12px rgba(122, 12, 24, 0.25);
    transition: var(--transition);
}

.btn-donate-nav:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-saffron), var(--royal-maroon));
}

/* Hero Slider */
.hero-carousel .carousel-item {
    height: 560px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-slide-1 {
    background: linear-gradient(135deg, rgba(122, 12, 24, 0.88), rgba(217, 78, 0, 0.82)), url('../assets/images/gallery_1.jpg') center/cover no-repeat;
}

.hero-slide-2 {
    background: linear-gradient(135deg, rgba(34, 26, 21, 0.86), rgba(122, 12, 24, 0.84)), url('../assets/images/gallery_2.jpg') center/cover no-repeat;
}

.hero-slide-3 {
    background: linear-gradient(135deg, rgba(217, 78, 0, 0.88), rgba(122, 12, 24, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-logo-badge {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    border: 3px solid var(--gold-accent);
    margin-bottom: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    background: #000;
}

.hero-tagline {
    display: inline-block;
    background: rgba(244, 180, 0, 0.22);
    border: 1px solid var(--gold-accent);
    color: #FFE082;
    padding: 5px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.hero-title {
    color: var(--white);
    font-size: 2.9rem;
    font-weight: 800;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1.15rem;
    color: #FFF3E0;
    margin-bottom: 28px;
}

.btn-saffron {
    background: linear-gradient(135deg, var(--primary-saffron), var(--deep-saffron));
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.35);
    transition: var(--transition);
}

.btn-saffron:hover {
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(255, 107, 0, 0.45);
}

.btn-outline-gold {
    border: 2px solid var(--gold-accent);
    color: var(--white);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold-accent);
    color: var(--royal-maroon);
}

/* Section Headers */
.section-padding {
    padding: 75px 0;
}

.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 50px;
}

.section-subtitle {
    color: var(--deep-saffron);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 6px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 85px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-saffron), var(--royal-maroon));
    margin: 10px auto 16px;
    border-radius: 2px;
}

/* Info Strip / Trust Registration Card */
.reg-highlight-strip {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    margin-top: -45px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-saffron);
}

.reg-stat-box {
    text-align: center;
    padding: 10px;
    border-right: 1px solid #EFE4D8;
}

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

.reg-stat-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 12px;
    background: var(--soft-beige);
    color: var(--primary-saffron);
    font-size: 1.35rem;
    margin: 0 auto 10px;
}

.reg-stat-box h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.reg-stat-box p {
    font-size: 0.88rem;
    color: var(--muted-text);
    margin: 0;
}

/* Cards & Services */
.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 24px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--primary-saffron);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFF0E0, #FFE0C2);
    color: var(--deep-saffron);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background: linear-gradient(135deg, var(--primary-saffron), var(--royal-maroon));
    color: var(--white);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted-text);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Objective List Box */
.objective-item {
    background: var(--white);
    border-left: 4px solid var(--primary-saffron);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.objective-item:hover {
    transform: translateX(5px);
    border-left-color: var(--royal-maroon);
}

.obj-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--royal-maroon);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 10px;
}

/* Trustee / Member Cards */
.member-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #F3E5D8;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.member-img-wrap {
    position: relative;
    height: 290px;
    overflow: hidden;
    background: #F8EDE3;
}

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

.member-card:hover .member-img-wrap img {
    transform: scale(1.06);
}

.member-role-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--royal-maroon), var(--deep-saffron));
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.member-body {
    padding: 22px;
}

.member-body h4 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.member-meta {
    font-size: 0.88rem;
    color: var(--muted-text);
    margin-bottom: 6px;
}

.member-meta i {
    color: var(--primary-saffron);
    width: 18px;
}

/* Gallery */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    height: 270px;
    background: #1A1412;
}

.gallery-item img {
    width: 100%;
    height: 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(122, 12, 24, 0.88), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
    opacity: 0.95;
    transition: var(--transition);
}

/* Page Banner (Sub-pages) */
.page-banner {
    background: linear-gradient(135deg, rgba(122, 12, 24, 0.92), rgba(217, 78, 0, 0.88)), url('../assets/images/gallery_1.jpg') center/cover no-repeat;
    padding: 70px 0 60px;
    color: var(--white);
    text-align: center;
    border-bottom: 4px solid var(--gold-accent);
}

.page-banner h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb-rssd {
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-rssd .breadcrumb-item a {
    color: #FFE082;
    text-decoration: none;
}

.breadcrumb-rssd .breadcrumb-item.active,
.breadcrumb-rssd .breadcrumb-item + .breadcrumb-item::before {
    color: var(--white);
}

/* Footer */
.footer-rssd {
    background: #1E1310;
    color: #E6D8CE;
    padding-top: 65px;
    border-top: 5px solid var(--primary-saffron);
}

.footer-rssd h5 {
    color: var(--gold-accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: #D7C7BC;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-saffron);
    padding-left: 6px;
}

.footer-bottom {
    background: #140C0A;
    padding: 18px 0;
    margin-top: 45px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .reg-stat-box {
        border-right: none;
        border-bottom: 1px solid #EFE4D8;
        padding: 14px 10px;
    }
    .reg-stat-box:last-child {
        border-bottom: none;
    }
    .hero-carousel .carousel-item {
        height: 480px;
    }
    .hero-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 576px) {
    .brand-title-group .org-name {
        font-size: 1.08rem;
    }
    .hero-carousel .carousel-item {
        height: 440px;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
}
