/* new css start */
.header-contnet {
    font-size: 14px;
    color: #7b7b7b;
    line-height: 1.4;
    font-weight: 600;
}
.promize-hero-section {
    display: flex;
    align-items: flex-end;
    min-height: 90vh;
    background-image: url('../assets/image/bangladesh-flag.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #b0b0b0;
}
.padding-tops {
    padding-top: 2rem;
}
.nav-tabs {
    border-bottom: 0;
}
.nav-tabs .nav-link.active {
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
}
.nav-tabs .nav-link:hover {
    border: 1px solid var(--primary-color);
    border-radius: 10px;
}
.nav-tabs .nav-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
    background-color: transparent;
}

.second-tap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    row-gap: 12px;
}

.second-tap .nav-item {
    margin: 0;
}

.second-tap .nav-link {
    font-size: 16px;
    color: var(--primary-color) !important;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 10px 20px;
    white-space: nowrap;
    display: inline-block;
}
.second-tap .nav-link.active {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #ffffff !important;
    border-radius: 10px;
}
.second-tap .nav-link:hover {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #ffffff !important;
    border-radius: 10px;
}
.progress {
    height: 10px;
    border-radius: 10px;
}
.progress-bar {
    border-radius: 10px;
}
.status-label {
    font-size: 14px;
    font-weight: 600;
    color: #474747;
    min-width: 80px;
}
.card-description {
    color: #474747;
    font-weight: 600;
}
.promise-card {
    border: 1px solid #cacaca;
    border-radius: 15px;
    padding: 20px;
    background-color: #f6f8f7;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.btn-outline-success {
    border-radius: 8px;
}

.card-contnet {
    background: linear-gradient(to left, #fffbf6, #f2faff);
}
.card-tap-title {
    font-size: 18px;
    color: #2c2c2c;
}
.card-image {
    height: 200px;
    object-fit: cover;
    margin-bottom: 30px;
}
.card-image img {
    border-radius: 12px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Blog Card Styles */
.blog-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #757575;
    font-weight: 500;
}

.blog-meta i {
    color: var(--primary-color);
    font-size: 14px;
}

.blog-date {
    color: #757575;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px;
    margin-bottom: 12px;
}

.blog-description {
    font-size: 15px;
    color: #5a5a5a;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    margin-bottom: 20px;
}

.blog-read-more-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-read-more-btn:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.blog-read-more-btn:hover i {
    transform: translateX(4px);
}

.blog-read-more-btn i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.btn-custom-2:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-custom-2:hover img {
    filter: brightness(0) invert(1);
}

.main-bar {
    height: 15px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #e9ecef;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.main-bar .progress-bar {
    height: 100%;
    border-radius: 0;
    margin: 0;
    transition: width 0.6s ease;
}

/* Rounded ends for first and last */
.main-bar .progress-bar:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.main-bar .progress-bar:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.commitment-list {
    list-style: none;
    padding: 0;
}
.commitment-list li {
    font-size: 1.1rem;
    color: #2c2c2c;
    padding: 8px 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.commitment-status {
    font-weight: 500;
}
.edu-left {
    width: 20%;
}
.edu-right {
    width: 80%;
}
.edu-content-left {
    width: calc(100% - 110px);
}
.edu-content-right {
    width: 110px;
    font-size: 16px;
}
.left-commitment {
    width: 35%;
}
.right-commitment {
    width: 65%;
}
/* new css end */

@media (max-width: 768px) {
    .header-contnet {
        font-size: 8px;
    }
    .commitment-list li {
        font-size: 1.1rem;
        color: #2c2c2c;
        padding: 8px 0;
        display: flex;
        gap: 0.8rem;
        align-items: center;
        flex-direction: column;
    }
    .edu-left {
        width: 100%;
    }
    .edu-right {
        width: 100%;
    }
    .edu-content-left {
        width: 100%;
    }
    .edu-content-right {
        width: 100%;
    }
    .left-commitment {
        width: 100%;
    }
    .right-commitment {
        width: 100%;
    }
    
    /* Blog card responsive */
    .blog-card-image {
        height: 200px;
    }
    
    .blog-card-body {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 18px;
        min-height: auto;
    }
    
    .blog-description {
        font-size: 14px;
    }
    
    .blog-read-more-btn {
        width: 100%;
        justify-content: center !important;
    }
}
@media (max-width: 576px) {
    .header-contnet {
        font-size: 8px;
    }
    .commitment-list li {
        font-size: 1.1rem;
        color: #2c2c2c;
        padding: 8px 0;
        display: flex;
        gap: 0.8rem;
        align-items: center;
        flex-direction: column;
    }
    .edu-left {
        width: 100%;
    }
    .edu-right {
        width: 100%;
    }
    .edu-content-left {
        width: 100%;
    }
    .edu-content-right {
        width: 100%;
    }
    .left-commitment {
        width: 100%;
    }
    .right-commitment {
        width: 100%;
    }
    
    /* Blog card mobile */
    .blog-card-image {
        height: 180px;
    }
    
    .blog-card-body {
        padding: 16px;
    }
    
    .blog-title {
        font-size: 17px;
    }
    
    .blog-description {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .blog-meta {
        font-size: 12px;
    }
}
