/* 
    Muktidham Seva Sansthan - Global Styles 
    Design: Clean, Modern, Professional
    Theme: White, Saffron Highlights, Light Grey 
*/

:root {
    --primary: #B42D2D; /* Main Brand Maroon */
    --secondary: #B42D2D; /* Consistent Brand Maroon */
    --accent: #FFD700; /* Vibrant Gold */
    --primary-light: #d64545;
    --primary-dark: #8b1e1e;
    --text: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #ffffff;
    --bg-vibrant: #FFF2D9; /* Enhanced Warm Glow (Less Pale) */
    --white: #FFFFFF;
    --border: #F3E8D2; /* Matching warmer border */
    --shadow: 0 10px 15px -3px rgba(180, 45, 45, 0.1), 0 4px 6px -2px rgba(180, 45, 45, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(180, 45, 45, 0.1), 0 10px 10px -5px rgba(180, 45, 45, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: var(--secondary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 80px 0;
    background-color: #ffffff !important;
    border-bottom: 1px solid #f0f0f0; /* Subtle dividers */
}

/* Typography Helpers */
.text-center { text-align: center; }
.section-title {
    font-family: 'Georgia', serif;
    font-size: 40px;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-style: italic;
    font-weight: bold;
}



.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Navbar */
header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background-color: #fff; /* Ensure header has a base background */
}

.top-brand-bar {
    background: var(--bg-peach);
}

.bottom-nav-bar {
    background: #fcfae8;
}

.header-social-icons a {
    color: #000;
    transition: var(--transition);
}
.header-social-icons a:hover {
    color: var(--primary);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 3px;
    color: #2b2f33;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a.active {
    background: var(--secondary);
    color: var(--white);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-light);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    border-radius: 8px;
    top: 100%;
    left: 0;
    overflow: hidden;
    border: 1px solid var(--border);
}

.dropdown-content a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--bg-light);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-peach);
    color: var(--primary-dark);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Card Design */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: none;
    transition: transform .12s ease, box-shadow .12s ease;
    border: 1px solid rgba(30,30,30,0.06);
    height: 100%;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(30,30,30,0.08);
    border-color: transparent;
}

/* Sections */
section {
    background-color: #ffffff !important;
}

.hero {
    background-color: transparent !important; /* Allow hero background image to show */
    border-bottom: none; /* No divider after hero if it's visually distinct */
    
}

.hero-page {
    padding: 80px 0 40px !important;
}



.bg-grey, .intro, .activities, .events, .activity-section {
    background-color: #ffffff !important; /* Strictly white backgrounds */
}

/* Footer */
footer {
    background: #1f1f1f; /* Dark charcoal */
    color: #ffffff;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 50px;
}

.footer-about p {
    color: #bbbbbb;
    margin-top: 1rem;
    font-weight: 400;
}

.footer-links h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #bbbbbb;
    font-weight: 400;
}

.footer-links ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS for this */
    }
    .mobile-menu-btn {
        display: block;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    section {
        padding: 60px 0;
    }
}
