/* ========================================
   CSS VARIABLES & GLOBAL STYLES
   ======================================== */
:root {
    --primary-yellow: #ffcc00;
    --dark-bg: #0a0a0a;
    --light-black: #1a1a1a;
    --card-black: #151515;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.custom-navbar {
  background: #000;
  border-bottom: 2px solid #ffcc00;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
  font-family: 'Poppins', sans-serif;
  animation: fadeDown 1s ease forwards;
}

/* Logo */
.navbar-brand img {
     height: 60px;
  transition: transform 0.4s ease;
}
.navbar-brand:hover img {
  filter: brightness(1.3);
  transform: scale(1.05);
}

/* Links */
.nav-link {
  color: #f8f9fa !important;
  font-weight: 500;
  margin: 0 15px;
  border-radius: 6px;
  padding: 12px 14px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.nav-link:hover {
  background-color: #1a1a1a;
  color: #ffcc00 !important;
}

/* 🔥 Active Link Style */
.nav-link.active {
  background-color: #ffcc00 !important;
  color: #000 !important;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Slight hover glow even on active */
.nav-link.active:hover {
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.8);
}

/* Button */
.theme-btn {
  background-color: #ffcc00;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 12px 22px;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
  transition: all 0.3s ease;
}
.theme-btn:hover {
  background-color: #000000!important;
  /* transform: scale(1.05); */
  color:#ffcc00!important;
  /* box-shadow: 0 0 20px rgba(255, 204, 0, 0.6); */
  border: 1px solid #ffcc00!important;
  /* border-color: #ffcc00; */
}

/* Mobile Toggler */
.navbar-toggler {
  border-color: #ffcc00;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffcc00' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,204,0,0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Fade Animation */
@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}











/* ========================================
   HERO SECTION
   ======================================== */
        .blog-hero {
            min-height: 80vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            background:linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),  url('images/bloghero.jpg') no-repeat center center/cover;
            padding: 60px 0;
            background-attachment: fixed;
        }

        .blog-hero::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, var(--primary-yellow) 0%, transparent 70%);
            opacity: 0.06;
            top: -250px;
            right: -250px;
            animation: pulse 5s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.06; }
            50% { transform: scale(1.2); opacity: 0.1; }
        }

        .blog-hero .container {
            position: relative;
            z-index: 1;
        }

        .blog-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease;
        }

        .blog-subtitle {
            font-size: 1.2rem;
            color: #ccc;
            max-width: 600px;
            animation: fadeInUp 1s ease 0.2s both;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

/* ========================================
   SECTION TITLES
   ======================================== */
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-align: center;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--primary-yellow);
            margin: 1rem auto 0;
        }

        .section-subtitle {
            text-align: center;
            color: #999;
            font-size: 1rem;
            margin-bottom: 3rem;
        }

/* ========================================
   BLOG SECTION
   ======================================== */
        .blog-section {
            padding: 100px 0;
            background: var(--dark-bg);
        }

/* ========================================
   SEARCH & FILTER
   ======================================== */
        .search-filter {
            margin-bottom: 4rem;
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        .search-box {
            position: relative;
            flex: 1;
            min-width: 250px;
            max-width: 400px;
        }

        .search-box input {
            width: 100%;
            background: var(--card-black);
            border: 2px solid #333;
            color: #fff;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .search-box input:focus {
            outline: none;
            border-color: var(--primary-yellow);
            box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
        }

        .search-box input::placeholder {
            color: #666;
        }

        .category-filter {
            display: flex;
            gap: 0.8rem;
            flex-wrap: wrap;
        }

        .filter-tag {
            background: var(--card-black);
            border: 2px solid #333;
            color: #999;
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .filter-tag:hover,
        .filter-tag.active {
            background: var(--primary-yellow);
            color: #000;
            border-color: var(--primary-yellow);
        }

/* ========================================
   FEATURED BLOG
   ======================================== */
        .featured-blog {
            margin-bottom: 4rem;
        }

        .featured-blog-card {
            background: var(--card-black);
            border-radius: 20px;
            overflow: hidden;
            border: 2px solid var(--primary-yellow);
            animation: fadeInUp 0.8s ease;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        .featured-image {
            height: 400px;
            overflow: hidden;
        }

        .featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .featured-blog-card:hover .featured-image img {
            transform: scale(1.05);
        }

        .featured-content {
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .featured-badge {
            background: var(--primary-yellow);
            color: #000;
            padding: 0.4rem 1rem;
            display: inline-block;
            width: fit-content;
            font-weight: 700;
            font-size: 0.85rem;
            border-radius: 20px;
            margin-bottom: 1rem;
        }

        .featured-content h2 {
            font-size: 2rem;
            color: var(--primary-yellow);
            margin-bottom: 1rem;
        }

        .featured-content p {
            color: #ccc;
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .blog-meta {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            flex-wrap: wrap;
            margin-bottom: 1.5rem;
            color: #999;
            font-size: 0.95rem;
        }

        .blog-meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .read-more-btn {
            background: var(--primary-yellow);
            color: #000;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .read-more-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.5s ease, height 0.5s ease;
        }

        .read-more-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .read-more-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 204, 0, 0.3);
        }

/* ========================================
   BLOG GRID
   ======================================== */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .blog-card {
            background: var(--card-black);
            border-radius: 15px;
            overflow: hidden;
            border: 2px solid #333;
            transition: all 0.5s ease;
            animation: fadeInUp 0.8s ease both;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .blog-card:nth-child(1) { animation-delay: 0.1s; }
        .blog-card:nth-child(2) { animation-delay: 0.2s; }
        .blog-card:nth-child(3) { animation-delay: 0.3s; }
        .blog-card:nth-child(4) { animation-delay: 0.4s; }
        .blog-card:nth-child(5) { animation-delay: 0.5s; }
        .blog-card:nth-child(6) { animation-delay: 0.6s; }

        .blog-card:hover {
            border-color: var(--primary-yellow);
            transform: translateY(-8px);
            box-shadow: 0 15px 50px rgba(255, 204, 0, 0.15);
        }

        .blog-card-image {
width: 100%;
            height: 200px;
            overflow: hidden;
            background: linear-gradient(135deg, var(--light-black), var(--card-black));
        }

        .blog-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .blog-card:hover .blog-card-image img {
            transform: scale(1.1);
        }

        .blog-card-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .blog-category {
            background: var(--light-black);
            color: var(--primary-yellow);
            padding: 0.3rem 0.8rem;
            display: inline-block;
            width: fit-content;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .blog-card-title {
            font-size: 1.3rem;
            color: var(--primary-yellow);
            margin-bottom: 0.8rem;
            line-height: 1.4;
        }

        .blog-card-description {
            color: #ccc;
            line-height: 1.6;
            margin-bottom: 1rem;
            flex-grow: 1;
            font-size: 0.95rem;
        }

        .blog-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid #333;
            margin-top: auto;
            color: #999;
            font-size: 0.85rem;
        }

        .blog-author {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .author-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-yellow), #ff9900);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            color: #000;
            flex-shrink: 0;
        }

/* ========================================
   PAGINATION
   ======================================== */
        .pagination-section {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 3rem;
        }

        .pagination-btn {
            background: var(--card-black);
            border: 2px solid #333;
            color: #fff;
            padding: 0.6rem 1rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .pagination-btn:hover,
        .pagination-btn.active {
            background: var(--primary-yellow);
            color: #000;
            border-color: var(--primary-yellow);
        }

/* ========================================
   CTA SECTION
   ======================================== */
        .blog-cta {
            padding: 80px 0;
            background: linear-gradient(135deg, #000 0%, var(--light-black) 100%);
            text-align: center;
        }

        .cta-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .cta-subtitle {
            color: #ccc;
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }

        .subscribe-box {
            max-width: 500px;
            margin: 0 auto;
            display: flex;
            gap: 1rem;
            background: var(--card-black);
            padding: 1rem;
            border-radius: 50px;
            border: 2px solid #333;
        }

        .subscribe-box input {
            flex: 1;
            background: transparent;
            border: none;
            color: #fff;
            padding: 0 1rem;
            font-size: 1rem;
        }

        .subscribe-box input::placeholder {
            color: #666;
        }

        .subscribe-box input:focus {
            outline: none;
        }

        .subscribe-btn {
            background: var(--primary-yellow);
            border: none;
            color: #000;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .subscribe-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(255, 204, 0, 0.3);
        }

/* ========================================
   FOOTER
   ======================================== */
        .footer {
            background: var(--card-black);
            padding: 60px 0 30px;
            border-top: 1px solid #333;
        }

        .footer-col h5 {
            color: var(--primary-yellow);
            margin-bottom: 1.5rem;
            font-weight: 700;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 0.8rem;
        }

        .footer-col ul li a {
            color: #999;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-col ul li a:hover {
            color: var(--primary-yellow);
        }

        .footer-social {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            background: var(--light-black);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-yellow);
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .footer-social a:hover {
            background: var(--primary-yellow);
            color: #000;
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid #333;
            margin-top: 3rem;
            padding-top: 2rem;
            text-align: center;
            color: #999;
        }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
        @media (max-width: 768px) {
            .blog-title {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .featured-blog-card {
                grid-template-columns: 1fr;
            }

            .featured-image {
                height: 250px;
            }

            .featured-content {
                padding: 2rem;
            }

            .blog-grid {
                grid-template-columns: 1fr;
            }

            .search-filter {
                flex-direction: column;
            }

            .search-box {
                max-width: 100%;
            }

            .subscribe-box {
                flex-direction: column;
            }
        }










/* ========================================
   FOOTER SECTION
   ======================================== */
.footer-section {
    background-color: #000!important;
    color: #fff!important;
    padding: 60px 0 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-section h5 {
    color: #ffcc00!important;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    color: #ccc!important;
    line-height: 1.8;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #ccc!important;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: #ffcc00!important;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #111!important;
    color: #ffcc00!important;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 8px;
    transition: 0.3s;
}

.social-icons a:hover {
    background-color: #ffcc00!important;
    color: #000!important;
}

.footer-divider {
    border-color: #333!important;
    margin: 30px 0;
}

.footer-section p.mb-0 {
    color: #ccc!important;
    font-size: 14px;
}

@media (max-width: 991px) {
    .footer-section .social-icons a {
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .footer-section {
        text-align: center;
    }
    .footer-section .footer-about,
    .footer-section .footer-links {
        margin-bottom: 20px;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Common button base styles */
.search-btn, .menu-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

/* Search Button */
.search-btn {
    background: #ffcc00;
    color: #0a0a0a;
}
.search-btn:hover {
    transform: scale(1.05);
}

/* Menu Button */
.menu-btn {
    background: #151515;
    border: 1px solid #333;
    color: #fff;
}
.menu-btn:hover {
    background: hsl(0, 0%, 15%);
}

/* Get In Touch Button */
.cta-btn {
    display: none;
    background: #ffcc00;
    color: #0a0a0a;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .cta-btn {
        display: block;
    }
}

.cta-btn:hover {
    background: #e6b800;
}