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

body {
    font-family: "Alexandria", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.title-section {
    font-weight: 900 !important;
    /* font-style: ExtraBold; */
    font-size: 40px;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: right;
    vertical-align: middle;
    color: rgba(50, 82, 71, 1);
}

.link_trigger {
    align-self: flex-start;
    padding-right: 20px;
}

.link_trigger span.active {
    color: #325247;
    border-bottom: 2px solid #325247;
    font-weight: 600;
}

h3 {
    font-weight: 700 !important;
    font-style: Bold !important;
    font-size: 22px !important;
    line-height: 31px !important;
    letter-spacing: 0% !important;
    text-align: right !important;
}

.padge_category {
    border-radius: 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: right;
    color: rgba(255, 255, 255, 1);
    background-color: #325247;
    padding: 4px 8px;
    border-radius: 20px;
    padding-top: 4px;
    padding-right: 17px;
    padding-bottom: 4px;
    padding-left: 17px;
}

/* Style Card */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: auto;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        margin: auto;
    }
}

/* News Card */
.news-card {
    width: 100%;
    height: 300px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Background Image */
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/cardone.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Gradient Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            rgba(0, 0, 0, 0.7) 80%,
            rgba(0, 0, 0, 0.9) 100%);
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

/* Category Badge */
.category-badge {
    align-self: flex-start !important;
    background-color: rgba(50, 82, 71, 1) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    backdrop-filter: blur(10px) !important;
}

/* Text Content */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Main Title */
.card-title {
    color: white;
    font-size: 25px !important;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

/* Date */
.card-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 400;
    direction: rtl !important;
    text-align: right !important;
}

/* Responsive Design */
@media (max-width: 480px) {
    .news-card {
        width: 100%;
        max-width: 300px;
        height: 350px;
        margin: auto;
    }

    .card-title {
        font-size: 16px;
    }

    .card-content {
        padding: 16px;
    }
}

/* Animation for loading */
.news-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style Card */

/* Hero Section */
.dual-cards-container {
    display: flex;
    gap: 20px;
    /* max-width: 800px; */
    width: 100%;
    height: 400px;
    margin: 50px auto;
}

/* Base Card Styles */
.news-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Large Card (Left) */
.hero .large-card {
    flex: 2;
    height: 100%;
}

.hero .large-card .card-background {
    background-image: url("../images/slider.png");
}

/* Small Card (Right) */
.small-card {
    flex: 1;
    height: 100%;
    border-bottom: 0.8px solid rgba(84, 84, 86, 0.34)
}

.small-card .card-background {
    background-image: url("../images/slider2.png");
}

/* Background Image */
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Gradient Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            rgba(0, 0, 0, 0.7) 80%,
            rgba(0, 0, 0, 0.9) 100%);
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

/* Text Content */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Main Title */
.card-title {
    color: white;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

/* Large Card Title */
.hero .large-card .card-title {
    font-size: 20px;
}

/* Small Card Title */
.small-card .card-title {
    font-size: 16px;
}

/* Date */
.card-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 400;
    direction: ltr;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dual-cards-container {
        flex-direction: column;
        height: auto;
        gap: 16px;
        margin: 10px auto !important;
    }

    .hero .large-card,
    .small-card {
        flex: none;
        /* height: 300px; */
    }

    .card-title {
        font-size: 16px !important;
    }

    .card-content {
        padding: 16px;
    }
}

/* Animation */
.news-card {
    animation: fadeInUp 0.6s ease-out;
}

.news-card:nth-child(2) {
    animation-delay: 0.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.swiper {
    width: 100%;
    /* height: 400px; */
}

.swiperHeader {
    width: 100%;
    height: 400px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
}

/* Hero Section */

/* Start Design Akbar */
.news-section {
    display: grid;
    grid-template-columns: 1fr;
    /* موبايل: عمود واحد */
    gap: 30px;
}

/* تابلت */
@media (min-width: 768px) {
    .news-section {
        grid-template-columns: 1fr 1fr;
        /* عمودين */
    }
}

/* لابتوب + ديسكتوب */
@media (min-width: 1024px) {
    .news-section {
        grid-template-columns: 1fr 1fr 1fr;
        /* 3 أعمدة */
    }
}

/* small cards */
.small-news {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.small-news .small-card {
    margin-bottom: 18px;
    /* background-color: red; */
    padding: 10px;
}

.small-card {
    display: flex;
    gap: 10px;
    /* border-radius: 10px; */
    overflow: hidden;
    /* background: #f9f9f9; */
    padding: 8px;
    justify-content: start;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.small-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.small-card img {
    width: 80px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.small-card .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 13px;
}

.small-card .title {
    font-weight: bold;
    line-height: 1.4;
}

.small-card .date {
    font-size: 12px;
    color: gray;
}

/* large cards */
.news-section .large-card {
    /* border-radius: 15px; */
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 340px;
}

.news-section .large-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.news-section .large-card img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    min-height: 200px;
    object-fit: cover;
}

.news-section .large-card .content {
    padding: 15px;
    color: black;
}

.news-section .large-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.news-section .large-card .date {
    font-size: 13px;
    margin-top: 5px;
    color: gray;
}

/* Start Design Akbar */

/* Start tourism-travel */
.main-travel {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* عمودين: كروت + إعلان */
    gap: 30px;
    align-items: start;
}

/* شبكة الكروت */
.tourism-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* اتنين جنب بعض */
    gap: 20px;
}

.tourism-cards-grid .large-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.tourism-cards-grid .large-card:hover {
    transform: translateY(-5px);
}

.tourism-cards-grid .large-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tourism-cards-grid .large-card .content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tourism-cards-grid .large-card h3 {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.tourism-cards-grid .large-card .date {
    font-size: 13px;
    color: gray;
    margin-top: 10px;
}

/* إعلانات */
.tourism-cards-grid img,
.main-travel>div>img {
    border-radius: 12px;
    object-fit: contain;
}



/* ✅ Responsive */

@media (max-width: 1030px) {
    .swiper-sq {
        width: 500px !important;
    }
}

@media (max-width: 992px) {
    .main-travel {
        grid-template-columns: 1fr;
        /* عمود واحد */
    }

    .tourism-cards-grid {
        grid-template-columns: 1fr 1fr;
        /* الكروت تفضل اتنين جنب بعض */
    }

    .swiper-sq {
        width: 320px !important;
    }
}



/* Start tourism-travel */

@media (max-width: 600px) {
    .tourism-cards-grid {
        display: block !important;
    }

    .tourism-cards-grid .large-card img {
        height: 180px;
        /* أصغر في الموبايل */
    }

    .small-card {
        flex: 1;
        /* height: 100%; */
    }

    .swiper-button-next:after,
    .swiper-rtl .swiper-button-prev:after {
        content: 'next';
        font-size: 18px !important;
        background: rgba(0, 0, 0, 0.5);
        padding: 10px;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        align-items: center;
        display: flex;
    }

    .swiper {
        width: 100% !important;
    }

    .swiper-sq {
        width: 320px !important;
    }
}



/* css travel */

/* hero section travel */
.card-travel {
    position: relative;
    flex: 1;
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card-bg {
    background-size: cover !important;
    background-position: center !important;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.card-bg:hover {
    transform: scale(1.1);
}

.card-badge {
    text-align: center;
    padding-top: 1.2rem;
}

/* blogs */

.news-bg {
    background-image: url(../images/eskan.png);
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}


/* end css travel */


.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    background-color: #fff !important;
}

.large-card {
    border-bottom: 0.8px solid var(--Separators-Non-opaque, rgba(84, 84, 86, 0.34))
}



/* taost */
#toast {
    visibility: hidden;
    min-width: 150px;
    background-color: rgba(50, 82, 71, 1);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

#toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}