section.abouts {}

section.abouts .content {
    flex: 1;
    padding-right: 10px;
}

section.abouts .logo-text {
    color: #bf0208;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

section.abouts .main-title {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 13px;
}

section.abouts .description {
    font-size: 18px;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 0px;
}

section.abouts .cta-button {
    background: #bf0208;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

section.abouts .cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

section.abouts .note {
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
}

section.abouts .illustration {
    \: flex;
    position: relative;
}

section.abouts .books-stack {}

section.abouts .book {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

section.abouts .book:hover {
    transform: translateY(-5px);
}

section.abouts .book1 {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    bottom: 0;
    left: 50px;
    transform: rotate(-15deg);
}

section.abouts .book2 {
    width: 90px;
    height: 120px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: 10px;
    left: 120px;
    transform: rotate(10deg);
}

section.abouts .book3 {
    width: 75px;
    height: 110px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 20px;
    left: 200px;
    transform: rotate(-8deg);
}

section.abouts .book4 {
    width: 85px;
    height: 130px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    bottom: 30px;
    left: 270px;
    transform: rotate(12deg);
}

section.abouts .book5 {
    width: 70px;
    height: 90px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    bottom: 100px;
    left: 80px;
    transform: rotate(-20deg);
}

section.abouts .book6 {
    width: 95px;
    height: 115px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    bottom: 90px;
    left: 150px;
    transform: rotate(15deg);
}

section.abouts .book7 {
    width: 80px;
    height: 105px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    bottom: 110px;
    left: 230px;
    transform: rotate(-10deg);
}

section.abouts .person {
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px 30px 20px 20px;
    position: absolute;
    top: 50px;
    right: 80px;
    animation: float 3s ease-in-out infinite;
}

section.abouts .person::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: #f4d03f;
    border-radius: 50%;
    top: -12px;
    left: 17px;
}

section.abouts .person2 {
    width: 50px;
    height: 70px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 25px 25px 15px 15px;
    position: absolute;
    bottom: 80px;
    right: 20px;
    animation: float 3s ease-in-out infinite 1s;
}

section.abouts .person2::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #f4d03f;
    border-radius: 50%;
    top: -10px;
    left: 15px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

section.abouts .trustpilot-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    border: 1px solid #e8e8e8;
}

section.abouts .trustpilot-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

section.abouts .trustpilot-logo {
    width: 40px;
    height: 40px;
    background: #543ee8;
    border-radius: 8px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

section.abouts .trustpilot-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

section.abouts .trustpilot-reviews {
    font-size: 14px;
    color: #7f8c8d;
}

section.abouts .stars {
    display: flex;
    margin-bottom: 10px;
}

section.abouts .star {
    color: #00b67a;
    font-size: 16px;
    margin-right: 2px;
}

section.abouts .rating {
    color: #2c3e50;
    font-weight: 600;
    margin-left: 10px;
}

section.abouts .trustpilot-note {
    font-size: 12px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

section.abouts .info-icon {
    width: 16px;
    height: 16px;
    background: #3498db;
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
}

section.abouts .review-link {
    color: #00b67a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

section.abouts .review-link:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    section.abouts .content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 50px;
    }

    section.abouts .main-title {
        font-size: 36px;
    }

    section.abouts .books-stack {
        width: 300px;
        height: 250px;
    }
}

section.abouts .box-member-abouts {
    display: grid;
    align-items: center;
    grid-template-columns: 60% 39%;
}

section.abouts .books-stack img {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
}

.Engnovate {
    /* Responsive Design */
}

.Engnovate .hero-section {
    background: #800200 !important;
    padding: 60px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.Engnovate .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.Engnovate .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.Engnovate .hero-title {
    font-size: 31px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.Engnovate .hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 27px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.Engnovate .button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.Engnovate .cta-button {
    background-color: #543ee8;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.Engnovate .cta-button:hover {
    background-color: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.Engnovate .main-content {
    padding: 20px 0px;
}

.Engnovate .section-title {
    text-align: center;
    font-size: 31px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    text-transform: uppercase;
}

.Engnovate .section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #000;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.Engnovate .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.Engnovate .tool-card {
    background: white;
    border-radius: 10px;
    padding: 24px 10px;
    text-align: center;
    border: 1px solid #d2d2d2;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.Engnovate .tool-card:nth-child(1) {
    animation-delay: 1s;
}

.Engnovate .tool-card:nth-child(2) {
    animation-delay: 1.2s;
}

.Engnovate .tool-card:nth-child(3) {
    animation-delay: 1.4s;
}

.Engnovate .tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.Engnovate .tool-card:hover::before {
    left: 100%;
}

.Engnovate .tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #543ee8;
}

.Engnovate .tool-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.Engnovate .tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.Engnovate .icon-general {
    background: linear-gradient(135deg, #fff5e6 0%, #fed7aa 50%, #fb923c 100%);
}

.Engnovate .icon-task2 {
    background: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 50%, #7dd3fc 100%);
}

.Engnovate .tool-title {
    font-size: 20px;
    font-weight: 600;
    color: #543ee8;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.Engnovate .tool-title:hover {
    color: #c53030;
}

@media (max-width: 768px) {
    .Engnovate .hero-title {
        font-size: 2rem;
    }

    .Engnovate .hero-subtitle {
        font-size: 1.5rem;
    }

    .Engnovate .section-title {
        font-size: 2.2rem;
    }

    .Engnovate .section-subtitle {
        font-size: 15px;
    }

    .Engnovate .button-container {
        flex-direction: column;
        align-items: center;
    }

    .Engnovate .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .Engnovate .tools-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .Engnovate .tool-card {
        padding: 30px 20px;
    }

    .Engnovate .main-content {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .Engnovate .hero-section {
        padding: 40px 15px;
    }

    .Engnovate .hero-title {
        font-size: 1.8rem;
    }

    .Engnovate .hero-subtitle {
        font-size: 1.3rem;
    }

    .Engnovate .section-title {
        font-size: 2rem;
    }

    .Engnovate .tool-icon {
        width: 100px;
        height: 100px;
    }

    .Engnovate .tools-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.Engnovate .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.Engnovate .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.Engnovate .shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.Engnovate .shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.Engnovate .shape:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

section.Conversations {
    background: #ffffff1f;
    padding: 40px 0px 40px;
}

section.Conversations .header {
    text-align: center;
    margin-bottom: 25px;
}

section.Conversations .header h1 {
    font-size: 31px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
}

section.Conversations .header p {
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    color: #000;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

section.Conversations .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.skill-wrap{
    padding: 15px;
    background-color: #800200;
}   

section.Conversations .card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding-top: 20px;
}

section.Conversations .box-skill {
    background: #e3edec;
}

section.Conversations .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

section.Conversations .card-image {
    width: 100%;
    height: 153px;
    overflow: hidden;
}

section.Conversations .card-content {
    padding: 20px;
    text-align: center;
}

section.Conversations .card-content h3 {
    font-size: 24px;
    font-weight: 500;
    color: #bf0208;
}

section.Conversations .card-1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

section.Conversations .cta-button {
    text-align: center;
}

section.Conversations .btn {
    display: inline-block;
    background: #bf0208;
    color: white;
    padding: 15px 35px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

section.Conversations .btn:hover {
    background: #543ee8;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    section.Conversations .header h1 {
        font-size: 2rem;
    }

    section.Conversations .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    section.Conversations .container {
        padding: 40px 15px;
    }
}

section.Writing-Improvement {
    padding: 20px 0px;
    /* Writing Section */
    /* Pronunciation Section */
}

section.Writing-Improvement .section {
    margin-bottom: 45px;
}

section.Writing-Improvement .header {
    text-align: center;
    margin-bottom: 20px;
}

section.Writing-Improvement .header h1 {
    font-size: 31px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
}

section.Writing-Improvement .header p {
    font-size: 16px;
    color: #666;
    max-width: 661px;
    margin: 0 auto;
}

section.Writing-Improvement .writing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

section.Writing-Improvement .writing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

section.Writing-Improvement .writing-card:hover {
    border-color: #bf0208;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

section.Writing-Improvement .writing-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #bf0208;
    text-decoration: underline;
    margin: 0;
}

section.Writing-Improvement .pronunciation-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

section.Writing-Improvement .pronunciation-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.Writing-Improvement .pronunciation-card:hover {
    border-color: #bf0208;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

section.Writing-Improvement .pronunciation-card span {
    font-size: 19px;
    color: #bf0208;
    text-decoration: underline;
    font-weight: 400;
}

section.Writing-Improvement .cta-button {
    text-align: center;
}

section.Writing-Improvement .btn {
    display: inline-block;
    background: #bf0208;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

section.Writing-Improvement .btn:hover {
    background: #bf0208;
    transform: translateY(-2px);
}


/* IELTS Tests */
.ielts-tests {
    padding: 30px 0;
}

.title-section {
    font-size: 31px;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.ielts-tests .ielts-tests-inner {
    border-radius: 10px;
    background-color: #fff8f8;
    padding: 30px;
}

.ielts-tests .ielts-tests-inner .row {
    row-gap: 20px;
}

.ielts-tests .item .wrap-img {
    padding-bottom: 56%;
    border-radius: 8px;
}

.ielts-tests .item h3 {
    font-size: 18px;
    margin-top: 24px;
    text-align: center;
}

.ielts-tests .item h3 a {
    color: #bf0208;
    text-decoration: underline;
}

/* Band-9 IELTS Samples */
.ielts-samples {
    padding: 30px 0;
}

.ielts-samples .item {
    padding: 60px;
}

.ielts-samples .item .wrap-img {
    padding-bottom: 56%;
}

.ielts-samples .item h3 {
    font-size: 24px;
    margin-top: 15px;
}

.ielts-samples .item .categories {
    margin-top: 10px;
}

.ielts-samples .item .categories a {
    font-size: 18px;
    color: #543ee8;
}

.ielts-samples .item .des {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 18px;
    margin-top: 15px;
}

.ielts-samples .item .read-more {
    color: #543ee8;
    display: inline-block;
    margin-top: 15px;
    font-size: 18px;
}

.ielts-samples .item:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

/* Writing task */
.writing-task {
    padding: 30px 0;
}

.des-section {
    text-align: center;
    font-size: 18px;
}

.writing-task .posts-search {
    text-align: center;
    margin: 20px 0;

}

.writing-task .posts-search input {
    width: 400px;
    padding: 10px 15px;
    border: 1px solid lightgray;
    background-color: white;
    color: #666;
    font-size: 18px;
    max-width: 100%;
}

.writing-task .posts-search select {
    padding: 10px 15px;
    border: 1px solid lightgray;
    background-color: white;
    color: #666;
    font-size: 18px;
}

.writing-task .posts-search button {
    margin-left: 10px;
    background: #543ee8;
    color: #FFF;
    font-size: 18px;
}

.writing-task .topic-count {
    font-style: italic;
    margin-bottom: 30px;
}

.writing-task .item-topic {
    position: relative;
    width: 100%;
    border: 1px solid gray;
    border-radius: 5px;
    padding: 15px 30px 10px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
}

.writing-task .item-topic .content {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 20px;
}

.writing-task .item-topic .des {
    position: absolute;
    top: -13px;
    left: 30px;
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    display: flex;
}

.writing-task .item-topic .des a {
    background-color: darkorange;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    line-height: 1;
}

.writing-task .item-topic .button-group a {
    display: inline-flex;
    gap: 10px;
    border-radius: 5px;
    padding: 7px 15px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
    color: white;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    align-items: center;
}

.writing-task .item-topic .button-group a svg {
    width: 18px;
    height: 18px;
}

.writing-task .item-topic .button-group a svg path {
    fill: #FFF;
    stroke: #FFF;
}

.write-essay-button {
    background-color: teal;
    margin-right: 5px;
}

.generate-essay-button {
    background-color: slateblue;
    margin-right: 5px;
}

.show-samples-button {
    background-color: darkorchid;
}

/* IELTS Tips */
.writing-task .item-tips {
    padding: 10px 10px 5px 10px;
    border: 1px solid lightgray;
    border-radius: 5px;
    text-align: center;
    background-color: white;
}

.writing-task .row-tips {
    row-gap: 20px;
    margin-top: 20px;
}

.writing-task .item-tips .wrap-img {
    padding-bottom: 56%;
    border-radius: 5px;
}

.writing-task .item-tips .content h3 {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 5px;
}

.writing-task .item-tips .content h3 a,
.writing-task .item-tips .content .tags a {
    color: #543ee8;
}

.writing-task .item-tips .content .tags {
    margin-top: 10px;
    font-size: 14px;
}

.writing-task .item-tips .content .des {
    margin-top: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    /* height: 96px; */
}

/* IELTS Tools  */
.ielts-tools {
    padding: 30px 0;
}

.ielts-tools .item {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #94a3b8;
}

.ielts-tools .item .image img {
    object-fit: cover;
    width: 128px;
    height: 128px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.ielts-tools .item h3 {
    font-size: 20px;
    margin-top: 24px;
    text-align: center;
}

.ielts-tools .item h3 a {
    color: #bf0208;
    text-decoration: underline;
}

.ielts-tools-inner {
    margin-top: 30px;
}

.ielts-tools-inner .row {
    row-gap: 20px;
}

.ielts-tools-5-col {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    row-gap: 20px;
}

.ielts-tools-5-col .item .image img {
    width: 100px;
    height: 100px;
}

.ielts-tools-5-col .item h3 {
    font-size: 16px;
}

/* IELTS Tests level 3 */
.test-lv3-inner {
    margin: 30px 0;
}

.test-filter {
    height: 100%;
}

.ielts-test-lv3 .form-filter {
    padding: 20px;
    border: 1px solid gray;
    border-radius: 5px;
    height: 100%;
}

.ielts-test-lv3 .title-filter {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3em;
}

.ielts-test-lv3 .form-filter hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

.ielts-test-lv3 .form-filter .input-wrap {
    border: 1px solid #e2e8f0;
    margin: 0 0;
    padding: 15px 13px 15px;
    margin-bottom: 20px;
    position: relative;
}

.ielts-test-lv3 .form-filter .input-wrap span {
    padding: 0 .5em;
    font-size: 13px;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 10px;
    transform: translateY(-50%);
    background: #FFF;
    z-index: 2;
    display: inline-block;
}

.ielts-test-lv3 .form-filter .input-wrap input,
.ielts-test-lv3 .form-filter .input-wrap select {
    border: 1px solid lightgray;
    border-radius: 3px;
    background-color: white;
    padding: 10px;
    width: 100%;
}

.ielts-test-lv3 .form-filter .filter {
    color: #FFF;
    background: #bf0208;
    font-size: 14px;
    border-radius: 4px;
    width: 100%;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;

}

.filter_results {
    border: 1px solid gray;
    border-radius: 5px;
    padding: 10px 20px;
}

.filter_results .categories {
    /* text-align: center; */
    margin-bottom: 20px;
}

.d-flex a {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    border: 1px solid lightgray;
    border-radius: 5px;
    color: #bf0208;
}

.filter_results .categories a.active {
    font-weight: bold;
    background-color: whitesmoke;
}

.filter_results .row {
    row-gap: 20px;
}

.filter_results .item {
    border: 1px solid gray;
    border-radius: 5px;
    padding: 25px 15px 15px 15px;
    position: relative;
}

.filter_results .item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.filter_results .item h3 a {
    color: #bf0208;
}

.filter_results .item .button {
    color: #FFF;
    background-color: #bf0208;
    display: block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
}

.filter_results .item .part {
    position: absolute;
    top: -9px;
    left: 10px;
    display: inline-block;
    padding: 0px 10px;
    border: 1px solid lightgray;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    background-color: white;
    color: black;
}

.User-Written {
    padding: 20px 0px;
}

.Writing-Samples {
    padding: 20px;
}

section.abouts .content h2 {
    font-size: 45px;
    margin-bottom: 20px;
}

section.abouts .content p {
    font-size: 19px;
}

@media (max-width: 1024px) {
    section.Writing-Improvement .pronunciation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    section.Writing-Improvement .header h1 {
        font-size: 2rem;
    }

    section.Writing-Improvement .writing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    section.Writing-Improvement .pronunciation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    section.Writing-Improvement .container {
        padding: 40px 15px;
    }

}

@media (max-width: 480px) {
    section.Writing-Improvement .pronunciation-grid {
        grid-template-columns: 1fr 1fr;
    }
}

section.Writing-Improvement .box-writing-2 {
    background: #f7f9fa;
    padding: 35px 0px;
}

section.Writing-Improvement .box-writing-2 .section {
    margin-bottom: 0px;
}

/* Tuân respoonsive */
@media (max-width: 991px) {
    .ielts-test-lv3 .form-filter {
        margin-bottom: 30px;
        height: unset;
    }
}

@media (max-width: 767px) {

    /* IELTS Tests */
    .title-section {
        font-size: 20px;
    }

    .ielts-tests .ielts-tests-inner {
        padding: 25px;
    }

    /* Band-9 IELTS Samples */
    .ielts-samples .item {
        padding: 20px;
    }

    .ielts-samples .item h3 {
        font-size: 18px;
    }

    .ielts-samples .item .categories a {
        font-size: 15px;
    }

    .ielts-samples .item .des,
    .ielts-samples .item .read-more {
        font-size: 15px;
        margin-top: 10px;
    }

    /* Writing task */
    .des-section {
        font-size: 16px;
    }

    .writing-task .posts-search input {
        margin-bottom: 10px;
    }

    .writing-task .item-topic {
        padding: 15px 15px 10px 15px;
    }

    .writing-task .item-topic .content {
        font-size: 16px;
    }

    .writing-task .item-topic .button-group a {
        font-size: 14px;
    }

    .writing-task .item-tips .content h3 {
        font-size: 15px;
    }

    .writing-task .item-tips .content .tags {
        font-size: 13px;
    }

    /* IELTS Tools */
    .ielts-tools-5-col {
        grid-template-columns: repeat(1, 1fr);
    }

}

.Engnovate .button-container li a {
    color: #bf0208;
}

.Writing-Samples .section {
    margin-bottom: 10px;
}

.Writing-Samples .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
}

.Writing-Samples .writing-sample {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.Writing-Samples .sample-image {
    flex-shrink: 0;
    width: 320px;
    position: relative;
    overflow: hidden;
}

.Writing-Samples .sample-content {
    flex: 1;
}

.Writing-Samples .sample-title {
    font-size: 22px;
    font-weight: 600;
    color: #bf0208;
    text-decoration: underline;
    margin-bottom: 15px;
    cursor: pointer;
}

.Writing-Samples .sample-description {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.6;
}

.Writing-Samples .sample-meta {
    font-size: 16px;
    color: #6b7280;
}

.Writing-Samples .meta-row {
    margin-bottom: 8px;
}

.Writing-Samples .meta-links a {
    color: #bf0208;
    text-decoration: underline;
    margin-right: 10px;
}

.Writing-Samples .sample-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #333;
}

.User-Written h1 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 10px;
}

.User-Written .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.User-Written .task-box {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fafafa;
}

.User-Written .task-text,
.User-Written .task-box p {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    text-decoration: underline;
    font-weight: 600;
}

.User-Written .view-all-btn {
    display: block;
    background-color: #bf0208;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 30px auto 0;
    text-align: center;
    text-decoration: none;
}

.User-Written .view-all-btn:hover {
    background-color: #c82333;
}

.ai-conversations .card-image img {
    display: block;
    height: 100%;
}

@media (max-width: 990px) {
    .writing-task {
        overflow: hidden;
    }

    .Writing-Samples .sample-image {
        width: 100%;
    }

    .Writing-Samples .writing-sample {
        flex-wrap: wrap;
        padding: 10px;
    }

    section.abouts .box-member-abouts {
        grid-template-columns: 1fr;
    }

}

.Engnovate .button-container ul {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.Engnovate .button-container ul li {
    background-color: rgb(255 255 255);
    color: #bf0208;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    box-shadow: rgba(229, 62, 62, 0.3) 0px 4px 15px;
    padding: 10px 20px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 5px;
    transition: 0.3s;
    text-decoration: none;
}

.Engnovate .button-container ul li a:hover {
    color: #000000;
    text-decoration: none !important;
}

.section-bg-gray {
    background-color: #cdcdcd1f;
}

.Writing-Samples .view-all-btn {
    display: block;
    background-color: #bf0208;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 15px auto 0;
    text-align: center;
    text-decoration: none;
}

.desc-content-card {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
}

.btn-send-modes a {
    text-decoration: underline;
}
.box-skill-witing .skill-wrap {
    background: #ffffff00 !important;
}
section.Conversations .card-content .filter_results {
    border: none;
}

section.Conversations .filter_results .item {
    padding: unset;
    border: none;
}

.box-skill-witing .card.box-skill {
    background: #fff;
    border: 1px solid #000;
}

.box-skill-witing .card.box-skill .card-content h3 {
    font-size: 18px;
}