/* Remove space between header and section */


/* Mobile Swiper Section */

/* Swiper pagination dots */
/* Move pagination below the slide */

/* Position dots below card */
.swiper-pagination {
    position: relative !important;
    margin-top: 25px;
    bottom: 10px !important;
}


/* Normal dot */
.swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
    background: #383636!important;
    opacity: 0.4 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease!important;
}

/* Active dot */
.swiper-pagination-bullet-active {
    width: 30px!important;              /* wider */
    height:14px!important;
    background: #ffffff!important;     /* white */
    opacity: 1!important;
}

.swiper-pagination-bullet {
    margin: 0 6px !important;
}


.mobile-swiper {
    background: #4a82c3;
    padding: 20px 0 20px;
}

/* Slide card */
.blog-slide {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    display: block;
    text-decoration: none;
}

/* Image */
.blog-slide img {
    width: 100%;
    object-fit: cover;
}

/* Content */
.slide-content {
    padding: 20px;
}

.slide-content h6 {
    color: #3a73b9;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Date badge */
.slide-date {
    background: #d9fcbf;
    color: #1b5e20;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Pagination dots */
.swiper-pagination-bullet {
    background: #2e5f9e;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
    opacity: 1;
}



.blog-section {
    background-color: #4681C3;
    margin-top: 80px;
}

.mobile-swiper {
    display: none;
}

/* Default: Desktop view */
.blog-section  {
    display: block;
}
.mobile-swiper {
    display: none;
}
@media (max-width: 767px) {
    .blog-section  {
        display: none;
    }

    .blog-slide img {
        height: 160px;
    }

    .mobile-swiper {
        display: block;
        margin: 100px 0 20px 0;
    }
}

/* Blog Card */
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Blog Image */
.blog-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* Blog Content */
.blog-content {
    padding: 25px;
}

.blog-content h6 {
    color: #4681C3;
    margin-bottom: 15px;
}
/* Date Badge */
.blog-date {
    display: inline-block;
    background: #d9fcbf;
    color: #1b5e20;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
}


/* section-2 */
.featured-blog {
    margin-top: 60px;
    background-color: #ededed;
}

/* Text area */
.blog-text h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-text .posted {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.post-date {
    background: #d9fcbf;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
}

.blog-text .gist {
    margin-bottom: 25px;
    line-height: 1.4;
    color: #000000;
    font-size: medium;
}



.topic {
    font-size: x-large;
}

span.sub-topic {
    font-size: 20px;
    font-weight: 400;
}

.rounded-pill {
    background-color: #4681C3;
    border-radius: 50rem !important;
    color: #ffffff;
    padding: 6px 20px;
}



/* Mobile spacing */
/* ===== MOBILE BLOG CARD VIEW ===== */
@media (max-width: 767px) {

    .featured-blog {
        margin-top: 0;
        padding: 0;
        background: #ededed; /* black side edges like screenshot */
    }

    .col-md-6.blog-info {
        padding: 20px 24px;
    }

        .featured-blog {
        padding: 28px 0px !important;
    }

    .featured-blog .container {
        padding: 0;
        max-width: 100%;
    }

    .featured-blog .row {
        margin: 0;
    }

    .blog-image img {
        border-radius: 0;
    }

    .blog-text {
        background: #ededed;
        padding: 20px;
        text-align: center;
    }

    .topic {
        font-size: 18px;
        line-height: 1.4;
    }

    .posted {
        font-size: 14px;
    }

    .post-date {
        font-size: 13px;
    }

    .gist {
        font-size: 14px;
        line-height: 1.6;
    }

    .rounded-pill {
        display: inline-block;
        font-size: 14px;
        padding: 6px 18px;
    }
}


/* Blog detail page styles */
* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    background: #fff;
}

.grid-wrapper {
    max-width: 90%;
    margin: auto;
    padding: 40px 0;

    display: grid;
    grid-template-columns: 3fr 1fr; /* content | form */
    gap: 40px;
}

/* CONTENT */
.content h1 {
    font-size: 26px;
    margin-bottom: 15px;
}

.content h2 {
    margin-top: 30px;
}

.content p {
    line-height: 1.7;
    color: #333;
}

/* FORM */
.form-card {
    background: #f3f3f3;
    padding: 20px;
    border-radius: 12px;
    align-self: start;
}

.form-card h3 {
    text-align: center;
    margin-bottom: 20px;
}

.form-card label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.form-card input,
.form-card select {
    width: 100%;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    font-size: smaller;
}

.form-card button {
    display: block;
    margin: 10px auto;   /* 👈 center */
    width: 50%;          /* not 100% */
    padding: 8px;
    background: #4a78c2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}


/* 📱 MOBILE */
@media (max-width: 768px) {
    .grid-wrapper {
        grid-template-columns: 1fr;
    }

    .form-card {
        order: -1; /* form first */
    }

    .content h1 {
        font-size: 24px;
    }
}




.content-section h2 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
}

.content-section h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 10px;
}

.content-section h4 {
    font-size: 16px;
    margin-top: 20px;
    font-weight: 600;
}

.content-section p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.content-section ul {
    padding-left: 20px;
    margin-bottom: 24px;
}

.content-section ul li {
    margin-bottom: 8px;
    font-size: 15px;
}

.content-image {
    margin: 30px 0;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.read-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 15px;
    color: #2f6fd6;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}


.faq-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 22px;
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* comment section */
.comment-section h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}

.comment-form textarea {
    width: 100%;
    border: 1.5px solid #6b7280;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    resize: vertical;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group span {
    color: red;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #6b7280;
    border-radius: 12px;
    font-size: 14px;
}

.comment-form button {
    background: #4a78c2;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 24px;
    cursor: pointer;
}

.comment-form button:hover {
    background: #3b66a8;
}



@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .comment-form button {
        width: auto;
    }
}


