

/* ===============================
   GLOBAL FIXES
=============================== */

html, body {
    overflow-x: hidden;
}

/* ===============================
   HERO SECTION
=============================== */
.industries-hero-main img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.industries-hero-main {
    position: relative;
    height: 100vh;
}

/* background layer */
.industries-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

/* text/content layer */
.industries-hero-main .container {
    position: relative;
    z-index: 2;
}

.blog-heading {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 60px;
    letter-spacing: -1.5px;
    color: #FFFFFF;
    margin-bottom: 10px;
    z-index: 3;
}

.blog-heading span {
    color: #8bc45b;
}

h5.display-7 {
    font-family: "Inter", sans-serif;
    font-weight: 400 !important;
    font-size: 18.3px;
    line-height: 28px;
    text-align: center;
}

.industries-hero-main {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.industries-hero-bg {
    background: linear-gradient(135deg, #1C3442, #2A7041);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

/* ===============================
   BLOG SECTION
=============================== */

.blog-section {
    padding: 60px 0;
    background: #f6f8fb;
}

.blog-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

/* ===============================
   BLOG GRID
=============================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E1E7EF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    position: relative;
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2A6E40;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 2;
}

.blog-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: #667085;
    margin-top: 10px;
    flex-wrap: wrap;
}

.read-more {
    color: #2A6E40;
    font-weight: 600;
    text-decoration: none;
    margin-top: 25px;
}

/* ===============================
   SIDEBAR
=============================== */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.topics-card {
    background: #fff;
    border: 1px solid #E1E7EF;
    padding: 24px;
    border-radius: 8px;
}

.topics-card h3 {
    margin-bottom: 15px;
}

.topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topics span {
    border: 1px solid #E1E7EF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}

.topics span:hover {
    background: #2A6E40;
    color: white;
}

/* ===============================
   EXPERT FORM
=============================== */

.expert-card {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #E1E7EF;
}

.expert-card h3 {
    margin-bottom: 8px;
}

.expert-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.expert-card label {
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
    margin-top: 10px;
    color: #333;
}

.expert-card input,
.expert-card textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #E1E7EF;
    border-radius: 6px;
    font-size: 14px;
}

.expert-card textarea {
    height: 90px;
    resize: none;
}

.expert-card button {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(180deg, #2A6E40, #1c4d2c);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.form-note {
    font-size: 11px;
    margin-top: 10px;
    color: #888;
    text-align: center;
}

/* ===============================
   PAGINATION
=============================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border: 1px solid #E1E7EF;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
}

.pagination .current {
    background: #2A6E40;
    color: #fff;
    border-color: #2A6E40;
}

/* ===============================
   CLIENT LOGOS
=============================== */

.client-logos-subheading,
.client-logos-heading {
    font-size: 46px !important;
    color: black !important;
}

@media (max-width: 576px) {
    .client-logos-subheading,
    .client-logos-heading {
        font-size: 32px !important;
    }
}

/* ===============================
   TABLET RESPONSIVE
=============================== */

@media (max-width: 1024px) {

    .blog-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar {
        order: 2;
    }
}

/* ===============================
   MOBILE RESPONSIVE
=============================== */

@media (max-width: 768px) {

    .blog-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .blog-grid {
        order: 2;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar {
        order: 1;
        gap: 16px;
    }

    .topics-card {
        order: 1;
    }

    .expert-card {
        display: none;
    }

    .blog-section {
        padding: 40px 0;
    }

    .blog-img {
        height: 200px;
    }

    .blog-content {
        padding: 16px;
    }

    .blog-card h3 {
        font-size: 16px;
        line-height: 22px;
    }

    .blog-card p {
        font-size: 13px;
    }

    .blog-meta {
        font-size: 12px;
    }

    .topics {
        gap: 8px;
    }

    .topics span {
        font-size: 12px;
        padding: 5px 10px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 15px;
    }

    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* ===============================
   SMALL MOBILE
=============================== */

@media (max-width: 480px) {

    .blog-img {
        height: 180px;
    }

    .blog-heading {
        font-size: 34px;
        line-height: 40px;
    }

    .topics-card,
    .expert-card {
        padding: 18px;
    }

    .expert-card input,
    .expert-card textarea {
        font-size: 13px;
    }

    .expert-card button {
        padding: 10px;
        font-size: 14px;
    }
}