@font-face {
    font-family: 'Euclid Circular A Regular';
    src: url(/font/Euclid\ Circular\ A\ Regular.woff) format('woff'),
        url(/font/Euclid\ Circular\ A\ Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'Austin News Headline Light';
    src: url(../font/Austin\ News\ Headline\ Light.woff) format('woff'),
        url(../font/Austin\ News\ Headline\ Light.woff2) format('woff2');
}

.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-section .container-fluid {
    padding: 0;
}

.banner-section::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    z-index: 9;
    background: linear-gradient(1deg, #000000, transparent, transparent);
    width: 100%;
    height: 100%;
}

.banner-section-information {
    position: absolute;
    bottom: 23px;
    left: 72px;
    font-family: 'Austin News Headline Light';
    color: #fff;
    z-index: 9;
}

.banner-section-information .banner-blog-home {
    font-family: 'Euclid Circular A Regular';
}

.banner-section-img {
    animation: zoomEffect 10s ease-in-out infinite alternate;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
        /* Normal size */
    }

    100% {
        transform: scale(1.1);
        /* Zoom in slightly */
    }
}

.blog-section {
    width: 90%;
    margin: auto;
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 15px;
    transition: .3s;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
}

.category {
    background: #003cff;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    position: relative;
    top: -18px;
}

.date {
    font-size: 12px;
    color: #7d7d7d;
}

.blog-card h3 {
    font-size: 25px;
    margin: 6px 0 12px;
    font-family: 'Austin News Headline Light';
}

.readmore {
    text-decoration: none;
    font-weight: 600;
    color: #000;
    display: flex;
    justify-content: flex-end;
}

.pagination {
    text-align: center;
    margin-top: 40px;
    justify-content: center;
}

.pagination button {
    padding: 8px 15px;
    border: 1px solid #000;
    margin: 0 4px;
    background: transparent;
    cursor: pointer;
}

.pagination button.active,
.pagination button:hover {
    background: #000;
    color: #fff;
}

.blog-category {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #fff;
    padding: 5px;
    font-family: 'Euclid Circular A Regular';
    border-radius: 5px;
    font-size: 18px;
}

.blog-date {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Euclid Circular A Regular';
}

.blog-card a {
    background: transparent;
    width: 40%;
    color: #000 !important;
    font-size: 20px;
    position: relative;
    z-index: 9;
    text-decoration: none !important;
    padding: 8px;
    font-family: 'Euclid Circular A Regular';
}

.blog-card a::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 59px;
    height: 53px;
    border-radius: 50%;
    background: #f4511e;
    z-index: -1;
    transform: scaleX(0.9);
    transform-origin: left;
    transition: transform .4s ease-in-out;
}

/* Hover Effect – Background Full Fill */
.blog-card a:hover::before {
    transform: scaleX(1);
    width: 100%;
    height: 100%;
    border-radius: 5px;
    top: 0;
    padding: 10px;

}

.blog-card-btn {
    position: relative;
}

.blog-section .section-title {
    font-family: 'Euclid Circular A Regular';
    text-align: center;
}

.blog-section .section-title h2 {
    font-family: 'Austin News Headline Light';
}

.blog-section .section-title p {
    font-size: 18px;
}

.desktop-banner {
    display: block;
}

.tab-banner {
    display: none;
}

.mobile-banner {
    display: none;
}

@media only screen and (max-width: 1295px) {
    .blog-grid {
        gap: 10px;
    }
}

@media only screen and (max-width: 1199px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 991px) {
    .desktop-banner {
        display: none;
    }

    .tab-banner {
        display: block;
    }

    .mobile-banner {
        display: none;
    }
}

@media only screen and (max-width: 565px) {
    .blog-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .desktop-banner {
        display: none;
    }

    .tab-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
    }

    .banner-section-information h1 {
        font-size: 35px;
    }

    .banner-section-information {
        left: 20px;
    }

    .blog-section .section-title h2 {
        font-size: 26px;
        font-weight: 600;
    }

    .blog-section {
        width: 90%;
        padding: 45px 0;
    }

    .blog-card h3 {
        font-size: 22px;
    }
}

@media only screen and (max-width: 420px) {
    .banner-section-information h1 {
        font-size: 32px;
    }
}