@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    padding-left: 20px;
    padding-right: 20px;
}

/* Banner Section */
.main-section {
    padding: 0;
    margin-bottom: 2rem;
}

.blogBannerSwiper {
    width: 100%;
    height: auto;
    min-height: 450px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Update left-text styles */
.slide-content {
    display: flex;
    padding: 2rem;
    height: 100%;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.left-text {
    flex: 0 1 57%;
    padding: 1rem 2rem;
    margin-left: auto;
    position: relative;
    z-index: 2;
}

/*
.swiper-slide-active .left-text {
    transform: translateX(0);
    transition: transform 0.5s ease;
    opacity: 1;
}

.swiper-slide-next .left-text {
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    opacity: 0;
}

.swiper-slide-prev .left-text {
    transform: translateX(100%);
    transition: transform 0.5s ease;
    opacity: 0;
} */

.main-heading {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .slide-content {
        flex-direction: column-reverse;
        padding: 1rem;
    }

    .left-text {
        flex: 1;
        padding: 1rem;
        margin-left: 0;
    }

    .right-image {
        flex: 1;
        height: 250px;
    }
}

.right-image {
    flex: 1;
    max-width: 35%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.main-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #333;
    text-transform: capitalize;
}

.heading-underline {
    width: 50px;
    height: 3px;
    background-color: #FFBC38;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 15px;
    color: #262B3E;
    margin-bottom: 1rem;
}

.text-orange,
.author {
    color: #FFBC38;
}

.inner-text {
    margin-bottom: 1.5rem;
}

.inner-text p {
    line-height: 1.6;
    color: #555;
    font-size: 20px;
}

.read-more-btn {
    background-color: #FFBC38;
    border: none;
    padding: 0.6rem 1.8rem;
    color: white;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background-color: #e6a832;
    transform: translateY(-3px);
}

/* Navigation Controls */
.swiper-button-next,
.swiper-button-prev {
    width: 38px;
    height: 38px;
    background: #FFFFFF;
    border: 1px solid #FFBC38;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFBC38;
    z-index: 10;
    transition: all 0.3s ease;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
    color: #FFBC38;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #FFBC38;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: #FFFFFF;
}

.swiper-pagination-bullet {
    opacity: 1 !important;
    background: #bebebe !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #FFBC38 !important;
}

/* Featured Blogs Section */
.blog-body {
    /* background-color: #ECECEC; */
    padding-left: 7%;
}

.featured-blog {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    height: 100%;
    background-color: #ECECEC;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

.blog-btn {
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    background-color: #FFBC38;
    color: white;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-block;
}

.blog-btn:hover {
    background-color: #e6a832;
    color: white;
    transform: translateY(-2px);
}

/* Blog Cards - Matching the specific image design */
/* Blog Card Styles */
.blog-card-wrapper {
    height: 100%;
    margin-bottom: 30px;
    padding: 0px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 95%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 15px;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image-container {
    /* position: relative; */
    padding-top: 70%;
    /* overflow: hidden; */
}

.blog-image {
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: #FFB84D;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    margin-bottom: 1px;
    font-size: 0;
    color: #666;
}

.author-name, .blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
    text-align: end;
    /* margin-left: -1px; */
    justify-content: flex-end;
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    /* border-top: 1px solid #eee; */
}

.read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.read-more-btn {
    padding: 8px 20px;
    background-color: #FFB84D;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #ff9d1a;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .blog-card-wrapper {
        margin-bottom: 20px;
        padding: 0px;
    }
}

@media (max-width: 767px) {
    .blog-card-image-container {
        padding-top: 50%;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
}

.blog-card-image-container {
    /* height: 180px; */
    height: 100%;
    /* overflow: hidden; */
    position: relative;
    /* padding: 12px; */
    padding-bottom: 0;
    /* width: 100%; */
    margin-bottom: 0px;
}

.blog-image {
    /* width: 100%;
    height: 100%; */
    object-fit: cover;
    border-radius: 12px;
    width: 100%;
    height: 90%;
    object-fit: cover;
}

/* Category tag */


/* Author styling */
/* .author-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
} */


/* .author-name-display {
    text-align: end;
    padding-right: 0;
    font-size: 13px;
    color: #FFB84D;
    margin-top: 3px;
    margin-bottom: 12px;
    font-weight: normal;
} */

/* Content Styling */
.blog-card-content {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.blog-date {
    display: flex;
    align-items: center;
    color: #000000;
    margin-bottom: 11px;
    margin-top: 10px;
    font-family: Poppins;
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    line-height: 0;
    letter-spacing: 0%;
}

.blog-date i {
    margin-right: 5px;
}

.blog-title {
    font-family: Poppins;
    font-weight: 500;
    font-size: 20px;
    line-height: 33.6px;
    letter-spacing: 0%;
    margin-bottom: 12px;
    color: #333;

}

.section-title {
    font-family: Poppins;
    font-weight: 500;
    font-size: 24px;
    line-height: 28.8px;
    letter-spacing: 0%;
    /* margin-bottom: 12px; */
    color: #333;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    margin-top: auto;
    padding-top: 5px;
    /* border-top: 1px solid #eee; */
}

.read-time {
    font-size: 16px;
    color: #FFB84D;
}

.read-more-btn {
    background-color: #FFB84D;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #FFA826;
    text-decoration: none;
    color: white;
}

/* Container styling */
.blog-card-wrapper {
    height: 100%;
}

.blog-slider-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

@media (min-width: 1400px) {
    .blog-container {
        max-width: 1388px;
    }
}
@media (min-width: 1500px) {
    .blog-container {
        max-width: 1440px;
    }
}
@media (min-width: 1700px) {
    .blog-container {
        max-width: 1500px;
    }
}
@media (min-width: 1800px) {
    .blog-container {
        max-width: 1550px;
    }
}
.slider-left-text{
    margin-left: 10%
}
@media (max-width: 700px) {
    .slider-left-text{
        margin-left: 5%
    }
}
