/* ========================================
   Font Face - Sahel
   ======================================== */
@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel_FD/Sahel-FD.eot');
    src: url('../fonts/Sahel_FD/Sahel-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Sahel_FD/Sahel-FD.woff') format('woff'),
    url('../fonts/Sahel_FD/Sahel-FD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel_FD/Sahel-Bold-FD.eot');
    src: url('../fonts/Sahel_FD/Sahel-Bold-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Sahel_FD/Sahel-Bold-FD.woff') format('woff'),
    url('../fonts/Sahel_FD/Sahel-Bold-FD.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel_FD/Sahel-Black-FD.eot');
    src: url('../fonts/Sahel_FD/Sahel-Black-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Sahel_FD/Sahel-Black-FD.woff') format('woff'),
    url('../fonts/Sahel_FD/Sahel-Black-FD.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    --primary-blue: #1e3a8a;
    --dark-blue: #1e40af;
    --light-blue: #3b82f6;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --gray: #6b7280;
    --dark-gray: #374151;
    --text-dark: #1f2937;
    --border-color: #e5e7eb;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Sahel', sans-serif;
    direction: rtl;
    background-color: #fafbfc;
    color: var(--text-dark);
    line-height: 1.6;
}

* {
    font-family: 'Sahel', sans-serif;
}

input,
textarea,
button,
select {
    font-family: 'Sahel', sans-serif;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* ========================================
   Header
   ======================================== */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.flag {
    width: 60px;
    height: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rotating-logo {
    width: 60px;
    height: 60px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.header-logo img {
    /*width: 80px;*/
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.logo-text h1 {
    font-size: 22px;
    font-weight: bold;
    color: #1e3a8a;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.logo-text span {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

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

.search-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.search-btn:hover {
    border-color: #1e3a8a;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.main-nav {
    position: relative;
    padding: 0;
    background: #1e3a8a;
    border-radius: 12px 12px 0 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 8px 4px;
    position: relative;
    overflow: hidden;
}

.nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-right: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
    color: #1e3a8a;
    border-right-color: #1e3a8a;
    padding-right: 25px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* ========================================
   Hero Slider
   ======================================== */
.hero-slider {
    position: relative;
    width: 100%;
    background-color: var(--white);
    padding: 20px 0;
}

.hero-slider .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: var(--dark-gray);
    border-radius: 8px;
}

.slider-container {
    width: 100%;
    height: 500px;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-caption {
    max-width: 600px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    position: absolute;
    width: 60%;
    color: #fff;
    bottom: 0;
    background: rgba(0, 0, 0, .3);
    border-top-left-radius: 1rem;
    padding: 1rem;
}

.slide-caption p {
    font-size: 16px;
    line-height: 1.8;
    text-align: right;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-controls button {
    pointer-events: all;
}

.slider-btn {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    border-color: var(--white);
}

.slider-dots {
    position: absolute;
    bottom: 0;
    left: 8%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: #06d1d4;
    padding: 10px;
    border-radius: 15px 15px 0 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--white);
    width: 10px;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-section {
    background: linear-gradient(180deg, rgba(13, 48, 117, 1) 0%, rgba(2, 11, 28, 1) 100%);
    padding: 60px 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../images/gs-bg.png);
    background-repeat: repeat-x;
    pointer-events: none;
}

.gallery-section .container {
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.8;
}

.section-header h2 {
    color: var(--text-dark);
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
}

.view-all {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-size: 13px;
    padding: 6px 16px;
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.view-all:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.gallery-section .view-all {
    color: var(--white);
    border-color: var(--white);
}

.gallery-section .view-all:hover {
    background-color: var(--);
    color: var(--primary-blue);
} 

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

.gallery-item {
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item.featured {
    grid-row: span 2;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    background-color: var(--white);
    padding: 15px;
    color: var(--text-dark);
    border-radius: 0 0 8px 8px;
}

.gallery-caption p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.gallery-item.featured .gallery-caption {
    padding: 25px 20px;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.gallery-item.featured .gallery-caption p {
    font-size: 16px;
    line-height: 2;
}

.gallery-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 16px;
    backdrop-filter: blur(5px);
}

.gallery-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
}

.gallery-small-grid .gallery-item .gallery-image {
    height: 180px;
}

.gallery-small-grid .gallery-item .gallery-image img {
    height: 100%;
}

.gallery-item.featured {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-item.featured .gallery-image {
    flex: 1;
    min-height: 400px;
}

.gallery-item.featured .gallery-image img {
    height: 100%;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
    background-color: var(--white);
    padding: 60px 0;
}

.news-section .section-header h2 {
    color: var(--text-dark);
    font-size: 20px;
}

.news-section .view-all {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.news-section .view-all:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.news-header-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.news-header-wrapper .section-header h2 {
    font-size: 18px;
}

.news-header-wrapper .section-icon {
    width: 24px;
    height: 24px;
}

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

.news-grid-section {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 40px;
}

.comparison-chart-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.chart-container {
    position: relative;
    height: 400px;
    margin-bottom: 20px;
}

.chart-description {
    text-align: center;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.6;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    background-color: #e5e7eb;
    box-shadow: var(--shadow);
    transform: translateX(-5px);
}

.news-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.news-date {
    font-size: 12px;
    color: var(--gray);
    float: left;
}

.featured-news {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.featured-news img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.featured-news-content {
    padding: 25px;
    background-color: var(--light-gray);
}

.featured-news-content h3 {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06d1d4, #3b82f6, #06d1d4);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-about h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #06d1d4;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #06d1d4;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    padding: 4px 0;
}

.footer-links a:hover {
    color: #06d1d4;
    transform: translateX(-5px);
}

.footer-multimedia {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
}

.footer-multimedia h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #06d1d4;
}

.footer-multimedia ul {
    list-style: none;
}

.footer-multimedia li {
    margin-bottom: 8px;
}

.footer-multimedia a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-multimedia a:hover {
    color: #06d1d4;
    transform: translateX(-5px);
}

.footer-logo {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
}

.footer-logo img {
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 8px;
}

.footer-logo p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-banners {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-banners img {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-banners img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .header-top {
        padding: 15px 0;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text span {
        font-size: 14px;
    }

    .nav-menu > li > a {
        padding: 15px 20px;
        font-size: 14px;
    }

    .news-header-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .featured-news {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 10px 0;
        position: relative;
    }

    .header-flags {
        gap: 8px;
        /*margin-right: 45px;*/
    }

    .flag {
        width: 35px;
        height: 23px;
    }

    .rotating-logo {
        width: 35px;
        height: 35px;
    }

    .header-logo {
        gap: 8px;
    }

    .header-logo img {
        /* width: 40px;*/
        height: 40px;
    }

    .logo-text h1 {
        font-size: 12px;
        margin: 0;
    }

    .logo-text span {
        font-size: 10px;
    }

    .search-btn {
        width: 35px;
        height: 35px;
    }

    .main-nav {
        border-radius: 0;
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 0px !important;
        top: -30px;
        background: #1e3a8a;
        border: none;
        padding: 8px;
        border-radius: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: white;
        margin: 3px 0;
        transition: 0.3s;
    }

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

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

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

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1e3a8a;
        padding: 20px 0;
        margin: 0;
        list-style: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu > li > a {
        display: block;
        padding: 15px 20px;
        color: white;
        margin: 0;
        border-radius: 0;
    }

    .dropdown-toggle::after {
        content: '+';
        position: absolute;
        left: 20px;
        font-size: 16px;
    }

    .dropdown.active .dropdown-toggle::after {
        content: '×';
    }

    .dropdown-menu {
        display: none;
        background: rgba(0,0,0,0.3);
        max-height: 200px;
        overflow-y: auto;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 0;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        display: block;
        padding: 12px 40px;
        color: rgba(255,255,255,0.8);
        font-size: 13px;
        border-right: none;
    }

    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }

    .hero-slider {
        height: 350px;
    }

    .slide-caption p {
        font-size: 14px;
    }

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

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

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

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

    .footer-banners {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        max-width: 100%;
    }

    .footer-banners a:first-child,
    .footer-banners a:nth-child(2),
    .footer-banners a:last-child {
        grid-row: auto;
        grid-column: 1;
    }

    .footer {
        padding: 40px 0 0;
    }

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

    .footer-about,
    .footer-links,
    .footer-multimedia,
    .footer-logo {
        padding: 15px;
    }

    .footer-about h3,
    .footer-links h4 {
        font-size: 16px;
    }

    .footer-logo img {
        height: 80px;
    }

    .footer-banners {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-banners img {
        max-width: 100px;
    }
}

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

    .hero-slider {
        height: 250px;
    }

    .gallery-section,
    .news-section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 22px;
    }

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

    .news-item img {
        width: 100%;
        height: 150px;
    }

    .header-logo img {
        /*width: 35px;*/
        height: 35px;
    }

    .logo-text h1 {
        font-size: 11px;
    }

    .logo-text span {
        font-size: 9px;
    }

    .search-btn {
        width: 30px;
        height: 30px;
    }

    .flag {
        width: 30px;
        height: 20px;
    }

    .rotating-logo {
        width: 30px;
        height: 30px;
    }

    .hero-slider {
        padding: 5px 0;
    }

    .slider-wrapper {
        height: 200px;
        border-radius: 4px;
    }

    .slider-container {
        height: 200px;
    }

    .slide-caption {
        width: 90%;
        padding: 0.5rem;
        border-top-left-radius: 0.3rem;
    }

    .slide-caption p {
        font-size: 11px;
        line-height: 1.4;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .slider-controls {
        padding: 0 8px;
    }

    .slider-dots {
        left: 5%;
        padding: 6px;
        gap: 4px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }
}

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

.gallery-item,
.news-item,
.featured-news {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.search-modal {
    animation: fadeIn 0.3s ease !important;
}

.search-modal .search-modal-content {
    animation: fadeIn 0.3s ease 0.1s both !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus {
    outline: 2px solid var(--light-blue);
    outline-offset: 2px;
}

/* ========================================
   Multimedia Section
   ======================================== */
.multimedia-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
}

.multimedia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

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

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

.multimedia-image {
    position: relative;
    overflow: hidden;
}

.multimedia-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.multimedia-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multimedia-card:hover .multimedia-overlay {
    opacity: 1;
}

.media-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.multimedia-content {
    padding: 20px;
}

.multimedia-content h3 {
    margin-bottom: 10px;
    line-height: 1.4;
}

.multimedia-content h3 a {
    color: #1f2937;
    text-decoration: none;
}

.multimedia-content h3 a:hover {
    color: #1e3a8a;
}

.multimedia-date {
    font-size: 14px;
    color: #6b7280;
}

/* ========================================
   Notes Section
   ======================================== */
.notes-section {
    padding: 60px 0;
    margin: 40px 0;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.note-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-right: 4px solid #1e3a8a;
    display: flex;
    gap: 20px;
    padding: 25px;
}

.note-card:hover {
    transform: translateY(-4px);
}

.note-image {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
}

.note-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.note-content h3 {
    margin-bottom: 10px;
    line-height: 1.4;
}

.note-content h3 a {
    color: #1f2937;
    text-decoration: none;
}

.note-content h3 a:hover {
    color: #1e3a8a;
}

.note-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.note-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

/* ========================================
   Posters Section - Optimized
   ======================================== */
.posters-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
}

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

.poster-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 300px;
    margin: 0 auto;
}

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

.poster-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #f1f5f9;
}

.poster-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.poster-card:hover .poster-image img {
    transform: scale(1.02);
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-card:hover .poster-overlay {
    opacity: 1;
}

.poster-type-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.download-icon {
    font-size: 24px;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.download-icon:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.poster-content {
    padding: 20px;
    text-align: center;
}

.poster-content h3 {
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 16px;
    font-weight: 600;
}

.poster-content h3 a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.poster-content h3 a:hover {
    color: #1e3a8a;
}

.poster-date {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive for Posters */
@media (max-width: 768px) {
    .posters-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .poster-image {
        height: 240px;
    }
    
    .poster-content {
        padding: 15px;
    }
    
    .poster-content h3 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .posters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .poster-image {
        height: 200px;
    }
    
    .poster-content {
        padding: 12px;
    }
    
    .poster-content h3 {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .poster-date {
        font-size: 12px;
    }
}

/* ========================================
   No Content & General Responsive
   ======================================== */
.no-content {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .multimedia-grid,
    .notes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .note-card {
        flex-direction: column;
        padding: 20px;
    }
    
    .note-image {
        width: 100%;
        height: 150px;
    }
}
/*
 ========================================
   Chart Filter Styles
   ======================================== */
.chart-filter {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #dee2e6;
}

.chart-filter > div {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.chart-filter label {
    font-weight: bold;
    color: #1e3a8a;
    font-size: 14px;
}

.chart-filter select,
.chart-filter input[type="month"],
.chart-filter input[type="date"] {
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    background-color: white;
    transition: all 0.3s ease;
    min-width: 150px;
}

.chart-filter select:hover,
.chart-filter input[type="month"]:hover,
.chart-filter input[type="date"]:hover {
    border-color: #1e3a8a;
}

.chart-filter select:focus,
.chart-filter input[type="month"]:focus,
.chart-filter input[type="date"]:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.chart-filter button {
    padding: 10px 25px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.3);
}

.chart-filter button:hover {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

.chart-filter button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.3);
}

#cityMonthPicker,
#orgMonthPicker,
#cityRangePicker,
#orgRangePicker {
    display: none;
    align-items: center;
    gap: 10px;
}

#cityRangePicker span,
#orgRangePicker span {
    color: #6b7280;
    font-weight: 500;
}

/* Responsive design for filters */
@media (max-width: 768px) {
    .chart-filter > div {
        flex-direction: column;
        align-items: stretch;
    }

    .chart-filter select,
    .chart-filter input[type="month"],
    .chart-filter input[type="date"],
    .chart-filter button {
        width: 100%;
    }

    #cityRangePicker,
    #orgRangePicker {
        flex-direction: column;
        width: 100%;
    }
}

/* Loading state for charts */
.chart-container.loading {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}

.chart-container.loading::after {
    content: 'در حال بارگذاری...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    color: #1e3a8a;
}


/* ========================================
   News Ticker Styles
   ======================================== */
.news-ticker {
    padding: 0 0 10px 0;
    font-size: 14px;
    width: 100%;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-radius: 0px 0px 8px 8px;
}

.ticker-style1 .ticker-wrapper { 
    background: #1e3a8a; 
    color: #fff; 
}

.ticker-style2 .ticker-wrapper { 
    background: #dc2626; 
    color: #fff; 
}

.ticker-style3 .ticker-wrapper { 
    background: rgba(0,0,0,0.8); 
    color: #fff; 
}

.ticker-style4 .ticker-wrapper { 
    background: linear-gradient(90deg, #1e3a8a, #3b82f6); 
    color: #fff; 
}

.ticker-label {
    background: #73a2ee;
    padding: 8px 15px;
    margin-left: 15px;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    color: #fff;
}

.ticker-content {
    flex: 1;
    white-space: nowrap;
    position: relative;
    padding-right: 0px;
    width: calc(100% - 150px);
}

.ticker-item {
    display: inline-block;
    white-space: nowrap;
    padding: 0 80px;
    position: relative;
}

.ticker-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('../images/vc-3-v2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.ticker-item a {
    color: inherit;
    text-decoration: none;
}

.ticker-item a:hover {
    text-decoration: underline;
}

/* Scroll Animation */
.animation-scroll .ticker-content {
    animation: scroll-ticker-rtl 30s linear infinite;
}

.animation-scroll.direction-ltr .ticker-content {
    animation: scroll-ticker-ltr 30s linear infinite;
}

/* Fade Animation - Individual items fade in/out */
.animation-fade .ticker-content {
    position: relative;
}

.animation-fade .ticker-item {
    position: absolute;
    opacity: 0;
    animation: fade-ticker-item 4s ease-in-out infinite;
}

.animation-fade .ticker-item:nth-child(1) { animation-delay: 0s; }
.animation-fade .ticker-item:nth-child(2) { animation-delay: 4s; }
.animation-fade .ticker-item:nth-child(3) { animation-delay: 8s; }
.animation-fade .ticker-item:nth-child(4) { animation-delay: 12s; }
.animation-fade .ticker-item:nth-child(5) { animation-delay: 16s; }

.animation-fade .ticker-item::after {
    display: none;
}

/* Slide Animation - Individual items slide up/down */
.animation-slide .ticker-content {
    position: relative;
    height: 20px;
    overflow: hidden;
}

.animation-slide .ticker-item {
    position: absolute;
    transform: translateY(100%);
    animation: slide-ticker-item 4s ease-in-out infinite;
}

.animation-slide .ticker-item:nth-child(1) { animation-delay: 0s; }
.animation-slide .ticker-item:nth-child(2) { animation-delay: 4s; }
.animation-slide .ticker-item:nth-child(3) { animation-delay: 8s; }
.animation-slide .ticker-item:nth-child(4) { animation-delay: 12s; }
.animation-slide .ticker-item:nth-child(5) { animation-delay: 16s; }

.animation-slide .ticker-item::after {
    display: none;
}

/* Keyframes */
@keyframes scroll-ticker-rtl {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes scroll-ticker-ltr {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes fade-ticker-item {
    0%, 15% { opacity: 0; }
    20%, 80% { opacity: 1; }
    85%, 100% { opacity: 0; }
}

@keyframes slide-ticker-item {
    0%, 15% { transform: translateY(100%); }
    20%, 80% { transform: translateY(0); }
    85%, 100% { transform: translateY(-100%); }
}

/* Sticky behavior */
.ticker-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
}

.header.sticky + .ticker-sticky {
    top: 100px; /* Adjust based on header height */
}

.news-ticker:hover .ticker-content {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .news-ticker {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .ticker-label {
        padding: 6px 10px;
        margin-left: 10px;
        font-size: 11px;
    }
    
    .ticker-item {
        margin-left: 30px;
    }
}

/* ========================================
   CodePen Menu - Exact Implementation
   ======================================== */

* {
    box-sizing: border-box;
}

.menu {
    width: 100%;
}

.menu-container {
    margin: 0 auto;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: 12px 12px 0 0;
}

.menu-mobile-btn {
    display: none;
    background: none;
    border: none;
    padding: 5px;
    color: #1e3a8a;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
}

.menu-mobile-btn:hover {
    color: #1e40af;
}

.menu-dropdown-icon:before {
    content: "▼";
    display: none;
    cursor: pointer;
    float: left;
    padding: 1.5em 2em;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu > ul {
    margin: 0 auto;
    width: 100%;
    list-style: none;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}

.menu > ul:before,
.menu > ul:after {
    content: "";
    display: table;
}

.menu > ul:after {
    clear: both;
}

.menu > ul > li {
    float: right;
    background: transparent;
    padding: 0;
    margin: 0;
}

.menu > ul > li a {
    text-decoration: none;
    padding: 1.5em 2em;
    display: block;
    color: white;
    font-weight: 500;
}

.menu > ul > li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu > ul > li > ul {
    display: none;
    width: 100%;
    background: white;
    padding: 20px;
    position: absolute;
    z-index: 99;
    right: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.menu > ul > li > ul:before,
.menu > ul > li > ul:after {
    content: "";
    display: table;
}

.menu > ul > li > ul:after {
    clear: both;
}

.menu > ul > li > ul > li {
    margin: 0;
    padding-bottom: 0;
    list-style: none;
    width: 25%;
    background: none;
    float: right;
}

.menu > ul > li > ul > li a {
    color: #333;
    padding: .5em 0;
    width: 95%;
    display: block;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.menu > ul > li > ul > li a:hover {
    color: #1e3a8a;
    background: #f8f9fa;
    padding-right: 10px;
}

.menu > ul > li > ul > li a .count {
    color: #6b7280;
    font-size: 12px;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* Mobile Styles */
@media only screen and (max-width: 959px) {
    .menu-container {
        width: 100%;
        position: relative;
    }

    .menu-mobile-btn {
        display: inline-block;
    }

    .menu-dropdown-icon:before {
        display: block;
    }

    .menu > ul {
        display: none;
        width: 100%;
    }

    .menu > ul.show-on-mobile {
        display: block;
    }

    .menu > ul > li {
        width: 100%;
        float: none;
        display: block;
    }

    .menu > ul > li a {
        padding: 1.5em;
        width: 100%;
        display: block;
    }

    .menu > ul > li > ul {
        position: relative;
        padding: 0 20px;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
    }

    .menu > ul > li > ul > li {
        float: none;
        width: 100%;
        margin-top: 10px;
    }

    .menu > ul > li > ul > li:first-child {
        margin: 0;
    }

    .menu > ul > li > ul > li a {
        color: white;
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }

    .menu > ul > li > ul > li a:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }

    .menu > ul > li > ul > li a .count {
        color: rgba(255, 255, 255, 0.7);
    }
}

/* ========================================
   Print Utilities
   ======================================== */
@media print {
    .hidden-print {
        display: none !important;
    }
}
/* کلاس برای نمایش فقط در پرینت */
.print-only {
    display: none;
}

@media print {
    .print-only {
        display: block !important;
    }
}
/* تنظیمات چاپ */
@media print {
    @page {
        margin: 1cm;
    }
    
    body {
        margin: 0;
        padding: 0;
    }
    
    .container {
        margin: 0;
        padding: 0;
        max-width: none;
    }
    
    /* فوتر چاپ */
    .print-footer {
        background: #f8f9fa;
        border-top: 2px solid #1e3a8a;
        padding: 8px 15px;
        font-size: 11px;
        color: #374151;
        display: flex;
        justify-content: space-between;
        align-items: center;
        page-break-inside: avoid;
        margin-top: 20px;
    }
    
    .print-footer-left {
        flex-shrink: 0;
    }
    
    .print-footer-center {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin-left: 15px;
        flex-grow: 1;
    }
    
    .print-footer-right {
        text-align: right;
        font-size: 10px;
        color: #6b7280;
        flex-shrink: 0;
    }
    
    .print-site-name {
        font-weight: bold;
        color: #1e3a8a;
    }
    
    .print-content-code {
        font-family: monospace;
        background: #e5e7eb;
        padding: 1px 4px;
        border-radius: 2px;
    }
}