:root {
    --primary-color_one: #1e3a8a;
    --secondary-color_one: #f59e0b;
    --accent-color_one: #dc2626;
    --text-primary_one: #1f2937;
    --text-secondary_one: #6b7280;
    --bg-primary_one: #ffffff;
    --bg-secondary_one: #f8fafc;
    --border-color_one: #e5e7eb;
    --shadow-light_one: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium_one: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy_one: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius_one: 8px;
    --transition_one: all 0.3s ease;
}


/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

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

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.slide-content {
    position: absolute;
    top: 72%;
    right: 8%;
    transform: translateY(-50%);
    color: white !important;
    max-width: 650px;
    z-index: 2;
}

.slide-content h2 {
    color: #fff;
    font-family: 'Amiri', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.5;
}

.slide-content .cta-button_new {
    background: var(--secondary-color_one);
    padding: 0.5rem 1.5rem;
    font-size: 1.125rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.slide-content .cta-button_new:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    top: 43%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.prev-btn,
.next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Slideshow Indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 2rem;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--secondary-color_one);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Slideshow */
@media (max-width: 768px) {
    .hero-slideshow {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-content {
        right: 5%;
        max-width: 90%;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-content .cta-button_new {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .slideshow-controls {
        padding: 0 1rem;
    }
    
    .prev-btn,
    .next-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-slideshow {
        height: 50vh;
        min-height: 350px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .prev-btn,
    .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slideshow-indicators {
        bottom: 1rem;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}


/* News Categories */
.news-categories {
    background: var(--bg-primary_one);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color_one);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--border-color_one);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary_one);
    font-family: inherit;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color_one);
    border-color_one: var(--primary-color_one);
    color: white;
    transform: translateY(-2px);
}

/* Latest News */
.latest-news {
    padding: 1rem 0;
}

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

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

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

.news-card_one {
    background: var(--bg-primary_one);
    border-radius: var(--border-radius_one);
    overflow: hidden;
    box-shadow: var(--shadow-light_one);
    transition: var(--transition_one);
    opacity: 1;
    transform: translateY(0);
}


.news-card_one:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.news-card_one.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 200px;
}

.news-card_one img {
    width: 100%;
    height: 180px;
    object-fit: fill;
    transition: var(--transition);
}

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

.news-card_one.featured img {
    height: 100%;
}

.news-card_one:hover img {
    transform: scale(1.05);
}

.card-content_one {
    padding: 1.5rem 0.5rem;
}

.card-meta_one {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category_one {
    background: var(--primary-color_one);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.number {
    display: block;
    background: var(--primary-color_one);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.675rem;
    font-weight: 500;
}

.date_one {
    color: var(--text-secondary_one);
    font-size: 0.875rem;
}

.date-pdf {
    display: block;
    color: var(--text-secondary_one);
    font-size: 0.875rem;
}

.card-content_one h3 {
    font-family: 'cairo', serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-primary_one);
}

.news-card_one.featured h3 {
    font-size: 2rem;
}

.card-content_one p {
    color: var(--text-secondary_one);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.8rem;
}

.card-footer_one {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.read-more-btn {
    background: transparent;
    border: 2px solid var(--primary-color_one);
    color: var(--primary-color_one);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    flex: 1;
}

.read-more-btn:hover {
    background: var(--primary-color_one);
    color: white;
}

.add-to-cart-btn {
    background: var(--secondary-color_one);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    color: white;
    background: #d97706;
    transform: translateY(-2px);
}

/* Filter Animation */
.news-card_one.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.news-card_one.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Responsive News Grid */
@media (max-width: 768px) {

    .news-card_one img {
        height: 205px;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-grid_2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-card_one.featured {
        grid-column: span 1;
        display: block;
        min-height: auto;
    }
    
    .news-card_one.featured img {
        height: 250px;
    }
    
    .card-content_one h3 {
        font-size: 1.25rem;
    }
    
    .news-card_one.featured h3 {
        font-size: 1.5rem;
    }
    
    .card-footer_one {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .read-more-btn,
    .add-to-cart-btn {
/*        width: 100%;
*/        text-align: center;
    }
    
    .category-tabs {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .news-card_one img {
        height: 230px;
    }
    .latest-news {
        padding: 0;
    }
    
    .news-grid {
        gap: 1rem;
    }

    .news-grid_2 {
        gap: 0.5rem;
    }
    
    .card-content_one {
        padding: 1rem;
    }
    
    .card-content_one h3 {
        font-size: 1.125rem;
    }
    
    .card-content_one p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}



/******* Mini SlideShow *******/

.mini-hero-slideshow {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.mini-slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.mini-slide.active {
    opacity: 1;
}

.mini-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: brightness(0.6);
}

.mini-slide-content {
    position: absolute;
    top: 60%;
    right: 15%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    z-index: 2;
}

.mini-slide-content h2 {
    font-family: 'Amiri', serif;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.mini-slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
}

.mini-slide-content .mini-cta-button {
    background: #cd0303;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 50px;
    transition: var(--transition_one);
    box-shadow: var(--shadow-medium_one);
}

.mini-slide-content .mini-cta-button:hover {
    background: #cd0303;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgb(245 11 105 / 40%);
    color: #fff;
}

/* Slideshow Controls */
.mini-slideshow-controls {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 96%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.mini-prev-btn,
.mini-next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition_one);
    backdrop-filter: blur(10px);
}

.mini-prev-btn:hover,
.mini-next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Slideshow Indicators */
.mini-slideshow-indicators {
    position: absolute;
    bottom: 2rem;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.mini-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition_one);
}

.mini-indicator.active {
    background: #cd0303;
    transform: scale(1.2);
}

.mini-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.mini-cta-button {
    color: #fff !important;
}

/* Responsive Slideshow */
@media (max-width: 768px) {
    .mini-hero-slideshow {
        height: 60vh;
        min-height: 400px;
    }
    
    .mini-slide-content {
        right: 5%;
        max-width: 90%;
    }
    
    .mini-slide-content h2 {
        font-size: 2rem;
    }
    
    .mini-slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .mini-slide-content .mini-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        color: #fff !important;
    }
    
    .mini-slideshow-controls {
        padding: 0 1rem;
    }
    
    .mini-prev-btn,
    .mini-next-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .mini-hero-slideshow {
        height: 50vh;
        min-height: 350px;
    }
    
    .mini-slide-content h2 {
        font-size: 1.5rem;
    }
    
    .mini-slide-content p {
        font-size: 0.9rem;
    }
    
    .mini-prev-btn,
    .mini-next-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .mini-slideshow-indicators {
        bottom: 1rem;
    }
    
    .mini-indicator {
        width: 12px;
        height: 12px;
    }
}


.tilka{
    height: 98px;
    margin-top: 8px;
    border: 4px solid #c90505;
    padding-right: 0;
}

.tilka img{
    width: 31%;
}

.logo_tilka{
    position: relative;
    top: 28px;
}

.tilka h1{
    color: #c90505;
    font-weight: 800;
    margin-top: -5px;
    font-size: 2.2rem;
}

.tilka-block{
    margin-top: -13px;
}

.signature{
    position: relative;
    right: -105px;
    font-size: 1rem;
    background-color: #c90505;
    padding: 3px;
    color: #fff;
    margin-top: 32px;
    width: max-content;
    bottom: -1px;
}

.tilka_title{
    position: relative;
    left: 40px;
}

.tilka_title a{
    font-size: 2rem;
    font-weight: 800;
}

.tilka_title::after{
    content: "\203A\203A";
    font-size: 4.2em;
    color: red;
    margin-right: 50px;
    position: absolute;
    top: 20px;
}


@media only screen and (max-width: 767px) {

    .hassadat{
        display: none;
    }
    .tilka{
        height: 170px;
        margin-top: 8px;
        border: 4px solid #c90505;
        padding-right: 0;
    }

    .logo_tilka {
        position: relative;
        top: 4px;
    }

    .signature {
        position: relative;
        right: -28px;
        font-size: 1rem;
        background-color: #c90505;
        padding: 3px;
        color: #fff;
        /* margin-top: 75px; */
        width: max-content;
        bottom: -60px;
    }

    .tilka img {
        width: 5%;
        margin-top: 42px;
        position: absolute;
        margin-right: -94px;
    }
    .tilka_title {
        position: relative;
        left: -39px;
        top: -28px;
    }

    .tilka_title::after {
        content: "\203A\203A";
        font-size: 3.5em;
        color: red;
        margin-right: -31px;
        position: absolute;
        top: 20px;
    }
}

/* Mini News */

.mini-slide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.mini-slide-container h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #1f2937;
    font-weight: 700;
}

/* News Grid Layout */
.mini-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-height: 150px;
}

.mini-news-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    gap: 0.75rem;
    height: 100%;
    max-height: 120px;
}

.mini-news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.mini-news-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mini-news-item:hover .mini-news-image {
    transform: scale(1.05);
}

.mini-news-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.mini-news-date {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-news-title a {
    font-size: 0.875rem;
    font-weight: 900;
    color: #1f2937;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category_mini {
    background: #8a1e7e;
    color: white;
    padding: 0.5rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    width:50%;
}

/* Mobile First Responsive Design */

/* Extra Small Devices (320px and up) */
@media (max-width: 480px) {
    .mini-slide-container h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .mini-news-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.75rem;
        max-height: 295px;
    }
    
    .mini-news-item {
        padding: 0.5rem;
        gap: 0.5rem;
        max-height: 70px;
    }
    
    .mini-news-image {
        width: 50px;
        height: 50px;
    }
    
    .mini-news-date {
        font-size: 0.65rem;
    }
    
    .mini-news-title a {
        font-size: 0.6rem;
        -webkit-line-clamp: 2;
    }
}

/* Small Devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .mini-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
        max-height: 150px;
    }
    
    .mini-news-item {
        max-height: 100px;
    }
    
    .mini-news-image {
        width: 55px;
        height: 55px;
    }
    
    .mini-news-title a {
        font-size: 0.8rem;
    }
}

/* Medium Devices (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .mini-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-height: 150px;
    }
    
    .mini-news-item {
        max-height: 110px;
    }
    
    .mini-news-image {
        width: 65px;
        height: 65px;
    }
    
    .mini-news-title a{
        font-size: 0.875rem;
    }
}

/* Large Devices (1025px and up) */
@media (min-width: 1025px) {
    .mini-news-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        max-height: 150px;
    }
    
    .mini-news-item {
        max-height: 120px;
    }
    
    .mini-news-image {
        width: 70px;
        height: 70px;
    }
    
    .mini-news-title a{
        font-size: 0.9rem;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1400px) {
    .mini-news-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
    
    .mini-news-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .mini-news-image {
        width: 80px;
        height: 80px;
    }
    
    .mini-news-date {
        font-size: 0.8rem;
    }
    
    .mini-news-title a{
        font-size: 1rem;
    }
}

