@font-face {
    font-family: "kalimati";
    src: url("fonts/kalimati.otf") format("truetype");
}

@font-face {
    font-family: "devanagari";
    src: url("fonts/dev.ttf");
}

:root {
    --primary-color: #01399a;
    --light-theme: #e4f0ff;
    --dark-theme: #00c6be;
    --sub-heading: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans Devanagari", "sans-serif" !important;
    line-height: 1.6;
    padding: 0 !important;
}

.header-hero-container {
    background-color: var(--primary-color);
}

/* Header Styling */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.primary-logo,
.secondary-logo {
    max-width: 140px; /* Default size */
    max-height: 110px;
    transition: max-width 0.3s, height 0.3s;
}

.text-container {
    text-align: center;
    flex: 2;
}

.heading2 {
    font-size: 2rem; /* Default font size */
    margin-bottom: 10px;
    font-weight: bold;
    color: white;
}

.header-link {
    text-decoration: none;
    transition: color 0.3s;
    color: white;
}

.slogan {
    font-size: 1rem; /* Default font size */
    margin-top: 5px;
    color: white;
}

.header-hr {
    margin: 0;
    border: 1px solid white;
}

/* Hero Section Styling */
.hero {
    padding: 100px 20px; /* Default padding */
    text-align: center;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
}

.hero-heading {
    font-size: 3rem; /* Default font size */
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-sub-heading {
    font-size: 1.6rem; /* Default font size */
    color: white;
    margin-bottom: 15px;
}

.hero-slug {
    font-size: 1.2rem; /* Default font size */
    color: white;
    max-width: 800px;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    gap: 20px; /* Space between buttons */
    margin-top: 2rem;
}

.buttons .btn {
    font-size: 1.2rem; /* Default font size */
    padding: 12px 30px; /* Default padding */
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    /* background-color: #007bff; */
    border: none;
    color: white;
    text-decoration: none;
    cursor: pointer;
}
/* .btn-office {
    background-color: green;
}

.btn-public {
    background-color: #007bff;
} */
.buttons .btn-primary:hover {
    background-color: #0056b3; /* Darker blue */
    transform: translateY(-5px);
}

.buttons .btn-success:hover {
    background-color: #218838; /* Darker green */
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        height: auto;
    }
    .primary-logo,
    .secondary-logo {
        max-width: 120px; /* Slightly smaller logos */
    }

    .heading2 {
        font-size: 1.8rem; /* Slightly smaller font */
    }

    .hero-heading {
        font-size: 2.5rem; /* Slightly smaller font */
    }

    .hero-sub-heading {
        font-size: 1.4rem; /* Slightly smaller font */
    }

    .hero-slug {
        font-size: 1.1rem; /* Slightly smaller font */
    }

    .buttons .btn {
        font-size: 1.1rem; /* Slightly smaller font */
        padding: 10px 25px; /* Slightly smaller padding */
    }
}

@media (max-width: 768px) {
    .primary-logo,
    .secondary-logo {
        max-width: 100px; /* Further reduced logo size */
    }

    .heading2 {
        font-size: 1.5rem; /* Further reduced font size */
    }

    .hero-heading {
        font-size: 2rem; /* Further reduced font size */
    }

    .hero-sub-heading {
        font-size: 1.2rem; /* Further reduced font size */
    }

    .hero-slug {
        font-size: 1rem; /* Further reduced font size */
    }

    .buttons .btn {
        font-size: 1rem; /* Further reduced font size */
        padding: 8px 20px; /* Further reduced padding */
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0px;
    }
    .primary-logo,
    .secondary-logo {
        max-width: 70px; /* Smallest logo size */
    }

    .heading2 {
        padding-top: 10px;
        font-size: 1.3rem; /* Smallest font size */
    }

    .slogan {
        font-size: 0.9rem; /* Smallest font size */
    }

    .hero-heading {
        font-size: 1.5rem; /* Smallest font size */
    }

    .hero-sub-heading {
        font-size: 1rem; /* Smallest font size */
    }

    .hero-slug {
        font-size: 0.9rem; /* Smallest font size */
    }

    .buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px; /* Space between stacked buttons */
    }

    .buttons .btn {
        font-size: 0.9rem; /* Smallest font size */
        padding: 8px 16px; /* Smallest padding */
    }
}

/* employee section css */
.employee-heading {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem;
    background-color: white;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 1rem;
}

/* Main container to hold both sections */
.main-container {
    /* display: flex; */
    width: 100%;
    background-color: #f4f4f4;
    padding: 10px;
    gap: 20px;
    justify-content: center;
}

/* Representatives and Employees containers */
.representatives-container,
.employees-container {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    max-width: 100%;
}

.representatives-container::-webkit-scrollbar,
.employees-container::-webkit-scrollbar {
    display: none;
}

/* Vertical Divider */
.divider {
    width: 100%;
    background-color: #ccc;
    height: 1px;
    margin: 2px;
}
.header-cont {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hr-class {
    flex-grow: 1;
    border: none;
    height: 4px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    border-radius: 2px;
}

.representative-header {
    padding: 5px;
}
.employee-header {
    padding: 5px;
}
.card {
    width: 250px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-photo {
    width: 100%;
    height: 150px;
    object-fit: scale-down;
}

.card-content {
    padding: 20px;
}

.card-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.card-designation {
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        align-items: center;
    }

    .divider {
        width: 100%;
        height: 1px;
        background-color: #ccc;
        margin: 10px 0;
    }

    .representatives-container,
    .employees-container {
        max-width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .representatives-container,
    .employees-container {
        gap: 10px;
        padding: 10px;
    }

    .card {
        width: 180px;
        max-width: 180px;
    }

    .card-photo {
        height: 120px;
    }

    .card-content {
        padding: 10px;
    }

    .card-name {
        font-size: 1rem;
    }

    .card-designation {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .card {
        width: 140px;
        max-width: 140px;
    }

    .card-photo {
        height: 100px;
    }

    .card-content {
        padding: 5px;
    }

    .card-name {
        font-size: 0.9rem;
    }

    .card-designation {
        font-size: 0.7rem;
    }
}

/* gunaso css */

.statistics-container {
    max-width: 70vw;
    margin: 6rem auto;
    padding: 60px 30px;
    background-color: #f1f5f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.statistics-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-color);
    /* Blue color */
    font-weight: 600;
    /* Slightly bold */
}

.statistics-description {
    font-size: 1.1rem;
    text-align: center;
    color: #6c757d;
    margin-bottom: 30px;
}

/* Flexbox layout */
.statistics-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
    margin-top: 30px;
}

/* Cards */
.statistics-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

/* Hover effect */
.statistics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Card icon with circle */
.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.circle {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
}

/* Primary card - Total Grievances */
.statistics-card .primary .circle {
    background-color: #4e73df;
}

/* Success card - Closed Grievances */
.statistics-card .success .circle {
    background-color: #1cc88a;
}

/* Pending card - Investigating Grievances */
.statistics-card .pending .circle {
    background-color: #f6c23e;
}

/* Card content (renamed from .card-content to .statistics-info) */
.statistics-info {
    text-align: center;
}

.card-label {
    font-size: 1rem;
    color: #6c757d;
}

/* Number animation */
.card-number {
    font-size: 2.5rem;
    color: #fff;
    animation: countAnimation 2s ease-out forwards;
}

@keyframes countAnimation {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .statistics-wrapper {
        gap: 20px;
        /* Decrease space between cards */
    }

    .statistics-card {
        width: 200px;
        /* Reduce card size */
        padding: 15px;
        /* Adjust padding */
    }

    .statistics-title {
        font-size: 1.6rem;
        /* Decrease title font size */
    }

    .statistics-description {
        font-size: 1rem;
        /* Decrease description font size */
    }

    .circle {
        width: 70px;
        /* Further reduce circle size */
        height: 70px;
        font-size: 1.2rem;
        /* Adjust font size inside the circle */
    }

    .card-number {
        font-size: 1.8rem;
        /* Decrease number font size */
    }

    .card-label {
        font-size: 0.9rem;
        /* Decrease label font size */
    }
}
@media (max-width: 640px) {
    .statistics-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Overall styling for the nagapalika module section */

.modules {
    padding: 60px 20px;
    background-color: #f4f6f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 6rem auto;
    max-width: 70vw;
}

.module-title {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 15px;
    text-align: center;
}

.module-description {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
}

/* Module grid layout */
.module-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.module-card a {
    text-decoration: none;
    color: inherit; /* Keeps the text color same as the parent */
    display: block;
}

/* Styling for each module card */
.module-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 210px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Icon and text */
.module-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    object-fit: contain;
    margin: auto;
}

.module-text {
    font-size: 1rem;
    color: #444;
    font-weight: 500;
    margin-top: 10px;
    text-decoration: none;
}

/* Disabled module styling */
.disabled-module {
    opacity: 0.6;
    cursor: not-allowed;
}

.disabled-module:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive design for small screens */
@media (max-width: 768px) {
    .modules {
        padding: 40px 15px;
        max-width: 100vh;
    }

    .module-title {
        font-size: 1.6rem;
    }

    .module-description {
        font-size: 1rem;
    }

    .module-grid {
        gap: 15px;
    }

    .module-card {
        width: 179px;
        padding: 15px;
    }

    .module-card img {
        width: 60px;
        height: 60px;
    }

    .module-text {
        font-size: 1rem;
    }
}
@media (max-width: 430px) {
    .modules {
        padding: 40px 5px;
        margin: 6rem 0rem;
    }
    .module-card {
        width: 150px;
        padding: 10px;
    }

    .module-card img {
        width: 50px;
        height: 50px;
    }

    .module-text {
        font-size: 0.9rem;
    }
}
@media (max-width: 325px) {
    .module-card {
        width: 140px;
        padding: 10px;
    }
}

/* Overall styling for the features section */
/* Overall styling for the features section */
.features {
    padding: 60px 20px;
    background-color: #f9fafb;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 6rem auto;
    max-width: 70vw;
}

/* Title and description styling */
.features h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
}
.feature-description {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
}

/* Flexbox Layout for Features */
.list-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Individual feature card styling */
.indv-features {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 210px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Icon styling */
.indv-features img {
    width: 55px;
    height: 55px;
    margin-bottom: 10px;
    object-fit: contain;
}

/* Feature text styling */
.indv-features p {
    font-size: 1rem;
    color: #444;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.5;
}

/* Hover effect for individual feature */
.indv-features:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* More button styling */
.more {
    margin-top: 30px;
}

.buttons .btn {
    font-size: 1.2rem; /* Default font size */
    padding: 12px 30px; /* Default padding */
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    /* background-color: #007bff; */
    border: none;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.more .btn {
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 12px 30px;
    padding: 10px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.more .btn:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .features {
        max-width: 100vw;
        margin: 6rem 2rem;
    }
    .features h2 {
        font-size: 1.8rem;
    }

    .features p {
        font-size: 1rem;
    }

    .indv-features {
        width: 200px;
        padding: 15px;
    }

    .indv-features img {
        width: 45px;
        height: 45px;
    }

    .indv-features p {
        font-size: 1rem;
    }

    .more .btn {
        font-size: 0.9rem;
    }
}
@media (max-width: 430px) {
    .features {
        margin: 6rem 0;
    }
    .indv-features {
        width: 150px;
        padding: 10px;
    }

    .indv-features img {
        width: 40px;
        height: 40px;
    }

    .indv-features p {
        font-size: 0.9rem;
    }
}
@media (max-width: 325px) {
    .indv-features {
        width: 130px;
        padding: 5px;
    }

    .indv-features img {
        width: 35px;
        height: 35px;
    }

    .indv-features p {
        font-size: 0.9rem;
    }
}

/* Extra Info Section */
.extra-info {
    background: #f3f4f6;
    padding: 50px 20px;
    border-radius: 10px;
}

.extra-info__title {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 15px;
}

.extra-info__description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 30px;
}

/* Card Container */
.extra-info__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Individual Card */
.extra-info__card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
}

.extra-info__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.extra-info__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #374151;
}

.extra-info__card-text {
    font-size: 1rem;
    color: #6b7280;
    margin: 10px 0;
}

.extra-info__link {
    font-size: 1rem;
    color: #2563eb;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.extra-info__link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Modal Styling */
.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #2563eb;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

.modal-body {
    font-size: 1rem;
    color: #374151;
    text-align: center;
}

.modal-footer .btn {
    background-color: #2563eb;
    color: white;
    transition: 0.3s ease-in-out;
}

.modal-footer .btn:hover {
    background-color: #1d4ed8;
}

/* Contact Link */
.extra-info__contact-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.extra-info__contact-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .extra-info__cards {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer Styles  */
.footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 20px 10px;
    font-size: 1rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-contact {
    margin-top: 5px;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-contact a {
    color: #00bfff;
    text-decoration: none;
    font-weight: 500;
}

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