@font-face {
    font-family: "BaiJamjuree-Light";
    src: url(../fonts/BaiJamjuree/BaiJamjuree-Light.ttf) format("truetype");
}

@font-face {
    font-family: "BaiJamjuree-Regular";
    src: url(../fonts/BaiJamjuree/BaiJamjuree-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "BaiJamjuree-Medium";
    src: url(../fonts/BaiJamjuree/BaiJamjuree-Medium.ttf) format("truetype");
}

@font-face {
    font-family: "BaiJamjuree-Bold";
    src: url(../fonts/BaiJamjuree/BaiJamjuree-Bold.ttf) format("truetype");
}

@font-face {
    font-family: "BaiJamjuree-ExtraBold";
    src: url(../fonts/BaiJamjuree/BaiJamjuree-Bold.ttf) format("truetype");
}

@font-face {
    font-family: "Tahoma-Light";
    src: url(../fonts/Tahoma/Tahoma.ttf) format("truetype");
}

@font-face {
    font-family: "Tahoma-Regular";
    src: url(../fonts/Tahoma/Tahoma.ttf) format("truetype");
}

@font-face {
    font-family: "Tahoma-Medium";
    src: url(../fonts/Tahoma/Tahoma.ttf) format("truetype");
}

@font-face {
    font-family: "Tahoma-Bold";
    src: url(../fonts/Tahoma/Tahoma_Bold.ttf) format("truetype");
}

@font-face {
    font-family: "Tahoma-ExtraBold";
    src: url(../fonts/Tahoma/Tahoma_Bold.ttf) format("truetype");
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tahoma-Regular', sans-serif;
    font-size: 12px;
    background-color: #ffffff;
}

p {
    font-family: 'Tahoma-Regular', sans-serif;
    font-size:12px;
}
h1, h2, h3, h4 {
    font-family: 'BaiJamjuree-Regular', sans-serif;
}
    h1 strong, h2 strong, h3 strong, h4 strong {
        font-family: 'BaiJamjuree-Bold', sans-serif;
    }
h1 {
    font-size: 65px;
}
h2 {
    font-size: 50px;
}
h3 {
    font-size: 40px;
}
h4 {
    font-size: 32px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 450px;
    background-image: url(../img/ServicioConductor/cabecera_pagina.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
    padding: 0 50px;
    padding-bottom: 25px;
}

.hero-content {
    color: white;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 65px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0px;
}

.hero-subtitle {
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;
}

/* Services Section */
.services-section {
    background-color: #f8f8f8;
    padding: 60px 20px;
}

.services-container {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.service-item {
    text-align: center;
}

.service-icon {
    width: 120px;
    height: 120px;
    background-image: url('../img/ServicioConductor/fondo_iconos.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.service-title {
    font-size: 17px;
    font-weight: 600;
    color: #4C4C4C;
    line-height: 1.3;
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    margin-top: 30px;
}

.cta-text {
    color: #666;
    margin-bottom: 40px;
}

.cta-text strong {
    font-weight: 600;
    color: #333;
}

.btn-open-modal {
    background-color: #FC6500;
    border: none;
    color: white;
    padding: 12px 50px;
    font-size: 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    background-image: url(../img/ServicioConductor/flecha_boton.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: calc(100% - 16px) center;
    padding-right: 70px;
}

.btn-open-modal:hover {
    background-color: #e65a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 51, 0.4);
}

.btn-open-modal img {
    width: 22px;
    height: 22px;
}

.price-note {
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

/* Modal Customization */
@media (min-width: 576px) {
    .itv_recogida .modal-dialog {
        max-width: 580px;
    }
}
.itv_recogida form {
    max-width: 360px;
    margin: 0 auto;
}

#pickupModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#pickupModal .modal-header {
    border: none;
    padding: 0;
    position: relative;
}


#pickupModal .modal-banner {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #FC6500;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1;
}

.btn-close-modal:hover {
    background-color: #e65a2b;
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px 50px;
}

.modal-title-main {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.modal-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
    text-align: center;
    font-weight: 400;
}

.modal-station {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.header-modal-info {
    background: url(../img/home/icono_info.svg) no-repeat left top;
    padding-left: 70px;
    line-height: 50px;
}

.body-modal-info p {
    padding-left: 70px;
}

.body-modal-info hr {
    border-top: 1px dashed #7b5c4e;
    background: none;
}

.body-modal-info table {
    margin-left: 70px;
    width: 100%;
}

/* Form Styling */
.form-group {
    margin-bottom: 12px;
    text-align: left;
}

.form-control-custom {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    font-family: 'BaiJamjuree-Regular', sans-serif;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: #FC6500;
    box-shadow: 0 0 0 3px rgba(255, 102, 51, 0.1);
}

.form-control-custom.is-invalid {
    border-color: #dc3545;
}

.form-control-custom::placeholder {
    color: #aaa;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    margin-left: 20px;
    display: none;
    margin-bottom: 10px;
}

.error-message.show {
    display: block;
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

    .checkbox-group label {
        font-size: 13px;
        color: #666;
        line-height: 1.4;
        cursor: pointer;
        margin: 0;
        margin-top: 2px;
    }

.checkbox-group.is-invalid label {
    color: #dc3545;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    max-width: 300px;
    padding: 12px 30px;
    background-color: #FC6500;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    box-shadow: 0 4px 10px rgba(255, 102, 51, 0.3);
}

.btn-submit:hover:not(:disabled) {
    background-color: #e65a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 102, 51, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success State */
.success-content {
    text-align: center;
    padding: 20px;
}

.success-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.success-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.success-icon-wrapper {
    position: relative;
    width: 180px;
    height: 160px;
    margin: 0px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.envelope-icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.check-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .check-icon img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

.success-message {
    font-size: 24px;
    color: #333;
    margin: 30px 0 15px;
}

.success-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

.btn-website {
    padding: 8px 50px;
    background-color: #FC6500;
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-website:hover {
    background-color: #e65a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 102, 51, 0.4);
    color: white;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 350px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .service-icon {
        width: 100px;
        height: 100px;
    }
    
    .service-icon img {
        width: 45px;
        height: 45px;
    }
    
    
    .cta-text {
        font-size: 26px;
    }
    
    .btn-open-modal {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 280px;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 26px;
    }
    
    .services-section {
        padding: 40px 15px;
    }
    
    .services-grid {
        /*grid-template-columns: 1fr;*/
        gap: 25px;
    }

    .service-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 5px;
    }
    
    .service-icon img {
        width: 40px;
        height: 40px;
    }
    
    .cta-text {
        font-size: 21px;
    }
    
    .btn-open-modal {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 30px 25px;
    }
    
    .modal-title-main,
    .success-title {
        font-size: 24px;
    }
    
    .modal-banner {
        height: 120px;
    }


}



/***** MODAL WINDOW *****/
#modalAlertWindow .modal-header {
    border-bottom-color: #f6f6f6;
}

#modalAlertWindow .modal-footer {
    border-top-color: #f6f6f6;
}

#modalAlertWindow .modal-content {
    border-radius: 0;
}

#modalAlertWindow .modal-title {
    font-size: 21px;
    font-family: "BaiJamjuree-Bold", Arial;
}

#modalAlertWindow .btn-close:focus {
    outline: 0;
    box-shadow: none;
}
/****** CUSTOM ******/
.custom-color {
    color: #fc6500;
}

.only_mv {
    display: none !important;
}

.btn-custom {
    color: #ffffff;
    background-color: #fc6500;
    display: inline-block;
    padding: 10px;
}

    .btn-custom:hover {
        background-color: #7b5c4e;
        text-decoration: none;
        color: #ffffff;
    }

.border-radius-0 {
    border-radius: 0;
}

.rotate-180 {
    transform: rotate(180deg);
}

.mr-3 {
    margin-right: 1rem !important;
}

@media (max-width: 768px) {
    .only_mv {
        display: block !important;
    }

    .p-0-mv {
        padding: 0 !important;
    }

    .mt-sm-0 {
        margin-top: 0 !important;
    }
}

.btn-corporate {
    color: #fff;
    background-color: #fc6500;
    border-color: #fc6500;
    border-radius: 0;
    padding-left: 25px;
    padding-right: 25px;
}

    .btn-corporate:hover {
        color: #fff;
        background-color: #7b5c4e;
        border-color: #7b5c4e;
    }

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(252, 101, 0, 0.1);
}

.btn-alternate {
    color: #fff;
    background-color: #AEAEAE;
    border-color: #AEAEAE;
    border-radius: 0;
    padding-left: 25px;
    padding-right: 25px;
}

    .btn-alternate:hover {
        color: #fff;
        background-color: #7b5c4e;
        border-color: #7b5c4e;
    }

.form-select, .form-control {
    padding: 9px 17px;
    border: 1px solid #DBDBDB;
    border-radius: 0;
}

@media (min-width: 1200px) {
    .form-select, .form-control {
        max-width: 400px;
    }
}

.form-select:focus, .form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #fc6500;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(252, 101, 0, 0.1);
}

.form-select::placeholder, .form-control::placeholder {
    color: #cccccc;
}
