:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --sidebar-width: 250px;
}

body {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.sidebar {
    min-height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.wrapper {
    margin-right: var(--sidebar-width);
    min-height: 100vh;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
}

.nav-pills .nav-link {
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .sidebar {
        right: -100%;
    }

    .sidebar.active {
        right: 0;
    }

    .wrapper {
        margin-right: 0;
    }
}

/* Custom card styles */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Custom button styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
}
:root {
    --primary-color: #2e7d32;
    --secondary-color: #1b5e20;
    --light-green: #81c784;
    --sidebar-bg: #343a40;
    --sidebar-text: #e8f5e9;
}

body {
    font-family: 'B Nazanin', Tahoma, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: white;
    border-bottom: 1px solid #dee2e6;
}

.sidebar {
    min-height: calc(100vh - 73px);
    background-color: var(--sidebar-bg);
}

.sidebar .nav-link {
    color: var(--sidebar-text);
    border-radius: 5px;
    padding: 8px 15px;
    transition: all 0.3s;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    background-color: var(--light-green);
    color: #000;
    font-weight: 500;
}

.footer {
    border-top: 1px solid #dee2e6;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    font-weight: 600;
    border-radius: 10px 10px 0 0 !important;
}

.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-success {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-success:hover {
    background-color: var(--primary-color);
    color: white;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.avatar {
    object-fit: cover;
}

@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
        position: static;
    }

    main {
        padding-top: 20px !important;
    }
}
/* General Styles */
body {
    font-family: 'Vazir', 'Tanha', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Slider Styles */
.slider-section {
    position: relative;
}

.city-slider {
    height: 500px;
}

.city-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem;
}

/* Message Sections */
.mayor-message, .council-message {
    position: relative;
    overflow: hidden;
}

.message-content {
    position: relative;
    line-height: 2;
}

.signature {
    text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .city-slider {
        height: 300px;
    }

    .mayor-message, .council-message {
        text-align: center;
    }

    .signature {
        text-align: center;
    }
}
/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.02)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.footer-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 30%;
}

.footer-title {
    font-weight: 600;
    padding-bottom: 10px;
}

.title-underline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    text-align: justify;
}

.website-link {
    color: #4facfe;
    text-decoration: none;
    transition: all 0.3s;
}

.website-link:hover {
    color: #00f2fe;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.footer-links i {
    font-size: 0.8rem;
    color: #4facfe;
}

.contact-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item i {
    margin-left: 10px;
    color: #4facfe;
    width: 20px;
    text-align: center;
}

.footer-developer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .title-underline {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links {
        display: inline-block;
        text-align: right;
    }

    .contact-item {
        justify-content: center;
    }
}