/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* 💪 Stronger Header */
.blog-header {
    background: #1c1c1e;
    padding: 30px 20px;
    text-align: center;
    /* Deep purple line */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-glow h1 {
    font-size: 2.5rem;
    color: #00e5ff;
    /* Neon cyan */
    text-shadow: 2px 2px 6px rgba(0, 229, 255, 0.5);
    margin-bottom: 10px;
}

.header-tagline {
    color: #fefefe;
    font-size: 1.2rem;
    opacity: 0.85;
}


/* 🟠 Hero Section */
.blog-hero.html-theme {
    background: #1c1c1e;
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-hero-inner {
    max-width: 1000px;
    margin: auto;
}

.blog-hero-text h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.blog-hero-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

.blog-hero-img {
    margin-top: 30px;
    max-width: 600px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.blog-hero-img:hover {
    transform: scale(1.02);
}

/* Updated Manali Mam name */
.gold-name {
    color: #39ff14;
    /* Soft pink */
    font-weight: bold;
    /* text-shadow: 0 0 6px rgba(0, 229, 255, 0.6); */
    /* Glow effect */
    animation: neonGlow 2s infinite;
}

@media (max-width: 768px) {
    .header-glow h1 {
        font-size: 2rem;
    }

    .blog-hero-text h2 {
        font-size: 1.6rem;
    }

    .blog-hero-text p {
        font-size: 1rem;
    }
}

@keyframes neonGlow {
    0% {
        text-shadow: 0 0 5px #39ff14;
    }

    50% {
        text-shadow: 0 0 15px #39ff14;
    }

    100% {
        text-shadow: 0 0 5px #39ff14;
    }
}



/* Blog Page Container */
#blog-container {
    width: 85%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* Blog Card Design */
/* Blog Card Design */
.blog-post {
    padding: 25px;
    border-radius: 12px;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    /* Starts hidden for animation */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background-color 0.3s ease-in-out;
}

/* Blog Card Hover Effect */
.blog-post:hover {
    transform: translateY(-7px);
    box-shadow: 0px 4px 30px rgba(0, 123, 255, 0.3);
    /* Soft neon blue */
    /* Soft neon pink */
    /* Soft neon orange */
    /* Soft neon green */
    background-color: rgba(255, 255, 255, 0.9);
    /* Soft Brightening on Hover */
}

/* Blog Image Styling */
.blog-post img {
    width: 70%;
    min-height: auto;
    /* Ensures all images have a base height */
    max-height: 180px;
    /* Prevents excessive stretching */
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
    border-radius: 8px;
}

/* Blog Title */
.blog-post h2 {
    font-size: 22px;
    /* margin: 15px 0; */
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

/* Blog Author & Date */
.blog-post p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

.blog-post a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background: linear-gradient(to right, #007bff, #0056b3);
    /* Gradient effect */
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Read More Hover Effect */
.blog-post a:hover {
    background: linear-gradient(to right, #0056b3, #003f7f);
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

/* Responsive Grid Behavior */
@media (max-width: 768px) {
    #blog-container {
        grid-template-columns: 1fr;
    }

    .blog-post:active {
        box-shadow: 0px 4px 30px rgba(0, 123, 255, 0.4);
        /* Slightly stronger glow on tap */
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

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

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

/* 🔹 Image Placeholder (Skeleton Loader) */
.lazy-load {
    width: 70%;
    min-height: auto;
    /* Ensures all images have a base height */
    max-height: 180px;
    background: #e0e0e0;
    /* Light gray background */
    border-radius: 8px;
    display: block;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

/* 🔥 When Image Loads, Show Smooth Transition */
.lazy-load.loaded {
    opacity: 1;
}

/* 📱 Mobile View Adjustments */
@media (max-width: 768px) {
    .lazy-load {
        min-height: 150px;
    }
}


/* 🔥 Exclusive Badge (Now with Glow!) */
.exclusive-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff5733, #ffbd33);
    color: white;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 5px;
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(255, 87, 51, 0.5);
    animation: glowExclusive 1.5s infinite alternate;
}

/* 🔥 Glow Animation for Exclusive Blogs */
@keyframes glowExclusive {
    from {
        box-shadow: 0 0 5px rgba(255, 87, 51, 0.7);
    }

    to {
        box-shadow: 0 0 15px rgba(255, 189, 51, 0.9);
    }
}

/* 🔥 Exclusive Blog Styling */
/* .exclusive-blog {
    background: linear-gradient(to bottom, #fffaf3, #fff3e0);
    border: 1px solid green;
    box-shadow: 0 4px 15px rgba(255, 87, 51, 0.2);
    transition: transform 0.3s ease-in-out;
} */

/* 🔥 Hover Effect for Exclusive Blogs */
/* .exclusive-blog:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 87, 51, 0.3);
} */

/* 🔥 Highlighted Fake Blog Text */
.exclusive-blog p {
    font-weight: normal;
    color: black;
    /* Dark Orange */
}

/* 🔥 Exclusive Blog Teaser Text */
.exclusive-text {
    font-size: 16px;
    color: #cc5500;
    /* Dark Orange */
    font-weight: normal;
    background: whitesmoke;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.2);
}

/* 🔥 Read More Button - Now Stylish & Deadly */
.read-more {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #007bff, #0056b3);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: a;
}

/* 🔥 Hover Effect - Slight Pop & Neon Glow */
.read-more:hover {
    background: linear-gradient(45deg, #0056b3, #00408f);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* 🔥 Mobile Optimization */
@media (max-width: 768px) {
    .read-more {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
}