.logo-circle {
    position: absolute;
    bottom: -7rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

}



h1 {
    margin: 0;
    font-size: 32px;
}

.logo-circle img {
    width: 200px;
    height: 200px;
}

.bg-info-company {
    background-image: url(../img/bg-info-company.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.info-container {
    position: relative;
    z-index: 5;
    min-height: 150vh;
    background-color: #FFFFFF;  
    background-image: radial-gradient(#cbcbcb 0.5px,#ffffff 0.5px);
    background-size: 10px 10px;
}


footer {
    width: 100vw !important;
}

/* .info-container {
    padding-top: 6rem;
    padding-bottom: 15rem;
    position: relative;
    z-index: 5;
} */

.info-container>.container>div>h1 {
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
}

.info-container>.container>div>span {
    font-size: 30px;
    color: white;
    text-transform: uppercase;
    background-color: #FF560B;
    padding: 10px 2rem;
    border-radius: 10rem;
    font-weight: 600;
    box-shadow:
        0px 0px 20px #FF560B6B,
        inset 0px 0px 10px #FFFFFF4D;
}

.info-container>.sticky-wrapper>div>h1 {
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
}

.info-container>.sticky-wrapper>div>span {
    font-size: 30px;
    background-color: #FF560B;
    padding: 10px 2rem;
    border-radius: 10rem;
    font-weight: 600;
    box-shadow:
        0px 0px 20px #FF560B6B,
        inset 0px 0px 10px #FFFFFF4D;
    /* margin-left: 1rem; */
}

.info-container .row {
    margin-top: 10rem;
    gap: 1rem;
}

.info-container .row:nth-child(6)::before {
    background: #16B3F8;
}

.info-container .row:nth-child(6)::after {
    background: #1FC4FB;
}

.text-info-company>h1 {
    font-weight: 800;
}

.text-info-company>h2 {
    font-size: 18px;
    font-weight: 400;
}

.text-info-company>p {
    font-size: 18px;
    font-weight: 100;
}

.card.card-new img {
    width: 40%;
    object-fit: cover;


}

.card.card-new:hover {
    transition: none;
    transform: none;

}

.card.card-new {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    height: 210px;
    background-color: transparent !important;
    border: none !important;
    /* min-height: 100%; */
    width: 48%;
    margin: 0;
    /* Card Base Styles */
    /* background: linear-gradient(122.72deg, rgba(79, 79, 79, 1) 1.74%, rgba(79, 79, 79, 0.1) 1.75%, rgba(255, 255, 255, 0.1) 190.05%, rgba(79, 79, 79, 1) 97.16%); */
    /* backdrop-filter: blur(58.30225px); */
    box-shadow: 0px 0px 0px -10px #00000040;
}

.white-shadow {
    position: absolute;
    width: 700px;
    height: 700px;
    background-color: #D9D9D914;
    top: 25rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(20px);
    pointer-events: none;
}

.white-shadow-bottom {
    position: absolute;
    width: 700px;
    height: 700px;
    background-color: #D9D9D914;
    right: -350px;
    bottom: 40px;
    transform: none;
    border-radius: 50%;
    z-index: 0;
    filter: blur(20px);
    pointer-events: none;
}

.card.card-new img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease-in-out;
}
.card.card-new img:hover{
    transform: scale(1.1);
}

.card.card-new img.logo-aaa {
    width: 100%;
    max-width: 320px;
}

/* .card.card-new::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 99px;
    padding: 1px;
    z-index: 1;

    pointer-events: none;
    background: radial-gradient(88.13% 103.48% at 26.09% 5.74%, #00000040 0%, rgba(255, 255, 255, 0.501323) 19.27%, rgba(255, 255, 255, 0.595409) 40.46%, rgba(255, 255, 255, 0.905829) 55.21%, rgba(255, 255, 255, 0.101914) 89.81%, rgba(255, 255, 255, 0.0385321) 96.15%, rgba(255, 255, 255, 0) 100%);

    mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
} */



.section-company {
    margin-top: 10rem;
    border-top: 2px solid #fff;
    padding: 1rem;
    border-bottom: 2px solid #fff;
    background-color: #3A38384D;
    backdrop-filter: blur(20px);
}

.section-company h1 {
    font-weight: 600;
}

.menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
}

.line {
    fill: none;
    stroke: white;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}

.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}

.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}



.gradient-hr {
    --c-start: #FF560B;
    --c-end: #FF9500;
    --c-center: #FF560B;
    --c-shadow: #FF560B4D;
    background: linear-gradient(90deg, var(--c-start) 0%, var(--c-center) 50%, var(--c-end) 100%);
    box-shadow: 0px 0px 20px var(--c-shadow);
    height: 10px !important;
    border: 0;
    border-radius: 10px;
    width: 100%;
    opacity: 1;
    margin: 20px 0;
}



.logo {
    width: 70%;
    height: auto;
    display: block;
}



footer {
    background: #101010;
    color: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        padding: 20px;

        text-align: left;
    }

}

.contact-section h2,
.subscribe-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-info {
    line-height: 1.8;
}

.company-name {
    font-weight: 600;
    margin-bottom: 16px;
}

.address {
    margin-bottom: 20px;
    color: #ccc;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.contact-link img {
    width: 20px;
    height: 20px;
}

.icon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.icon.facebook {
    background: #1877f2;
}

.icon.line {
    background: #06c755;
}

.icon.phone {
    background: #34a853;
}

.icon.email {
    background: #ea4335;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.subscribe-form input,
.subscribe-form textarea {

    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
}

.subscribe-form input::placeholder,
.subscribe-form textarea::placeholder {
    color: #666;
}

.subscribe-form input:focus,
.subscribe-form textarea:focus {
    outline: none;
    border-color: #ED5221;
}

.subscribe-form textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    background: #F2461B;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #d63a15;
}

.logos-section {
    background-color: white;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

@media (min-width: 320px) and (max-width: 425px) {

    .card.card-new {
        width: 100% !important;
        min-height: 120px !important;
        height: auto !important;
        border-radius: 999px;
        margin: 0 0 1rem 0 !important;
        padding: 10px 0 !important;
    }

}

@media (min-width: 426px) and (max-width: 768px) {

    .card.card-new {
        width: 100% !important;
        min-height: 160px !important;
        height: auto !important;
        border-radius: 999px;
        margin: 0 0 1rem 0 !important;
        padding: 10px 0 !important;
    }

}



@media (max-width: 768px) {
    .logos-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: start;
        align-items: center;
        gap: 30px;
        padding: 20px;
    }

    .logo-item {
        width: 100%;
        justify-content: flex-start;
    }

    .logo-item img {
        max-width: 100%;
        object-fit: contain;
    }
}

.logo-item {
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 10px;
    text-align: center;
}

.footer-bottom {
    background: #131313;
    border-bottom: 4px solid #ED5221;
    padding: 20px;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.copyright {
    font-size: 14px;
}

.copyright .orange {
    color: #ED5221;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}







@media (max-width: 1024px) {
    .info-container .row {
        margin-top: 3rem;
        padding: 0;
        gap: 0;
    }

    .info-container:not(.bg-info-company) {
        padding-top: 3rem;
    }


    .info-container>.container>div>h1 {
        font-size: 22px !important;
        margin-bottom: 0.5rem;
    }

    .info-container>.container>div>span {
        font-size: 18px !important;
        padding: 6px 1.5rem !important;
        margin-bottom: 1rem;
    }

    .info-container>.container>.row {
        flex-direction: column !important; 
    }

    .logo-aaa {
        max-width: 200px !important;
        margin: 0 auto;
    }

    .card.card-new img {
        max-width: 230px !important; 
    }
    .card.card-new img.logo-aaa{
        max-width: 180px !important;
    }

    .text-info-company {
        padding: 1rem;
        margin-bottom: 2rem;
        width: 100% !important;
        text-align: center;
        align-items: center;
    }

    .text-info-company h1 {
        font-size: 20px; 
    }

    .text-info-company h2 {
        font-size: 14px; 
    }

    .text-info-company p {
        font-size: 13px; 
        line-height: 1.5;
    }

    .card.card-new {
        width: 100% !important;
        height: auto;
        padding: 2rem 0;
    }

    .info-container .row>div {
        width: 100% !important;
    }

    .section-company {
        margin-top: 3rem;
    }

    .white-shadow,
    .white-shadow-bottom {
        display: none; /* Hide confusing shadows on mobile */
    }
}

/* Timeline Sticky Implementation */
.bg-info-company {
    background-image: url(../img/bg-info-company.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.info-container.bg-info-company {

    height: 800vh;
    padding: 0;
    position: relative;
}

/* .sticky-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
} */
.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100dvh;

    width: 100%;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .info-container.bg-info-company {
        height: 400vh;
    }

    .timeline-container {
        overflow: visible;

    }

    .timeline-items {
        will-change: transform;
    }
}

/* Timeline Container overrides for horizontal scroll */
.timeline-container {
    margin: 2rem auto;
    max-width: none;
    padding: 0 5vw;
}

/* Base timeline item style (mostly for desktop) */
.timeline-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    opacity: 0.2;
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 10px;
    z-index: 2;
}

/* Hide scrollbar for cleaner look */
.timeline-container::-webkit-scrollbar {
    display: none;
}

.test {
    color: #06c755;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999;
}

.timeline-container {
    -ms-overflow-style: none;
    position: relative;
    width: 100%;
    height: 40%;
    margin: 4rem auto;
    padding: 0 5vw;
    overflow: visible;
    scrollbar-width: none;
}

.timeline-items {
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .info-container:not(.bg-info-company) {
        padding: 0;
    }

    .info-container>.sticky-wrapper>div>span {
        margin-top: 1rem;
        font-size: 24px;
    }

    .timeline-items {
        flex-direction: row;
        min-width: max-content;
        width: max-content;
        gap: 50px;
        align-items: center;
        padding: 0 50px;
        justify-content: flex-start;
    }

    .timeline-item {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .timeline-line-bg {
        display: block;
    }

    .timeline-progress-bar {
        display: block;
    }

    .hr-title {
        font-size: 20px !important;
    }

    .hr-badge {
        font-size: 16px !important;
        margin-top: 1rem !important;
    }
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(-10px);
}

.timeline-item.past {
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
}

/* Timeline Styles clean up - keeping useful parts not overridden */
.timeline-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}

.timeline-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.timeline-logo-placeholder {
    height: 80px;
    margin-bottom: 30px;
    width: 100%;
}

.timeline-marker {
    height: 60px;
    width: 0px;
    border-left: 2px dashed black;
    margin-bottom: 30px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

/* The horizontal background line */
.timeline-line-bg {
    position: absolute;
    top: 140px;
    left: 0px;
    right: -0px;
    height: 30px;
    /* background-color: #333; */
    border-radius: 15px;
    z-index: 1;
}

/* The orange progress bar */
.timeline-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FF560B 0%, #FF560B 100%);
    width: 0%;
    border-radius: 15px;
    /* transition: width 2s ease-out; */
    box-shadow: 0 0 15px rgba(255, 86, 11, 0.5);
}

.timeline-content {
    text-align: center;
    width: 100%;
    padding-left: 0;
}

.timeline-content .title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.timeline-content .year {
    font-size: 14px;
    color: #888;
}


/* body:has(.top-collapse-wrapper.open) .glass-container,
.glass-container:has(.menu:hover) {
    height: 500px !important;
} */


.hr-container {
    height: 300vh;
    position: relative;
    padding-top: 3rem;

}

.hr-sticky {
    position: sticky;
    top: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hr-title {
    font-weight: 600;
    font-size: 30px;


    color: black;
}

.hr-badge {
    font-size: 24px;
    background-color: #FF560B;
    padding: 10px 2rem;
    border-radius: 10rem;
    font-weight: 600;
    box-shadow:
        0px 0px 20px #FF560B6B,
        inset 0px 0px 10px #FFFFFF4D;
}

.hr-timeline-box {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* เส้นสีส้ม */
.hr-bar-bg {
    position: absolute;
    left: 5vw;
    right: 5vw;
    height: 28px;
    background: #eee;
    border-radius: 50px;
    z-index: 1;
}

.hr-bar-fill {
    height: 100%;
    width: 0%;
    background: #FF560B;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(255, 86, 11, 0.5);
}

.hr-track {
    display: flex;
    z-index: 2;
    will-change: transform;
}

.hr-item {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.3;
    transition: opacity 0.5s ease, transform 0.5s ease;
}


.hr-logo img {
    max-height: 80px;
    margin-bottom: 25px;
}

.hr-marker {
    height: 50px;
    width: 2px;
    border-left: 2px dashed #333;
    margin-bottom: 35px;
}

.hr-content p {
    margin: 0;
    line-height: 1.4;
}

.hr-desc,
.hr-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}
.text-desc{
    margin-top: 2rem;
    font-size: 18px;
}
.text-sub-desc {
    display: block;
    max-width: 900px;
    width: 95%;
    margin: 0 auto;
    line-height: 2;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .text-sub-desc {
        width: 100%;
        font-size: 14px !important;
        line-height: 1.6;
        padding: 0 15px;
    }
}

.hr-name {
    font-weight: 800;
    font-size: 14px;
}

.hr-year {
    font-size: 14px;
    color: #888;
}

@media (min-width: 1025px) {
    .hr-track {
        width: 90vw;
        justify-content: space-between;
        transform: none !important;
    }
}


@media (max-width: 1024px) {
 .hr-timeline-box {
        justify-content: flex-start !important;
        padding-left: 0;
    }

    .hr-track {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        justify-content: flex-start; 
        padding-left: 10vw;  
        padding-right: 10vw; 
        gap: 60px;
        margin: 0; 
    }

    .hr-item {
        flex: 0 0 280px;
        width: 280px;
    }
    .text-desc{
        font-size: 16px;
    }
}

@media (max-height: 850px) {
    .hr-sticky .text-center.py-4 {
        padding-top: 5px !important;
        padding-bottom: 0px !important;
    }
    .hr-sticky .pt-5 {
        padding-top: 10px !important;
        gap: 10px !important;
    }
    .text-desc {
        margin-top: 10px;
    }
    .hr-desc, .hr-name {
        margin-top: 15px;
        margin-bottom: 20px;
    }
}

@media (max-height: 700px) {
    .hr-sticky .text-sub-desc {
        display: none;
    }
    .hr-title {
        font-size: 24px;
    }
    .hr-badge {
        padding: 5px 1.5rem;
        font-size: 20px;
    }
    .hr-marker {
        height: 35px;
        margin-bottom: 20px;
    }
}