 :root {
            --primary: #0047AB;
            --primary-dark: #001E6C;
            --primary-light: #4D89FF;
            --accent: #FFD700;
            --health: #4CAF50;
            --travel: #FF9800;
            --tech: #2196F3;
            --dark: #212529;
            --light: #f8f9fa;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--light);
            color: var(--dark);
            overflow-x: hidden;
        }

       
        /* Hero Section */
        .hero-section {
            position: relative;
            height: 500px;
            margin-top: 2.9%;
            background: linear-gradient(180deg, #004aad, var(--primary) 100%), url('https://via.placeholder.com/1920x1080?text=KMD+College+Blog') center/cover no-repeat;
            display: flex;
            align-items: center;
            color: white;
            margin-bottom: 4rem;
            overflow: hidden;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .hero-subtitle {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            max-width: 600px;
        }

        .hero-search {
            max-width: 500px;
            position: relative;
        }

        
        .hero-shape {
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 80px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
            background-size: cover;
            background-position: center;
        }

        /* Category Pills */
        .category-pills {
            margin: 2rem 0;
        }

        .category-pill {
            padding: 0.6rem 1.8rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            margin: 0.25rem;
            text-decoration: none;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            display: inline-flex;
            align-items: center;
        }

        .category-pill i {
            margin-right: 8px;
        }

        .category-pill.all {
            background-color: var(--primary);
            color: white;
        }

        .category-pill.green {
            background-color: var(--health);
            color: white;
        }

        .category-pill:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        /* Featured Post */
        .featured-post {
            margin-bottom: 4rem;
        }

        .featured-post-card {
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            background-color: white;
        }

        .featured-post-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .featured-post-img {
            height: 400px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .featured-post-card:hover .featured-post-img {
            transform: scale(1.05);
        }

        .featured-post-content {
            padding: 2rem;
        }

        .featured-post-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .featured-post-excerpt {
            color: #555;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .featured-post-meta {
            display: flex;
            align-items: center;
            color: #777;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .featured-post-meta i {
            margin-right: 5px;
            color: var(--primary);
        }

        .featured-post-meta span {
            margin-right: 15px;
            display: flex;
            align-items: center;
        }

        .featured-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background-color: var(--light);
            opacity: 0.8;
            color: var(--primary);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: 600;
            z-index: 10;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
        }

        .featured-badge i {
            margin-right: 5px;
        }

        /* Post Cards */
        .post-card {
            border: none;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            height: 100%;
            background-color: white;
        }

        .post-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .post-card-img-container {
            position: relative;
            overflow: hidden;
        }

        .post-card-img {
            height: 200px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .post-card:hover .post-card-img {
            transform: scale(1.05);
        }

        .category-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            padding: 0.3rem 0.8rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            color: white;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .badge-green {
            background-color: var(--health);
        }

        .post-card-body {
            padding: 1.5rem;
        }

        .post-card-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.75rem;
        }

        .post-card-text {
            color: #555;
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .post-card-meta {
            display: flex;
            align-items: center;
            color: #777;
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }

        .post-card-meta i {
            margin-right: 5px;
            color: var(--primary);
        }

        .post-card-meta span {
            margin-right: 15px;
            display: flex;
            align-items: center;
        }

        .btn-read-more {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 0.5rem 1.5rem;
            font-weight: 500;
            transition: all 0.3s ease;
            transform: translateY(0);
        }

        .btn-read-more:hover {
            background-color: var(--primary-dark);
            color: var(--light);
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 8px 24px rgba(0, 71, 171, 0.15);
            border: 1px solid var(--primary-light);
        }

        /* Section Titles */
        .section-title-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .section-title {
            position: relative;
            font-weight: 700;
            color: var(--primary);
            display: inline-block;
            margin-bottom: 0;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent);
            border-radius: 3px;
        }

        .view-all {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .view-all i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .view-all:hover {
            color: var(--primary-dark);
        }

        .view-all:hover i {
            transform: translateX(3px);
        }


        /* All Posts Section */
        .all-posts {
            margin-bottom: 4rem;
        }


        /* Animation Classes */
        .fade-up {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .fade-up.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Hover Effects */
        .hover-zoom {
            transition: transform 0.3s ease;
        }

        .hover-zoom:hover {
            transform: scale(1.05);
        }

        /* Laravel Integration Notes */
        .laravel-notes {
            background-color: #f8fafc;
            border-left: 4px solid var(--primary);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .laravel-notes h4 {
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .laravel-notes code {
            background-color: #e9ecef;
            padding: 0.2rem 0.4rem;
            border-radius: 4px;
            font-size: 0.9rem;
        }

        /* Pagination */
        .pagination .page-item.active .page-link {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
            color: var(--light);
        }

        .pagination .page-link {
            color: var(--primary);
        }

        .pagination .page-link:hover {
            color: var(--primary-light);
        }
        /* Footer */
        .footer {
            background-color: #004aad;
            color: white;
        }

        .footer a {
            color: white;
            text-decoration: none;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 767.98px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .featured-post-img {
                height: 250px;
            }

            .featured-post-title {
                font-size: 1.5rem;
            }

            .swiper-button-next, .swiper-button-prev {
                display: none;
            }
        }