@import url('https://fonts.googleapis.com/css2?family=Tuffy:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    background-color: black;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Header styles - make sure header is responsive */
header.header {
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
}

.container-fluid {
    padding: 0 20px;
}

.logo img {
    max-height: 40px;
    width: auto;
}

.btn-getstarted {
    background-color: #ffb300;
    color: #000;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog_section {
    margin-top: 70px;
    background-color: black;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.blog_page_main {
    width: 100%;
    max-width: 1300px;
    min-width: 280px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
}

.blog_heading {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 25px;
}

.Blog_page_heading_txt {
    padding-top: 15px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    font-family: var(--poppins);
    color: white;
}

.Blog_page_sub_heading_txt {
    text-align: center;
    font-family: "Tuffy", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    padding-bottom: 20px;
    color: white;
}

.blog_page_top {
    width: 100%;
    max-width: 1300px;
    min-width: 280px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.blogs_card {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: #272727;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.blogs_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog_image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0px 0px;
    transition: all 300ms;
}

.blog_image:hover {
    transform: scale(1.02);
}

.blog_title {
    color: white;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
}

.blog_content {
    padding: 15px;
}

.blog_content h3 {
    font-family: var(--poppins);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.blog_description {
    color: #cccccc;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0;
}

.blog_insights_heading {
    display: flex;
    justify-content: space-between;
    margin: 40px 0px 15px 0px;
    padding: 12px;
    background-color: #272727;
    border-radius: 8px;
    align-items: center;
}

.blog_insights_heading_txt {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    font-family: var(--poppins);
    color: white;
}

.blog_insights_heading_more {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--poppins);
}

.blog_insights_heading_more a {
    color: #ffb300;
    text-decoration: none;
    transition: color 0.3s;
}

.blog_insights_heading_more a:hover {
    color: #1163fb;
}

.blog_insights_row {
    width: 100%;
    max-width: 1300px;
    min-width: 280px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.blogs_card_insights {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: #272727;
    overflow: hidden;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.blogs_card_insights:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog_page_promotion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #1a1a1a;
    margin: 40px 0px 0px 0px;
    padding: 20px;
    border-radius: 10px;
    align-items: center;
}

.blog_page_promotion_left {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.blog_page_promotion_text {
    font-size: 22px;
    text-align: center;
    color: white;
    line-height: 1.3;
}

.blog_page_promotion_btn {
    width: fit-content;
    margin-top: 5px;
}

.btn-get-started {
    background-color: #ffb300;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-get-started:hover {
    background-color: #1163fb;
    color: white;
    transform: translateY(-2px);
}

.btn-get-started i {
    margin-left: 5px;
}

.blog_page_promotion_right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog_page_promotion_image {
    display: flex;
    height: 250px;
    width: 100%;
    align-items: center;
    border-radius: 8px;
    object-fit: cover;
}

/* Scroll to top button */
#scroll-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    background-color: #ffb300;
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s ease;
    opacity: 0.8;
}

#scroll-top:hover {
    background-color: #1163fb;
    color: white;
    opacity: 1;
}

/* Footer responsiveness */
footer.footer {
    padding: 40px 0 10px;
}

.footer-top {
    padding-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer_icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    font-size: 14px;
}

.copyright {
    font-size: 13px;
    padding: 10px 0;
}

@media screen and (min-width: 1025px) {
    .blog_section {
        margin-top: 100px;
        padding: 0 20px;
    }

    .Blog_page_heading_txt {
        font-size: 40px;
    }

    .Blog_page_sub_heading_txt {
        font-size: 19px;
        letter-spacing: 1.5px;
    }

    .blogs_card {
        width: calc(50% - 10px);
    }

    .blog_image {
        height: 350px;
    }

    .blogs_card_insights {
        width: calc(33.33% - 10px);
    }

    .blog_page_promotion {
        flex-direction: row;
        padding: 30px;
    }

    .blog_page_promotion_left,
    .blog_page_promotion_right {
        width: 50%;
    }

    .blog_page_promotion_text {
        font-size: 30px;
    }

    .blog_page_promotion_image {
        height: 400px;
    }

    .btn-get-started {
        font-size: 16px;
        padding: 10px 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .blog_section {
        margin-top: 90px;
    }

    .Blog_page_heading_txt {
        font-size: 36px;
    }

    .blogs_card {
        width: calc(50% - 10px);
    }

    .blog_image {
        height: 280px;
    }

    .blogs_card_insights {
        width: calc(50% - 10px);
    }

    .blog_page_promotion {
        flex-direction: row;
        padding: 25px;
    }

    .blog_page_promotion_left,
    .blog_page_promotion_right {
        width: 50%;
    }

    .blog_page_promotion_text {
        font-size: 26px;
    }

    .blog_page_promotion_image {
        height: 300px;
    }
}

@media screen and (min-width: 600px) and (max-width: 767px) {
    .blog_section {
        margin-top: 80px;
    }

    .blogs_card_insights {
        width: calc(50% - 8px);
    }

    .blog_image {
        height: 250px;
    }
}