@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');
:root {
            --primary-color: #3498db;
            --secondary-color: #2c3e50;
            --accent-color: #e74c3c;
            --text-color: #333;
            --bg-color: #f4f4f4;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Bricolage Grotesque", sans-serif;
        }

        body {
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--bg-color);
        }
        /*Css for blog*/
#blog {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #eef2f3, #d3cce3);
    overflow: hidden;
}

.blog {
    font-size: 2.8rem;
    color: #222;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in-out;
    font-weight: bold;
}

.blog-container {
    display: flex;
    margin: 5rem auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-in-out forwards 0.5s;
}

.blog-post {
    width: 25%;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 360px;
    text-align: left;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.8s ease-in-out forwards;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.4s ease-in-out;
}

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

.blog-post:hover {
    transform: scale(1.05);
    transform: translateY(-8px);
    color: #3291d1;
    background-color: #cee2ee;
}

.blog-post h2 {
    font-size: 1.4rem;
    color: #444;
    margin: 15px 0;
}

.blog-post p {
    color: #666;
    font-size: 1rem;
    flex-grow: 1;
}

.blog-post a {
    text-decoration: none;
}

.read-more {
    display: block;
    margin-top: 15px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    text-align: center;
    padding: 10px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.read-more:hover {
    background: #007BFF;
    color: white;
}

.blog-post:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.2);
}

.blog-button {
    margin-top: 30px;
    padding: 14px 28px;
    background: linear-gradient(45deg, #007BFF, #0056b3);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.blog-button:hover {
    background: linear-gradient(45deg, #0056b3, #003b80);
    transform: translateY(-4px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .blog-post {
        width: 45%;
        /* Adjust width for tablets */
    }
}

@media (max-width: 768px) {
    .blog {
        font-size: 2.2rem;
    }

    .blog-post {
        width: 80%;
        /* Adjust width for smaller screens */
    }
}

@media (max-width: 480px) {
    .blog {
        font-size: 2rem;
    }

    .blog-container {
        flex-direction: column;
        align-items: center;
    }

    .blog-post {
        width: 100%;
        max-width: 90%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*Blog css End*/