/* Project: Ladki Bahin Yojana Mega Portal
    Theme: MSRTC Royal (Maroon & Gold)
    Author: Gemini for timesmarathi.com
*/

:root {
    --msrtc-maroon: #84039e; /* मुख्य मरून रंग */
    --msrtc-gold: #FFD700;   /* गोल्डन पिवळा रंग */
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-color: #333333;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.8;
}

/* --- Layout Structure --- */
.wrapper {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 8fr 4fr; /* मुख्य मजकूर ८ भाग, साईडबार ४ भाग */
    gap: 25px;
    padding: 0 15px;
}

.content-area {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--msrtc-maroon);
    border-bottom: 5px solid var(--msrtc-gold);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 55px;
    transition: 0.3s;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--msrtc-gold);
}

/* --- Typography --- */
h1 {
    color: var(--msrtc-maroon);
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

h2 {
    color: var(--msrtc-maroon);
    border-left: 6px solid var(--msrtc-gold);
    padding-left: 15px;
    margin: 40px 0 20px;
    background: #fdf5ff;
    padding-top: 10px;
    padding-bottom: 10px;
}

h3 {
    color: #444;
    margin-top: 25px;
}

/* --- Image Styling --- */
.img-container {
    margin: 25px 0;
    text-align: center;
}

.img-container img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 3px solid #eee;
}

.img-caption {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* --- Buttons --- */
.btn-action {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: 0.4s;
    cursor: pointer;
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* --- Ad Slots Placeholder --- */
.ad-container {
    background: #fafafa;
    border: 1px dashed #bbb;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 5px;
}

/* --- Sidebar Box --- */
.sidebar-box {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* --- FAQ Accordion --- */
.faq-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.faq-item strong {
    color: var(--msrtc-maroon);
    display: block;
    margin-bottom: 5px;
}

/* --- Footer --- */
footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 5px solid var(--msrtc-gold);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: relative;
        top: 0;
    }
    h1 {
        font-size: 1.8rem;
    }
}

/* Footer Styling */
.main-footer {
    background: #222;
    color: #ddd;
    padding-top: 50px;
    margin-top: 50px;
    border-top: 5px solid var(--msrtc-gold);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 0 20px 40px;
}

.footer-section h4 {
    color: var(--msrtc-gold);
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--msrtc-gold);
    padding-left: 5px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.social-links img {
    height: 30px;
    margin-right: 10px;
    margin-top: 15px;
    filter: grayscale(1) invert(1);
    transition: 0.3s;
}

.social-links img:hover {
    filter: none;
}

/* Disclaimer & Bottom */
.footer-disclaimer {
    background: #111;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
    text-align: center;
}

.footer-bottom {
    background: #000;
    padding: 15px;
    font-size: 13px;
    text-align: center;
    color: #777;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}