:root {
    --primary-color: #dc2626;
    --primary-gradient: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --secondary-color: #991b1b;
    --accent-color: #ef4444;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    
    /* Modern Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --shadow-3d: 0 15px 35px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.02);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Segoe UI', 'Roboto', Helvetica, Arial, sans-serif;
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(220, 38, 38, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(220, 38, 38, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(220, 38, 38, 0.03) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(220, 38, 38, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Progress Bar - DISABLED */
.scroll-progress {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 3D & Modern Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.hover-3d {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hover-3d:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-3d);
}

/* Header */
header {
    position: relative;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.top-bar {
    background: #1a1a1a;
    color: #ccc;
    padding: 8px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #ccc;
    margin-left: 15px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--white);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.main-header {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

header .main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    perspective: 500px;
}

.logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar {
    background: #f1f3f5;
    border-radius: 50px;
    padding: 8px 20px;
    border: 1px solid transparent;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.search-bar form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-bar:focus-within {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 5px;
    outline: none;
    font-size: 0.95rem;
    width: 200px;
    color: var(--text-color);
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.search-bar button:hover {
    transform: scale(1.1);
}

.nav-icon-btn {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f4f6;
    border: none;
    outline: none;
}

.nav-icon-btn:hover {
    color: var(--primary-color);
    background: #fee2e2;
}

.notification-btn {
    /* Inherits from nav-icon-btn */
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.625rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    border: 2px solid var(--white);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Navigation - Improved Modern Design */
.navbar {
    background: var(--white);
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--primary-color);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 70px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.navbar-logo:hover img {
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    position: relative;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a i {
    font-size: 1rem;
    opacity: 0.8;
}

.nav-links a:hover {
    background: rgba(220, 38, 38, 0.08);
    color: var(--primary-color);
}

.nav-links a.active {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.nav-links a.active i {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px 3px 0 0;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a.active::after {
    display: none;
}

.menu-toggle {
    display: none;
    position: absolute;
    right: 20px;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 10px;
    color: var(--text-color);
    background: #f3f4f6;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-color);
}
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: var(--primary-color);
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border: 2px solid var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    color: var(--white);
    background: transparent;
    border: none;
}

/* News Ticker */
.news-ticker-wrap {
    background: #1f2937;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 900;
}

.ticker-title {
    background: var(--primary-gradient);
    color: #fff;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    z-index: 10;
    letter-spacing: 0.5px;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-move {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 25px;
    font-size: 0.875rem;
}

.ticker-item::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-left: 25px;
    vertical-align: middle;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Hero Section */
.hero {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.featured-post {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.featured-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-post:hover img {
    transform: scale(1.08);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    padding: 40px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    pointer-events: none;
    transform: translateZ(20px); /* 3D pop */
}

.featured-content {
    pointer-events: auto;
    transform: translateY(0);
    transition: transform 0.4s;
}

.featured-post:hover .featured-content {
    transform: translateY(-5px);
}

.tag {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(230, 0, 0, 0.3);
}

.featured-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.featured-meta {
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sidebar / Trending */
.sidebar-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.section-title {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-bottom: 30px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-left: 20px;
    font-weight: 700;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 30px;
    background: var(--primary-gradient);
    border-radius: 4px;
}

.trending-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    border-radius: 8px;
    padding: 10px;
}

.trending-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trending-item:hover {
    background: #fff5f5;
    transform: translateX(5px) scale(1.02);
    box-shadow: var(--shadow-sm);
}

.trending-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.trending-info {
    flex: 1;
}

.trending-info h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 600;
}

.trending-info h4 a:hover {
    color: var(--primary-color);
}

/* Latest Posts */
.latest-posts {
    padding: 40px 0 80px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateZ(0);
}

.post-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-3d);
}

.post-thumb {
    height: 240px;
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    transition: clip-path 0.3s;
}

.post-card:hover .post-thumb {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-thumb img {
    transform: scale(1.15);
}

.post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-cat {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.post-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: var(--font-heading);
    font-weight: 700;
}

.post-title a {
    background: linear-gradient(to right, var(--primary-color), var(--primary-color)) 0% 100% / 0% 2px no-repeat;
    transition: background-size 0.3s;
    padding-bottom: 2px;
}

.post-title a:hover {
    background-size: 100% 2px;
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.post-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
}

/* Jobs Section - Modern 3D Cards */
.jobs-section {
    background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.job-card {
    border: none;
    padding: 30px;
    border-radius: 16px;
    background: var(--white);
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transition: height 0.3s ease;
    border-radius: 16px 16px 0 0;
    z-index: -1;
}

.job-card:hover {
    /* transform is handled by JS for 3D tilt */
    box-shadow: var(--shadow-3d);
}

.job-card:hover::before {
    height: 100%;
    border-radius: 16px;
    opacity: 0.03;
}

.job-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-color);
}

.job-details {
    margin-bottom: 25px;
}

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 10px;
}

.job-detail-item i {
    color: var(--primary-color);
    background: rgba(230, 0, 0, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.apply-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.apply-btn:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #111;
    color: #e0e0e0;
    padding: 80px 0 30px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--white);
    font-family: var(--font-heading);
    display: inline-block;
    position: relative;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 10px;
}

.footer-links a:hover::before {
    transform: scale(1);
}

.subscribe-form {
    display: flex;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.subscribe-form input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    background: #222;
    color: #fff;
    font-size: 0.95rem;
}

.subscribe-form button {
    padding: 15px 25px;
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: 0.3s;
}

.subscribe-form button:hover {
    filter: brightness(1.2);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Animations - SCROLL ANIMATIONS DISABLED */

/* Responsive & Mobile Optimizations */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .featured-post {
        height: 400px;
    }
    .sidebar-card {
        margin-top: 20px;
    }
}

@media (max-width: 992px) {
    .nav-links a {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 6px 0;
        font-size: 0.75rem;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .navbar-logo img {
        height: 40px;
    }
    
    .nav-icon-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: block;
    }

    .navbar .container {
        justify-content: space-between;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        padding: 12px;
        gap: 6px;
        border-top: 1px solid #e5e7eb;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: 0.9rem;
        justify-content: flex-start;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(220, 38, 38, 0.08);
        transform: translateX(5px);
    }

    .nav-links a.active {
        background: var(--primary-gradient);
        color: var(--white);
    }
    
    .featured-title {
        font-size: 1.8rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .ticker-title {
        font-size: 0.75rem;
        padding: 0 12px;
    }
    
    .ticker-item {
        font-size: 0.8rem;
        padding: 0 20px;
    }
}

/* ============================================
   AGNIVEER SECTION STYLES
   ============================================ */

/* Featured Poster */
.agniveer-featured {
    position: relative;
    overflow: hidden;
}

.featured-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Video Preview Wrapper */
.video-preview-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    background: #000;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-preview-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.play-preview-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 25px 40px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.play-preview-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.5);
}

.play-preview-btn i {
    font-size: 2.5rem;
}

.live-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: glow 2s ease-in-out infinite;
}

.pulse-dot {
    font-size: 0.5rem;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(220, 38, 38, 0.5); }
    50% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.8); }
}

.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    color: var(--white);
    font-weight: 700;
    margin-top: 20px;
    transition: var(--transition);
}

.watch-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Agniveer Details Section */
.agniveer-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.agniveer-header {
    text-align: center;
    margin-bottom: 60px;
}

.badge-new {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.section-title-large {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    font-weight: 500;
}

.agniveer-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.video-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-info {
    padding: 30px;
}

.video-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-info h3 i {
    color: var(--primary-color);
}

.video-info p {
    color: var(--light-text);
    line-height: 1.8;
}

.agniveer-details-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-color);
    position: sticky;
    top: 100px;
}

.agniveer-details-card h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.agniveer-details-card h3 i {
    color: var(--primary-color);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-of-type {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-label i {
    color: var(--primary-color);
    width: 20px;
}

.detail-value {
    font-weight: 700;
    color: var(--primary-color);
}

.training-highlights {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(185, 28, 28, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.training-highlights h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.training-highlights h4 i {
    color: var(--primary-color);
}

.training-highlights ul {
    list-style: none;
}

.training-highlights li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    font-weight: 500;
}

.training-highlights li i {
    color: #28a745;
    font-size: 1.1rem;
}

.apply-btn-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.apply-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.4);
}

/* Modern Job Cards */
.modern-job-card {
    position: relative;
    padding-top: 80px;
}

.job-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.job-detail-item.last-date {
    color: #e63946;
    font-weight: 700;
}

/* Responsive Agniveer Section */
@media (max-width: 992px) {
    .agniveer-content-grid {
        grid-template-columns: 1fr;
    }
    
    .agniveer-details-card {
        position: static;
    }
    
    .section-title-large {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .section-title-large {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .agniveer-details-card {
        padding: 25px;
    }
    
    .video-info {
        padding: 20px;
    }
}

/* Video Password Protection Styles */
.countdown-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    z-index: 10;
}

.countdown-content {
    text-align: center;
    color: #fff;
}

.countdown-timer {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 5px;
}

.countdown-content p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.password-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.password-modal {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-header {
    margin-bottom: 20px;
}

.password-header i {
    font-size: 3rem;
    color: #dc2626;
    margin-bottom: 15px;
}

.password-header h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 0;
}

.password-modal p {
    color: #6b7280;
    margin-bottom: 25px;
}

.pin-input {
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    letter-spacing: 8px;
    font-weight: 700;
    transition: var(--transition);
}

.pin-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.pin-input.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.password-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.verify-btn, .cancel-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.verify-btn {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.cancel-btn {
    background: #f3f4f6;
    color: #6b7280;
}

.cancel-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.pin-hint {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pin-hint i {
    color: #dc2626;
}


/* Sticky Navbar Enhancement */
.navbar.sticky {
    /* Position is handled by sticky on .navbar */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Navbar Hover Effects */
.nav-links a {
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-links a:hover::before {
    left: 100%;
}

/* Active Link Indicator */
.nav-links a.active {
    position: relative;
}

.nav-links a.active::before {
    display: none;
}

/* Badge for New Items */
.nav-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* Dropdown Menu Support (for future use) */
.nav-links li:hover .dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 200px;
    padding: 8px;
    margin-top: 8px;
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    border-radius: 6px;
}

.dropdown a:hover {
    background: rgba(220, 38, 38, 0.08);
    color: var(--primary-color);
}
