/* 
  Daily Jan Manthan - Stylesheet
  Author: Antigravity Code Assistant
  Description: Premium, Responsive, Mobile-First CSS with Glassmorphism and Neon Accents.
*/

:root {
    --bg-color: #0B0C10;
    --bg-secondary: #12141F;
    --text-primary: #FFFFFF;
    --text-secondary: #8B92A5;
    --accent-primary: #E63946;
    /* Neon Crimson */
    --accent-secondary: #45B7D1;
    /* Cyan Blue */
    --accent-gold: #FFB703;
    /* Warning/Breaking Gold */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-glow: rgba(230, 57, 70, 0.15);
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Ticker Bar */
.ticker-bar {
    background: #B00020;
    /* Deep warning red */
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-content {
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.ticker-title {
    background: #FFFFFF;
    color: #B00020;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 15px;
    /* Floating look */
    left: 50%;
    transform: translate(-50%, 0);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 1.5rem;
    background: rgba(18, 20, 31, 0.75);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-primary), #D00000);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--glass-glow), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(230, 57, 70, 0.1);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(230, 57, 70, 0.2);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 10px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    border-radius: 12px;
    width: 100%;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Common */
.section-header {
    text-align: left;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.2;
}

.section-description,
.section-subtitle {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-stack {
    position: relative;
}

.img-front {
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(69, 183, 209, 0.1), transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0 2.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-list i {
    color: var(--accent-secondary);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

/* Categories */
.categories {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-color);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cat-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent);
    border-radius: 16px 16px 0 0;
    opacity: 0.85;
    transition: var(--transition);
}

.category-card:hover .cat-card-img {
    transform: scale(1.05);
    opacity: 1;
}

.cat-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    z-index: 10;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cat-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cat-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Latest News */
.latest-news {
    padding: 6rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.featured-news-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.news-img {
    position: relative;
}

.news-img img {
    border-radius: 0;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.news-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
}

.news-tag.red {
    background: var(--accent-primary);
}

.news-tag.orange {
    background: var(--accent-gold);
}

.news-tag.blue {
    background: var(--accent-secondary);
}

.news-tag.green {
    background: #2A9D8F;
}

.news-content {
    padding: 2rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.featured-news-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin: 0.8rem 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
}

/* Mini News Feed */
.news-feed-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mini-news-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 0.8rem;
    border: 1px solid var(--glass-border);
    align-items: center;
}

.mini-img img {
    height: 100px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mini-content h4 {
    font-size: 1rem;
    margin: 0.3rem 0;
    line-height: 1.3;
}

/* Subscribe Section */
.subscribe {
    padding: 4rem 0;
}

.sub-glass-panel {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), rgba(69, 183, 209, 0.05));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.sub-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sub-text h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
}

.sub-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 4px;
}

.input-group input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    padding: 0.8rem;
    font-family: var(--font-main);
}

.input-group input:focus {
    outline: none;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
    color: #000;
    font-weight: 800;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact / GST Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.info-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    background: rgba(230, 57, 70, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 0.8rem;
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-main);
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: 1px solid var(--accent-primary);
    border-color: transparent;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Footer style */
.footer {
    background: var(--bg-color);
    padding: 5rem 0 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 400px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.social-icons a:hover {
    color: var(--accent-primary);
}

.footer-links h4 {
    margin-bottom: 1.2rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bar {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-img {
    animation: float 4s ease-in-out infinite;
}

/* Responsive (Mobile First Override) */
@media (max-width: 992px) {

    .hero-content,
    .about-grid,
    .sub-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        flex-direction: column;
        padding: 2rem;
        align-items: flex-start;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.open .bar:nth-child(1) {
        transform: rotate(45deg) translateY(6px);
    }

    .nav-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open .bar:nth-child(3) {
        transform: rotate(-45deg) translateY(-6px);
    }

    .hero {
        text-align: center;
        padding-top: 6rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}