* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* News Hero */

.news-hero {
    background: url("/static/images/service-hero-2.8e93f5ca7bb4.png");
    background-size: cover;
    background-position: center;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-bottom: 50px;
    position: relative;
}

.news-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 58, 87, 0.1); /* Adjust the opacity as needed */
    z-index: 1;
}

.news-hero-text {
    position: relative;
    z-index: 2;
    display: flexbox;
    flex-direction: column;
    text-align: left;
    padding-left: 5px;
    padding-right: 50%;
    padding-top: 0;
    padding-bottom: 0;
    margin: 3px;
}

.news-hero-text h1 {
    display: flex;
    flex-direction: column;
    font-size: 3rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 0.5rem;
    color: #223A66;
}

.news-hero-text h3 {
    color: #1AB006;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.recent-post h5 {
    color: #1AB006;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.recent-date {
    color: #30DB19;
    font-weight: bold;
    margin-bottom: 10px;
}

.blog-main-img {
    width: 80%;
    height: 500px; 
    object-fit: cover;
    border-radius: 4px;
}

.blog-date {
    color: #30DB19;
    font-weight: bold;
    margin-bottom: 10px;
}

.blog-views {
    color: #2F60BD;
    font-weight: bold;
    margin-bottom: 10px;
}
.blog-likes {
    color: #db1930;
    font-weight: bold;
    margin-bottom: 10px;
}
.blog-author {
    color: #2F60BD;
    font-weight: bold;
    margin-bottom: 10px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(34,58,102,0.08);
}

.video-title {
    margin-top: 8px;
    font-size: 1rem;
    color: #223A66;
    text-align: center;
    font-weight: 500;
}


.contact-section-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    z-index: 2;
}

.contact-section h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
    z-index: 2;
}
.contact-card, .contact-card-2{
    background-color: #BFD2F8 !important; 
    min-width: 220px;
    max-width: 100%;
}
.contact-card i {
    color: #223A66;
}

.contact-card h5 {
    justify-content: left;
    align-items: center;
    text-align: left;
    color: #223A66;
}

.contact-card p {
    color: #223A66;
    text-align: left;
    justify-content: left;
    align-items: center;
}

.contact-card-2 {
    background-color: #223A66 !important; 
}
.contact-card-2 i {
    color: #BFD2F8;
}

.contact-card-2 h5 {
    justify-content: left;
    align-items: center;
    text-align: left;
    color: #BFD2F8;
}

.contact-card-2 p {
    color: #BFD2F8;
    text-align: left;
    justify-content: left;
    align-items: center;
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.card i {
    display: block;
    text-align: left;
}

.brief h3 {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.brief h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
}


/* --- Responsive Services Hero Section --- */
@media (max-width: 992px) {
    .news-hero {
        height: 220px;
        margin-bottom: 24px;
        padding: 0 8px;
        background-position: center;
    }
    .news-hero-text {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 1.5rem;
        text-align: center;
    }
    .news-hero-text h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    .news-hero-text h3 {
        font-size: 1rem;
    }

    .contact-section .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .contact-section .col-md-3 {
        width: 100%;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .news-hero {
        height: 160px;
        margin-bottom: 12px;
        padding: 0 4px;
    }
    .news-hero-text {
        padding-left: 4px;
        padding-right: 4px;
        font-size: 1.1rem;
        text-align: center;
    }
    .news-hero-text h1 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    .news-hero-text h3 {
        font-size: 0.85rem;
    }

      .contact-section .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px; 
    }

    .contact-card, .contact-card-2{
        margin-bottom: 0;
        width: 100%;
    }

}

@media (max-width: 576px) {
    .news-hero {
        height: 120px;
        margin-bottom: 6px;
        padding: 0 2px;
        background-position: center;
    }
    .news-hero-text {
        padding-left: 2px;
        padding-right: 2px;
        font-size: 0.9rem;
        text-align: center;
    }
    .news-hero-text h1 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    .news-hero-text h3 {
        font-size: 0.7rem;
    }

    .contact-section .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px; 
    }

    .contact-card, .contact-card-2{
        width: 100%;
    }

}