/* Global Styles */
:root {
    --primary-color: #ff7722;
    --secondary-color: #1e3a8a;
    --accent-color: #ffa500;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --info-color: #17a2b8;
}

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

body {
    font-family: 'Poppins', 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background-color: #e05e00;
}

.section {
    padding: 60px 20px;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

/* Header Styles */
header {
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo {
    height: auto;
    width: auto;
    max-width: 100%;
}

.header-text {
    display: block;
}

.header-text h1 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.2;
}

.header-text p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0;
    line-height: 1.1;
}

.marquee-container {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 25px;
    padding: 8px 15px;
    border: 1px solid #dee2e6;
    overflow: hidden;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.marquee-container marquee {
    width: 100%;
    height: 100%;
}

.notice-text {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: rgba(30, 58, 138, 0.1);
    border: none;
    color: var(--secondary-color);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-items: center;
}

.mobile-menu-toggle:hover {
    background: rgba(30, 58, 138, 0.2);
    transform: scale(1.05);
}

.mobile-menu-toggle-hidden {
    display: none;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-top {
        flex-shrink: 0;
    }

    .marquee-container {
        flex: 1;
        margin-left: 20px;
    }
}

/* Navigation Styles */
nav {
    background-color: var(--secondary-color);
    padding: 10px 0;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-weight: 500;
    padding: 10px 5px;
    display: block;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
}

/* Dropdown Styles */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

nav ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav ul li.dropdown .dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

nav ul li.dropdown .dropdown-menu li:last-child {
    border-bottom: none;
}

nav ul li.dropdown .dropdown-menu li a {
    color: var(--text-color);
    padding: 12px 15px;
    font-size: 0.9rem;
    display: block;
    transition: all 0.3s ease;
}

nav ul li.dropdown .dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: white;
}

nav ul li.dropdown > a i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

nav ul li.dropdown:hover > a i {
    transform: rotate(180deg);
}

/* Navigation Mobile Menu Toggle (hidden by default) */
nav .mobile-menu-toggle-hidden {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

nav .mobile-menu-toggle-hidden:hover {
    color: var(--accent-color);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;

    }

    nav {
        position: relative;
    }

    nav .mobile-menu-toggle-hidden {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, var(--secondary-color) 0%, #1a4b8c 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Drawer Header */
    .nav-menu::before {
        content: 'मेनू';
        display: block;
        padding: 30px 20px 20px;
        background: rgba(0, 0, 0, 0.1);
        color: white;
        font-size: 1.3rem;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 10px;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateX(100px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(8) { transition-delay: 0.45s; }
    .nav-menu.active li:nth-child(9) { transition-delay: 0.5s; }
    .nav-menu.active li:nth-child(10) { transition-delay: 0.55s; }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        padding: 18px 20px;
        width: 100%;
        display: flex;
        align-items: center;
        color: white;
        font-size: 1.1rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: var(--accent-color);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color);
        padding-left: 30px;
    }

    .nav-menu li a:hover::before,
    .nav-menu li a.active::before {
        transform: scaleY(1);
    }

    /* Mobile menu overlay */
    .nav-menu.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: -1;
        animation: fadeIn 0.4s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* Close button */
    .mobile-menu-toggle.active {
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Dropdown Styles */
    .nav-menu li.dropdown .dropdown-menu {
        position: static;
        background-color: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu li.dropdown.open .dropdown-menu {
        max-height: 200px;
    }

    .nav-menu li.dropdown .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: none;
        opacity: 1;
    }

    .nav-menu li.dropdown .dropdown-menu li a {
        padding: 15px 30px;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-menu li.dropdown .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--accent-color);
        padding-left: 40px;
    }

    .nav-menu li.dropdown > a {
        justify-content: space-between;
    }

    .nav-menu li.dropdown > a i {
        transition: transform 0.3s ease;
    }

    .nav-menu li.dropdown.open > a i {
        transform: rotate(180deg);
    }
}

/* Quick Links Section */
.quick-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.quick-link-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.quick-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.quick-link-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.quick-link-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.btn-small {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-small:hover {
    background: #e67e22;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/village.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 30px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Officials Section */
.officials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.official-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.official-card:hover {
    transform: translateY(-5px);
}

.official-photo {
    width: 120px;
    height: 120px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.official-card h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.official-card p {
    color: var(--primary-color);
    font-weight: 500;
}

.members-list {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.members-list h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
}

.members-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.members-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Development Works Section */
.development-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.dev-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.dev-card:hover {
    transform: translateY(-5px);
}

.dev-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.dev-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
}

.dev-card p {
    margin-bottom: 8px;
}

/* Revenue Section */
.revenue-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.revenue-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.revenue-table th, .revenue-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.revenue-table th {
    background-color: var(--secondary-color);
    color: white;
}

.revenue-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.revenue-table tr:hover {
    background-color: #f1f1f1;
}

.arrears-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.arrears-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.arrears-card h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.arrears-card p {
    margin-bottom: 8px;
}

/* About Section */
.about-content {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 15px;
}

.village-map {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.village-map h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.map-placeholder {
    background-color: #eee;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.contact-form h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px;
    }

    .header-container {
        gap: 12px;
    }

    .header-top {
        align-items: center;
        gap: 12px;
    }
    .logo {
        height: 60px;

    }
    .logo-container {
        flex-direction: row;
        align-items: center;

        gap: 8px;
        flex: 1;
    }



    .header-text h1 {
        font-size: 1.4rem;
        color: var(--secondary-color);
        font-weight: 600;
    }

    .header-text p {
        font-size: 0.9rem;
        color: var(--text-color);
        margin-top: 2px;
    }

    .mobile-menu-toggle {
        min-width: 40px;
        height: 40px;
        padding: 8px;
        font-size: 1.3rem;
    }

    .marquee-container {
        padding: 6px 12px;
        min-height: 35px;
        border-radius: 20px;
    }

    .notice-text {
        font-size: 0.85rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .section {
        padding: 40px 15px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 12px;
    }

    .header-container {
        gap: 10px;
    }

    .header-top {
        gap: 10px;
    }

    .logo-container {
        gap: 6px;
    }



    .header-text h1 {
        font-size: 1.3rem;
    }

    .header-text p {
        font-size: 0.85rem;
    }

    .mobile-menu-toggle {
        min-width: 38px;
        height: 38px;
        padding: 6px;
        font-size: 1.2rem;
    }

    .marquee-container {
        padding: 5px 10px;
        min-height: 32px;
        border-radius: 18px;
    }

    .notice-text {
        font-size: 0.8rem;
    }

    .nav-menu {
        width: 260px;
    }

    .officials-grid, .development-cards, .arrears-cards {
        grid-template-columns: 1fr;
    }

    .members-list ul {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Blog-specific styles */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-filters {
    margin-bottom: 2rem;
}

.blog-filters h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    min-width: 50px;
}

.blog-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
}

.blog-date .month {
    display: block;
    font-size: 0.8rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.category {
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.search-box {
    display: flex;
    border: 2px solid #ddd;
    border-radius: 25px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.recent-post img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.recent-date {
    font-size: 0.8rem;
    color: #666;
}

.category-list,
.archive-list {
    list-style: none;
    padding: 0;
}

.category-list li,
.archive-list li {
    margin-bottom: 0.5rem;
}

.category-list a,
.archive-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.category-list a:hover,
.archive-list a:hover {
    color: var(--primary-color);
}

.category-list span,
.archive-list span {
    color: #666;
    font-size: 0.9rem;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.newsletter-widget h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    outline: none;
}

.newsletter-form button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #f0f0f0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled),
.page-btn.active {
    background: var(--primary-color);
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Blog Detail Specific Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--accent-color);
}

.separator {
    color: #666;
}

.current {
    color: #666;
    font-weight: 500;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.blog-post-detail {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-excerpt {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

.post-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.share-label {
    font-weight: 500;
    color: var(--text-color);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.copy {
    background: #6c757d;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
}

.post-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
}

.post-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.post-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.image-gallery {
    margin: 2rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.statistics {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.statistics h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.tags-label {
    font-weight: 500;
    color: var(--text-color);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f8f9fa;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--primary-color);
    color: white;
}

.nav-content {
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.3rem;
}

.nav-title {
    font-weight: 500;
}

.nav-next {
    text-align: right;
}

.nav-next .nav-link {
    justify-content: flex-end;
}

/* Author Widget */
.author-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.author-widget h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

.author-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    color: white;
    margin-bottom: 0.3rem;
}

.author-title {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.author-bio {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Blog Responsive Design */
@media (max-width: 768px) {
    .blog-layout,
    .blog-detail-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .blog-content {
        padding: 1rem;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .recent-post {
        flex-direction: column;
        text-align: center;
    }

    .recent-post img {
        width: 80px;
        height: 80px;
    }

    .post-title {
        font-size: 2rem;
    }

    .blog-post-detail {
        padding: 1rem;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .nav-next .nav-link {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-date {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.3rem;
        min-width: 40px;
    }

    .blog-date .day {
        font-size: 1rem;
    }

    .blog-date .month {
        font-size: 0.7rem;
    }

    .sidebar-widget {
        padding: 1rem;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-featured-image img {
        height: 250px;
    }
}

/* Enhanced Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2c3e50 100%);
    color: white;
    padding: 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
}

.footer-section {
    padding: 20px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-section p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #ddd;
}

.footer-section p i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 16px;
}

.footer-section ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.footer-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.footer-section ul li a {
    color: #ddd;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    transform: translateX(5px);
}

.footer-section ul li a i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
}

/* Social Icons Enhancement */
.social-icons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 119, 34, 0.4);
}

/* Newsletter Section */
.footer-newsletter {
    margin-top: 25px;
}

.footer-newsletter h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
}

/* Footer Bottom Section */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    color: #bbb;
    margin: 0;
    font-size: 14px;
}

.footer-credits {
    text-align: center;
}

.footer-credits p {
    margin: 0;
    color: #ddd;
    font-size: 14px;
}

.webteam-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.webteam-link:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 8px rgba(255, 119, 34, 0.6);
}

.webteam-link strong {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-policies {
    text-align: right;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.policy-link {
    color: #bbb;
    font-size: 13px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.policy-link:hover {
    color: var(--primary-color);
}

.separator {
    color: #666;
    font-size: 12px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }

    .footer-section {
        padding: 10px;
    }

    .footer-bottom-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .footer-copyright,
    .footer-credits,
    .footer-policies {
        text-align: center;
    }

    .footer-policies {
        justify-content: center;
        flex-wrap: wrap;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        margin-bottom: 10px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section ul li {
        padding-left: 20px;
    }

    .footer-section ul li a {
        font-size: 14px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}
