@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');
body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}
a{
    text-decoration: none;
}
/* Custom CSS */
.btn {
    /* Remove the background color */
    background-color: transparent;
    /* Add a border */
    border: 1px solid #ccc;
    /* Add padding and margin for spacing */
    padding: 6px 12px;
    margin: 4px;
    /* Add cursor pointer on hover */
    cursor: pointer;
    /* Apply other styles as needed */
    color: #333;
    text-decoration: none;
    display: inline-block;
  }
  
  /* Style on hover */
  .btn:hover {
    /* Add a darker border on hover */
    border-color: #999;
    /* Apply other hover styles as needed */
  }
  
  /* Style on active/focus */
  .btn:active,
  .btn:focus {
    /* You can add different styles when the button is active or focused */
    /* For example, you might want to add an outline or change the border color */
    outline: none;
    /* Apply other active/focus styles as needed */
  }
.header{
  position: absolute;
  left:0;right:0;top:0;z-index:2222;
  height:450px;
}
.header-content img{
    height:194px;
margin-top:7px;
}
.header-content{
    display: flex;
    flex-flow: row;

    position: absolute;
    padding:15px;
  margin-top:22px;
  right:90px;

}
.header-text{
    display: flex;
    flex-flow: column; 
    justify-content: center;
    align-items: center;
    line-height: 1px;
    text-align: center;
    margin-right:5px;
    font-size:30px;
    color:#fff;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-right:5px;
}

.navbar a {
    display: block;
    padding: 5px;
    text-decoration: none;
    color: #fff;
    background-color: #337ab7;
    border-radius: 5px;
    border: 2px solid #fff; /* Add border styles */
    transition: transform 0.3s ease;
    margin-right: 4px;
}


.navbar a:hover {
    transform: scale(1.1);
    background-color: #135fa4;
    border-color: #fff; /* Change border color on hover */
}






/*----------------------------------------------------*/
.slider-items {
    position: relative;
/*   slider-height */
    height: 100vh;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    background-position: 0 0;
    background-repeat: no-repeat;
}
/* you can use background imgae in internal css */
.bg-img-1 {
    background-image: url(https://images.pexels.com/photos/248797/pexels-photo-248797.jpeg?auto=compress&cs=tinysrgb&h=350);
} 
.bg-img-2 {
    background-image: url(https://images.freeimages.com/images/small-previews/b8d/irish-landscape-1393571.jpg);
}
.bg-img-3 {
    background-image: url(https://images.pexels.com/photos/348097/pexels-photo-348097.jpeg?auto=compress&cs=tinysrgb&h=350);
}

/*slider-style*/
.active-slider {
    position: relative;
  top:95px;
 z-index:0;
 
}

.sigle-item {
    position: absolute;
    color: #fff;
    text-align: center;
    width: 100%;
    top: 50%;
    text-transform: uppercase;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}
over-lay-for-slider
.slider-items:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/* overlay-color */
    background: -webkit-gradient(linear, left top, left bottom, from(#777), to(#000));
    background: -webkit-linear-gradient(#777, #000);
    background: -o-linear-gradient(#777, #000);
    background: linear-gradient(#777, #000);
    opacity: .65
}
/*slider-reade-more-button*/
a.home-btn {
  border: 2px solid #fff;
  display: inline-block;
  padding: 10px 25px;
  margin-top: 30px;
  color: #fff;
  text-decoration: none;
  transition: linear .3s;
}
a.home-btn:hover, .owl-nav div:hover {
    background-color: #000;
}
/*owl-nav*/
.owl-nav div {
    border: 2px solid #fff;
    color: #fff;
    height: 40px;
    width: 40px;
    position: absolute;
    z-index: 9;
    top: 50%;
    margin-top: -20px;
    left: 10px;
    line-height: 40px;
    text-align: center;
    -webkit-transition: linear .3s;
    -o-transition: linear .3s;
    transition: linear .3s;
}
.owl-nav div.owl-next {
    left: auto;
    right: 10px;
 
}
/* optional */
.owl-nav h1 {
    font-weight: 900;
}
/*----------------------------------------------------*/
h1 {
    margin-bottom: 20px;
    text-align: center;
}
/* Position the navigation buttons */
.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);


    
}
.owl-prev>h1,
.owl-next>h1{
  background-color: rgba(0, 0, 0, 0.5);
    color: #fff;  border: none;    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}
/* Move the previous button to the left */
.owl-prev {
    left: 10px;
}

/* Move the next button to the right */
.owl-next {
    right: 10px;
}
.owl-carousel {
    position: relative;
    z-index: 0;
}
.container-main-title{
    width:28%; margin-top:70px;
}
/* Grid container */
.grid-container {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 20px;
}
#single-content{
    margin-top: 220px;
}
/* Big news */
.big-news {
    grid-column: 1 / 2;
    grid-row: 1 / span 2;
    position: relative;
    overflow: hidden;
}

.big-news img {
    width: 430px;
    height: 430px;
    transition: transform 0.3s ease;
}

.big-news:hover img {
    transform: scale(1.1); /* Increase image size on hover */
}

/* Small news container */
.small-news {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Small news item */
.small-news-item {
    border: 1px solid #ccc;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.small-news-item img {
    width: 100%;
    height: 215px;
    transition: transform 0.3s ease;
}

.small-news-item:hover img {
    transform: scale(1.1); /* Increase image size on hover */
}
.content{
  display: flex;
  /* flex-flow: row; */
}
.content>.grid-container{
  width:66%;
}
.ads{
  width:29%

}
.article-list {
    list-style: none;
    padding: 0;
    width:100%;
    max-height: 655px;
    overflow: auto;
}


.article-list li {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-list li:hover {
    transform: translateY(-5px);
}

.article-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

.article-list li:hover .article-title {
    color: #6C63FF; /* Change this to your desired hover color */
}

.article-date {
    margin: 0;
    font-size: 14px;
    color: #999;
}
/* Main title */
.main-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    opacity: 0; /* Start with 0 opacity */
    animation: fadeIn 1s forwards; /* Apply fade-in animation */
}
.title-line {
    border: 1px solid #6C63FF; /* Line color */
    width: 50%; /* Adjust line width */
    margin: 0 auto; /* Center the line horizontally */
    margin-bottom: 20px; /* Space below the line */
}

/* Fade-in animation for the main title */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px); /* Move title up slightly */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.search-container {
    display: flex;
    align-items: center;
    max-width: 100vw;
    margin: 10px auto;
}

.search-field {
    flex: 1;
    padding: 16.4px;
    border: none;
    border-radius: 5px 0 0 5px;
    background-color: #11314b; /* A slightly darker shade than the header background */
    color: #fff;
    font-size: 16px;
}

.search-field::placeholder {
    color: #fff;
    opacity: 0.7;  font-family: 'Cairo', sans-serif;
}

.search-button {
    padding: 10px 15px;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: #106BA3; /* A slightly lighter shade than the header background */
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;  font-family: 'Cairo', sans-serif;
}

.search-button:hover {
    background-color: #084C8D; /* Change to the original header background color on hover */
}
.main-content {
    /* max-width: 800px; */
    margin: 0 auto;
    padding: 20px;
}

.article {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
}

.article-title {
    font-size: 17px;
    margin-bottom: 10px;
    text-decoration: none;
}

.article-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.article-content {
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-keywords {
    margin-bottom: 15px;
}

.keyword {
    display: inline-block;
    background-color: #f2f2f2;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 5px;
}


.share-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.share-icon {
    font-size: 24px;
    color: #333; /* Adjust the color as needed */
    margin: 0 8px; /* Adjust the spacing between icons as needed */
}
.news-title {
    display: inline-block;
    background: white; /* Set the background color to white */
    color: black; /* Set the text color to black */
    position: relative;
    font-size: 15px;
  }
  
  /* Apply the effect on hover */
  .news-title:hover {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Add text shadow on hover */
  }
  .read-more {

    margin-top: 10px;
    background-color: #084C8D;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Cairo', sans-serif;
  }
  
  .read-more:hover {
    background-color: #1C7CD9;
  }
 
  .breadcrumb {
    background-color: #f2f2f2;
    padding: 10px;
}

.breadcrumb  ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb  ul li {
    display: inline;
}

.breadcrumb ul li:not(:last-child)::after {
    content: '>';
    margin: 0 8px;
}

.breadcrumb ul li a {
    text-decoration: none;
    color: #007BFF;
}

.breadcrumb ul li a:hover {
    text-decoration: underline;
}
.footer{
position: relative;

    
}
.footer .copyright {
    position: absolute;
    bottom: 20%; /* Align to the vertical center */
    left: 50%; /* Align to the horizontal center */
    transform: translate(-50%, -50%); /* Move the element back by half of its width and height */
    /* Add other styles for the copyright element */
    color:#fff;
}