.profile_wrapper {
    margin-top: 5rem;
    margin-bottom: 5rem;
    background: radial-gradient(ellipse at -10% 40%, #07595173, transparent 50%), radial-gradient(ellipse at 110% 65%, #e7c41548, transparent 50%);
}

.profile__banner .booklet {
    /* width: 900px;
    height: 607px; */
    position: relative;
    margin: 0 auto;
    -moz-box-shadow: 0px 0px 1px #fff;
    -webkit-box-shadow: 0px 0px 1px #fff;
    box-shadow: 0px 0px 1px #fff;
    /* -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px; */
}

.profile__banner .booklet .b-wrap-left {
    background: #ffffff00;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.profile__banner .booklet .b-wrap-right {
    background: #efefef00;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.profile__banner .booklet .b-counter {
    bottom: 1rem;
    position: absolute;
    display: block;
    width: 100%;
    height: 2rem;
    border-top: 1px solid #ddd;
    color: #222;
    text-align: center;
    font-size: 1.2rem;
    padding: 5px 0 0;
    background: transparent;
    -moz-box-shadow: 0px -1px 1px #fff;
    -webkit-box-shadow: 0px -1px 1px #fff;
    box-shadow: 0px -1px 1px #fff;
    opacity: 0.8;
}

.profile__banner {
    margin: 0 auto;
    padding-top: 4rem;
    width: 98rem;
    height: 70.5rem;
    background-size: 98rem 70.5rem;
    background-repeat: no-repeat;
    position: relative;
    background-image: url('https://giaiphapprofile.com/uploads/blockbook/ipad.png');
}

.profile__banner h1 {
    color: orange;
    margin: 5px 5px 5px 15px;
    font-size: 2.4rem;
    background: transparent url(uploads/blockbook/h1.png) no-repeat bottom left;
    padding-bottom: 7px;
    text-transform: uppercase;
    font-weight: normal;
}

.profile__banner p {
    font-size: 1.5rem;
    margin: 5px 5px 5px 15px;
}

.profile__banner a.article,
.profile__banner a.demo {
    background: transparent url(uploads/blockbook/circle.png) no-repeat 50% 0px;
    display: block;
    width: 9.5rem;
    height: 4.1rem;
    text-decoration: none;
    outline: none;
    font-size: 1.6rem;
    color: #555;
    float: left;
    line-height: 4.1rem;
    padding-left: 4.7rem;
}

.profile__banner a.demo {
    margin-left: 5rem;
}

.profile__banner a.article:hover,
.profile__banner a.demo:hover {
    background-position: 50% -41px;
    color: #13386a;
}

.profile__banner img {
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    box-shadow: 1px 1px 1px #fff;
}
@media (max-width: 768px) {
    .profile_wrapper {
        margin-top: 10rem;
        margin-bottom: 5rem;
    }
   .profile__banner {
        width: 100%;
        height: 340px;
        padding: 2rem 1rem 2rem 1rem;
        background-position: center;
        background-size: cover;
    }

    .profile__banner .booklet {
        position: relative;
        margin: 0 auto;
        -moz-box-shadow: none;
        -webkit-box-shadow:none;
        box-shadow: none;
        outline: none;
    }
    .booklet .b-shadow-f{
        background-image: none !important;
    }
}

/* .booklet .b-wrap-right img {
    border: 1px solid #E6E3C2;
} */
/* module-wrapper  */
.module-wrapper .match-height {
    padding: 0;
}

.profile .section.grey,
.profile .slider.grey,
.profile .breadcrumbs.grey {
    background: #f7f7f7;
    min-height: 654px;
}

.profile .section-2-col.section-image {
    height: 35rem;
    padding: 8rem 0 0
}

.profile .section-2-col.section-image {
    height: 35rem;
    padding: 8rem 0 0
}

.profile .section.grey h2 {
    font-size: 33px;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 300;
    margin-bottom: 30px;
}

.profile .section-2-col ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 4rem;
    unicode-bidi: isolate;
}

.profile .section-2-col ul li {
    font-size: 18px;
    font-weight: 100;
}

@media only screen and (min-width: 1100px) {
    .profile .section-2-col.section-text {
        padding-right: 5%;
        padding-left: 5%;
    }
}

@media only screen and (min-width: 992px) {
    .profile .match-height [class*="col-"] {
        float: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0;
        padding-bottom: 0;
        position: relative;
    }
}

@media (max-width: 767px) {
    .profile .section-2-col.section-image {
        height: 35rem;
        padding: 80px 0 0;
        width: 100%;
        min-height: 35rem
    }

    .profile .section.grey,
    .profile .slider.grey,
    .profile .breadcrumbs.grey {
        background: #f7f7f7;
        min-height: 354px;
        padding: 40px 15px;
    }
}

/* End module-wrapper  */

/* Visual */
.visual {
    margin: 5rem 0;
}

.visual .visual__title {
    width: 100%;
}

.visual .visual__title h2.headline {
    margin-bottom: 4rem;
}

/* End Visual */

/* Project */
.project {
    margin: 5rem 0;
}

.project__container {
    padding: 0;
    margin: 0;
}

.project .project__title {
    margin: 20px 0;
    width: 100%;
}

.project .project__cate {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.project .project__cate ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.project .project__cate ul li {
    position: relative;
}

.project .project__cate ul li span,
.project .project__cate ul li:before {
    position: absolute;
    width: 2px;
    height: 15px;
    display: block;
    bottom: 5px;
    left: 0;
}

.project .project__cate ul li:first-child span,
.project .project__cate ul li:first-child:before {
    width: 0;
    height: 0;
}

/*.project .project__cate ul li:before {*/
/*    z-index: 2;*/
/*    content: "";*/
/*    background: #9c9b9b;*/
/*    opacity: 1;*/
/*}*/

.project .project__cate ul li a {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    font-weight: 500;
    font-size: 14px;
}
.project .project__cate ul li.active a, .project .project__cate ul li:hover a {
    color: #fff;
    background-color: #055951;
}
.project .project__cate ul li a  {
    padding: 10px 30px;
    display: block;
    background-color: #f8f6ff;
    color: #7d7a94;
    line-height: 1.2em;
    border-radius: 5px;
    margin: 3px;
}
.project .project__cate ul li.active a {
    color: #fff;
}

.project .project__cate ul li a:hover {
    color:  #fff;
}

.project__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-gap: 10px;
    margin: 10px 2rem;
    padding: 0;
    max-width: 1680px;
    width: 100%;
}

.project__item {
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.project__item--media {
    position: relative;
    width: 100%;
    height: calc((100vw - 120px) / 3);
    overflow: hidden;
}

.project__item--media img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.project-image-hover .project-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    -ms-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
    /* width: calc((100vw - 120px) / 3);
    height: calc((100vw - 120px) / 3); */
}

.project-image-hover .project-bg-dark {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.project__item--content .item--name h2 {
    color: var(--white);
    font-size: 2.4rem;
}

.project__item--content {
    margin-bottom: 0;
    opacity: 0;
    -webkit-transform: translateY(-5rem);
    -moz-transform: translateY(-5rem);
    -ms-transform: translateY(-5rem);
    -o-transform: translateY(-5rem);
    transform: translateY(-5rem);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.project-opacity-90 {
    opacity: .9
}

.project-opacity-90,
.project-image-hover.hover .project-opacity-90 {
    opacity: .9
}

.project__item--content {
    position: absolute;
    padding: 30px;
    top: 40%;
    left: 0;
    z-index: 2;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.project-image-hover.hover .project__item--content {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: .2s;
    -moz-transition-delay: .2s;
    -ms-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s
}

@media only screen and (max-width: 768px) {

    .project__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-gap: 10px;
        margin: 10px 2rem;
        padding: 0;
        max-width: 1680px;
        width: 100%;
    }

    .project__item--media {
        position: relative;
        width: 100%;
        height: calc((100vw - 120px));
        overflow: hidden;
    }
}

/* End Project */

/* Service pack */

.module-service-pack {
    margin: 50px 0;
}

.service-pack__title h2 {
    margin-bottom: 50px;
}

.module-service-pack .service-pack__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-gap: 4rem;
    margin: 0 auto 00px;
    padding: 0 100px;
    max-width: 1422px;
}

.package--item {
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.package--item .package--desc .package__title {
    padding: 0;
    padding-left: 3.6rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
}

.package--right.package--item {
    padding: 3rem 6rem;
}

.package--item .package--desc .package__title svg {
    height: 80px;
}

.package--item .package--desc .package__title h3 {
    font-weight: 400;
    font-size: 2.8rem;
}

.package--right.package--item .package__desc {}

.package--right.package--item .package__desc--content {
    text-align: left;
    padding-left: 11.6rem;
}

.package--right.package--item .package__desc--content p {
    font-size: 1.8rem;
    font-weight: 300;
}

.package--right.package--item .package__desc--content ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 4rem;
    unicode-bidi: isolate;
}

.package--right.package--item .package__desc--content ul li {
    font-size: 1.6rem;
    font-weight: 200;
    font-family: var(--primary-font);
}

.package__desc--button {
    margin-top: 30px;
    margin-bottom: 30px;
}

.package__desc--button a {
    border-radius: 8px;
    background-color: #075951;
    padding: 0.8rem 2.2rem;
    color: #fff;
}

.package__desc--button a:hover {
    background-color: var(--second-color);
}

.package__desc--bottom {
    text-align: left;
    margin-top: 2rem;
}

.package__desc--bottom p {
    font-size: 1.6rem;
    font-weight: 200;
    font-family: var(--primary-font);
}

@media (max-width: 767px) {
    .module-service-pack .service-pack__content {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-gap: 1rem;
        margin: 0 auto 0;
        padding: 0 15px;
        max-width: 1422px;
    }

    .package--item .package--desc .package__title {
        padding-left: 0px;
    }

    .package--right.package--item {
        padding: 0;
    }

    .package--right.package--item .package__desc--content {
        text-align: left;
        padding-left: 0;
    }
}
/* Mobile: đảo vị trí, đưa .package--right lên trên */
@media (max-width: 768px) {
  .service-pack__content {
    display: flex !important;       /* ép dùng flex trên mobile */
    flex-direction: column;         /* xếp dọc */
    gap: 16px;                      /* tuỳ chọn: khoảng cách */
  }

  /* Reset các style có thể phá bố cục (float, width 50%...) */
  .service-pack__content .package--item {
    width: 100% !important;
    float: none !important;
  }

  /* Đảo thứ tự: right lên trước, left xuống sau */
  .service-pack__content .package--right { order: -1; }
  .service-pack__content .package--left  { order: 0; }
}


/* End Service pack */

h2.headline {
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--primary-color);
    padding: 0;
    text-align: center;
    transform: none;
}

@media (max-width: 767px) {
    h2.headline {
        font-size: 3rem;
    }
}

.course-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-gap: 4rem;
    margin: 0 auto 00px;
    padding: 0 100px;
    max-width: 1422px;
}

.course-item {
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.course-media {
    position: relative;
    padding-top: 30%;
    border-radius: inherit;
    overflow: hidden;
}

.course-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.course-name {
    font-size: 1.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 60px;
}

.course-main span {
    font-size: 1.5rem;
    margin: 0;
    color: var(--black);
    line-height: 2;
}

.pofo-stretch-content {
    padding-top: 105px;
    padding-bottom: 100px;
    /*background-image: url(https://springdesign.my/wp-content/uploads/2019/11/background-1.png?id=24590) !important;*/
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background: #372e2c;
}

.pofo-stretch-content .pofo-title h3 {
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 50px;
    display: block;
    text-align: center;
}

.pofo-stretch-content .pfo-des-title {
    margin-bottom: 20px;
}

.pofo-stretch-content .pfo-des-title h3 {
    color: #fff;
    text-align: center;
    font-size: 20px;
    margin-bottom: 0px;
    line-height: 30px;
    font-weight: 500;
    min-height: 60px;
}

.pofo-stretch-content .pfo-des-content {
    min-height: 130px;
}

.pofo-stretch-content .pfo-des-content p {
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .pofo-stretch-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .pofo-stretch-content .pofo-title h3 {
        font-size: 28px;
    }

    .pofo-stretch-content .pfo-des-title h3 {
        font-size: 16px;
        margin-bottom: 0px;
        line-height: 20px;
        min-height: 40px;
    }

    .pofo-stretch-content .pfo-des-title {
        margin-bottom: 10px;
    }

    .pofo-stretch-content .pfo-des-content p {
        font-size: 11px;
        font-weight: 400;
        line-height: 16px;
        text-align: center;
        margin: 0;
    }

    .pofo-stretch-content .pfo-des-content {
        min-height: 65px;
    }

    .pfo-img img {
        max-width: 100%;
    }

    .course-layout {
        display: block;
        padding: 0;
    }
}

.pofo-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-gap: 3rem;
    margin: 0 auto 00px;
    padding: 0 20px;
    max-width: 100%;
}

.pofo-content .pfo_item {
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.pofo-content .pfo_item .pfo-img {
    margin: auto;
}

@media (max-width: 767px) {
    .pofo-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-gap: 3rem;
        margin: 0 auto 00px;
        padding: 0 20px;
        max-width: 100%;
    }

    .pofo-content .pfo_item .pfo-img {
        margin-bottom: 20px;
    }
}

.service-pack__title h2 {
    margin-bottom: 0;
}

.package--item .package--desc .package__title h3 {
    font-size: 40px;
    line-height: 1;
    min-height: 60px;
    font-weight: 600;
    color: #075951;
}

.module-service-pack .tabs {
    width: 100%;
    margin-top: 20px;
}

.module-service-pack .tab-header {
    display: flex;
    list-style: none;
    padding: 0;
}

.module-service-pack .tab-header li {
    padding: 10px 30px;
    cursor: pointer;
    font-size: 25px;
    border: none;
}

.module-service-pack .tab-header li.active {
    background: #fff;
    border: none;
    line-height: 1;
    font-weight: 500;
    font-size: 3.8rem;
}

.module-service-pack .tab-content .tab-pane {
    display: none;
}

.module-service-pack .tab-content .tab-pane.active {
    display: block;
}

@media (max-width: 767px) {
    .module-service-pack .tab-header li.active {
        font-size: 2.8rem;
    }
    .project .project__cate ul li:before {
    opacity: 0;
}
}