
:root {
    --font-family-SVN-Gilroy-Bold: 'SVN-Gilroy-Bold';
    --font-family-SVN-Gilroy-Regular: 'SVN-Gilroy-Regular';
    --font-family-SVN-Gilroy-Heavy: 'SVN-Gilroy-Heavy';
    --font-family-iCielCadena: 'iCielCadena';
    --text-red: #cb2229;
    --text-black: #000;
    --text-white: #fff;
    --Gradient-LMC: linear-gradient(180deg, #DB1F1F 0%, #9D0B0F 100%);
}

h2.title {
    text-align: center;
    font-family: var(--font-family-SVN-Gilroy-Bold);
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
    color: #DB1F1F;
}

.accordion-item {
    box-shadow: none;
    overflow: visible;
}

.accordion-last {
    border-bottom: none !important;
}

.ielts{
    background: url(../../../images/courses/khoa-hoc-ielts-online/chi-tiet-ielts/bg4.png) no-repeat top center;
    padding-top: 45px;
}

.ielts-banner {
    height: 420px;
    background-color: #DB1F1F1F;
}

.ielts-banner .banner-detail {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.ielts-banner h1 {
    font-weight: 800;
    font-size: 28px;
    line-height: 100%;
    padding-bottom: 22px;

    font-family: var(--font-family-SVN-Gilroy-Bold);
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    background: linear-gradient(180deg, #DB1F1F 0%, #9D0B0F 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ielts-banner p {
font-weight: 500;
font-style: Medium;
font-size: 18px;
line-height: 100%;
letter-spacing: 0%;
text-align: justify;
padding-bottom: 29px;
line-height: 23px;
letter-spacing: 0.5px;

}

.banner-button{
    display: flex;
    gap: 9px;
  flex-wrap: wrap; /* ⬅️ Cho phép tự xuống dòng */
}

.ielts-banner a{
text-decoration: none;
}

.ielts-banner a div{
font-weight: 500;
font-size: 18px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
padding: 9px;
border-radius: 30px;
border: 1px solid var(--LMC, #DB1F1F);
background-color: #fff;
color: black;
}

.ielts-banner a div:hover{
padding: 9px;
background-color: #DB1F1F;
border-radius: 30px;
color: #fff;
}

.ielts-banner a .index {
padding: 9px;
background-color: #DB1F1F;
border-radius: 30px;
color: #fff;
}

.ielts-banner img {
    margin-top: 19px;
    height: 401px;
}

.ielts-banner .img-mobile{
    display: none;
}

.ielts-banner .img {
    display: flex;
    justify-content: center;
}

.ielts .ecosystem-title-section {
    padding-top: 66px;
}


.ielts .ecosystem-title {

    font-family: var(--font-family-SVN-Gilroy-Bold);
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    background: linear-gradient(180deg, #DB1F1F 0%, #9D0B0F 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ielts-label {
  display: inline-flex;
  align-items: center;
  background: #FAE4E4; /* nền hồng nhạt */
  border-radius: 30px;
  padding: 6px 20px 6px 48px; /* đẩy chữ ra xa icon */
  font-weight: 600;
  color: #1a1a1a;
  font-size: 15px;
  font-family: "Roboto", sans-serif;
  position: relative;
}

/* lớp nền hồng bao ngoài icon */
.label-icon-wrapper {
  background: #FAE4E4; /* hồng nhạt */
  width: 52px;
  height: 51px;
  border-radius: 12px;
  transform: rotate(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: -14px; /* để tràn ra ngoài như hình */
}

/* icon đỏ */
.label-icon {
  /* background: #d62222; */
  background: linear-gradient(180deg, #DB1F1F 0%, #9D0B0F 100%);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(0deg);
}

.label-icon img {
    height: 24px;
  transform: rotate(-45deg);
}

.ielts-label span {
font-weight: 700;
font-size: 1.5rem;
line-height: 100%;
letter-spacing: 0%;
text-align: justify;
padding-bottom: 3px;

}

.ielts-label-p{
font-weight: 500;
font-size: 18px;
line-height: 100%;
text-align: justify;
margin: 22px 0 33px 0;
line-height: 22px;
letter-spacing: 0.5px;
}

.ielts-card{
    padding-top: 35px;
    padding-bottom: 10px;
}

.course-info-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 1px 1px 4px 2px rgb(129 5 4 / 9%);
    text-align: center;
    padding: 25px 15px;
    position: relative;
    /* border-top: 4px solid #d62222; */
    transition: all 0.3s ease;
    height: 100%;
}

.course-info-card h5 {
  font-weight: 500;
  color: #222;
  margin-bottom: 15px;
height: 33px;
}

.course-info-card h5 span{
    display: none;
}

.course-info-card img {
  height: 64px;
  margin-bottom: 15px;
}

.dotted-line {
  border-bottom: 2px dotted #bbb;
  width: 60%;
  margin: 0 auto 15px;
}

.course-info-card p {
  color: #d62222;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.4;
    font-family: var(--font-family-SVN-Gilroy-Bold);
}

/* Nắp đỏ nhỏ ở viền trên */
.course-info-card::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 6px;
  background: #d62222;
  border-radius: 0 0 8px 8px;
}


.ielts .section-3 {
    background-image: none;
    background-size: 100%, cover;
    background-repeat: no-repeat, no-repeat;
    /* background-position: bottom center, top center; */
    margin-top: -1px;
    padding-bottom: 0;
}

.ielts .section-3 .content-box {
    border-radius: 1rem;
    background: linear-gradient(180deg, #DB1F1F 0%, #9D0B0F 100%);

}

.ielts .section-3 .box-courses .skill span {
    background: linear-gradient(265deg, #FAE361 80.29%, #FEA613 102.32%);
    color: #DB1F1F;
}

.ielts .section-3 .box-courses .skill span::after {
    background-color: #FEA613;
}

.ielts .section-3 .box-courses .text {
    background: #FFFFFF;
}

.ielts .lmc_footer #enrollment-form .btn-register button {
    background: none;
}

.ielts .accordion-body {
    border-top: none;
    margin-left: 9px;
}

.ielts .accordion-body::before {
    position: unset ;
}

.ielts .section-4 .accordion-2 .accordion-item .accordion-body .content h3 {
    border-bottom: 1px dashed #373434;
    width: auto;
    display: inline-block;
}
.ielts .ecosystem-title-section {
        margin-bottom: 47px;
    }

.ielts .gv-slide .item{
    padding: 0 1.5rem;
}

.section-2 {
    background-image: none;
}

.section-2 .accordion-item:has(> .accordion-collapse.show) {
    background-color: #ffffff00 !important;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
    border: none;
}

.ielts .accordion-button::after {
    bottom: 17px !important;
}
.gap-md-3 {
    gap: 1rem !important;
}
.align-items-md-center {
    align-items: center !important;
}
.flex-md-row {
    flex-direction: row !important;
}

.translate-middle{
    transform: translate(-52%, -60%) !important;
}

/* repository  */


@media (max-width: 992px) {

    .ielts-banner {
        height: auto;
        padding-bottom: 20px;
    }

    .ielts-banner img {
        margin-bottom: 20px
    }
    .ielts-banner .img-mobile{
        display: block;
    }

    .ielts-banner .img-web{
        display: none;
    }

}

@media (max-width: 767px) {
    

    .ielts-banner img {
        margin-bottom: 20px;
        width: 100%;
        height: auto;
    }

    .ielts-banner h1 {
        font-size: 20px;
    }

    .ielts-banner p {
        font-size: 16px;
    }

    .ielts-banner a div {
        font-size: 16px;
    }

    .ielts-label {
        margin-left: 12px;
    }

    .ielts-label span {
        font-size: 20px;
    }

    .ielts-label-p {
        font-size: 16px;
    }

    .course-info-card {
        display: flex;
        align-items: center;
        padding: 7px 18px;
        border-radius: 7px;
        height: 42px;
    }

    .course-info-card img {
        height: auto;
        margin-bottom: 0;
        width: 23px;
        margin-right: 13px;
    }

    .course-info-card h5 {
        margin-bottom: 0;
        height: auto;
        font-size: 13px;
        padding-right: 10px;
    }

    .course-info-card h5 span{
        display: inline;
    }

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

    .course-info-card::before {
        top: 10px;
        left: 1px;
        transform: translateX(-47%);
        width: 3px;
        height: 20px;
        border-radius: 0 8px 8px 0;
    }

    .dotted-line{
        display: none;
    }

    .section-3 .box-courses .camket {
        width: 80%;
        margin: 0 auto;
    }

    .ielts .section-3 .content-box {
        padding: 10px !important;
    }

    .section-3 .box-courses .skill span {
        padding: 5px;
        padding-left: 8px;
        font-size: 14px;
        border-radius: 0.5rem 0 0 0.5rem;
    }
    
    .ielts .section-3 .box-courses .text p{
        font-size: 14px !important;
    }

    .ielts .section-3 .box-courses .skill span::after {
        width: 22px;
        clip-path: polygon(0 0, 0 70%, 100% 0); 
        left: auto;
    }

    .section-4 {
        padding-top: 20px !important;
    }

    .ielts .form-right {
        background-color: #fff;
        padding: 1.5rem 2.5rem;
        border-radius: 1.25rem;
        width: 80%;
        margin: 0;
        width: 100%;
    }

    .text-center .img-fluid {
        margin-bottom: 20px;
    }

    .course .mt-4 {
        margin-top: 0 !important;
    }

    .ielts .ecosystem-title-section{
        padding-top: 20px;
    }               
}
