body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #ffffff;
    padding: 10px 0;
    text-align: justify;
    transition: top 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header img {
    height: 100px;
}

.nav-link {
    color: white !important;
}

.navbar-toggler {

    border: white saddlebrown !important;
}

.article-item a {
    text-decoration: none;
    color: black;
    display: flex !important;
    align-items: center;

}

.news-left a {
    text-decoration: none;
    color: black;
    display: flex !important;
    align-items: center;
}

nav {
    background-color: #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: rgb(232, 128, 2) 5px solid;
    padding: 0 25px;

}

.hero iframe {
    width: 100% !important;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;

}

nav ul li {
    float: right;
}

nav ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 25px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #111;
}

.home {
    padding: 20px;
    padding-top: 60px;
    text-align: center;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */

}

.home .content {
    flex: 1 1 300px;
    text-align: start;
    padding-right: 50px;
    flex-wrap: wrap;
    width: 50% !important;
}

.home h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.home h4 {
    font-size: 1.8em;
    margin: 5px 0;
}

.home p {
    font-size: 1.2em;
    line-height: 1.6;
    text-align: justify;
}

.news-container {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-align: center;
    margin: 20px;
    border: #464646 1px solid;
    display: flex;
    align-items: center;
}

.news-container .title {
    padding: 15px;
    background-color: red;
    color: white;
    width: 300px;
    height: 105px;
    display: flex;
    align-items: center;
    
}


.news-container .title h3 {
    margin: 0;

}

.news-container .news {
    flex: 1 1 300px;
    ;
    text-align: start;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */


}

.news-container .news p {
    padding: 0;
    margin: 0;
    text-align: start;


}

.articles-list,
.news-list,
.search,
.new-articles-list,
.article-content {
    border: #464646 1px solid;
    box-shadow: #333 2px 2px 5px;
    border-bottom: orange 5px solid;
    margin-bottom: 15px;
    padding: 10px;

}

.news-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.articles-container,
.news-list,
.news-item {
    display: flex;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */

}

.news-item {
    border-bottom: grey solid 3px;
}

.articles-left {
    flex: 2;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */

}

.articles-right {
    flex: 3;
}

.article-item {
    display: flex;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */

    gap: 15px;
    padding: 10px;
    align-items: center;
}



.search {
    padding: 10px;
}

footer {
    background-color: #333;

    border-top: rgb(232, 128, 2) 5px solid;
    padding: 60px 20px;
    text-align: justify;
    height: auto;
}

.footer a {
    text-decoration: none;
    color: rgb(232, 128, 2);

}

.bubbles-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.bubbles-header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */

    align-items: center;
    gap: 20px;
}

.bubble-row-footer {
    display: flex;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */

    gap: 30px;
    justify-content: center;
}

.bubble-footer {
    width: 40px;
    height: 40px;
    background: rgb(232, 128, 2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */

    justify-content: center;
    align-items: center;
    animation: wave 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bubble-header {
    width: 40px;
    height: 40px;
    background: rgb(232, 128, 2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */

    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.bubble-footer img {
    width: 20px;
    height: 20px;
}

.bubble-header img {
    width: 20px;
    height: 20px;
}

.bubble-footer:nth-child(1) {
    animation-delay: 0s;
}

.bubble-footer:nth-child(2) {
    animation-delay: 0.3s;
}

.bubble-footer:nth-child(3) {
    animation-delay: 0.6s;
}

.bubble-footer:nth-child(4) {
    animation-delay: 0.9s;
}

.bubble-footer:nth-child(5) {
    animation-delay: 1.2s;
}

.bubble-footer:nth-child(6) {
    animation-delay: 1.5s;
}

.bubble-footer:hover {
    transform: scale(1.3);
}

.footer h2 {
    font-weight: bold;
    font-size: 28px;
    color: rgb(232, 128, 2);
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.more-btn {
    margin-top: 10px;
    display: inline-block;
    padding: 5px 10px;
    background: orange;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    border: none;

}

.more-btn:hover {
    background: rgba(172, 95, 0, 1);
}

footer h3 {
    color: rgba(172, 95, 0, 1);
    font-weight: bold;

}

footer p {
    color: rgb(232, 128, 2);
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.header-bubbles {
    display: flex;
    flex-wrap: wrap;
    /* يسمح للعنصر بالانتقال لسطر جديد عند ضيق الشاشة */

    gap: 5px;
}

p {
    text-align: justify;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
    }

    .hero div,
    .hero .content {
        width: 100% !important;
    }

    .home .content {
        padding: 20px;
        text-align: center;
    }

    nav ul li {
        float: none;
    }

    .articles-left {
        width: 100% !important;
    }

    .news-item {
        margin: 0;
    }
}

iframe {
    max-width: 100%;
}

.cards-contact h6 {
    color: #0077B6;
    font-weight: bold;
}

.contact-section {
    background: linear-gradient(to bottom left, #ffffff, #ffcb93ff);
    padding: 60px 20px;
    text-align: justify;
    height: auto;
    padding-top: 100px;
}

.cards-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cards-contact a {
    text-decoration: none;
}

.card-contact {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    width: 250px;
    height: 150px;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-contact:hover {
    transform: rotateY(10deg) rotateX(10deg) scale(1.05) !important;
}

.card-contact h3 {
    margin-bottom: 10px;
    color: orangered;
    font-size: 20px;
}

.contact-section {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
}

.card-contact p {
    font-size: 12px;
    color: #265e7d;
    text-align: center;
}


@media (max-width: 768px) {
    .contact-section {
        height: auto;
        padding: 20px;
    }
}


.info {
    text-align: center;
}

.info h3 {
    color: #4f4d4d;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}


.videos-section {
    padding: 25px;
}

.videos-section .news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

}

.videos-section .news-item {
    flex: 1 1 calc(33.33% - 20px);
    /* 3 فيديوهات في السطر */
    box-sizing: border-box;
}

.videos-section .news-item iframe {
    width: 100%;
    height: 250px;
}

@media screen and (max-width: 768px) {
    .videos-section .news-item {
        flex: 1 1 100%;
        /* فيديو واحد في السطر على الموبايل */
    }
    .news-container .title {
    padding: 15px;
    background-color: red;
    color: white;
    width: 225px;
    height: 91.6px;
    display: flex;
    align-items: center;
}
.news-ticker{
        height: 91.6px;

}
.ticker-content .news-item{
    font-size: 20px !important;
}
.news-container {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-align: center;
    margin: 5px;
    border: #464646 1px solid;
    display: flex
;
    align-items: center;
}
}

.videos-section h3 {
    text-align: center;
    margin-top: 10px;
}