/* Reset & Base Styles */
/*--- GLOBAL VARIABLES --- */
:root {
    --primary-color: #003366;
    /* Government Blue */
    --secondary-color: #f1811e;
    /* Accent/Saffron hint */
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --footer-bg: #002147;
    --footer-text: #e0e0e0;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --white: #ffffff;
}

/* --- RESET & BASIC SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- UTILITY BAR --- */
.utility-bar {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.utility-bar a {
    color: #fff;
    margin: 0 5px;
}

.utility-bar a:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* --- HEADER & LOGO --- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding-top: 10px;
    padding-bottom: 10px;
}

.govt-emblem img {
    height: 70px;
    width: auto;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
}

.emblem {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    border: 2px solid #d4af37;
    flex-shrink: 0;
}

.emblem-inner {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.emblem-sub {
    font-size: 0.6rem;
    display: block;
    font-weight: normal;
}

.site-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1.2;
}

.site-sub {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.satya {
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 2px;
}

/* --- LEADERS SECTION --- */
.leaders {
    border-left: 1px solid #eee;
    padding-left: 15px;
}

.leader {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.leader-photo {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.leader-text p {
    margin-bottom: 0;
    line-height: 1.2;
}

.leader-title {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leader-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- TRICOLOR STRIP & NAVIGATION --- */
.tricolor-strip {
    height: 4px;
    background: linear-gradient(to right, #ff9933 33%, #ffffff 33%, #ffffff 66%, #138808 66%);
}

.main-nav {
    background: var(--primary-color);
    padding: 0;
    position: relative;
    z-index: 999;
}

.nav-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list li {
    margin: 0;
}

.nav-list li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 500;
    font-size: .95rem;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: .3s;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(255, 255, 255, .1);
    border-bottom: 3px solid var(--secondary-color);
    color: #ffd700;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin: 10px;
}

/* Main Layout */
main {
    flex: 1;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

/* Contact Info Card (Left Side) */
.contact-info {
    background-color: #e7a265;
    color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #00152e
}

.info-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.info-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #00152e
}

.info-details p {
    font-weight: 500;
    color: #f6f7f8
}

/* Hide old social links from left card */
.social-links {
    display: none;
}

/* --- MAP CONTAINER --- */
.map-wrapper {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 430px;
    border: 0;
    border-radius: 6px;
}

/* --- FOOTER STYLES --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

.footer-links a {
    color: #b0b8c1;
    font-size: 0.9rem;
}

.copyright {
    background-color: #00152e;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #7a828b;
    text-align: center;
}

/* =======================================
   RIGHT SIDE TWO 'X' ICONS (STICKY)
   ======================================= */
.floating-x-container {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    /* एक के नीचे एक */
    gap: 10px;
    /* दोनों के बीच की दूरी */
}

.floating-x-btn {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    /* गहरा नीला रंग */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 8px 0 0 8px;
    /* बाईं तरफ से गोल */
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* होवर करने पर थोड़ा बड़ा और गोल्डन टेक्स्ट */
.floating-x-btn:hover {
    width: 55px;
    background-color: #001f3f;
    /* और गहरा नीला */
    color: #ffd700;
    /* गोल्डन कलर */
}

/* --- MOBILE RESPONSIVE --- */
@media(max-width:768px) {

    /* मोबाइल पर छुपा दें ताकि पेज ठीक से दिखे */
    .floating-x-container {
        display: none;
    }
}

/* --- MOBILE RESPONSIVE --- */
@media(max-width:768px) {
    .nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--primary-color);
    }

    .nav-list.show {
        display: flex;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list li a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .leaders {
        display: none;
    }

    .site-header .container,
    .nav-list {
        flex-direction: column;
        text-align: center;
    }

    main {
        grid-template-columns: 1fr;
    }

    /* Hide floating button on small screens */
    .floating-x-btn {
        display: none;
    }
}