/* ==========================================
   TEMPORARY NOTICE MARQUEE (NAVBAR BELOW)
   ========================================== */
.temp-notice-bar {
    background-color: #1e3a8a; /* Gramsethu Blue */
    color: #ffffff; /* White text */
    padding: 8px 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    border-bottom: 2px solid #0ea5e9;
}
.temp-notice-text {
    display: inline-block;
    padding-left: 100%;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: simple-marquee 25s linear infinite;
}
.temp-notice-bar:hover .temp-notice-text {
    animation-play-state: paused;
}
@keyframes simple-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==========================================
   GRAMSETHU PREMIUM HERO SECTION (ORIGINAL)
   ========================================== */

.hero-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Background Decorative Element (Optional) */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(30, 58, 138, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Desktop: Text Left, Trending Right */
    gap: 50px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* --- Left Side: Content --- */
.hero-text {
    padding-top: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #1e3a8a;
    display: block;
}

.hero-text p {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

/* Button Styling (if not in main.css) */
.btn-primary {
    background: #1e3a8a;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline {
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.btn-outline:hover { background: #f1f5f9; transform: translateY(-2px); }

/* --- Hero Visual Badge --- */
.hero-visual {
    margin-top: 20px;
}

.engineer-badge {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 15px 30px;
    font-weight: 900;
    font-size: 1.8rem;
    border-radius: 0 20px 0 20px;
    transform: rotate(-3deg);
    box-shadow: 10px 10px 0px #0ea5e9;
    letter-spacing: 2px;
}

/* --- Right Side: Trending Section --- */
.hero-trending-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.trending-header {
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.trending-header span {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trending-item {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px;
}

.trending-item:hover {
    transform: translateX(8px);
}

.t-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.t-cat {
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e3a8a;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.t-views {
    font-size: 0.8rem;
    color: #94a3b8;
}

.t-title {
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.t-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    display: block;
}

/* --- RESPONSIVE FIXES --- */

@media (max-width: 1024px) {
    .hero-text h1 { font-size: 2.8rem; }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Stack elements vertically */
        text-align: center;
        gap: 40px;
    }
    
    .hero-text p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; }
    
    .hero-trending-section {
        max-width: 500px;
        margin: 0 auto;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .hero-section { padding: 40px 15px; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; }
    .engineer-badge { font-size: 1.4rem; }
}
