label.error {
    color: red;
    font-size: 14px;
}
.text-blue {
    color: #0c3d78 !important;
}

.text-orange {
    color: #eb6f22;
}

.btn-blue {
    background-color: #1c3372;
    color: #fff;
    border: 1px solid #1c3372;
    box-shadow: 3px 2px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-blue:hover {
    background-color: #142a66; /* lighter blue on hover */
    color: #ffffff;
    border-color: #142a66;
    box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.4);
}

.btn-grey {
    background-color: #6c757d; /* Bootstrap-like grey */
    color: #fff;
    border: 1px solid #6c757d;
    box-shadow: 3px 2px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-grey:hover {
    background-color: #565e64; /* darker grey on hover */
    color: #ffffff;
    border-color: #565e64;
    box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.4);
}

.btn-orange {
    background-color: #f26522;
    color: #fff;
    border: 1px solid #f26522;
    box-shadow: 3px 2px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #e25a1c;
    color: #fff;
    box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.4);
}

.btn-orange-outline {
    background-color: transparent;
    color: #f26522;
    border: 1px solid #f26522;
    box-shadow: 3px 2px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-orange-outline:hover {
    background-color: #f26522;
    color: #fff;
    box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.4);
}

.modal-close-btn {
    background-color: #fff !important;
    border-radius: 50%;
    color: #000 !important;
}

/* Outline style using your theme color */
#sidebarMenu .btn-outline-primary {
    border-color: #065b91;
    color: #065b91;
}

/* On hover or focus (optional for better UX) */
#sidebarMenu .btn-outline-primary:hover,
#sidebarMenu .btn-outline-primary:focus {
    background-color: #065b91;
    color: #fff;
}

/* Active button state */
#sidebarMenu button.active {
    background-color: #065b91 !important;
    color: #ffffff !important;
    border-color: #065b91;
}

/* Mobile Devices (up to 575.98px) */
@media (max-width: 575.98px) {
    .text-blue,
    .text-orange {
        font-size: 0.9rem;
    }

    .btn-orange,
    .btn-blue,
    .btn-grey,
    .btn-orange-outline {
        font-size: 0.85rem;
        padding: 8px 16px;
        box-shadow: 2px 1px 0px rgba(0, 0, 0, 0.3);
    }

    .btn-orange:hover,
    .btn-blue:hover,
    .btn-grey:hover,
    .btn-orange-outline:hover {
        box-shadow: 3px 2px 7px rgba(0, 0, 0, 0.35);
    }
}

/* Tablets (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .text-blue,
    .text-grey,
    .text-orange {
        font-size: 1rem;
    }

    .btn-orange,
    .btn-grey,
    .btn-orange-outline {
        font-size: 0.95rem;
        padding: 9px 18px;
    }
}

/* Small Laptops & Tablets Landscape (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .text-blue,
    .text-grey,
    .text-orange {
        font-size: 1.05rem;
    }

    .btn-orange,
    .btn-grey,
    .btn-orange-outline {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Laptops and Desktops (992px and up) */
@media (min-width: 992px) {
    .text-blue,
    .text-grey,
    .text-orange {
        font-size: 1.1rem;
    }

    .btn-orange,
    .btn-grey,
    .btn-orange-outline {
        font-size: 1.05rem;
        padding: 12px 25px;
    }
}

/* ===============Country Covered =================== */

#countryLayout .sidebar {
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #dee2e6;
}
#countryLayout .middle-panel {
    height: 100vh;
    overflow-y: auto;
}
#countryLayout .country-link {
    display: block;
    margin-bottom: 8px;
    color: #065b91;
    text-decoration: none;
}
#countryLayout .country-link:hover {
    text-decoration: underline;
}
#countryLayout .hidden {
    display: none;
}

/*================= Banner Slide ============== */
#homepageSlider {
    background-color: #fff;
}

#homepageSlider .carousel-item {
    max-height: 80vh;
    display: flex;
    align-items: center;
}

/* Override max-height for laptops */
@media (min-width: 1024px) and (max-width: 1440px) {
    #homepageSlider .carousel-item {
        max-height: 45vh;
    }
}

/* #homepageSlider .slider-content {
    padding: 2rem;
} */

#homepageSlider .slider-buttons .btn {
    margin-right: 1rem;
}

#homepageSlider .slider-image {
    max-width: 100%;
    height: auto;
}

#homepageSlider .text-primary {
    color: #265a8e !important;
}

#homepageSlider .lead {
    color: #2c2929;
    font-weight: 400;
}

/* Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    #homepageSlider .carousel-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    /* #homepageSlider .slider-content {
        padding: 1rem;
    } */

    #homepageSlider .slider-buttons .btn {
        margin: 0.5rem 0;
        width: 100%;
    }

    #homepageSlider .slider-image {
        width: 80%;
        margin-top: 1rem;
    }

    #homepageSlider .lead {
        font-size: 1rem;
    }
}

/* Medium devices (tablets, 576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #homepageSlider .carousel-item {
        flex-direction: column;
        text-align: center;
    }

    /* #homepageSlider .slider-content {
        padding: 1.5rem;
    } */

    #homepageSlider .slider-buttons .btn {
        margin: 0.5rem;
    }

    #homepageSlider .slider-image {
        width: 75%;
        margin-top: 1.5rem;
    }

    #homepageSlider .lead {
        font-size: 1.1rem;
    }
}

/* Large devices (small laptops, 768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* #homepageSlider .slider-content {
        padding: 2rem 1.5rem;
    } */

    #homepageSlider .lead {
        font-size: 1.2rem;
    }

    #homepageSlider .slider-buttons .btn {
        margin: 0.5rem;
    }
}

/* Extra large devices (desktops, 992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* #homepageSlider .slider-content {
        padding: 2.5rem;
    } */

    #homepageSlider .lead {
        font-size: 1.25rem;
    }
}

/* Extra extra large devices (≥1200px) */
@media (min-width: 1200px) {
    /* #homepageSlider .slider-content {
        padding: 3rem;
    } */

    #homepageSlider .lead {
        font-size: 1.3rem;
    }
}

/* Reusable Section Title */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #265a8e;
    margin-bottom: 1rem;
}

.section-gap {
    padding-top: 2rem; /* equals roughly py-3 */
    padding-bottom: 2rem;
}

/* === GENERAL STYLES === */
.search-wrapper {
    max-width: 700px;
    width: 100%;
}

.custom-input {
    font-size: 1rem;
    padding: 0.75rem;
}

.trusted-text {
    color: #265a8e;
    font-size: 1.2rem;
}

.search-wrapper button {
    max-width: 110px;
    width: 100%;
}

/* === SLIDER WRAPPER === */
.search-slider-div {
    padding: 0 10rem;
    margin-bottom: 1.5rem;
}

.search-slider-div .swiper-slide {
    margin-right: 0 !important;
    padding: 10px !important;
}

/* === LOGO IMAGES === */
.brand-logos img {
    height: 80px !important;
    object-fit: contain;
}

/* === RESPONSIVE BREAKPOINTS === */

/* Desktops */
@media (min-width: 992px) {
    .section-gap {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 991.98px) {
    .search-slider-div {
        padding: 0 3rem;
    }
}

@media (max-width: 767.98px) {
    .trusted-text {
        font-size: 1rem;
    }

    .custom-input {
        font-size: 0.95rem;
        padding: 0.65rem;
    }

    .search-wrapper button {
        max-width: none;
    }

    .search-slider-div {
        padding: 0 1.5rem;
    }
}

/* Mobile Phones (up to 575.98px) */
@media (max-width: 575.98px) {
    #homepageSlider .slider-content {
        padding: 1rem;
        text-align: center;
    }

    .section-title {
        font-size: 1rem;
    }

    .search-wrapper {
        padding: 0 1rem;
        max-width: 100%;
    }

    .search-wrapper #searchDataBtn {
        margin-top: 10px;
        border-radius: 8px;
    }

    .search-slider-div {
        padding: 0 1rem;
    }

    .search-slider-div .swiper-slide {
        width: auto;
    }

    .trusted-text {
        font-size: 0.9rem;
    }

    .brand-logos img {
        height: 50px !important;
    }
    #homepageSlider .slider-buttons button:first-child {
        margin-bottom: 10px;
    }
}

/* Tablets (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #homepageSlider .slider-content {
        padding: 1.5rem;
        text-align: center;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .section-gap {
        padding-top: 3rem; /* roughly py-4 */
        padding-bottom: 3rem;
    }

    .search-wrapper {
        padding: 0 2rem;
    }

    .search-wrapper button {
        margin-top: 10px;
    }

    .search-slider-div {
        padding: 0 2rem;
    }

    .brand-logos img {
        height: 60px !important;
    }
}

/* Small Laptops and Large Tablets (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-gap {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .search-wrapper {
        padding: 0 3rem;
    }

    .search-slider-div {
        padding: 0 3rem;
    }

    .brand-logos img {
        height: 70px !important;
    }
}

/* Laptops (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .section-title {
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }

    .search-wrapper {
        padding: 0 4rem;
    }

    .search-slider-div {
        padding: 0 4rem;
    }

    .brand-logos img {
        height: 75px !important;
    }
}

/* Desktops and Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .search-slider-div {
        padding: 0;
    }

    .brand-logos img {
        height: 80px !important;
    }
}

/* ================== Featured Area  =================== */

/* Background color */
#featured-area {
    background-color: #f4f4f4;
}

/* Keep border style consistent */
#featured-area .border-end {
    border-right-color: #787878 !important;
}

/* Flex alignment for feature blocks */
#featured-area .feaure-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Align text inside feature items */
#featured-area .feature-item {
    text-align: left;
}

/* Responsive font sizes */
#featured-area h5 {
    font-size: 1.25rem; /* ~20px */
    font-weight: 600;
}

#featured-area p {
    font-size: 1rem; /* ~16px */
    margin-bottom: 0.25rem;
}

/* Extra padding on small screens */
@media (max-width: 575.98px) {
    #featured-area h5 {
        font-size: 1.125rem; /* ~18px */
    }

    #featured-area p {
        font-size: 0.875rem; /* ~14px */
    }

    #featured-area .col-6 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Tablets: slightly reduce font size */
@media (min-width: 576px) and (max-width: 767.98px) {
    #featured-area h5 {
        font-size: 1.2rem;
    }

    #featured-area p {
        font-size: 0.95rem;
    }
}

/* Large desktops: spacing control */
@media (min-width: 1200px) {
    #featured-area .feature-item {
        max-width: 220px;
    }
}

/*=================== Who Section ==================*/
#who-section {
    background-color: #f4f4f4 !important;
}
#who-section .tab-buttons-wrapper .tab-button {
    background: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-weight: 600;
    color: #2d4373;
    position: relative;
    transition: all 0.3s ease;
}

#who-section .tab-buttons-wrapper .tab-button:hover {
    background-color: #f0f6ff;
}

#who-section .tab-buttons-wrapper .active-tab {
    color: #0c3d78;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

#who-section .tab-buttons-wrapper .active-tab::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

#who-section .tab-content-wrapper {
    /* max-width: 1050px;
    margin: auto; */
    gap: 20px;
}

#who-section .tab-content-box {
    display: none;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #265a8e;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

#who-section .tab-content-box.active {
    display: block;
}

#who-section .tab-list {
    list-style: none;
    padding-left: 0;
}

#who-section .tab-list li {
    margin-bottom: 8px;
    color: #555557;
}

#who-section .tab-list li strong {
    margin-bottom: 8px;
    color: #0c3d78;
}

/* Mobile Phones (up to 575.98px) */
@media (max-width: 575.98px) {
    #who-section .tab-buttons-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    #who-section .tab-buttons-wrapper .tab-button {
        font-size: 0.9rem;
        padding: 8px 12px;
        text-align: center;
    }

    #who-section .tab-content-wrapper {
        padding: 0 1rem;
    }

    #who-section .tab-content-box {
        font-size: 0.9rem;
        padding: 15px;
    }
}

/* Tablets (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #who-section .tab-buttons-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    #who-section .tab-buttons-wrapper .tab-button {
        font-size: 1rem;
        padding: 10px 16px;
    }

    #who-section .tab-content-wrapper {
        padding: 0 2rem;
    }

    #who-section .tab-content-box {
        font-size: 0.95rem;
        padding: 18px;
    }
}

/* Small Laptops and Large Tablets (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #who-section .tab-buttons-wrapper {
        justify-content: center;
        gap: 45px;
    }

    #who-section .tab-buttons-wrapper .tab-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    #who-section .tab-content-wrapper {
        padding: 0 3rem;
    }

    #who-section .tab-content-box {
        font-size: 1rem;
        padding: 20px;
    }
}

/* Laptops (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #who-section .tab-buttons-wrapper {
        gap: 45px;
    }

    #who-section .tab-buttons-wrapper .tab-button {
        font-size: 1.05rem;
        padding: 12px 24px;
    }

    #who-section .tab-content-box {
        font-size: 1rem;
    }
}

/* Desktops and Large Screens (1200px and up) */
@media (min-width: 1200px) {
    #who-section .tab-buttons-wrapper {
        gap: 50px;
    }

    #who-section .tab-buttons-wrapper .tab-button {
        font-size: 1.1rem;
        padding: 14px 28px;
    }

    #who-section .tab-content-box {
        font-size: 1.05rem;
    }
}

/* ======== Why Choose Us ========== */

.why-choose-us .feature-cell {
    border-right: 2px dashed #b9c9db;
    border-bottom: 2px dashed #b9c9db;
    padding: 30px 15px;
}

.why-choose-us .feature-cell:nth-child(4n) {
    border-right: none;
}

.why-choose-us .feature-cell:nth-child(n + 5) {
    border-bottom: none;
}

.why-choose-us .feature-box img {
    height: 80px;
    margin-bottom: 23px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.why-choose-us .feature-box:hover img {
    transform: scale(1.1); /* Zoom effect on hover of parent */
    opacity: 0.9;
}

.why-choose-us .feature-box p {
    font-size: 1.1rem;
    color: #0c3d78;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

.why-choose-us .trial-btn {
    background-color: #f26522;
    color: #fff;
    font-weight: bold;
    padding: 12px 25px;
    transition: 0.3s ease;
    text-transform: uppercase;
    border: none;
}

.why-choose-us .trial-btn:hover {
    background-color: #d95413;
    text-decoration: none;
}

/* Mobile Phones (up to 575.98px) */
@media (max-width: 575.98px) {
    .why-choose-us .feature-cell {
        width: 50%; /* 2 cells per row */
        border-right: none !important;
        border-bottom: 2px dashed #b9c9db;
        padding: 20px 10px;
        box-sizing: border-box;
    }

    .why-choose-us .feature-box img {
        height: 60px;
        margin-bottom: 15px;
    }

    .why-choose-us .feature-box p {
        font-size: 1rem;
        text-align: center;
    }

    .why-choose-us .trial-btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Tablets (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .why-choose-us .feature-cell {
        width: 33.33%; /* 3 cells per row */
        padding: 25px 12px;
        box-sizing: border-box;
    }

    .why-choose-us .feature-box img {
        height: 70px;
    }

    .why-choose-us .feature-box p {
        font-size: 1.05rem;
    }

    .why-choose-us .trial-btn {
        padding: 10px 22px;
    }
}

/* Small Laptops and Large Tablets (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .why-choose-us .feature-cell {
        width: 33.33%;
        padding: 28px 15px;
        box-sizing: border-box;
    }

    .why-choose-us .feature-box img {
        height: 75px;
    }

    .why-choose-us .feature-box p {
        font-size: 1.1rem;
    }

    .why-choose-us .trial-btn {
        padding: 12px 25px;
    }
}

/* Laptops (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .why-choose-us .feature-cell {
        width: 33.33%;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .why-choose-us .feature-box img {
        height: 80px;
    }

    .why-choose-us .feature-box p {
        font-size: 1.15rem;
    }
}

/* Desktops and Larger Screens (1200px and up) */
@media (min-width: 1200px) {
    .why-choose-us .feature-cell {
        width: 25%; /* Optionally show 4 per row on large screens */
        padding: 35px 25px;
        box-sizing: border-box;
    }

    .why-choose-us .feature-box img {
        height: 80px;
    }

    .why-choose-us .feature-box p {
        font-size: 1.2rem;
    }
}

/*========================= Testimonials ====================*/
.nw-testimonials .testimonial-box {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 2px 2px 15px 2px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    text-align: left;
    /* margin: 0 1.2rem; */
    min-height: 240px;
}

.nw-testimonials .testimonial-box:hover {
    /* box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1); */
    box-shadow: 1px 3px 7px 5px rgba(0, 0, 0, 0.25);
}

.nw-testimonials .testimonial-box p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0;
}

.nw-testimonials .testimonial-box small a {
    font-weight: 500;
    color: #0c3d78;
}

.nw-testimonials .rating-box .stars {
    font-size: 1.3rem;
}

.nw-testimonials .rating-box {
    font-size: 1.1rem;
}

.nw-testimonials .testimonial-box img {
    flex-shrink: 0;
}

/* Mobile Phones (up to 575.98px) */
@media (max-width: 575.98px) {
    .nw-testimonials .testimonial-box {
        /* margin: 0 0.5rem 1rem; */
        padding: 1rem;
        text-align: center;
    }

    .nw-testimonials .testimonial-box p {
        font-size: 0.9rem;
    }

    .nw-testimonials .rating-box,
    .nw-testimonials .rating-box .stars {
        font-size: 1rem;
    }

    .nw-testimonials .testimonial-box img {
        width: 55px;
        height: 55px;
    }
}

/* Tablets (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .nw-testimonials .testimonial-box {
        /* margin: 0 0.8rem 1rem; */
        padding: 1.2rem;
    }

    .nw-testimonials .testimonial-box p {
        font-size: 0.95rem;
    }

    .nw-testimonials .rating-box,
    .nw-testimonials .rating-box .stars {
        font-size: 1.1rem;
    }

    .nw-testimonials .testimonial-box img {
        width: 65px;
        height: 65px;
    }
}

/* Small Laptops and Large Tablets (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .nw-testimonials .testimonial-box {
        /* margin: 0 1rem; */
        padding: 1.2rem;
    }

    .nw-testimonials .testimonial-box p {
        font-size: 1rem;
    }

    .nw-testimonials .rating-box,
    .nw-testimonials .rating-box .stars {
        font-size: 1.2rem;
    }

    .nw-testimonials .testimonial-box img {
        width: 70px;
        height: 70px;
    }
}

/* Laptops (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .nw-testimonials .testimonial-box {
        /* margin: 0 1.2rem; */
        padding: 1.2rem;
    }

    .nw-testimonials .testimonial-box p {
        font-size: 1.05rem;
    }

    .nw-testimonials .rating-box,
    .nw-testimonials .rating-box .stars {
        font-size: 1.3rem;
    }

    .nw-testimonials .testimonial-box img {
        width: 75px;
        height: 75px;
    }
}

/* Desktops and Larger Screens (1200px and up) */
@media (min-width: 1200px) {
    .nw-testimonials .testimonial-box {
        /* margin: 0 1.5rem; */
        padding: 1.2rem;
    }

    .nw-testimonials .testimonial-box p {
        font-size: 1.1rem;
    }

    .nw-testimonials .rating-box,
    .nw-testimonials .rating-box .stars {
        font-size: 1.4rem;
    }

    .nw-testimonials .testimonial-box img {
        width: 70px;
        height: 70px;
    }
}

/* =================== Media and Business ================= */

#media-business-section {
    background-color: #f4f4f4;
}

#media-business-section .media-logos {
    row-gap: 4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#media-business-section .media-logo {
    flex: 0 0 calc(33.333% - 4rem); /* 3 logos per row with spacing */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 450px;
}

#media-business-section .media-logo img {
    width: 90%;
    height: auto;
    object-fit: contain;
    max-height: 80px; /* Adjust logo height */
}

/* Mobile Devices (up to 575.98px) */
@media (max-width: 575.98px) {
    #media-business-section .media-logo {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 1rem;
        text-align: center;
    }

    #media-business-section .media-logo img {
        max-height: 90px;
        width: 80%;
    }
}

/* Tablets (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #media-business-section .media-logo {
        flex: 0 0 50%;
        width: 100%;
        margin-bottom: 2rem;
    }

    #media-business-section .media-logo img {
        max-height: 70px;
        width: 85%;
    }
}

/* Small Laptops & Tablets Landscape (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #media-business-section .media-logo {
        flex: 0 0 33.333%;
        width: 100%;
        margin-bottom: 2rem;
    }

    #media-business-section .media-logo img {
        max-height: 75px;
        width: 90%;
    }
}

/* Laptops and Desktops (992px and up) */
@media (min-width: 992px) {
    #media-business-section .media-logo {
        flex: 0 0 calc(33.333% - 4rem);
        width: 450px;
    }

    #media-business-section .media-logo img {
        max-height: 80px;
        width: 90%;
    }
}

/* Banner Base Styling */
.subscription-banner {
    background-color: #265a8e;
}

/* Optional: make image scale with max width for large screens */
.subscription-banner .banner-img {
    max-width: 100%;
    height: auto;
    width: 320px;
}

/* Headings and Paragraph - Base Style (Mobile First) */
.subscription-banner h2 {
    font-size: 2rem;
    line-height: 1.3;
}

.subscription-banner p {
    font-size: 1.4rem !important;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: lighter;
}

/* Tablet and up */
@media (min-width: 576px) {
    .subscription-banner h2 {
        font-size: 2.5rem;
    }

    .subscription-banner p {
        font-size: 1.3rem !important;
    }
}

/* Medium devices and up */
@media (min-width: 768px) {
    .subscription-banner h2 {
        font-size: 2.8rem;
    }

    .subscription-banner p {
        font-size: 1.4rem !important;
    }
}

/* Large devices and up */
@media (min-width: 992px) {
    .subscription-banner h2 {
        font-size: 2.9rem;
    }

    .subscription-banner p {
        font-size: 1.4rem !important;
    }

    .subscription-banner .banner-img {
        width: 360px;
    }
}

/* Extra Large Devices */
@media (min-width: 1200px) {
    .subscription-banner h2 {
        font-size: 2.9rem;
    }

    .subscription-banner p {
        font-size: 1.4rem !important;
    }

    .subscription-banner .banner-img {
        width: 400px;
    }
}

/*======================== Recent News and Blogs ===================== */

.recent-news-section {
    background-color: #fff;
}

.recent-news-section .blog-card {
    background-color: #fff;
    box-shadow: 1px 3px 7px 5px rgba(0, 0, 0, 0.45);
    border-radius: 7px;
    overflow: hidden;
    height: 450px; /* Fixed height */
    padding: 1rem;
    margin: 0 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Removed transform and transition */
}

.recent-news-section .blog-image-wrapper {
    height: 150px;
    overflow: hidden;
    border-radius: 12px;
}

.recent-news-section .blog-card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.recent-news-section .blog-card:hover img {
    transform: scale(1.1);
}

.recent-news-section .blog-content {
    padding: 10px 5px;
    padding-bottom: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recent-news-section .blog-date {
    font-size: 0.875rem;
    color: #727272;
    margin-bottom: 10px;
    font-weight: 500;
}

.recent-news-section .blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #060c36;
    margin-bottom: 1.2rem;
    transition: color 0.3s ease;
}

.recent-news-section .blog-title:hover {
    color: #eb6f22;
}

.recent-news-section .read-more {
    position: relative;
    display: inline-block;
    color: #1c3372;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    z-index: 1;
    transition: color 0.3s ease;
}

.recent-news-section .read-more::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px; /* Initial horizontal line */
    background-color: #1c3372;
    z-index: -1;
    transition: height 0.3s ease;
}

.recent-news-section .read-more:hover {
    color: #fff;
}

.recent-news-section .read-more:hover::before {
    height: 100%; /* Expands to full height on hover */
}

.recent-news-section .read-more:hover::before {
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    transform: none;
    border-radius: 5px;
}

.recent-news-section .text-truncate-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .recent-news-section .blog-card {
        margin: 0 1rem;
        height: auto;
        padding: 1rem;
    }

    .recent-news-section .blog-image-wrapper {
        height: 180px;
    }

    .recent-news-section .blog-title {
        font-size: 1rem;
    }

    .recent-news-section .read-more {
        font-size: 0.9rem;
        padding: 5px 10px;
    }

    .recent-news-section .row > [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .recent-news-section .blog-card {
        margin: 0 1.2rem;
        height: auto;
    }

    .recent-news-section .blog-image-wrapper {
        height: 170px;
    }

    .recent-news-section .blog-title {
        font-size: 1.05rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .recent-news-section .blog-card {
        margin: 0 1.5rem;
        height: 440px;
    }

    .recent-news-section .blog-image-wrapper {
        height: 160px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .recent-news-section .blog-card {
        margin: 0 2rem;
        height: 440px;
    }

    .recent-news-section .blog-image-wrapper {
        height: 160px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .recent-news-section .blog-card {
        margin: 0 2.5rem;
        height: 450px;
    }

    .recent-news-section .blog-image-wrapper {
        height: 165px;
    }
}
