:root {
    --navy: #1a3a5c;
    --navy-dark: #0f172a;
    --accent: #f5a623;
    --accent-dark: #d97706;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --text: #334155;
    --muted: #64748b;
}

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

body {
    font-family: 'Mukta', 'Tiro Devanagari Marathi', sans-serif;
    background: #f1f5f9;
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

/* ─── NAVBAR ─── */
.custom-navbar {
    background-color: var(--navy-dark);
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1030;
}

.custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.custom-navbar .navbar-brand img {
    height: 50px;
    border-radius: 5px;
    margin-right: 15px;
}

.brand-text h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: var(--accent);
}

.brand-text p {
    font-size: 13px;
    margin: 0;
    color: #cbd5e1;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent) !important;
    transform: translateY(-2px);
}

/* ─── MARQUEE ─── */
.news-ticker {
    background-color: var(--accent);
    color: #fff;
    padding: 8px 0;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.news-ticker b {
    margin-right: 15px;
    white-space: nowrap;
    background: #c2410c;
    padding: 2px 10px;
    border-radius: 4px;
}

/* ─── CAROUSEL ─── */
.hero-carousel {
    margin-bottom: 0;
    box-shadow: none;
}
.hero-carousel img {
    height: 420px;
    object-fit: cover;
}

/* ─── PANCHAYAT INTRO ─── */
.intro-section {
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: none;
}

.intro-section h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
}

.intro-section h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #e2e8f0;
}

/* ─── HOME SECTIONS ─── */
.home-section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.home-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 4px;
}

.center-title {
    text-align: center;
}
.center-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ─── GRID CARDS (General) ─── */
.card-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    height: auto;
}
.card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}

/* ─── CITIZEN SERVICES ─── */
.service-icon {
    font-size: 32px;
    color: var(--accent);
    background: #fffbeb;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
}
.service-box h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

/* ─── OFFICIALS SIDEBAR ─── */
.official-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
}
.official-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--accent);
}
.official-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 4px;
}
.official-info span {
    display: inline-block;
    font-size: 13px;
    background: var(--navy);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}
.official-info p {
    font-size: 13px;
    margin: 0;
    color: var(--muted);
}

/* ─── FOOTER ─── */
.main-footer {
    background-color: var(--navy-dark);
    color: #cbd5e1;
    padding: 60px 0 20px;
    margin-top: 60px;
}
.main-footer h4 {
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.main-footer h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-contact li {
    margin-bottom: 15px;
    display: flex;
}
.footer-contact i {
    color: var(--accent);
    margin-right: 10px;
    margin-top: 4px;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

/* ─── GALLERY THUMBNAILS ─── */
.gallery-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* ─── NEWS CARD IMAGES ─── */
.card-box > img,
.card-box > .img-fluid {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* ─── FOOTER CONTACT FIX ─── */
.main-footer .footer-contact {
    padding: 0;
    list-style: none;
}
.main-footer .footer-contact li {
    color: #cbd5e1;
    background: transparent;
}
.main-footer .footer-contact span {
    color: #cbd5e1;
}

/* ─── FOOTER COLUMN FIX ─── */
.main-footer .col-lg-3 {
    background: transparent !important;
}
.main-footer ul {
    background: transparent !important;
}
.main-footer li {
    background: transparent !important;
}
