﻿===============================
           YOUR EXACT CSS STRUCTURE & STYLES
           ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Devanagari', 'Segoe UI', Arial, sans-serif;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    position: relative;
}

.main-container {
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
}

/* === HEADER TOP BAR === */
.top-bar {
    background: rgba(26, 42, 74, 0.92);
    padding: 6px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 2px solid #d4a017;
}

    .top-bar .emblem-img {
        height: 38px;
        margin-right: 5px;
    }

    .top-bar .access-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 16px;
    }

        .top-bar .access-links a {
            color: #e8e0d4;
            text-decoration: none;
            font-size: 0.85rem;
            padding: 2px 6px;
            border-radius: 4px;
            transition: 0.2s;
        }

            .top-bar .access-links a:hover {
                background: rgba(255,255,255,0.12);
                color: #fff;
            }

        .top-bar .access-links .font-link {
            font-weight: 600;
            padding: 0 4px;
        }

        .top-bar .access-links .highlight-bg {
            background: #e8e0d4;
            color: #1a2a4a;
            padding: 2px 10px;
            border-radius: 4px;
        }

            .top-bar .access-links .highlight-bg:hover {
                background: #d4a017;
                color: #fff;
            }

        .top-bar .access-links .dark-bg {
            background: #0a0a0a;
            color: #fff;
            padding: 2px 10px;
            border-radius: 4px;
        }

            .top-bar .access-links .dark-bg:hover {
                background: #d4a017;
                color: #fff;
            }

    .top-bar .lang-link {
        color: #d4a017 !important;
        font-weight: 600;
    }

        .top-bar .lang-link:hover {
            color: #e6b800 !important;
        }

/* === MAIN HEADER === */
.main-header {
    padding: 18px 25px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 2px solid #d4a017;
    background: rgba(250, 248, 245, 0.95);
}

    .main-header .logo-area {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .main-header .logo-area img {
            height: 55px;
            width: auto;
            display: block;
        }

        .main-header .logo-area .logo-text {
            line-height: 1.2;
        }

            .main-header .logo-area .logo-text h1 {
                font-size: 1.5rem;
                font-weight: 700;
                color: #1a2a4a;
                margin: 0;
            }

            .main-header .logo-area .logo-text span {
                font-size: 0.85rem;
                color: #6b5f4f;
                font-weight: 400;
            }

/* === NAVIGATION === */
.nav-bar {
    background: rgba(245, 240, 234, 0.95);
    padding: 0 20px;
    border-bottom: 1px solid #d6cec2;
}

    .nav-bar .nav-links {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        margin: 0;
        padding: 8px 0;
        gap: 4px;
    }

        .nav-bar .nav-links li a {
            color: #1a2a4a;
            text-decoration: none;
            padding: 8px 16px;
            font-size: 0.95rem;
            font-weight: 500;
            border-radius: 6px;
            transition: 0.2s;
            display: inline-block;
        }

            .nav-bar .nav-links li a:hover {
                background: #d4a017;
                color: #fff;
            }

            .nav-bar .nav-links li a .new-tag {
                color: #b22222;
                font-size: 0.7rem;
                font-weight: 700;
                margin-left: 2px;
            }

/* ============================================
           WELCOME SECTION WITH BACKGROUND SLIDER
           ============================================ */
.welcome-section {
    position: relative;
    padding: 25px 30px 20px;
    background: transparent;
    overflow: hidden;
    min-height: 400px;
}

/* The Background Image Slider Container (Using IMG tags) */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

    .background-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
        z-index: 0;
    }

        .background-slider .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures images cover the area without stretching */
            display: block;
        }

        .background-slider .slide.active {
            opacity: 1;
        }

/* Ensure the welcome content sits *on top* of the slider */
.welcome-section h2,
.welcome-section .search-area,
.welcome-section .key-person-wrapper {
    position: relative;
    z-index: 1;
}

/* Text styling to be readable over the slider */
.welcome-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    text-align: center;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #d4a017;
    display: inline-block;
    width: 100%;
}

.welcome-section .search-area {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

    .welcome-section .search-area input {
        flex: 1;
        min-width: 200px;
        max-width: 500px;
        padding: 10px 16px;
        border: 2px solid #d6cec2;
        border-radius: 30px;
        font-size: 1rem;
        outline: none;
        transition: 0.2s;
        background: #fff;
    }

        .welcome-section .search-area input:focus {
            border-color: #d4a017;
            box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
        }

    .welcome-section .search-area button {
        padding: 10px 30px;
        background: #1976d2;
        color: #fff;
        border: none;
        border-radius: 30px;
        font-weight: 600;
        font-size: 1rem;
        transition: 0.2s;
        cursor: pointer;
    }

        .welcome-section .search-area button:hover {
            background: #1565c0;
        }

/* Key Person Wrapper */
.key-person-wrapper {
    position: relative;
    padding: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    z-index: 1;
}

.key-person {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    position: relative;
    z-index: 1;
}

    .key-person .person-card {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(4px);
        padding: 12px 16px;
        border-radius: 10px;
        border-left: 4px solid #d4a017;
        transition: 0.3s;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

        .key-person .person-card:hover {
            background: rgba(255, 255, 255, 0.98);
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(0,0,0,0.15);
        }

        .key-person .person-card a {
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 12px;
            color: #1a2a4a;
        }

            .key-person .person-card a img {
                width: 55px;
                height: 55px;
                border-radius: 50%;
                object-fit: cover;
                border: 2px solid #d4a017;
            }

            .key-person .person-card a .info {
                line-height: 1.3;
            }

                .key-person .person-card a .info .name {
                    font-weight: 700;
                    font-size: 0.95rem;
                    color: #1a2a4a;
                }

                .key-person .person-card a .info .title {
                    font-size: 0.75rem;
                    color: #6b5f4f;
                    font-weight: 400;
                }

/* === FOOTER === */
.footer-section {
    background: rgba(26, 42, 74, 0.92);
    color: #e8e0d4;
    padding: 20px 30px 16px;
    border-top: 4px solid #d4a017;
}

    .footer-section .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 22px;
        justify-content: center;
        margin-bottom: 14px;
    }

        .footer-section .footer-links a {
            color: #e8e0d4;
            text-decoration: none;
            font-size: 0.9rem;
            transition: 0.2s;
        }

            .footer-section .footer-links a:hover {
                color: #d4a017;
                text-decoration: underline;
            }

    .footer-section .footer-bottom {
        text-align: center;
        font-size: 0.8rem;
        border-top: 1px solid #3a4a6a;
        padding-top: 14px;
        color: #b0a898;
    }

        .footer-section .footer-bottom strong {
            color: #e8e0d4;
        }

        .footer-section .footer-bottom i {
            color: #d4a017;
        }

/* === MODAL OVERLAY === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: visible;
    opacity: 1;
    transition: 0.3s;
}

    .modal-overlay.hidden {
        visibility: hidden;
        opacity: 0;
    }

.modal-box {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

    .modal-box .close-btn {
        position: absolute;
        top: 12px;
        right: 16px;
        font-size: 1.5rem;
        cursor: pointer;
        color: #6b5f4f;
        background: none;
        border: none;
    }

        .modal-box .close-btn:hover {
            color: #b22222;
        }

    .modal-box img {
        width: 100%;
        border-radius: 8px;
    }

    .modal-box .modal-title {
        font-weight: 700;
        color: #1a2a4a;
        margin-bottom: 12px;
        font-size: 1.3rem;
    }

@media (max-width: 768px) {
    .top-bar {
        padding: 6px 15px;
    }

        .top-bar .access-links {
            gap: 4px 10px;
        }

            .top-bar .access-links a {
                font-size: 0.75rem;
            }

    .main-header {
        padding: 12px 15px;
    }

        .main-header .logo-area img {
            height: 40px;
        }

        .main-header .logo-area .logo-text h1 {
            font-size: 1.1rem;
        }

    .nav-bar .nav-links li a {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .welcome-section {
        padding: 18px 16px;
    }

        .welcome-section h2 {
            font-size: 1.5rem;
        }

    .key-person {
        grid-template-columns: 1fr 1fr;
    }

    .footer-section {
        padding: 16px 18px;
    }

        .footer-section .footer-links {
            gap: 6px 14px;
        }

            .footer-section .footer-links a {
                font-size: 0.78rem;
            }
}

@media (max-width: 480px) {
    .key-person {
        grid-template-columns: 1fr;
    }

    .main-header .logo-area .logo-text h1 {
        font-size: 0.95rem;
    }

    .top-bar .access-links .hide-mobile {
        display: none;
    }
}


