.quote-page .section-title {
    font-size: 40px;
    font-family: "Noto Sans Japanese", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.quote-page .contact-form-section {
    border-radius: 20px;
}

.quote-page #quoteForm {
    max-width: 446px;
    margin: 0 auto;
}

.quote-page .form-check {
    padding-left: 1.75rem;
}

.quote-page .form-check-input {
    margin-left: -1.75rem;
}

.quote-form-message {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in;
}

.quote-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.quote-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Phone Input Styles */
.quote-page .phone-input-wrapper {
    position: relative;
    display: flex;
    gap: 0;
}

.quote-page .phone-input-wrapper .iti {
    width: 100%;
    display: flex;
}

.quote-page .phone-input-wrapper .iti__flag-container {
    position: relative;
    flex-shrink: 0;
}

.quote-page .phone-input-wrapper .iti__selected-flag {
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border: 1px solid #c7d1df;
    border-right: none;
    border-radius: 8px 0 0 8px;
    background-color: #ffffff;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    min-width: 80px;
}

.quote-page .phone-input-wrapper .iti__selected-flag:hover {
    border-color: #e58393;
}

.quote-page .phone-input-wrapper .iti__arrow {
    margin-left: 0.5rem;
    border-top: 4px solid #666;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    width: 0;
    height: 0;
}

.quote-page .phone-input-wrapper #quotePhone {
    flex: 1;
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.quote-page .phone-input-wrapper #quotePhone:focus {
    border-left: none;
}

.quote-page .phone-input-wrapper #quotePhone:focus {
    border: none;
    outline: none;
    box-shadow: none;
    background-color: transparent;
}

.quote-page .phone-input-wrapper #quotePhone::placeholder {
    color: #999;
    line-height: 1.5;
    opacity: 1;
    white-space: normal;
}

.quote-page .phone-input-wrapper .iti__country-list {
    z-index: 9999 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 0.5rem !important;
    border: 1px solid #e5eaf2 !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 36px rgba(13, 31, 55, 0.12) !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    background-color: #ffffff !important;
}

.quote-page .phone-input-wrapper .iti__country {
    padding: 0.65rem 1rem;
    border-radius: 8px;
    transition: border-color 0.2s ease, color 0.2s ease;
    border: 1px solid transparent;
}

.quote-page .phone-input-wrapper .iti__country:hover,
.quote-page .phone-input-wrapper .iti__country.iti__highlight {
    background-color: transparent;
    border-color: #e58393;
}

.quote-page .phone-input-wrapper .iti__country-list {
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(13, 31, 55, 0.12);
    margin-top: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.quote-page .phone-input-wrapper .iti__country {
    padding: 0.65rem 1rem;
    border-radius: 8px;
    transition: border-color 0.2s ease, color 0.2s ease;
    border: 1px solid transparent;
}

.quote-page .phone-input-wrapper .iti__country:hover,
.quote-page .phone-input-wrapper .iti__country.iti__highlight {
    background-color: transparent;
    border-color: #e58393;
}

.text-muted{
    font-size:12px;
}

/* Slider Item Image Size */
.quote-page .contact-slider .slider-item {
    flex: 0 0 373px;
    max-width: 373px;
    width: 373px;
}

.quote-page .contact-slider .slider-item img {
    width: 373px;
    height: 280px;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    /* Quote page: marquee cards 160x120 and 25s duration (mobile only) */
    .quote-page .contact-slider-track {
        animation-duration: 25s;
    }
    .contact-form-section .btn-primary{
        font-weight: 500;
    }

    .quote-page .contact-slider .slider-item {
        flex: 0 0 160px;
        max-width: 160px;
        width: 160px;
    }

    .quote-page .contact-slider .slider-item img {
        width: 160px;
        height: 120px;
        object-fit: cover;
        object-position: center;
    }
}

.quote-form-wrapper{
    background: #fff;
}
.iti{
    width: 100%;
}
