.title {
    font-size: 2rem;
    font-family: "Archivo Black", sans-serif;
}

.sub-title {
    font-size: 1rem;
    font-family: "Kanit", sans-serif;
    color: rgb(185, 185, 185);
}

.para {
    font-size: 1rem;
}

.main table {
    width: 100%;
    height: 100vh;
}

.main table td {
    width: 50%;
}

.main table td img {
    width: 80%;
    float: right;
    height: 80%;
    margin-top: 10%;
    pointer-events: none;
    --delay: 0s;
    animation: arrows 4s var(--delay) infinite ease-in;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black; /* Darker green */
}

@keyframes arrows {
    0%,
    100% {
        color: black;
        transform: translateY(0);
    }
    50% {
        color: #3ab493;
        transform: translateY(20px);
    }
}

.main table td section {
    margin: 5%;
    color: #fff;
}

.main table td section .sub-title,
.main table td section p {
    color: rgb(180, 205, 255);
}

@media (max-width: 600px) {
    .main table td {
        width: 100%;
        display: block;
    }

    .main table td section {
        margin-top: 20%;
    }

    .main table td img {
        width: 60%;
        height: 60%;
        margin-top: 0%;
        pointer-events: none;
    }
}

/*CARDS*/
.section0 {
    width: 100%;
    padding: 30px;
}

.section0 .card {
    width: 40%;
    padding: 30px;
    box-shadow: 0px 6px 16px -6px rgba(1, 1, 1, 0.5);
    border-radius: 5px;
    margin: 1%;
    display: inline-block;
    text-align: center;
    border-top: 2px solid #4033ff;
}

.section0 .banner {
    box-shadow: 0px 0px 0px 0px rgba(1, 1, 1, 0.5);
    border-top: 0px;
}

.section0 .card i {
    font-size: 4em;
    color: #3077e8;
    float: left;
}

@media (max-width: 600px) {
    .section0 {
        display: flex;
        align-items: left;
        justify-content: left;
        position: relative;
        overflow-x: auto;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .section0 .card {
        min-width: 79%;
    }
}

/*CONTAINER*/
.container {
    width: 100%;
}

.container table {
    width: 100%;
}

.container table td {
    width: 50%;
}

.container table td img {
    margin: auto;
}

.container table td:nth-child(2),
.container table .aboutus_td2 {
    padding: 20px;
}

@media (max-width: 600px) {
    .container table td {
        width: 100%;
        display: block;
    }

    .container table td img {
        width: 90%;
    }

    .container table td:nth-child(2),
    .container table .aboutus_td2 {
        padding: 10px;
        width: 95%;
    }
}

.slick {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.slick table {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
}

.slick table td {
    width: 30%;
    padding: 1%;
}

.slick table td ul li {
    list-style: none;
    padding: 10px 0px;
}

.slick table td ul li a {
    text-decoration: none;
    transition: 0.5s;
}

.slick table td ul li a:hover {
    color: #8798bd;
}

.slick table td ul li h3 {
    color: #9791f2;
    font-size: 18px !important;
}

.slick table td ul li p {
    color: #fff;
    margin-top: 10px;
    font-size: 14px;
}

.slick table td:nth-child(2) .card {
    margin-left: auto;
    margin-right: auto;
}

.slick .card {
    position: relative;
    width: 90%;
    height: 80vh;
    overflow: hidden;
    border-radius: 5px;
}

.slick .card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 900;
    display: block;
    width: 100%;
    height: 100%;
}

.slick .card_part {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background-size: contain;
    transform: translateX(700px);
    background-image: url("/static/assets/equipement__section_image.webp");
    background-repeat: no-repeat;
    animation: opaqTransition 90s cubic-bezier(0, 0, 0, 0.97) infinite;
}

.slick .banner {
    margin-top: 10rem;
}

@keyframes opaqTransition {
    3% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(0);
    }
    28% {
        transform: translateX(-700px);
    }
    100% {
        transform: translateX(-700px);
    }
}

@media (max-width: 600px) {
    .slick {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .slick table td {
        width: 95%;
        display: block;
        padding: 0%;
    }

    .slick table td ul {
        width: 85%;
    }

    .slick table td:nth-child(1) ul {
        text-align: left;
    }

    .slick .card {
        position: relative;
        width: 60%;
        height: 50vh;
        overflow: hidden;
        border-radius: 5px;
    }
}

@media (max-width: 500px) {
    .slick table td {
        width: 100%;
        display: block;
    }

    .slick table td:nth-child(1) ul {
        text-align: left;
    }

    .title {
        font-size: 1.3em;
    }

    .sub-title {
        font-size: 0.6em;
    }

    .slick table td ul li {
        padding: 5px 0px;
    }
}

.section1 {
    width: 90%;
    margin: auto;
}

.section1 .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.section1 .panel img {
    margin: 0px 20px;
}

.section1 .active,
.section1 .accordion:hover {
    background-color: #ccc;
}

.accordion:after {
    content: "\002B";
    color: #1345b4;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.section1 .active:after {
    content: "\2212";
}

.section1 .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    margin: auto;
    transition: max-height 0.2s ease-out;
}

@media (max-width: 600px) {
    .section1 .banner {
        width: 90%;
    }
}

/*ABOUT US*/
.header_aboutus {
    width: 100%;
    height: 40vh;
    background-image: url("../images/aboutus_header.webp");
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
}

.header_aboutus .title {
    position: relative;
    top: 15vh;
}

.header_aboutus .sub-title {
    position: relative;
    top: 20vh;
    color: #f7f7f7;
}

.header_aboutus .sub-title a {
    color: #fff;
}

.container-fluid {
    background: #f7f7f7;
    padding: 5% 0%;
}

.main-timeline {
    font-family: sans-serif;
    position: relative;
    width: 90%;
    margin: auto;
}

.main-timeline:after {
    content: "";
    display: block;
    clear: both;
}

.main-timeline .timeline {
    width: 50%;
    padding: 0 0 0 70px;
    margin: 0 0 0 50px;
    float: right;
    position: relative;
    text-align: left;
    margin-top: 10vh;
}

.main-timeline .timeline ul li:before {
    content: "\f0a4";
    font-family: "FontAwesome";
    margin: 0px 5px;
}

.main-timeline .timeline:before {
    content: "";
    background-color: #d219b4;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    transform: translateY(-50%);
    position: absolute;
    left: -70px;
    top: 50%;
}

.main-timeline .timeline-content {
    color: #fff;
    background: var(--rose1);
    min-height: 140px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px -5px #555;
    display: block;
    position: relative;
}

.main-timeline .timeline-content:before,
.main-timeline .timeline-content:after {
    content: "";
    background: #e50091;
    height: 16px;
    width: 16px;
    transform: translateY(-50%) rotate(45deg);
    position: absolute;
    left: -8px;
    top: 50%;
}

.main-timeline .timeline-content:after {
    background: var(--rose2);
    transform: translateY(-50%) rotate(0);
    left: -140px;
    width: 140px;
    height: 5px;
}

.main-timeline .timeline-content:hover {
    text-decoration: none;
}

.main-timeline .timeline-icon {
    color: rgba(0, 0, 0, 0.2);
    font-size: 40px;
    position: absolute;
    top: 15px;
    left: -90px;
}

.main-timeline .title {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px 0;
}

.main-timeline .description {
    font-size: 15px;
    margin: 0;
}

.main-timeline .timeline:nth-child(even) {
    padding: 0 70px 0 0;
    margin: 0 70px 0 0;
    float: left;
}

.main-timeline .timeline:nth-child(even):before {
    left: auto;
    right: -71px;
}

.main-timeline .timeline:nth-child(even) .timeline-content:before {
    left: auto;
    right: -8px;
}

.main-timeline .timeline:nth-child(even) .timeline-content:after {
    left: auto;
    right: -140px;
}

.main-timeline .timeline:nth-child(even) .timeline-icon {
    left: auto;
    right: -90px;
}

.main-timeline .timeline:nth-child(4n + 2):before {
    background-color: #17b1ef;
}

.main-timeline .timeline:nth-child(4n + 2) .timeline-content {
    background: var(--blue1);
}

.main-timeline .timeline:nth-child(4n + 2) .timeline-content:before {
    background: #4267d9;
}

.main-timeline .timeline:nth-child(4n + 2) .timeline-content:after {
    background: var(--blue2);
}

.main-timeline .timeline:nth-child(4n + 3):before {
    background-color: #04e2cb;
}

.main-timeline .timeline:nth-child(4n + 3) .timeline-content {
    background: var(--green1);
}

.main-timeline .timeline:nth-child(4n + 3) .timeline-content:before {
    background: #42c966;
}

.main-timeline .timeline:nth-child(4n + 3) .timeline-content:after {
    background: var(--green2);
}

.main-timeline .timeline:nth-child(4n + 4):before {
    background-color: #efbc2f;
}

.main-timeline .timeline:nth-child(4n + 4) .timeline-content {
    background: var(--orange1);
}

.main-timeline .timeline:nth-child(4n + 4) .timeline-content:before {
    background: #ff7125;
}

.main-timeline .timeline:nth-child(4n + 4) .timeline-content:after {
    background: var(--orange2);
}

@media screen and (max-width: 767px) {
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even) {
        width: 100%;
        padding: 0 0 0 40px;
        margin-bottom: 20px;
    }

    .main-timeline .timeline:before,
    .main-timeline .timeline:nth-child(even):before {
        transform: translateY(0);
        left: 0;
        right: auto;
        top: 47px;
    }

    .main-timeline .timeline:nth-child(4n + 4) .timeline-content {
        background: linear-gradient(to left, #e03c30, #ff7125);
    }

    .main-timeline .timeline-content:before,
    .main-timeline .timeline:nth-child(even) .timeline-content:before {
        transform: translateY(0) rotate(45deg);
        top: 45px;
        left: -4px;
    }

    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(even) .timeline-content:after {
        width: 40px;
        transform: translateY(0);
        right: auto;
        left: -38px;
        top: 50px;
    }

    .main-timeline .timeline:nth-child(even) .timeline-content:after {
        transform: translateY(0) rotateY(180deg);
    }

    .main-timeline .timeline-icon,
    .main-timeline .timeline:nth-child(even) .timeline-icon {
        font-size: 22px;
        left: -30px;
        right: auto;
    }
}

@media screen and (max-width: 567px) {
    .main-timeline .title {
        font-size: 18px;
    }

    .main-timeline {
        font-family: sans-serif;
        position: relative;
        width: 75%;
        margin: auto;
    }
}


/* ---------------------------------- */
.apply-now-section {
    padding: 50px;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
    background-color: gainsboro;
}

.content {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.content h2 {
    text-transform: uppercase;
    color: #102f94;
    margin-bottom: 10px;
}

.content p {
    font-size: 16px;
    color: #000;
}

.apply-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
}
