﻿
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
}

.tabs {
    display: flex;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    border-right: 1px solid #eee;
}

    .tab:last-child {
        border-right: none;
    }

    .tab:hover {
        background-color: #f0f0f0;
    }

.main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px;
}

.hex-section {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.hex {
    width: 120px;
    height: 140px;
    background-color: #ff7043;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    transition: transform 0.3s;
}

    .hex:hover {
        transform: scale(1.05);
    }

    .hex.blue {
        background-color: #0277bd;
    }

    .hex.red {
        background-color: #d32f2f;
    }

.sidebar {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

    .sidebar h3 {
        margin-top: 0;
        color: #111;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .sidebar ul {
        list-style: none;
        padding-left: 0;
    }

        .sidebar ul li {
            padding: 6px 0;
            font-size: 14px;
            color: #333;
            position: relative;
            padding-left: 16px;
        }

            .sidebar ul li::before {
                content: "♦";
                position: absolute;
                left: 0;
                color: #d32f2f;
                font-size: 10px;
            }

    .sidebar .other {
        margin-top: 10px;
        text-align: center;
        font-weight: bold;
        color: #c62828;
    }



.overview-section {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.leader-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    width: 180px; /* slightly wider */
    margin-bottom: 20px;
}

    .leader-card img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        margin-bottom: 10px;
    }

.leader-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.leader-text small {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}


.content {
    max-width: 700px;
}

    .content h2 {
        font-size: 28px;
        color: #222;
        border-bottom: 0px solid #b03c2f;
        display: inline-block;
        padding-bottom: 4px;
        margin-bottom: 20px;
    }

    .content p {
        font-size: 16px;
        color: #333;
        line-height: 1.6;
        margin-bottom: 12px;
    }

.helpline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.helpline-box {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    width: 160px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .helpline-box img {
        width: 100%;
        margin-bottom: 8px;
    }

    .helpline-box .number {
        font-size: 22px;
        font-weight: bold;
        color: #003366;
    }

.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background-color: #f7e7d9;
}

.overview-section {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.leader-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    width: 160px;
    margin-bottom: 20px;
}

    .leader-card img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        margin-bottom: 10px;
    }

.content {
    max-width: 700px;
}

    .content h2 {
        font-size: 28px;
        color: #222;
        border-bottom: 3px solid #b03c2f;
        display: inline-block;
        padding-bottom: 4px;
        margin-bottom: 20px;
    }

    .content p {
        font-size: 16px;
        color: #333;
        line-height: 1.6;
        margin-bottom: 12px;
    }

.helpline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.helpline-box {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    width: 160px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .helpline-box img {
        width: 100%;
        margin-bottom: 8px;
    }

    .helpline-box .number {
        font-size: 22px;
        font-weight: bold;
        color: #003366;
    }

.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* Header top bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    color: white;
    padding: 5px 20px;
    flex-wrap: wrap;
}

.left-icons {
    display: flex;
    align-items: center;
}

.emblem {
    height: 60px;
    margin-right: 15px;
}

.portal-title h1 {
    margin: 0;
    font-size: 20px;
    color: white;
}

.portal-title p {
    margin: 0;
    font-size: 14px;
    color: #ccc;
}

.right-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hindi-btn, .bhashini-btn {
    background-color: #ff1744;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.search-box {
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.search-btn {
    background-color: green;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Main navbar */
.main-navbar {
    margin-left: 110px;
    display: flex;
    justify-content: center;
    
    padding: 10px 0;
    flex-wrap: wrap;

}

    .main-navbar a {
        color: #333;
        margin: 0 15px;
        text-decoration: none;
        font-weight: 600;
    }

        .main-navbar a:hover {
            text-decoration: underline;
        }

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background-color: #f0f0f0;
}

.gov-header {
    display: flex;
    align-items: center;
    background-color: #800000;
    color: white;
    padding: 10px 20px;
}

.logo {
    height: 60px;
    margin-right: 20px;
}

.title h1 {
    margin: 0;
    font-size: 24px;
}

.title h2 {
    margin: 0;
    font-size: 16px;
}

.navbar {
    display: flex;
    background-color: #c04040;
    padding: 10px 20px;
    justify-content: center;
    flex-wrap: wrap;
}

    .navbar a {
        color: white;
        margin: 0 15px;
        text-decoration: none;
        font-weight: bold;
    }

        .navbar a:hover {
            text-decoration: underline;
        }

.hero-banner {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to right, #ff9800, #f44336);
    color: white;
}

.form-section {
    background-color: white;
    margin: 30px auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .form-section h3 {
        margin-bottom: 20px;
        color: #800000;
        text-align: center;
    }

form {
    display: flex;
    flex-direction: column;
}

    form input,
    form textarea {
        margin-bottom: 15px;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }

    form textarea {
        resize: vertical;
        height: 100px;
    }

    form button {
        background-color: #800000;
        color: white;
        padding: 10px;
        border: none;
        font-size: 16px;
        border-radius: 6px;
        cursor: pointer;
    }

        form button:hover {
            background-color: #a00000;
        }

.gov-footer {
    background-color: #800000;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

.gov-footer {
    background-color: #f2f2f2;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
    padding-top: 30px;
    border-top: 4px solid #ff8000;
}

.footer-top {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

    .footer-section img {
        height: 60px;
        margin-bottom: 10px;
    }

    .footer-section h3,
    .footer-section h4 {
        color: #111;
        margin-bottom: 10px;
    }

    .footer-section p,
    .footer-section li {
        font-size: 14px;
        line-height: 1.6;
    }

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

        .footer-section ul li a {
            color: #444;
            text-decoration: none;
        }

            .footer-section ul li a:hover {
                text-decoration: underline;
            }

.footer-bottom {
    background-color: #ddd;
    padding: 10px 30px;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #ccc;
    position: relative;
}

    .footer-bottom .socials {
        position: absolute;
        right: 30px;
        top: 10px;
    }

        .footer-bottom .socials a img {
            height: 20px;
            margin-left: 10px;
        }
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 10px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #ddd;
    color: black;
}
.gov-footer {
    background-color: #212529;
    color: #fff;
    font-size: 0.95rem;
}

    .gov-footer a:hover {
        text-decoration: underline;
    }

    .gov-footer .socials img {
        transition: transform 0.3s ease;
    }

        .gov-footer .socials img:hover {
            transform: scale(1.2);
        }


    .form-section h3 {
        margin-top: 0;
        color: #333;
        text-align: center;
    }

    .form-section form input {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        font-size: 15px;
    }

    .form-section form button {
        width: 100%;
        padding: 10px;
        background-color: #ff8000;
        color: white;
        border: none;
        font-size: 16px;
        cursor: pointer;
    }

.form-toggle {
    text-align: center;
    margin-top: 15px;
}

    .form-toggle a {
        cursor: pointer;
        color: #007bff;
        text-decoration: underline;
        font-weight: 500;
    }
.user-dropdown {
    width: 250px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 15px;
    background-color: #fff;
}

    .user-dropdown img {
        object-fit: cover;
    }

    .user-dropdown h6 {
        font-weight: 600;
        color: #333;
    }

    .user-dropdown .dropdown-item {
        padding: 0.6rem 1.25rem;
        font-size: 0.95rem;
        transition: background 0.2s ease;
    }

        .user-dropdown .dropdown-item:hover {
            background-color: #f5f5f5;
            border-radius: 8px;
        }

.post-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.post-header {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.post-time {
    font-size: 0.85rem;
    color: #888;
}

.action-btn {
    margin-right: 10px;
    font-size: 0.95rem;
}

.comment-box {
    margin-top: 10px;
}

.comment-list {
    margin-top: 10px;
    font-size: 0.9rem;
}

    .comment-list li {
        margin-bottom: 5px;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
    }

.status-text {
    font-weight: 500;
    color: #0d6efd;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
}

    .sidebar-card img {
        border-radius: 50%;
        max-width: 80px;
        margin-bottom: 8px;
    }

    .sidebar-card h6 {
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
    }

    .sidebar-card small {
        color: #666;
    }

