@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --font-family-raleway: "Raleway", sans-serif;
    --font-weight-regular: 400;
    --font-weight-bold: bold;
    --font-weight-medium: 500;
}

.l-header{
    position: relative;
}
.l-main--guide{
    overflow-x: hidden;
}
.l-main--guide::before {
    content: "";
    display: block;
    height: 0px;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 750px;
    background-image: url('../../common/img/bg-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ข้อความหัวเรื่อง */
.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    opacity: 1;
}

/* โลโก้ Modellista */
.modellista-logo {
    width: 450px;
    opacity: 1;
    transform: scale(0.8);
}


/* คำบรรยาย */
.hero-subtitle {
    font-family: var(--font-family-raleway);
    color: #fff;
    font-size: 35px;
    font-weight: var(--font-weight-regular);
    margin-top: 0px;
    opacity: 1;
    letter-spacing: 0px;
}

.sub-title-container {
    opacity: 0;
    transform: translateY(-80px);
  }

/* รูปรถ */
.car-container {
    position: relative;
    max-width: 100%;
    text-align: center;
    margin-top: 40px;
    left: -35px;
    top:15px;
    padding-top : 0px;
    
}

.car-image {
    width: 52%;
}

/* ปุ่มเลื่อนลง */
.scroll-btn-container {
    position: absolute;
    bottom: 20px; /* ทำให้ติดขอบล่าง */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* ปุ่มสไตล์ Bootstrap 5 */
.scroll-btn {
    font-family: "Noto Sans Thai", sans-serif;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    /* transition: all 0.3s ease-in-out; */
}

.scroll-btn:hover {
    color: #CCC6BB;
}

/* ลูกศรเลื่อนลง */
.arrow {
    display: block;
    color: #fff;
    font-size: 12px;
    animation: bounce 1.5s infinite;
    margin-top: 0px;
}

/* Animation ของลูกศร */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Media query for 1920x1080 */
@media (min-width: 1920px) {
    .scroll-btn-container {
        bottom: 0px;
    }
    .hero-subtitle {
        font-size: 48px;
        letter-spacing: 0px;
    }
    
    .scroll-btn {
        font-size: 14px;
    }
    .car-container{
        left: -60px;
        top: 40px;
    }
    .hero-section {
        height: 1000px;
    }
    .car-image {
        width: 68%;
    }
    .modellista-logo{
        width: 650px;
    }
}



@media (min-width: 1024px) and (max-width: 1194px) {
    .car-image {
        width: 70%;
    }
    .designer-text{
        left: -40% !important;
    }
    .left-box .brand-content p{
        font-size: 16px !important;
    }
    .modellista-text{
        font-size: 10rem !important;
    }
    .image-container{
        left: -2% !important;
    }
    .image-container img{
        width: 80% !important;
    }
    .section-title::after{
        width: 14% !important;
    }
}



@media (min-width: 757px) and (max-width: 1023px) {
    /* สำหรับแท็บเล็ต เช่น iPad mini */
    .car-image {
        width: 90%;
    }
    .scroll-btn-container {
        bottom: 0px;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    /* สำหรับแท็บเล็ตแนวตั้ง */
    .car-image {
        width: 90%;
    }
    .scroll-btn-container {
        bottom: 0px;
    }
}

@media (max-width: 385px){
    .scroll-btn-container{
        bottom:-63px !important;
    }
    .left-box .brand-content {
        margin: 0px 15px !important;
    }
    .left-box .brand-content p{
        font-size: 12px !important;
    }
    .highlight-text{
        font-size: 16px !important;
    }
    .confidence-section{
        height: 725px !important;
    }
    .dealer-title{
        font-size: 20px !important;
    }
    .dealer-subtitle{
        font-size: 13px !important;
    }
    .alphard-section-title{
        font-size: 28px !important;
    }
    .featureModal .modal-content h5{
        font-size: 20px !important;
    }

}

/* Responsive สำหรับ Mobile */
@media (max-width: 756px){
   
    .hero-section {
        height: 530px;
    }
    .car-container{
        left: -33px;
        margin-top :0px;
        top:25px;
    }
    .hero-title {
        font-size: 2rem;
    }

    .modellista-logo {
        max-width: 320px;
    }

    .hero-subtitle {
        font-size: 20px;
        letter-spacing: 2px;
        line-height: 24px;
    }

    .car-image {
        width: 100%;
    }

    .scroll-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
    .scroll-btn-container{
        bottom:-35px;
    }
    .arrow {
        font-size: 12px;
    }
   
}

/* พื้นหลังสำหรับ Section ที่ 2 */
/* พื้นหลัง Section */
.brand-section {
    background-color: #1d1d1d;
    color: white;
}

/* ฝั่งซ้าย (Text + BG สีเทาเข้ม) */
.left-box {
    background-color: #3E3B3B;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px;
    position: relative;
    height: 750px;
}

.left-box .brand-content {
    padding-left: 23%;
}

.left-box .brand-content p {
    font-family: var(--font-family-raleway);
    font-weight: var(--font-weight-regular);
    line-height: 46px;
    font-size: 18px;
    letter-spacing: 1.2px;
    margin-top: 20px;
}

/* ฝั่งขวา (ใช้ Background Image) */
.right-box {
    background-image: url('../../common/img/bg-phase_01.png'); /* เปลี่ยนเป็นรูปของคุณ */
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* ซ่อนเนื้อหาก่อน Animation */
.brand-content {
    opacity: 0;
    transform: translateX(-100px);
}

/* ซ่อนรูปภาพก่อน Animation */
.brand-image {
    opacity: 0;
    transform: translateX(100px);
    width: 80%;
}

/* โลโก้แบรนด์ */
.brand-logo {
    max-width: 42%;
}

/* ไฮไลต์ข้อความ */
.highlight-text {
    font-family: var(--font-family-raleway);
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: #CCC6BB;
    letter-spacing: 1.5px;
}
.a-link{
    color: #CCC6BB;
}
.a-link:hover{
    color: #fff;
}

/* Text "DESIGNER" (Desktop: แนวตั้ง / Mobile: แนวนอน) */
.designer-text {
    position: absolute;
    font-size: 125px;
    font-weight: bold;
    text-transform: uppercase;
    color: transparent; /* ทำให้ตัวอักษรโปร่งใส */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); /* เส้นขอบขาวจาง */
    letter-spacing: 9.3px;
    opacity: 0.15;
    white-space: nowrap;
    top: 50%;
    left: -33%;
    transform: translateY(-50%) rotate(-90deg);
}

/* Media query for 1920x1080 */
@media (min-width: 1920px) {
    .left-box {
        height: 1080px;
    }
    .designer-text {
        left: -35%;
        font-size: 186px;
        margin-left:30px;
    }
    .left-box .brand-content p {
        line-height: 60px;
        font-size: 24px;
    }
    .highlight-text {
        font-size: 30px;
        font-weight: var(--font-weight-bold);
    }
}


@media (min-width: 757px) and (max-width: 1024px) {
    /* สำหรับแท็บเล็ต เช่น iPad mini */
    .right-box {
        height: 750px;
    }
    .left-box {
        height: 750px;
        text-align: center;
    }
    .left-box .brand-content {
        padding-left: 0px;
    }
    .scroll-btn{
        font-size: 14px;
    }
    .left-box .brand-content p{
        font-size: 24px;
        line-height: 60px;
    }
    .designer-text {
        position: absolute;
        text-align: center;
        font-size: 114px;
        letter-spacing: 3px;
        top: auto;
        bottom: -5%;
        left: 50% !important;
        transform: translateX(-50%);
    }
    .brand-image{
        width: 100%;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    /* สำหรับแท็บเล็ตแนวตั้ง */
    .right-box {
        height: 560px;
    }
    .left-box {
        text-align: center;
        height: 800px;
    }
    .scroll-btn{
        font-size: 16px;
    }
    .left-box .brand-content {
        padding-left: 0;
    }
    .designer-text {
        position: absolute;
        text-align: center;
        font-size: 130px;
        letter-spacing: 3px;
        transform: none;
        top: auto;
        bottom: -5%;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Responsive สำหรับ Mobile */
@media (max-width: 756px){
    .left-box {
        text-align: center;
    }
    .left-box {
        height: 488px;
    }
    .left-box .brand-content p{
        font-size: 14px;
        line-height: 35px;
        letter-spacing: 0px;
    }
    .left-box .brand-content {
        padding-left: 0;
    }
    .right-box {
        height: 336px;
    }
    .brand-content{
        margin-top: 0%;
    }
    .highlight-text{
        font-size: 20px;
    }
    .brand-logo{
        max-width: 50%;
    }
    
    .designer-text {
        position: absolute;
        text-align: center;
        font-size: 70px; /* ปรับขนาดให้พอดี */
        letter-spacing: 3px;
        top: auto;
        bottom: -5%;
        left: 50%;
        transform: translateX(-50%);
    }
    .brand-image{
        width: 100%;
    }
}


/* พื้นหลัง Section (พื้นขาวแบบโปร่งแสง 76%) */
.pd-main-box{
        padding: 0 13% 0 13%;
}
@media (min-width: 757px) and (max-width: 1024px) {
    /* สำหรับแท็บเล็ต เช่น iPad mini */
    .pd-main-box{
        padding: 0 5px 0 5px;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    /* สำหรับแท็บเล็ตแนวตั้ง */
    .pd-main-box{
        padding: 0 5px 0 5px;
    }
}

/* Responsive สำหรับ Mobile */
@media (max-width: 756px){
    .pd-main-box{
        padding: 0 5px 0 5px;
    }

}
.confidence-section {
    height: 800px;
    background: rgba(255, 255, 255, 0.76) 0% 0% no-repeat padding-box;
    color: #333;
    position: relative;
    overflow: hidden;
}

/* ถ้าต้องการพื้นหลังเป็นรูป 40% + สีขาว 60% */
.confidence-section {
    background: 
        linear-gradient(to right, rgba(255, 255, 255, 0.76) 40%, white 60%),
        url("../..//common/img/bg-phase_02-left.png?v=1");
    background-size: cover, cover;
    background-position: center center,14%;
    background-repeat: no-repeat, no-repeat;
}

/* ข้อความ "MODELLISTA" เป็น Background */
.modellista-text {
    font-family: var(--font-family-raleway);
    position: absolute;
    top: auto;
    bottom: -2%;
    left: 50% !important;
    transform: translateX(-50%);
    font-size: 220px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    color: #E0E0E0;
    letter-spacing: 0px;
    opacity: 0.2;
    white-space: nowrap;
    z-index: 0;
}

/* หัวข้อ */
.section-title {
    font-family: var(--font-family-raleway);
    font-size: 38px;
    font-weight: var(--font-weight-bold);
    color: #3E3B3B;
    text-shadow: 2px 2px 2px #00000029;
    text-align: left;
    position: relative;
    z-index: 1;
}

/* เส้นขีดใต้หัวข้อ */
.section-title::after {
    content: "";
    display: block;
    width: 11%;
    height: 1px;
    background-color: #00683D;
    margin: 30px 0px; /* Default: ชิดซ้าย */
}


/* คำบรรยายใต้หัวข้อ */
.section-subtitle {
    font-family: var(--font-family-raleway);
    font-weight: var(--font-weight-medium);
    font-size: 23px;
    color: #333;
    text-align: left;
}

/* รูปภาพ */
.image-container {
    text-align: right;
    margin: 0px;
    left: 3%;
}

.image-container img {
    width: 86%;
    border-radius: 0px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* คำอธิบาย */
.description {
    font-family: var(--font-family-raleway);
    font-size: 26px;
    color: #000000;
    text-shadow: 3px 3px 3px #00000029;
    font-weight: var(--font-weight-medium);
    letter-spacing: 1.8px;
    line-height: 30px;
}

/* ไฮไลท์ข้อความ */
.highlight-text-s3 {
    font-family: var(--font-family-raleway);
    font-size: 26px;
    color: #00683D;
    font-weight: var(--font-weight-medium);
    letter-spacing: 1pt;
    line-height: 30px;
}

/* ข้อความขนาดเล็ก */
.small-text {
    font-family: var(--font-family-raleway);
    font-size: 23px;
    color: #000;
    text-shadow: 3px 3px 3px #00000029;
    font-weight: var(--font-weight-medium);
    letter-spacing: 1.5px;
}

/* Media query for 1920x1080 */
@media (min-width: 1920px) {
    .confidence-section {
        background-position: center center, 14%;
    }
    .section-title {
        font-family: var(--font-family-raleway);
        font-size: 48px;
        
    }
    .section-subtitle {
        font-family: var(--font-family-raleway);
        font-weight: var(--font-weight-medium);
        font-size: 30px;
    }
    .confidence-section {
        height: 1175px;
    }
    .modellista-text {
        font-size: 282px;
        top: auto;
        bottom: -2%;
        left: 50% !important;
        transform: translateX(-50%);
    }
    .image-container {
        margin-top: 40px;
        left: 0%;
    }
    .image-container img {
        width: 83%;
    }
    .description{
        font-size: 36px;
        line-height: 54px;
    }
    .small-text{
        font-size: 30px;
        line-height: 46px;
        letter-spacing: 1.5px;
    }
    .highlight-text-s3{
        font-size: 36px;
    }     
}

/* Media query for 1366x1080 */
@media (min-width: 1366px) and (max-width: 1900px) {
    .confidence-section {
        height: 930px;
    }
    .modellista-text {
        top: auto;
        bottom: 5%;
        left: 50% !important;
        transform: translateX(-50%);
    }
}

@media (min-width: 1024px) and (max-width: 1149px) {
    .modellista-text {
        left: 1% !important;
    }
    .description{
        text-align: center !important;
    }
    .small-text{
        text-align: center !important;
    }
    .image-container{
        text-align: center !important;
    }
}

@media (min-width: 757px) and (max-width: 1024px) {
    /* สำหรับแท็บเล็ต เช่น iPad mini */

    .section-title {
        text-align: center;
        margin-left: 0; /* ลบ Margin ด้านซ้าย */
    }
    .section-title, .section-subtitle {
        text-align: center;
    }
    .section-title::after {
        margin: 30px auto; /* เส้นขีดใต้ตรงกลาง */
        width: 20%;
    }
    .image-container img {
        width: 100%;
        margin: 30px 0px;
    }
    .image-container{
        left: 0%;
    }
    .confidence-section {
        height: 920px;
    }
    .modellista-text {
        font-size: 110px !important;
        top: auto;
        bottom: 5%;
        left: 50% !important;
        transform: translateX(-50%);
    }
    
}

@media (max-width: 768px) and (orientation: portrait) {
    /* สำหรับแท็บเล็ตแนวตั้ง */
    
    .section-title {
        text-align: center;
        margin-left: 0; /* ลบ Margin ด้านซ้าย */
    }
    .section-title, .section-subtitle {
        text-align: center;
    }
    .section-title::after {
        margin: 30px auto; /* เส้นขีดใต้ตรงกลาง */
        width: 20%;
    }
    .image-container img {
        width: 100%;
        margin: 30px 0px;
    }
    .image-container{
        left: 0%;
    }
    .confidence-section {
        height: 900px;
    }
    .modellista-text {
        font-size: 110px;
        top: auto;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
    }
    .description {
        padding-top: 15px !important;
    }
    
}

@media (max-width: 390px){
    .description{
        font-size: 16px !important;
        letter-spacing: 0px;
    }
    .highlight-text-s3{
        font-size: 17px !important;
    }
    .small-text{
        font-size: 14px !important;
    }
}

/* Responsive สำหรับ Mobile */
@media (max-width: 756px){
    .confidence-container{
        padding: 70px 8px 8px 8px;
    }
    .section-title {
        text-align: center;
        margin-left: 0; /* ลบ Margin ด้านซ้าย */
    }
    .section-title::after {
        margin: 30px auto; /* เส้นขีดใต้ตรงกลาง */
        width: 41%;
    }
    .modellista-text {
        letter-spacing: 0;
        font-size: 71px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0px;
    }

    .image-container {
        left: 0%;
    }

    .image-container img {
        width: 100%;
        margin: 30px 0px;
    }

    .section-title, .section-subtitle {
        text-align: center;
    }

    .confidence-section {
        height: 725px;
        background: 
            linear-gradient(to right, rgba(255, 255, 255, 0.76) 50%, white 50%),
            url("../..//common/img/bg-phase_02-left-mobile.png?v=1");
    }

    /* หัวข้อ */
    .section-title {
        font-size: 30px;
        margin-left: 0px;
        line-height: 40px;
    }
    /* คำบรรยายใต้หัวข้อ */
    .section-subtitle {
        margin-left: 0px;
        font-size: 20px;
    }
    .image-container {
        text-align: center;
        margin: 0px 0px;
    }
    .description{
        font-size: 18px;
        letter-spacing: 0px;
    }
    .highlight-text-s3{
        font-size: 20px;
    }
    .small-text{
        font-size: 16px;;
    }
  

}

/* ปรับแต่งไอคอน */
.icon-verified {
    display: inline-block;
    width: 35px;
    height: 35px;
    vertical-align: middle;
    background-color: white; /* เปลี่ยนสี */
    -webkit-mask-image: url('../../common/img/icon-verified.svg');
    mask-image: url('../../common/img/icon-verified.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    margin-right: 8px;
    flex-shrink: 0;
}


/* พื้นหลัง Section */
.dealer-section {
    height: 280px;
    align-items: center;
    background: #3E3B3B;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                url("../../common/img/bg-phase_03.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay; /* ทำให้ภาพมืดขึ้น */
    color: #fff;
    padding: 40px 0;
    position: relative;
}

/* สร้าง Overlay เพื่อควบคุม opacity ของ BG โดยไม่กระทบเนื้อหา */
.dealer-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* width: 100%;
    height: 100%; */
    background: rgba(62, 59, 59, 0.25); /* สีดำ + Opacity 85% */
    z-index: 1;
}

/* ให้เนื้อหาอยู่ด้านบน */
.dealer-section .container {
    position: relative;
    z-index: 2;
}

/* หัวข้อ */
.dealer-title {
    font-family: var(--font-family-raleway);
    font-weight: var(--font-weight-medium);
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 3px 3px 3px #00000029;
    letter-spacing: 1.8px;
    line-height: 54px;
    margin-top: 10px;
}

/* คำอธิบาย */
.dealer-subtitle {
    font-family: var(--font-family-raleway);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 36px;
    letter-spacing: 1.2px;
    margin-left: 53px;
}

/* ไฮไลท์ข้อความ */
.highlight-text-s4 {
    color: #FDC749;
    text-decoration:underline;
}

/* ปรับแต่งปุ่ม */
.dealer-button .btn {
    font-family: var(--font-family-raleway);
    font-weight: var(--font-weight-regular);
    line-height: 36px;
    background-color: #00683D;
    border: none;
    padding: 0px 55px 0px 55px;
    height: 55px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    margin: auto;
    color: #FFFFFF;
    border-radius: 0px;
}

/* เปลี่ยนสีปุ่มเมื่อกด */
.dealer-button .btn:focus {
    box-shadow: none;
}

/* ปรับขนาดไอคอนลูกศร */
.dealer-button .btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}
/* Section: รายชื่อผู้แทนจำหน่าย */
.dealer-list-section {
    background-color: #F9F9F9;
    padding: 60px 10px;
}

/* หัวข้อโซน */
.region-header {
    font-family: var(--font-family-raleway);
    background-color: #c7dcd3;
    color: #00833B;
    font-size: 30px;
    letter-spacing: 1.5px;
    line-height: 46px;
    font-weight: var(--font-weight-bold);
    padding: 11px 20px;
    margin-bottom: 20px;
    border-radius: 0px;
}

/* รายชื่อแต่ละรายการ */
.dealer-item {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    border-radius: 0px;
    padding: 20px 35px;
    margin-bottom: 16px;
}

.dealer-divider {
    border-top: 1px solid transparent;
    border-image: repeating-linear-gradient(
      to right,
      #D1D1D1 0,
      #D1D1D1 5px,
      transparent 5px,
      transparent 10px
    );
    border-image-slice: 1;
  }

/* ข้อมูลฝั่งซ้าย */
.dealer-info {
    flex: 1;
}
.dealer-info h4{
    font-family: var(--font-family-raleway);
    font-size: 24px;
    letter-spacing: 1.2px;
    line-height: 36px;
    font-weight: var(--font-weight-bold);
}
.dealer-info p {
    font-family: var(--font-family-raleway);
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 24px;
}


.dealer-name {
    font-weight: var(--font-weight-bold);
    color: #333;
    padding: 15px 0px;
    text-decoration: none;
}

.dealer-address {
    color: #666;
    line-height: 30px;
    font-weight: var(--font-weight-regular);
    padding: 5px 0px;
    text-decoration: none;
}

.dealer-contact {
    text-decoration: none;
    color: #000000;
    font-weight: var(--font-weight-regular);
    line-height: 36px;
    letter-spacing: 0.8px;
    padding: 5px 0px;
}


/* โลโก้ผู้แทนจำหน่าย */
.dealer-logo {
    text-align: right;
}

.dealer-logo img {
    max-width: 321px;
    height: auto;
}

.social-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.icon-link {
    display: flex;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.icon-link li a img {
    width: 32px;
    height: 32px;
    display: block;
}
.icon-fa-phone {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    background-color: #00683D;
    -webkit-mask-image: url('../../common/img/ionic-ios-call.svg');
    mask-image: url('../../common/img/ionic-ios-call.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    margin-right: 8px;
    flex-shrink: 0;
}
.icon-fa-envelope {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    background-color: #00683D;
    -webkit-mask-image: url('../../common/img/feather-mail.svg');
    mask-image: url('../../common/img/feather-mail.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    margin-right: 8px;
    flex-shrink: 0;
}
  .icon-fa-globe {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    background-color: #00683D;
    -webkit-mask-image: url('../../common/img/web-svgrepo-com.svg');
    mask-image: url('../../common/img/web-svgrepo-com.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Media query for 1920x1080 */
@media (min-width: 1920px) {

    .region-header {
        font-size: 30px;
        line-height: 60px;
    }

    .dealer-button .btn {
        font-size: 24px;
        padding: 0px 55px 0px 55px;
        height: 82px;
    }

    .dealer-section{
        height: 365px;
    }

    .dealer-title {
        font-size: 36px;
    }
    .dealer-subtitle{
        font-size: 24px;
    }

    .dealer-list-section {
        padding: 80px 0px;
    }

}

@media (min-width: 757px) and (max-width: 1024px) {
    /* สำหรับแท็บเล็ต เช่น iPad mini */
    .dealer-section{
        height: 359px;
        padding: 0px 12px;
    }
    .dealer-button .btn {
        padding: 0px 20px 0px 20px;
    }
    .dealer-logo {
        width: 100%;
        margin: 40px 0px !important;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    /* สำหรับแท็บเล็ตแนวตั้ง */
    .dealer-section{
        height: 359px;
        padding: 0px 12px;
    }
    .dealer-button .btn {
        padding: 0px 20px 0px 20px;
    }
    .dealer-logo {
        width: 100%;
        margin: 40px 0px !important;
    }
}

/* Responsive สำหรับ Mobile */
@media (max-width: 756px){
    .region-header{
        font-size: 20px;
        line-height: 60px;
        height: 55px;
        padding: 0px 25px;
    }
    .dealer-section{
        height: 359px;
        padding: 0px 5px;
    }
    .dealer-container{
        padding: 15px;
    }
    .dealer-list-section {
        padding: 50px 5px;
    }
    .dealer-item {
        flex-direction: column;
        text-align: center;
    }

    .dealer-logo {
        width: 100%;
        margin: 40px 0px;
    }

    .dealer-logo img {
        width: 70%;
    }
    .dealer-title {
        font-size: 22px;
        line-height: 30px;
        letter-spacing: 0.5px;
    }

    .dealer-subtitle {
        font-size: 14px;
        letter-spacing: 0px;
        margin-left: 0px;
        line-height: 35px;
    }
    .dealer-button .btn {
        width: 100%;
        font-size: 16px;
        line-height: 60px;
        padding: 0px 20px 0px 20px;
    }
    .icon-verified{
        width: 23px;
        height: 23px;
        position: relative;
        top:0px;
    }
    .dealer-info h4{
        letter-spacing: 0px;
    }
    .dealer-info p{
        letter-spacing: 0px;
        padding: 5px 0;
    }
    .dealer-contact{
        letter-spacing: 0px;
        line-height: 42px;
    }
    
}

/* Section Style */

.alphard-section {
    background: #FFFFFF;
    position: relative;
    padding: 120px 0;
}

/* Title + Divider */
.alphard-section-title {
    font-family: var(--font-family-raleway);
    font-size: 36px;
    line-height: 45px;
    font-weight: var(--font-weight-bold);
    color: #3E3B3B;
    letter-spacing: 0px;
}

.alphard-divider {
    width: 120px;
    height: 1.5px;
    background-color: #00683D;
    margin: 35px auto;
}

/* รูปรถ */
.alphard-car-container {
    position: relative;
    text-align: center;
    margin-top: 90px;
    margin-bottom: 45px;
    z-index: 2;
}

.alphard-car-image {
    max-width: 59%;
}

/* จุดไอคอน "+" */
.feature-point {
    position: absolute;
    width: 25px;
    height: 25px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: 1px dashed #FFFFFF;
}
.feature-point svg.color-green{
    background-color: #FFFFFF !important;
    border-radius: 50%;
    color: #00683D !important;
}
.feature-point svg.svg-inline--fa{
    font-size: 18px;
}

/* ตำแหน่งของแต่ละจุด */
.point1 { top: 79%; left: 26%; }
.point2 { top: 82%; left: 35%; }
.point3 { top: 70%; right: 60%; }
.point4 { top: 70%; right: 42%; }

/* Background Text "ALPHARD" */

.alphard-text {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #E0E0E0;
    letter-spacing: 6px;
    opacity: 0.3;
    white-space: nowrap;
    z-index: 1;
}

/* Media query for 1920x1080 */
@media (min-width: 1920px) {
    .feature-point {
        width: 41px;
        height: 41px;
    }
    .feature-point svg.svg-inline--fa{
        font-size: 30px;
    }
    .alphard-divider {
        margin: 35px auto;
    }
    .alphard-section-title {
        font-size: 48px;
        line-height: 73px;
    }
    .alphard-text{
        bottom: 200px;
        font-size:286px;
    }
    .feature-tooltip-box{
        width: 458px !important;  
        padding: 25px !important;
    }
    .tooltip-content h5{
        font-size: 24px !important;
        padding-bottom: 25px !important;
        line-height: 36px !important;
    }
    .tooltip-content p{
        padding-top: 25px !important;
        font-size: 20px !important;
        line-height: 30px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1194px) {
    .alphard-car-image {
        max-width: 70%;
    }
    .alphard-section-title{
        font-size: 48px;
        line-height: 73px;
    }
    /* ตำแหน่งของแต่ละจุด */
    .point1 { top: 78%; left: 22%; }
    .point2 { top: 82%; left: 32%; }
    .point3 { top: 68%; right: 61%; }
    .point4 { top: 69%; right: 40%; }
}

@media (min-width: 757px) and (max-width: 1024px) {
    /* สำหรับแท็บเล็ต เช่น iPad mini */
    .alphard-car-image {
        max-width: 70%;
    }
    .alphard-text{
        font-size: 9.5rem;
    }
    .alphard-section-title {
        font-size: 40px;
        line-height: 55px;
    }
    /* ตำแหน่งของแต่ละจุด */
    .point1 { top: 79%; left: 22%; }
    .point2 { top: 82%; left: 32%; }
    .point3 { top: 68%; right: 62%; }
    .point4 { top: 69%; right: 41%; }
}

@media (max-width: 768px) and (orientation: portrait) {
    /* สำหรับแท็บเล็ตแนวตั้ง */
    .alphard-car-image {
        max-width: 80%;
    }
    .alphard-text{
        font-size: 9.5rem;
    }
    .alphard-section-title {
        font-size: 40px;
        line-height: 73px;
    }
    /* ตำแหน่งของแต่ละจุด */
    .point1 { top: 77%; left: 14%; }
    .point2 { top: 82%; left: 27%; }
    .point3 { top: 68%; right: 65%; }
    .point4 { top: 69%; right: 38%; }
}

/* Responsive สำหรับ Mobile */
@media (max-width: 756px){
    .alphard-section{
        padding: 60px 0px 0px 0px;
    }
    .alphard-container{
        padding: 15px;
    }
    .alphard-section-title {
        font-size: 30px;
        letter-spacing: 0;
        line-height: 40px;
    }
    .alphard-car-container{
        margin-top: 0px;
        margin-bottom:0px;
    }
    .alphard-car-image {
        max-width: 95%;
    }
    .alphard-text {
        bottom: 60px;
        font-size: 90px;
        letter-spacing: 0px;
    }

    .alphard-divider {
        width: 135px;
        height: 1px;
        margin: 15px auto;
    }

    .feature-point {
        width: 20px;
        height: 20px;
    }

    .feature-point i {
        font-size: 16px;
    }

    .feature-point svg.svg-inline--fa{
        font-size: 14px;
    }

    /* ตำแหน่งของแต่ละจุด */
    .point1 { top: 77%; left: 11%; }
    .point2 { top: 80%; left: 27%; }
    .point3 { top: 68%; right: 62%; }
    .point4 { top: 67%; right: 35%; }
}


.feature-tooltip-box {
    position: absolute;
    width: 320px;
    background: #EEEEEE;
    border: 1px solid #28a745;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    /* transition: all 0.3s ease; */
    pointer-events: none;
}

.tooltip-content {
    font-family: var(--font-family-raleway);
    font-size: 24px;
    color: #333;
    line-height: 24px;
}

.tooltip-content h5 {
    font-family: var(--font-family-raleway);
    font-size: 16px;
    color: #3E3B3B;
    line-height: 16px;
    letter-spacing: 1.2px;
    font-weight: var(--font-weight-bold);
    padding-bottom: 20px;
}
.tooltip-content p {
    font-family: var(--font-family-raleway);
    font-size: 14px;
    color: #3E3B3B;
    line-height: 25px;
    letter-spacing: 0px;
    font-weight: var(--font-weight-regular);
    padding-top: 20px;
}

.feature-tooltip-box.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tooltip-line-vertical-1 {
    position: absolute;
    height: 68%;
    width: 1px;
    border-left: 2px dotted #ccc;
    top: 10%;
    left: 27.3%;
    transform: translateX(-50%);
}

.tooltip-line-horizontal-1 {
    position: absolute;
    height: 1px;
    width: 10%;
    border-top: 2px dotted #ccc;
    top: 10%;
    left: calc(17% - 0px);
}

.tooltip-line-vertical-2 {
    position: absolute;
    height: 12%;
    width: 1px;
    border-left: 2px dotted #ccc;
    bottom: 0%;
    left: 36%;
    transform: translateX(-20%);
}

.tooltip-line-horizontal-2 {
    position: absolute;
    height: 1px;
    width: 20.5%;
    border-top: 2px dotted #ccc;
    bottom: 0%;
    left: calc(15.3% - 0px);
}

.tooltip-line-vertical-3 {
    position: absolute;
    height: 75%;
    width: 1px;
    border-left: 2px dotted #ccc;
    top: -5%;
    right: 61%;
    transform: translateX(-50%);
}

.tooltip-line-horizontal-3 {
    position: absolute;
    height: 1px;
    width: 40%;
    border-top: 2px dotted #ccc;
    top: -5%;
    right: calc(21% - 0px);
}

.tooltip-line-vertical-4 {
    position: absolute;
    height: 23%;
    width: 1px;
    border-left: 2px dotted #ccc;
    bottom: 1%;
    right: 43%;
    transform: translateX(-20%);
}

.tooltip-line-horizontal-4 {
    position: absolute;
    height: 1px;
    width: 22%;
    border-top: 2px dotted #ccc;
    bottom: 0%;
    right: calc(21% - 0px);
}


.tooltip-line-vertical-1,
.tooltip-line-vertical-2,
.tooltip-line-vertical-3,
.tooltip-line-vertical-4,
.tooltip-line-horizontal-1,
.tooltip-line-horizontal-2,
.tooltip-line-horizontal-3,
.tooltip-line-horizontal-4 {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}


.featureModal .modal-content{
    border: 1px solid #00833B;
    border-radius: 10px;
}

.featureModal .modal-content .modal-header{
    padding: 0px 0px 25px 0px;
}

.featureModal .modal-content .modal-body{
    padding: 0px 0px 0px 0px;
}

.featureModal .modal-content {
    font-family: var(--font-family-raleway);
    font-weight: var(--font-weight-regular);
    font-size: 16px;
    color: #333;
    line-height: 24px;
    padding: 30px;
}

.featureModal .modal-content h5 {
    font-family: var(--font-family-raleway);
    font-size: 24px;
    color: #3E3B3B;
    line-height: 36px;
    letter-spacing: 1.2px;
    font-weight: var(--font-weight-bold);
}
.featureModal .modal-content p {
    font-family: var(--font-family-raleway);
    font-size: 14px;
    color: #3E3B3B;
    line-height: 25px;
    letter-spacing: 0px;
    font-weight: var(--font-weight-regular);
}
.featureModal .btn-close{
    background-color: #00833B;
    opacity: 1;
}
.custom-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #00683D;
    border: none;
    border-radius: 0px;
    font-size: 18px;
    color: white; /* หรือ #000 หรือสีอื่นตามดีไซน์ */
  
  }
  
  .custom-close:hover {
    background-color: #00683D;
    color: #fff; /* สีตอน hover */
  }

    
  .important-box {
    background: url('../../common/img/bg-phase_05.jpg') center center / cover no-repeat;
    /* padding: 40px 30px; */
    border: 1px solid #CCC6BB;
    border-radius: 0px;
    position: relative;
    margin: 0 auto;
    height: 234px;
  }
  
  /* กรอบบางๆ แบบ layout */
.important-box::after {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border: 1px solid #CCC6BB; /* สีขาวโปร่ง */
    z-index: 2;
  }
  
  /* ทำให้เนื้อหาด้านในลอยเหนือพื้นหลัง */
  .important-box > * {
    position: relative;
    z-index: 3;
  }
  
  .important-box h3 {
    font-family: var(--font-family-raleway);
    font-weight: var(--font-weight-bold);
    font-size: 24px;
    letter-spacing: 1.2px;
    line-height: 30px;
  }
  
  .important-box p {
    font-family: var(--font-family-raleway);
    font-weight: var(--font-weight-regular);
    font-size: 20px;
    letter-spacing: 1.2px;
    line-height: 30px;
    color: #fff;
  }
  .important-box .text-read-more{
    font-family: var(--font-family-raleway);
    font-weight: var(--font-weight-regular);
    background-color: #CCC6BB;
    border: none;
    font-size: 18px;
  }
  .important-section{
    padding: 120px 0px; 
 }

/* Media query for 1920x1080 */
@media (min-width: 1920px) {
    
    .important-box {
        height: 294px;
    }
    .important-box h3 {
        font-size: 30px;
      }
    .important-box p {
        font-size: 24px;
        line-height: 60px;
      }
    .important-section{
        padding: 120px 0px; 
     }
     .tooltip-line-horizontal-1 {
        left: calc(17.4% - 0px);
    }
     .tooltip-line-vertical-1{
        bottom: 0%;
        left: 27.5%
     }
     .tooltip-line-horizontal-2 {
        width: 21.2%;
        right: calc(15% - 0px);
    }
     .tooltip-line-vertical-2{
        height: 10%;
        bottom: 0%;
        left: 36.4%;
     }
    .tooltip-line-horizontal-3 {
        width: 46%;
        right: calc(15.2% - 0px);
    }
    .tooltip-line-vertical-3{
        right: 61.3%;
    }
    .tooltip-line-horizontal-4 {
        width: 30%;
        right: calc(13.2% - 0px);
    }
    .tooltip-line-vertical-4{
        height: 22%;
        bottom: 0%;
        right: 43.3%;
    }
}
  
@media (min-width: 757px) and (max-width: 1024px) {
    /* สำหรับแท็บเล็ต เช่น iPad mini */
    .important-container{
        padding: 0px 15px;
    }
    .important-box{
        height: 280px;
    }
    .important-section{
        padding: 0px 0px 120px 0px; 
     }
    
}


@media (max-width: 768px) and (orientation: portrait) {
    /* สำหรับแท็บเล็ตแนวตั้ง */
    .important-container{
        padding: 0px 15px;
    }
    .important-box{
        height: 280px;
    }
}

/* Responsive สำหรับ Mobile */
@media (max-width: 756px){
    .important-box {
        height: 380px;
    }
    .important-container{
        padding: 0px 10px;
    }
    .important-box h3{
        font-size: 23px;
    }
    .important-box p{
        font-size: 18px;
        letter-spacing: 0;
    }

}


