/* Body reset */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.main-header {
    /* Tumhara naya Gradient */
    background: linear-gradient(to right, #ff9933, #ffffff, #128807); 
    color: #000080; /* Navy Blue text white background par achha dikhega */
    text-align: center;
    padding: 30px 0;
    border-bottom: 2px solid #ddd;
}

.main-header h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 900;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8); /* Text ko thoda ubharne ke liye */
    letter-spacing: 1px;
}

.main-header p {
    margin: 5px 0 0 60px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Sticky Nav Bar */
.navbar {
    background-color: rgb(40, 45, 45); /* Tumhara background color */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    
    /* Sticky Properties */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.navbar a {
    color: white;
    text-decoration: none;
    
    padding: 15px 22px;
    font-size: 18px;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

/* Icons Style */
.navbar a i {
    margin-right: 8px; /* Icon aur text ke beech space */
    font-size: 16px;
}

/* Hover Effect - Black */
.navbar a:hover {
    background-color: black;
    color: white;
}

/* Active Page - Teal Green */
.navbar a.active {
    background-color: #008080; 
}

.main-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap; /* Mobile par boxes niche aa jayenge */
}

.box {
    flex: 1;
    min-width: 300px; /* Mobile par adjust hone ke liye */
    border: 1px solid #008080;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
}

.box-header {
    color: white;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 20px;
    height: 40px;
}

.box-item {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
}

.box-item a {
    text-decoration: none;
    color: #ce0000; /* Red links like original site */
    font-weight: bold;
    font-size: 15px;
    
}

.box-item a:hover {
    color: #000080;
    text-decoration: underline;
}

.view-more {
    margin-top: auto;
    display: block;
    text-align: right;
    padding: 8px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0 0 5px 5px;
}

/* Mobile ke liye: Ek ke niche ek box aayega */
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}


/* Layout Container */
.main-content {
    max-width: 1200px;
    margin: 20px auto;
}

/* Grid System */
/* .main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 barabar ke dappe */
    /* gap: 20px;
    margin-top: 20px;
} */ */

/* Individual Box */
/* .box {
    border: 1px solid #000;
    background: #fff;
    min-height: 250px;
    display: flex;
    flex-direction: column;
} */

/* .box-header {
    color: #fff;
    padding: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
} */

/* .box-item {
    padding: 8px 10px;
    border-bottom: 1px dotted #ccc;
    font-size: 14px;
} */

/* .box-item a {
    text-decoration: none;
    color: #0000ee; /* Traditional Blue link color 
} */

/* .box-item a:hover {
    color: #ff0000;
} */

/* .view-more {
    margin-top: auto;
    text-align: right;
    padding: 5px 10px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
} */





.marquee-container {
    background: #ffffff; /* Safed patti */
    border-bottom: 2px solid #ad2024; /* Niche red line */
    padding: 10px 0;
    width: 100%;
    overflow: hidden;
}

.marquee-container marquee {
    font-weight: bold;
    font-size: 18px;
    color: #ff0000; /* Text Red rahega */
}

.marquee-container a {
    text-decoration: none;
    color: #ff0000;
    margin: 0 15px;
}

.marquee-container a:hover {
    color: #000080; /* Hover par Navy Blue */
}



/* Trending Container */
.trending-container {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trending-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Individual Trending Box */
.t-box {
    position: relative; /* Time ko kone mein bithane ke liye */
    flex: 1;
    height: 75px;       /* Thodi height aur badhayi hai space ke liye */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px 15px 10px; /* Niche thodi extra padding time ke liye */
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    border-radius: 4px;
    overflow: hidden;
    text-align: left;
}

.t-box:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    
}

/* Trending Colors */
.t-red { background-color: #ff0000; }
.t-blue { background-color: #0000ff; }
.t-green { background-color: #008000; }
.t-orange { background-color: #ff8c00; }
.t-purple { background-color: #800080; }
.t-teal { background-color: #008080; }
.t-brown { background-color: #a52a2a; }
.t-darkblue { background-color: #00008b; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .trending-row {
        flex-direction: column;
    }
}


.t-time {
    position: absolute;
    right: 5px;
    bottom: 3px;
    font-size: 10px;
    font-weight: normal;
    background: rgba(0, 0, 0, 0.3); /* Halka transparent black */
    padding: 2px 6px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 3px;
}

.t-time i {
    font-size: 9px; /* Ghadi (clock) icon ka size */
}

