/* homepage */
.section-news {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--gray5-color);
}

.icon-contact.color {
    color: var(--main-color);
}

.card img {
    height: 200px;
    object-fit: cover;
}

.read-mor {
    font-size: 18px;
}

.div-btn-search {
    width: 18%;
    /* flex: 1; */
}

.card-custom {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 1rem 0 !important;
    border-radius: 0 !important;
}

.card-custom img {
    border-radius: 10px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-title {
    margin-top: 10px;
}


.btn-grad {
    margin: 10px;
    background-image: linear-gradient(to top, #e1e0e1 0%, white 51%, #e1e0e1 100%);
    padding: 10px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    border-radius: 10px;
    display: block;
    border: none;
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.section-hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* .hero-section img.hero-img-mobile {
    width: 100%;
    height: 00px !important;
} */

.bg-blue {
    background-color: var(--blue2-color);
    height: 200px;
    margin-top: 0;
    padding: 0;
}

.quick-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 999;
    pointer-events: none;
}

.quick-menu>* {
    pointer-events: auto;
}

/* .quick-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 999;
} */

/* @media (max-width: 768px) {
    .quick-menu {
        bottom: 20px;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
} */

.quick-menu .btn {
    background: white;
    border: 1px solid var(--gray3-color);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
    transition: all 1s ease;
    opacity: 0;
    transform: translateY(50px);
    visibility: hidden;
}

.quick-menu.active .btn {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.quick-menu .btn:nth-child(1) {
    transition-delay: 0.1s;
}

.quick-menu .btn:nth-child(2) {
    transition-delay: 0.2s;
}

.quick-menu .btn:nth-child(3) {
    transition-delay: 0.3s;
}

.quick-menu .btn:hover {
    background: #f2f2f2;
}

.quick-menu .btn.blue {
    background-color: var(--main-color);
    color: white;
    border: none;
}

.quick-menu .circle {
    background-color: var(--secondary-color);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.quick-menu .circle:hover {
    transform: scale(1.05);
}

.quick-menu .circle img {
    width: 42px;
    margin-bottom: 4px;
}

.icon-share {
    color: var(--gray6-color);

}

.div-side-card {
    margin-top: 4rem;
}

/* Gallery Image Styles */
.gallery-img {
    width: auto;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img-news {
    width: auto;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover,
.gallery-img-news:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(134, 200, 231, 0.75);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content,
.lightbox-img-news {
    position: relative;
    /* max-width: 90%; */
    /* max-height: 90%; */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .lightbox-img-news{
    width: 50%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
} */
.lightbox-img {
    width: 50%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-content-news {
    width: 80%;
    height: 80%;
}

.lightbox-img-news {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

.close-btn-popup {
    position: absolute;
    top: -3rem;
    right: 0rem;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    width: 60px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.image-counter {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
}

.lightbox-content {
    background: #fff;
    padding: 30px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.lightbox-content img {
    width: 150px;
    margin-bottom: 15px;
}

.lightbox-content h3 {
    margin-bottom: 10px;
}

.lightbox-content p {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

.text-sm {
    font-size: 12px;
}

select,
input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    background-color: #eceff4;
    font-size: 14px;
    outline: none;
    transition: background 0.2s;
}

select:hover,
input:hover,
textarea:hover {
    background-color: #e7ebef;
}

.dropdown-custom {
    text-align: start !important;
    width: 100%;
    min-width: 150px !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 18px 10px !important;
    background-color: #eceff4 !important;
}

textarea {
    resize: none;
    height: 80px;
}

.btn-submit {
    display: flex;
    align-items: center;

    gap: 6px;
    width: 150px;
    padding: 10px;
    background: linear-gradient(to bottom, #6db8ff, var(--main-color));
    border: none;
    border-radius: 13px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn-submit:hover {
    transform: scale(1.05);
}

.btn-submit svg {
    width: 18px;
    height: 18px;
    fill: white;
}



.promo-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 60px 50px;
    background: linear-gradient(150deg, #2d95d3 0%, #8ccce8 50%, #1E84C9 100%);
    color: #fff;
}


.promo-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 5rem auto;
    /* padding: 10px 60px; */
}

.promo-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(10px);
    transform: scale(1.1);
    z-index: 1;
    pointer-events: none;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0));
    /* ไล่หายไปทางซ้าย */
}

/* ให้เนื้อหาขึ้นเหนือ pseudo elements */
.promo-section>* {
    position: relative;
    z-index: 2;
}


.promo-section h2 {
    font-size: 28px;
    color: #1c4f91;
    margin-bottom: 10px;
}

.promo-section p {
    text-align: start;
    margin-top: 20px !important;
    font-size: 16px;
    color: white;
    margin-bottom: 40px;
}

.promo-slider {
    display: flex;
    gap: 30px;
    overflow-y: hidden;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px;
}

.section-rent {
    background-color: white;
    padding: 40px 0;
}

.rent-slider-container {
    position: relative;
    max-width: 1600px;
}


.rent-slider {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px;
    /* justify-content: center; */
}

.rent-card {
    flex: 0 0 30%;
    background: white;
    border: 1px solid #c1dbea;
    border-radius: 16px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, border 0.3s;
    margin: 5px;
    cursor: pointer;
}

.rent-card:hover {
    outline: #c1dbea 2px solid;
    /* transform: translateY(-5px);  */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);

}

.promo-card {
    flex: 0 0 300px;
    transition: transform 0.3s;
}


.search-btn.search-car-btn {
    width: 25%;
}

.search-btn.search-car-btn img {
    width: 10%;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-card img {
    /* width: 100%; */
    height: 250px;
    border-radius: 16px;
    object-fit: cover;
}

.promo-btn {
    margin-top: 30px;
    background: linear-gradient(to bottom, #6db8ff, #4198ff);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.promo-btn:hover {
    background: linear-gradient(to bottom, #4198ff, #1f7dff);
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #1c4f91;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rent-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 10px;
}

.arrow:hover {
    background-color: white;
}


.arrow.left {
    left: 100px;
    top: 320px;
}

.arrow.right {
    top: 320px;
    right: 100px;
}

.arrow-rent.right {
    top: 1500px;
    right: 100px;
}

.arrow-rent.left {
    top: 1500px;
    right: 100px;
}

.promo-slider::-webkit-scrollbar {
    display: none;
}

.rent-slider::-webkit-scrollbar {
    display: none;
}

.headline {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
}

.custom-italic {
    display: inline-block;
    transform: skewX(-10deg);
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.headline .big {
    font-size: clamp(28px, 6vw, 56px);
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.6px;
    text-shadow: var(--text-shadow);
    line-height: 1.05;
}

.headline .highlight {
    font-size: clamp(28px, 6vw, 56px);
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.6px;
    text-shadow: 0 6px 10px rgba(0, 0, 0, 0.18);
    margin-left: 6px;
}

.headline .right {
    /* margin-left: auto; */
    font-size: clamp(20px, 4vw, 36px);
    /* font-weight: 600; */
    color: #ffffff;
    text-shadow: var(--text-shadow);
    white-space: nowrap;
}

.right span {
    font-weight: 500 !important;
}

.sub {

    font-size: clamp(13px, 2.2vw, 20px);
    color: #ffffff;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.2px;
}

.fa-chevron-down {
    font-size: 12px;
}

label.form-label {
    font-size: 16px;
}

input.form-control,
select.form-select {
    text-align: start;
    border: none;
    background-color: var(--gray7-color);
    border-radius: 8px;
    padding: 18px 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.booking-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    padding: 12px 40px !important;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-left: 1rem !important;
}


.search-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    /* margin: 5rem; */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}


.form-select,
.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-select:focus,
.form-control:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.25);
    background-color: white;
}

.date-input-wrapper {
    position: relative;
}

.date-input-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.search-btn {
    background: linear-gradient(1deg, #499cd6 0%, #71bcf1 100%);
    border: none;
    padding: 12px 40px;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    text-align: center;
    width: 100%;
    /* margin-top: 30px;  */
    cursor: pointer;
    transition: all 0.3s ease;

}



.hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 0;

}



.booking-container {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 100;
}

.booking-btn {
    width: 190px;
    background: linear-gradient(to bottom, #71bcf1 5%, #4197d2 100%);
    border: none;
    padding: 12px 40px;
    border-radius: 12px 12px 0 0;
    color: white;
    margin-left: 2rem;
    font-size: 18px;
    margin-bottom: 0;
    text-align: center;
}



.search-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-label {
    color: #666;
    font-weight: 400;
    margin-bottom: 0px;
    font-size: 13px;
}

.form-select,
.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    font-weight: 400;
}

.form-select:focus,
.form-control:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.15);
    background-color: white;
}

.date-input-wrapper {
    position: relative;
}


.btn-wrapper {
    display: flex;
    align-items: flex-end;
}

.hero-carousel {
    /* position: relative;
    width: 100%;
    height: 75vh;
    min-height: 600px;
    overflow: hidden; */
    position: relative;
    width: 100%;
    height: 600px;
    /* Fixed height instead of vh */
    overflow: hidden;
}

.hero-images {
    position: relative;
    width: 100%;
    height: 100%;

}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;

    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    user-select: none;
}

.hero-img.active {
    opacity: 1;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: black;
    opacity: 0.3;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    color: #1c4f91;
    z-index: 10;
}

.hero-arrow.left {
    left: 20px;
}

.hero-arrow.right {
    right: 20px;
}

.hero-arrow:hover {
    background-color: white;
}

/* .nav-link.tab-custom {
    width: 200px;
    margin-left: 10px;
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
   
} */

.nav-link.tab-custom {
    width: 200px;
    margin-left: 10px;
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    background-image: linear-gradient(to top, #e1e0e1 0%, white 51%, #e1e0e1 100%);

}

#rentTabs {
    flex-wrap: nowrap;
}

@media (max-width: 576px) {
    #rentTabs .nav-item {
        flex: 1 1 0;
        min-width: 0;
    }

    #rentTabs .nav-link.tab-custom {
        width: 100%;
        margin-left: 0;
    }

    #rentTabs .nav-item + .nav-item .nav-link.tab-custom {
        margin-left: 8px;
    }

    #rentTabs .nav-link p {
        text-align: center;
        font-size: 0.9rem;
    }
}

.nav-link p {
    text-align: start;
    color: black;
}

.nav-link.active {
    background: linear-gradient(to bottom, #89c8f6 15%, #4197d2 85%);
}

.nav-link.active p {
    text-align: center;
    color: white !important;
}

.nav-link.active span {
    color: white !important;
}

.service-carousel {
    display: flex;
    overflow: hidden;
    width: 80%;
    max-width: 800px;
    transition: transform 0.5s ease;
}

.service-carousel .rental-card {
    min-width: 100%;
    flex-shrink: 0;
}

.service-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray6-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    color: #1c4f91;
    z-index: 10;
    transition: all 0.3s ease;

}



.service-btn:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.icon-correct {
    height: 42px;
    /* margin-left: 10px; */
}

.rental-card {
    /* background: white; */
    overflow: hidden;

    max-width: 900px;
    margin: 0 auto;
}


.image-section {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-section {
    flex: 1 1 60%;
    /* กำหนดให้ text-section ใช้พื้นที่ประมาณ 60% */
    display: flex;
    /* ใช้ flex ภายใน text-section เพื่อจัดเรียงข้อความ */
    flex-direction: column;
    justify-content: center;
    /* จัดเนื้อหาตรงกลางแนวตั้งภายใน text-section */
    padding: 1.5rem;
    /* เพิ่ม padding เพื่อให้ดูสวยงาม */
}

.title {
    color: #4facfe;
    font-size: 20px !important;
    font-weight: 500;
    margin-bottom: 20px;
}

.description {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-more {
    background: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
    border: none;
    padding: 12px 50px;
    border-radius: 30px;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom, #e0e0e0 0%, #efefef 50%, #e0e0e0 100%);
}

.section-service {
    position: relative;
    height: 600px;
    background: var(--gray5-color);
    overflow: hidden;
}

.service-carousel-wrapper {
    width: 60%;
    max-width: 700px;
    position: relative;
}

.service-carousel {
    overflow: hidden;
    width: 100%;
}

.service-track {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}


.rental-card {
    flex-shrink: 0;
    box-sizing: border-box;
}

.rental-card-content {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(85, 85, 85, 0.4);
    background-color: white;
}

.flatpickr-current-month span.cur-month {
    font-weight: 100 !important;
}

.service-btn.prev {
    left: -60px;
}

.service-btn.next {

    right: -60px;
}

.text-hero {
    top: 50%;
    left: 5%;
}

.hero-section-ir {
    position: relative;
    overflow: hidden;
}

.hero-section-ir img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-section-ir .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(25deg, #0160a4 20%, rgba(255, 255, 255, 0.4) 50%);
    z-index: 1;
}

.hero-section-ir .text-hero {
    position: absolute;
    top: 40%;
    left: 10%;
    z-index: 2;
}

.ir-section {
    padding: 40px 20px;
}

.ir-cards {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 50px;
}

.ir-card {
    flex: 1;
    min-width: 240px;
    max-width: 240px;
    background: #79c2e5;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ir-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ir-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.ir-card p {
    font-weight: 600;
    color: white;
    margin-bottom: 1rem !important;
}

.ir-card button {
    background: white;
    border: none;
    border-radius: 25px;
    padding: 6px 18px;
    color: #004b8f;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ir-card button:hover {
    background: #004b8f;
    color: white;
}

.ir-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.ir-left,
.ir-right {
    flex: 1 1 48%;
}

.ir-left h3,
.ir-right h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.report-box {
    display: flex;
    align-items: start;
    gap: 20px;
}

.report-box img {
    width: 40%;
    height: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);


}

.download-btn {
    background-color: #79c2e5;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.download-btn:hover {
    background: #004b8f;
    color: white;
}

.stocks {
    background-color: white;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #ccc;
    padding: 3px;
}
.stocks img {
    flex: 1;
    height: 236px;
    object-fit: cover;
}

.form-appeal {
    border: 1px solid var(--gray3-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.shareholder-summary {
    display: flex;
    flex-wrap: wrap;
    /* gap: 30px; */
    background: #fafafa;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid var(--gray3-color);
}

.chart-area {
    flex: 1 1 45%;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.chart-legend {
    list-style: none;
    margin-top: 0;
    padding: 0;
    flex: 1;
    min-width: 200px;
}

@media (max-width: 768px) {
    .chart-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

.chart-legend li {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot-blue {
    background: #3366cc;
}

.dot-lightblue {
    background: #5fa9e5;
}

.dot-sky {
    background: #9cd0f5;
}

.dot-gray {
    background: #ccc;
}

.dot-darkgray {
    background: #777;
}

.summary-info {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.info-box {
    background: #f9fafb;
    border-radius: 10px;
    padding-left: 20px;
    display: flex;
    flex-wrap: wrap;

}

.info-box h4 {
    color: #004b8f;
    margin-bottom: 10px;
}

.value {
    font-size: 1.5rem;

    color: #004b8f;
    margin-bottom: 10px;
}

.table-section {
    margin-top: 10px;
    margin-bottom: 40px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-section tbody tr:last-child td {
    border-bottom: none;
}

.table-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.table-section th,
.table-section td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.table-section th {
    background: #f9fafb;
    text-align: left;
    font-weight: 500;
    color: var(--gray4-color);
}

.tris-box {
    border: 1px solid var(--gray3-color);
    background: white;
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.text-tris {
    border-bottom: 1px solid var(--gray3-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;

}

.custom-card {
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.custom-table thead {

    border-bottom: 2px solid #dee2e6;
}

.custom-table tbody {
    border: 2px solid #dee2e6;
}

.custom-table th,
.custom-table td {
    padding: 1rem 0.75rem;
    border-color: #f8f9fa;
    vertical-align: middle;
}

.custom-table tbody tr {
    border-bottom: 1px solid #e9ecef;
}

.custom-table tbody tr:last-child {
    border-bottom: none;
}

.custom-table thead th {
    font-weight: 500;
    color: var(--sky-color) !important;
}

.custom-table th,
.custom-table td {
    font-weight: 0;
    font-size: 14px;
    color: var(--text-color);
}

.table-calendar {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
}

.table-calendar table {
    border-collapse: separate;
    border-spacing: 0;
}




.table-calendar-wrapper {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
}

.table-calendar-custom {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-calendar-custom thead {
    background-color: #f8f9fa;
}

.table-calendar-custom thead th {
    color: #83bddb;
    font-weight: 500;
    border-bottom: 2px solid #dee2e6;
    padding: 1rem 0.75rem;
}

.table-calendar-custom tbody td {
    color: #6c757d;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.table-calendar-custom tbody tr:last-child td {
    border-bottom: none;
}

.table-calendar-custom tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.table-calendar-custom {
    border: 1px solid #dee2e6;
    border-radius: 12px;
}

.table-calendar-custom td {
    border-bottom: 1px solid #eee;
}

.table-calendar-custom tr:last-child td {
    border-bottom: none;
}

.search-btn img {
    width: 20%;
}

.hero-section {
    margin-bottom: 0;
}



.hero-img {
    pointer-events: none;
    user-select: none;
}

.hero-section {
    display: flex;
    flex-direction: column;
    height: auto;
}



.card-text {
    font-weight: 300;
}

/* ข่าว/บทความ: ตัดประโยคเกริ่นให้เท่ากัน 3 บรรทัดทุกการ์ด (ความสูงเท่ากัน การ์ดเรียงตรง) */
.section-news .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    height: 4.5em;
    /* 1.5 line-height x 3 บรรทัด */
    margin-bottom: 0;
}

.menu-footer a {
    font-weight: 300;
    padding-bottom: 10px;
}

.container-nav {
    margin: 0 auto;
    padding: 0 15px;
}





.arrow-rent {
    position: fixed !important;
}

.arrow-rent.left {
    left: 20px !important;
}

.arrow-rent.right {
    right: 20px !important;
}



@media (max-width: 1440px) {
    .container-nav {
        flex-wrap: nowrap !important;
    }

}




/* .rent-card:nth-child(n+4) {
    display: none;
} */

.promo-section .btn-grad {
    margin-left: auto;
    display: block;
    width: 250px;
    padding: 8px 1rem;
    font-size: 14px;
}

.section-news .btn-grad {

    font-size: 14px;
    margin-left: auto;
    display: block;
    width: 250px;
    padding: 8px 1rem;
}


.hero-img.active {
    opacity: 1;
}

.hero-carousel .hero-arrow {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-carousel .hero-arrow {
    opacity: 1;
    color: var(--gray-color);
    background-color: black;
    opacity: 0.3;
}

.dropdown-menu {
    /* max-height: 150px; */
    overflow-y: auto;
    z-index: 1050 !important;
    /* width: 100%; */
}

.dropdown-menu a {
    cursor: pointer;
}

/* เปิดเมนูย่อยด้วย hover เฉพาะเมนู nav เท่านั้น
   (ไม่ให้ไปมีผลกับ dropdown ฟอร์มจองรถ ที่ต้องหุบเองหลังเลือกบนมือถือ) */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border: 1px solid #e0e0e0;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ffffff;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.8s ease;
    z-index: -1;
}

.social-links a:hover {
    transform: translateY(-0px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}


.social-links a:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
}


.social-links a:hover svg path {
    fill: var(--main-color) !important;
    transition: fill 0.3s ease;
}

#nav-placeholder {
    position: sticky;
    top: 0;
    z-index: 1020;

}

#navIR-placeholder {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.card-calendar .row {
    border-bottom: 1px solid #6c757d;
}