html {
    overflow-x: hidden !important; /* ซ่อนส่วนที่ล้นในแนวนอน */
    width: 100%; /* ตรวจสอบให้แน่ใจว่า html และ body มีความกว้าง 100% */
    background-color: black;
}

body {
    font-family: Prompt; 
    font-size: 16px;
    padding-top: 20px; 
    overflow-x: hidden !important; /* ซ่อนส่วนที่ล้นในแนวนอน */
    width: 100%; /* ตรวจสอบให้แน่ใจว่า html และ body มีความกว้าง 100% */
    background-color: black;
}

.font-light {
    font-weight: 200;
}

.nav-item {
    font-size: 16px;
    letter-spacing: 0px;
    color: #FFFFFF;    
}

#ScreenSizeRow {
    margin-top: 40px;
    background-color: white;
}

#ScreenSize {
    width: 200px;
}


.book-now {
    border: 1px solid var(--unnamed-color-7ba3ff);
    background: transparent linear-gradient(180deg, #3ECDBC 0%, #2B3893 100%) 0% 0% no-repeat padding-box;
    border: 1px solid #7BA3FF;
    border-radius: 24px;
    opacity: 1;
    color: white; 
    padding: 8px 20px;
}

h1 {
    font-size: 50px;
    letter-spacing: 3.25px;
    color: #FFFFFF;
    opacity: 1;    
}

h2 {
    font-size: 40px;
    letter-spacing: 2px;
    color: #FFFFFF;
}

h4 {
    font-size: 24px;
    letter-spacing: 1px;
    color: #FFFFFF;
}


hr {
    position: relative;
    z-index: 2;
    margin-left: calc(50% - 67px);
    width: 134px;
    height: 8px;    
    color: #1F7DFE;
    background-color: #1F7DFE;
    border: none;     
    opacity: 1;
}

.vi {
    font-weight: 900;
    color: #1F7DFE;
}

#about-us {
    background-color: #030514;
}

#about-us-content {
    position: relative;
    z-index: 2;
    margin-top: -340px;
}

#why-choose {
    background: url('/media/bg-why-choose.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #030514;
    width: 100%;
    padding-top: 100px;
    min-height: 700px;
}

.why-choose-card {
    --shine-deg: 45deg;
    position: relative;
    overflow: hidden;
    
    border-radius: 0.875rem;
    padding: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom, #FBFCFC, #9CA0AB);

    color: black;
    font-weight: 400;
    height: 300px;
    margin-top: 20px;
}

#our-fleets-rates {
    background-color: #030514;
    width: 100%;
    padding-top: 50px;
    min-height: 500px;
}

#our-services {
    /*
    background: url('/media/bg-our-services.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #030514;
    */
    width: 100%;
    padding-top: 50px;
    min-height: 1000px;
}

#our-services-sub {
    background: url('/media/bg-our-services.png');
    background-size: cover; /* Use cover to ensure the image covers the entire element */
    background-attachment: fixed; /* This is the key for the parallax effect */
    background-color: #030514;
}

.our-services-card {
    --shine-deg: 45deg;
    position: relative;
    overflow: hidden;
    
    border-radius: 0.875rem;
    padding: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom, #FBFCFC, #9CA0AB);

    color: black;
    font-weight: 400;
    height: 600px;
    margin: 20px 0;
}

.our-services-icon {
    float: left;
    width: 80px;
    height: 70px;
    margin-bottom: 20px;
    border-bottom: 3px solid #1F7DFE
}

.our-services-heading {
    float: left;
    width: calc(100% - 80px);
    height: 70px;
    margin-bottom: 20px;
    border-bottom: 1px solid #1F7DFE;
    font-size: 20px;
    font-weight: bold;
}

#carousel {
    width: 100%;
    padding-top: 50px;
}

#carousel img {
    width: 100%;
    height: 100%;
}

.date-picker {
    width: 100%;
    padding-left: 10px;
}

a {
    text-decoration: none;
}

.index-flag {
    width: 30px;
}

.hc {
    font-weight: 100;
    font-size: 60px; 
    letter-spacing: 0.1em;       
}

.vehicle-card {
    --shine-deg: 45deg;
    position: relative;
    overflow: hidden;
    
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom, #FBFCFC, #9CA0AB);

    color: gray;
    height: 350px;
    padding: 20px 20px 20px 40px;
}

.vcategory {
    font-size: 16px;
}

.vname {
    color: black;
    font-size: 30px;
    font-weight: bolder;
}

.vehicle-left{
    float: left;
    width: 40px;
    height: 60px;
    font-size: 40px;
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom: 3px solid #1F7DFE;
}

.vehicle-right{
    float: left;
    width: 80px;
    height: 60px;
    font-size: 40px;
    text-align: center;
    padding-bottom: 0px;
    border-bottom: 1px solid #1F7DFE;
}

.row-v-action {
    margin-top: 2rem !important;
}

.btn-v-action {
    background: linear-gradient(to bottom, #FBFCFC, #9CA0AB);
    border-radius: 50rem;  /* This creates the pill shape */
    padding: 8px 24px;
    border: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-v-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#service-procedures, #contact-us {
    background-color: #030514;
    width: 100%;
    padding: 50px 0;
    color: white;
}

#how-to {
    background: url('/media/bg-how-to.png') no-repeat center center; /* Combine background properties */
    background-size: cover; /* Use cover to ensure the image covers the entire element */
    background-attachment: fixed; /* This is the key for the parallax effect */
    background-color: #030514;
    width: 100%;
    min-height: 1000px;
    padding-bottom: 100px;
}
/*
#how-to {
    background: url('/media/bg-how-to.png') no-repeat center center fixed;
    background-size: cover;
    background-color: #030514;
    width: 100%;
    min-height: 1000px;
    padding-bottom: 100px;
}
    height: 350px;
*/
.how-to-img {
    overflow: hidden;    
}

.how-to-card {
    --shine-deg: 45deg;
    position: relative;
    overflow: hidden;
    
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom, #FBFCFC, #9CA0AB);

    height: 350px;
    padding: 20px 20px 20px 40px;
    color: black;
}

.how-to-card h4 {
    color: black;
    font-weight: bolder
}

.image-container {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    transition: height 0.3s ease-out;
}

.interior-view-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.interior-view-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    color: white;
}

.interior-view {
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    display: none;
    z-index: 20;
    transition: all 0.3s ease-in-out;
}

.show-interior {
    display: block !important;
}

.interior-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.gallery-item {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.0);
}

.gallery-item.selected {
    border-color: #3ECDBC;
    transform: scale(1.0);
    box-shadow: 0 0 10px rgba(62, 205, 188, 0.3);
}

.main-vehicle-img {
    transition: opacity 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* BookNow */
.t-row {
    margin-top: .5rem !important;
    padding-bottom: .25rem !important;
    border-bottom: 1px solid lightgray;
}

.y-row {
    margin-top: .5rem !important;
    padding-top: .25rem !important;
    border-top: 1px solid lightgray;
    padding-bottom: .25rem !important;
    border-bottom: 1px solid lightgray;
}

.TF-A-Left, .TF-A-Right {
    float: left;
    width: 40px;
    text-align: center;
    font-size: 20px;
}

.TF-A-Center {
    float: left;
    width: calc(100% - 80px);
}

.TF-B {
    float: left;
    width: calc(100% - 40px);
}

.TF-C {
    float: left;
}

.TF-D {
    float: left;
    width: 29%;
}

.TF-D2 {
    float: left;
    width: 71%;
}

.TF-Date {
    float: left;
    width: calc(50% - 40px);
}

.TF-Time {
    float: left;
    width: calc(50% - 40px);
}

.v-row {
    float: left;
    width: 100%;
}

.v-card {
    float: left;
    width: 110px;
    margin-right: 10px;
    font-size: 12px;
}

.v-card img {
    width: 80px;
}

.w50 {
    float: left;
    width: 50%;
}

.w33 {
    float: left;
    width: 33%;
}

.in50 {
    width: 50px;
    text-align: center;
    border-radius: 5px;
}

.mdb {
    width: 100%;
    position:fixed;
    top:auto;
    right:auto;
    left:auto;
    bottom: 10px;
 } 

 /* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.color-circle {
    width: 25px; 
    height: 25px;
    display: inline-block;
}

.score-bb {
    width: 100%;
    position: relative;
    top:auto;
    right:auto;
    left:auto;
    bottom: 35px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 5px 10px 
} 

.ride-book {
    width: 100%;
    position: relative;
    display: inline-block;
    top:auto;
    right:auto;
    left:auto;
    bottom: 50px;
    padding: 10px 
} 

#DetailModal {
    width: 100%;
}

.mb-6 {
    margin-bottom: 2rem !important;
}
