/* ==========================================
   Root Variables & Base Styles
   ========================================== */
:root {
    --primary: #1e6f5c;
    --primary-dark: #155a4a;
    --primary-light: #2a9d8f;
    --secondary: #264653;
    --accent: #e9c46a;
    --background: #f8fafb;
    --surface: #ffffff;
    --text: #1a1a2e;
    --text-light: #4a4a6a;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
    direction: rtl;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(30, 111, 92, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 111, 92, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-block {
    width: 100%;
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(30, 111, 92, 0.08);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&h=1080&fit=crop') center/cover no-repeat;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 111, 92, 0.85), rgba(38, 70, 83, 0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ==========================================
   Statistics Section
   ========================================== */
.stats {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow-lg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

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

/* ==========================================
   Section Styles
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 4px 15px var(--shadow);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature span {
    font-weight: 600;
    color: var(--text);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ==========================================
   Council Section
   ========================================== */
.council {
    padding: 100px 0;
    background: var(--surface);
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.council-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.council-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--primary-light);
}

.council-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-light);
    box-shadow: 0 5px 20px var(--shadow);
}

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

.council-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.council-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.council-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dehyar Section */
.dehyar-section {
    margin-top: 80px;
}

.dehyar-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

.dehyar-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

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

.dehyar-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.dehyar-role {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.dehyar-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dehyar-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.dehyar-details svg {
    width: 18px;
    height: 18px;
}

/* ==========================================
   Sessions Section
   ========================================== */
.sessions {
    padding: 100px 0;
}

.sessions-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 28px;
    border: 2px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 1rem;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.sessions-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.session-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.session-card:hover {
    border-color: var(--primary-light);
    transform: translateX(-8px);
}

.session-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.session-info {
    flex: 1;
}

.session-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.session-meta {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.session-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.session-meta svg {
    width: 16px;
    height: 16px;
}

/* Table Styles */
.table-wrapper {
    overflow-x: auto;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 16px 20px;
    text-align: right;
    border-bottom: 1px solid var(--border);
}

th {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-weight: 600;
}

tr:hover {
    background: rgba(30, 111, 92, 0.05);
}

.table-link {
    color: var(--primary);
    font-weight: 600;
}

.table-link:hover {
    text-decoration: underline;
}

/* ==========================================
   Resolutions Section
   ========================================== */
.resolutions {
    padding: 100px 0;
    background: var(--surface);
}

.resolutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.resolution-card {
    background: var(--background);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.resolution-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px var(--shadow);
}

.resolution-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.resolution-status.in-progress {
    background: #fef3c7;
    color: #92400e;
}

.resolution-status.completed {
    background: #d1fae5;
    color: #065f46;
}

.resolution-status.pending {
    background: #e0e7ff;
    color: #3730a3;
}

.resolution-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.resolution-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.resolution-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.resolution-meta span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.resolution-meta a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.resolution-meta a:hover {
    text-decoration: underline;
}

/* ==========================================
   News Section
   ========================================== */
.news {
    padding: 100px 0;
}

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

.news-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.news-card.featured {
    grid-column: span 2;
}

.news-card.featured .news-image img {
    height: 300px;
}

.news-image {
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    padding: 24px;
}

.news-date {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link:hover {
    gap: 10px;
}

/* ==========================================
   Projects Section
   ========================================== */
.projects {
    padding: 100px 0;
    background: var(--surface);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: 0 15px 40px var(--shadow);
}

.project-image {
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 24px;
}

.project-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-status.completed {
    background: #d1fae5;
    color: #065f46;
}

.project-status.in-progress {
    background: #fef3c7;
    color: #92400e;
}

.project-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.project-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 28px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-list li {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-text strong {
    color: var(--secondary);
    font-weight: 600;
}

.contact-text span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 40px var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 111, 92, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: rgba(255,255,255,0.2);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-right: 8px;
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 111, 92, 0.4);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(30, 111, 92, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .news-card.featured .news-image img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 40px var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .council-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .dehyar-card {
        flex-direction: column;
        text-align: center;
    }

    .session-card {
        flex-direction: column;
        text-align: center;
    }

    .session-meta {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links {
        align-items: center;
    }

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

    .resolutions-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .sessions-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .dehyar-image {
        width: 120px;
        height: 120px;
    }
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Page Header (Inner Pages)
   ========================================== */
.page-header {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&h=600&fit=crop') center/cover no-repeat;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 111, 92, 0.9), rgba(38, 70, 83, 0.95));
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    opacity: 0.9;
}

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

.breadcrumb span:not(:last-child) {
    opacity: 0.7;
}

/* ==========================================
   News List Page
   ========================================== */
.news-list-section {
    padding: 60px 0 100px;
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box svg {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    padding: 14px 48px 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.news-list-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
}

.news-list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.news-list-card.featured {
    grid-column: span 2;
}

.news-list-image {
    position: relative;
    display: block;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.news-list-card.featured .news-list-image img {
    height: 280px;
}

.news-list-card:hover .news-list-image img {
    transform: scale(1.08);
}

.news-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-list-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta svg {
    width: 16px;
    height: 16px;
}

.news-list-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.news-list-content h2 a:hover {
    color: var(--primary);
}

.news-list-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.read-more svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.read-more:hover svg {
    transform: translateX(-4px);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.page-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover:not(.disabled):not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

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

.page-link svg {
    width: 18px;
    height: 18px;
}

.page-dots {
    padding: 0 8px;
    color: var(--text-muted);
}

/* ==========================================
   News Detail Page
   ========================================== */
.news-detail-section {
    padding: 60px 0 100px;
}

.news-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.news-detail-header {
    margin-bottom: 32px;
}

.news-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.news-detail-header h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-meta svg {
    width: 18px;
    height: 18px;
}

.news-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.news-detail-image img {
    width: 100%;
    height: auto;
}

.news-detail-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
}

.news-detail-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 32px 0 16px;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content blockquote {
    background: var(--background);
    border-right: 4px solid var(--primary);
    padding: 24px 28px;
    margin: 28px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.news-detail-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.news-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.news-gallery img {
    border-radius: var(--radius);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-features-list {
    background: var(--background);
    padding: 24px 32px;
    border-radius: var(--radius);
    margin: 24px 0;
}

.news-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-right: 24px;
}

.news-features-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.news-features-list li:last-child {
    border-bottom: none;
}

.news-detail-content ol {
    padding-right: 24px;
    margin: 20px 0;
}

.news-detail-content ol li {
    padding: 8px 0;
}

/* Share Section */
.news-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 40px;
}

.news-share span {
    font-weight: 600;
    color: var(--text);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

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

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

.share-btn.copy-link {
    background: var(--background);
    border: 2px solid var(--border);
    color: var(--text);
}

.share-btn:hover {
    transform: translateY(-3px);
}

/* News Navigation */
.news-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover:not(.disabled) {
    border-color: var(--primary);
}

.nav-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary);
}

.nav-link span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-link strong {
    display: block;
    font-size: 0.95rem;
    color: var(--secondary);
    margin-top: 4px;
}

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

/* Sidebar */
.news-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 20px var(--shadow);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.related-news {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.related-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.related-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 4px;
}

.related-item:hover h4 {
    color: var(--primary);
}

.related-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--background);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.category-list li a:hover {
    background: rgba(30, 111, 92, 0.1);
    color: var(--primary);
}

.category-list .count {
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.contact-box h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.2);
}

.contact-box p {
    opacity: 0.9;
    margin-bottom: 16px;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.contact-phone:hover {
    background: rgba(255,255,255,0.3);
}

.contact-phone svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   Session Detail Page
   ========================================== */
.session-detail-section {
    padding: 60px 0 100px;
}

.session-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.session-header-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 10px 40px var(--shadow);
    margin-bottom: 32px;
}

.session-number-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.session-header-card h1 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 24px;
}

.session-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--background);
    border-radius: var(--radius);
}

.info-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.info-item strong {
    display: block;
    font-size: 1rem;
    color: var(--secondary);
    margin-top: 2px;
}

/* Session Sections */
.session-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 24px;
}

.session-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.session-section h2 svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

/* Attendees */
.attendees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.attendee-card {
    position: relative;
    text-align: center;
    padding: 20px 16px;
    background: var(--background);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.attendee-card.present {
    border-color: #10b981;
}

.attendee-card.absent {
    border-color: #ef4444;
    opacity: 0.7;
}

.attendee-card.dehyar {
    border-color: var(--primary);
    background: rgba(30, 111, 92, 0.05);
}

.attendee-status {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attendee-card.present .attendee-status {
    background: #10b981;
    color: white;
}

.attendee-card.absent .attendee-status {
    background: #ef4444;
    color: white;
}

.attendee-status svg {
    width: 14px;
    height: 14px;
}

.attendee-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.attendee-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.attendee-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Agenda */
.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agenda-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--background);
    border-radius: var(--radius);
    transition: var(--transition);
}

.agenda-item:hover {
    box-shadow: 0 4px 15px var(--shadow);
}

.agenda-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.agenda-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 6px;
}

.agenda-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Resolutions List */
.resolutions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.resolution-item {
    padding: 24px;
    background: var(--background);
    border-radius: var(--radius);
    border-right: 4px solid var(--primary);
}

.resolution-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.resolution-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.resolution-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.resolution-status.approved {
    background: #d1fae5;
    color: #065f46;
}

.resolution-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.resolution-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.resolution-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.resolution-votes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.resolution-votes span {
    font-size: 0.85rem;
    font-weight: 500;
}

.vote-yes { color: #10b981; }
.vote-no { color: #ef4444; }
.vote-abstain { color: #f59e0b; }

/* Session Notes */
.session-notes {
    color: var(--text-light);
    line-height: 1.8;
}

.session-notes ul {
    padding-right: 24px;
    margin: 16px 0;
}

.session-notes li {
    padding: 6px 0;
    position: relative;
}

.session-notes li::marker {
    color: var(--primary);
}

/* Signatures */
.signatures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.signature-item {
    text-align: center;
}

.signature-line {
    height: 60px;
    border-bottom: 2px dashed var(--border);
    margin-bottom: 12px;
}

.signature-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Session Actions */
.session-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.session-actions .btn svg {
    width: 20px;
    height: 20px;
}

/* Sidebar - Quick Info */
.quick-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.quick-info-list li:last-child {
    border-bottom: none;
}

.quick-info-list span {
    color: var(--text-muted);
}

.quick-info-list strong {
    color: var(--secondary);
}

.status-completed {
    color: #10b981 !important;
}

/* Other Sessions */
.other-sessions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.other-session-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}

.other-session-item:hover,
.other-session-item.active {
    border-color: var(--primary);
}

.other-session-item.active {
    background: rgba(30, 111, 92, 0.1);
}

.session-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.other-session-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.other-session-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   Responsive - Inner Pages
   ========================================== */
@media (max-width: 1024px) {
    .news-detail-wrapper,
    .session-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .news-detail-sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .news-list-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 220px;
    }

    .news-filters {
        flex-direction: column;
    }

    .search-box {
        max-width: 100%;
    }

    .filter-buttons {
        width: 100%;
        justify-content: center;
    }

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

    .news-gallery {
        grid-template-columns: 1fr;
    }

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

    .session-info-grid {
        grid-template-columns: 1fr;
    }

    .attendees-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .session-actions {
        flex-direction: column;
    }

    .signatures-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .attendees-grid {
        grid-template-columns: 1fr;
    }

    .signatures-grid {
        grid-template-columns: 1fr;
    }

    .resolution-votes {
        flex-direction: column;
        gap: 8px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .news-detail-sidebar,
    .session-actions,
    .news-navigation,
    .news-share {
        display: none !important;
    }

    .session-detail-wrapper,
    .news-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .page-header {
        margin-top: 0;
        height: auto;
        padding: 20px 0;
        background: none;
        color: var(--text);
    }

    .page-header-overlay {
        display: none;
    }

    body {
        font-size: 12pt;
    }
}
