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

body {
    font-family: Arial, sans-serif;
    background-color: black;
    color: #333;
}

/* Top Bar */
.top-bar {
    background-color: #0a073b;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.top-bar-left {
    display: flex;
    gap: 10px;
}

.top-bar-right a {
    color: #fff;
    margin-left: 10px;
    text-decoration: none;
}

/* Navbar */
.navbar {
    background-color: #111;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo a {
    color: #007bff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.navbar nav {
    flex: 1;
    text-align: center;
}

.navbar nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
}
.navbar nav a i {
    margin-left: 5px; 
    position: relative;
    top: -2px; 
}
/* Hover effect */
.navbar nav a:hover {
    color: #007bff; 
}

.navbar nav a:hover i {
    transform: rotate(180deg); 
    transition: transform 0.3s ease; 
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-right a {
    color: #fff;
    text-decoration: none;
}
.search-bar {
    position: relative;
}

.search-bar input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.nav-right .sign-in {
    background-color: #007bff;
    padding: 5px 15px;
    border-radius: 5px;
    color: #fff; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-right .sign-in:hover {
    background-color: #0056b3; 
    color: #e5e5e5; 
}
/* -------- */
.header1{
    display: none;
}


/* ------------------ */
.container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.main-post1 {
    position: relative; 
    background-color: #000;
    color: #fff;
    margin-right: 20px;
}

.main-post1 img {
    width: 100%;
    height: 400px;
    opacity: 0.7;
}

.content-overlay {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.6); 
    padding: 20px; 
}

.category-tag {
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.main-post1 h1 {
    font-size: 24px;
    margin: 10px 0;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* .main-post1 h1:hover {
    color: #007bff; 
    transform: scale(1.05); 
} */

.post-meta1 {
    font-size: 14px;
    margin-bottom: 10px;
}

.post-meta1 span {
    display: inline-flex;
    align-items: center;
}

.post-meta1 span i {
    margin-left: 5px; 
}


.category-tag {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* .category-tag:hover {
    background-color: #0056b3; 
    color: #e5e5e5; 
} */

/* ------------------------------------- */
.sidebar {
    flex: 1;
}

.sidebar-item {
    background-color: #423e3e;
    margin-bottom: 20px;
    padding: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    /* border-radius: 10px;  */
}
/* .sidebar-item:hover {
    background-color: #555050; 
    transform: translateY(-10px); /
} */

.sidebar-item h2 {
    font-size: 18px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

/* .sidebar-item:hover h2 {
    color: #e5e5e5; } */

.post-meta span i {
    margin-left: 5px;
    /* transition: transform 0.3s ease;  */
}

/* .post-meta span:hover i {
    transform: scale(1.2); 
} */



/* -------------------------------- */

.grid-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.grid-item {
    flex: 1;
    background-color: #111;
    margin-right: 10px;
    margin-bottom: 20px;
    padding: 15px;
    color: #e5e5e5;
    border-radius: 8px; 
    /* transition: transform 0.3s ease, box-shadow 0.3s ease;  */
}

.grid-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.grid-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px; 
}

/* .grid-item:hover {
    transform: scale(1.05); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
}

.grid-item:hover h3 {
    color: #007bff; 
} */

/* ---------------------top news-------------------- */

.top-news-section {
    padding: 20px;
    background-color: #343131;
    color: #fff;
}

.top-news-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.news-slider {
    display: flex;
    overflow-x: auto;
    justify-content: center; 
    scroll-snap-type: x mandatory; 
    padding: 10px 0; 
}

.news-card {
    display: grid;
    place-items: center; 
    background-color: #000;
    border-radius: 8px; 
    margin-right: 20px;
    overflow: hidden;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease;  */
    scroll-snap-align: start; 
    width: 250px; 
}

.news-card img {
    width: 100%;
    height: auto;
    display: block;
    /* transition: transform 0.3s ease;  */
}

/* .news-card:hover {
    transform: scale(1.03); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
} */

/* .news-card:hover img {
    transform: scale(1.05); 
} */

.news-content {
    padding: 15px;
    /* transition: background-color 0.3s ease;  */
}

/* .news-card:hover .news-content {
    background-color: #222; 
} */

.category-tag {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
    border-radius: 4px;
}

.news-date {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 10px;
}

.news-date i {
    margin-left: 8px;
} 

.news-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    height: 40px; 
    overflow: hidden;
    text-overflow: ellipsis;
    /* transition: color 0.3s ease;  */
}

/* .news-card:hover h3 {
    color: #007bff; } */

.read-more {
    font-size: 14px;
    color: #767676;
    text-decoration: none;
    /* transition: color 0.3s ease;  */
}
/* .read-more:hover {
    color: #a4aaaa; } */

    
.slider-controls {
    display: flex;
    justify-content: flex-end; 
    margin-top: 10px;
}

.slider-controls button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 16px;
}

/* .slider-controls button:hover {
    background-color: #0056b3;
} */
/* -------------whatsnew------------ */
.container {
    display: flex;
    padding: 20px;
}

.main-section {
    flex: 2;
    margin-right: 20px;
}

.main-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

/* --- */
.main-post {
    position: relative;
    margin-bottom: 30px;
}

.main-post video {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.5; 
}

.post-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}

.category-tag {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
}

.main-post h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 14px;
}


/* Secondary Posts */
.secondary-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.secondary-post {
    flex: 1 1 calc(50% - 20px);
    background-color: #111;
    color: #e5e5e5;
    padding: 15px;
    /* transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; */
 
}

.secondary-post img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.secondary-post h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

/* Hover effect */
/* .secondary-post:hover {
    transform: scale(1.05); 
    background-color: #222; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
} */


/* Sidebar */
.sidebar {
    flex: 1;
}

.get-in-touch {
    margin-bottom: 30px;
}

.get-in-touch h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
    text-decoration: underline;
}

.social-stats {
    display: flex;
    justify-content: space-between; 
}

.column {
    display: flex;
    flex-direction: column;
    gap: 5px; 
}

.social-stats .stat {
    display: flex;
    align-items: center;
    background-color: #111;
    color: #e5e5e5;
    padding: 10px;
    gap: 10px;
    border-radius: 5px;
}

/* ------------ */
.dont-miss {
    margin-bottom: 30px;
}

.dont-miss h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
    text-decoration: underline;
}

.miss-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: white;
    /* transition: background-color 0.3s ease, transform 0.3s ease;  */
    padding: 10px;
    border-radius: 8px; 
}

.miss-item img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
    /* transition: transform 0.3s ease;  */
}

.post-meta span {
    color: white;
}

.miss-item h3 {
    font-size: 14px;
    /* transition: color 0.3s ease;  */
}

/* .miss-item:hover {
    background-color: #444; 
    transform: scale(1.02); 
} */

/* .miss-item:hover img {
    transform: scale(1.1);
} */

/* .miss-item:hover h3 {
    color: #007bff; } */

.view-more {
    text-align: right;
}

.view-more a {
    color: #545556;
    text-decoration: none;
    font-size: 14px;
    /* transition: color 0.3s ease;  */
}

/* .view-more a:hover {
    color: #007bff; 
} */

/* ---------------- */

.ad-section {
    position: relative;
    margin-top: 20px;
    overflow: hidden; 
}

.ad-section img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease-in-out; 
}

.ad-overlay {
    position: absolute;
    bottom: 10px;
    left: 20px;
    color: #fff;
    transition: transform 0.6s ease-in-out; 
}

.ad-overlay h3 {
    font-size: 20px;
    margin-bottom: 5px;
    transition: transform 0.6s ease-in-out; 
}

.ad-overlay span {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    transition: transform 0.6s ease-in-out; 
}

.ad-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.6s ease-in-out; 
}

/* animantion */
/* .ad-section:hover img,
.ad-section:hover .ad-overlay,
.ad-section:hover .ad-overlay h3,
.ad-section:hover .ad-overlay span,
.ad-section:hover .ad-overlay .ad-btn {
    -webkit-animation: rotate-center 0.6s ease-in-out both;
            animation: rotate-center 0.6s ease-in-out both;
}

@-webkit-keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
} */

/* ---------stockd---------- */

.content {
    display: flex;
    gap: 40px;
}

.main-content {
    flex: 2; 
    color: white;
}




.sidebar {
    flex: 1.5;}

.sidebar h2{
    color: white;

}    

.main-content h2, .sidebar h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-decoration: underline;
   
}

.main-posts .post {
    display: flex;
    background-color: #111;
    color: #e5e5e5;
    margin-bottom: 20px;
    padding: 15px;
    gap: 15px;
    /* transition: background-color 0.3s ease, box-shadow 0.3s ease;  */
}

.post:hover {
    background-color: #8f8b8b; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
}

.post img {
    width: 180px;
    height: auto;
    /* transition: transform 0.3s ease;  */
}

/* .post:hover img {
    transform: scale(1.05); 
} */

.post-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    /* transition: color 0.3s ease;  */
}

/* .post:hover .post-content h3 {
    color: #fff; 
} */

.post-meta {
    font-size: 14px;
    margin-bottom: 10px;
    color: #fffbfb;
    /* transition: color 0.3s ease; */
}

/* .post:hover .post-meta {
    color: #ddd; 
} */


.view-all-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    text-align: center;
    /* transition: background-color 0.3s ease, transform 0.3s ease;  */
}

/* .view-all-btn:hover {
    background-color: #0056b3; 
    transform: scale(1.05); 
} */



.most-read .most-read-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 30px;
    /* transition: transform 0.3s ease, background-color 0.3s ease;  */
}


/* .most-read .most-read-item:hover {
    transform: translateY(-5px); 
    background-color: rgba(255, 255, 255, 0.1); 
} */

.most-read-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    /* transition: transform 0.3s ease;  */
}

/* .most-read-item img:hover {
    transform: scale(1.1);
} */

.most-read-content h3 {
    font-size: 14px;
    margin-bottom: 5px;
    color: white;
    /* transition: color 0.3s ease; */
}
.most-read-content i{
    margin-left: 10px;
}
/* .most-read-content h3:hover {
    color: #ffcc00; 
} */

.most-read-content span {
    font-size: 12px;
    color: #999;
    /* transition: color 0.3s ease;  */
}

/* .most-read-content span:hover {
    color: #ccc; 
} */

/* ---------------------------- */


/* Main Content Section */
.add1-content1 {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.add1-post-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.add1-post {
    background-color: #111;
    color: #e5e5e5;
    width: 23%;
    position: relative;
    /* transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;  */
}

.add1-post:hover {
    background-color: #3f3e3e; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
    /* transform: scale(1.02); */
 }

.add1-post img {
    width: 100%;
    height: auto;
    /* transition: transform 0.3s ease;  */
}

/* .add1-post:hover img {
    transform: scale(1.05); } */

.add1-post-info {
    padding: 10px;
}

.add1-category {
    background-color: #007bff;
    color: #fff;
    font-size: 14px;
    padding: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

.add1-post-meta {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
    /* transition: color 0.3s ease; / */
}

/* .add1-post:hover .add1-post-meta {
    color: #ddd; 
} */


/* Footer Section */
footer {
    background-color: #1b1b1b;
    color: #fff;
    padding: 50px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    margin-right: 20px;
}

.footer-col h2, .footer-col h3 {
    color: #007bff;
    margin-bottom: 15px;
    /* transition: color 0.3s ease;  */
}

/* .footer-col h2:hover, .footer-col h3:hover {
    color: #0056b3; 
} */

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #e5e5e5;
    /* transition: color 0.3s ease;  */
}

/* .footer-col ul li:hover {
    color: #007bff; 
} */

.social-icons a {
    color: #fff;
    margin-right: 10px;
    font-size: 20px;
    /* transition: color 0.3s ease;  */
}

/* .social-icons a:hover {
    color: #007bff; 
} */

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    margin-bottom: 10px;
    color: #999;
    /* transition: color 0.3s ease;  */
}

/* .footer-bottom p:hover {
    color: #e5e5e5; 
} */

.footer-nav a {
    color: #999;
    margin: 0 10px;
    text-decoration: none;
    /* transition: color 0.3s ease;  */
}

/* .footer-nav a:hover {
    color: #007bff; 
    text-decoration: underline;
} */

.footer-subscribe {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.footer-email {
    flex: 1;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    font-size: 14px;
    /* transition: background-color 0.3s ease, border-color 0.3s ease;  */
}

.footer-email::placeholder {
    color: #aaa;}

.footer-email:focus {
    background-color: #333; 
    border-color: #007bff; 
    outline: none; 
}

.footer-subscribe-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    /* transition: background-color 0.3s ease, transform 0.3s ease;  */
    margin-left: 10px;
}

/* .footer-subscribe-btn:hover {
    background-color: #0056b3; 
    transform: scale(1.05); 
} */

.footer-subscribe-btn:active {
    background-color: #004494;
    /* transform: scale(1);  */
}
