/* Hero Banner
============*/
#enquiry .hero-banner .container {
    
    display: flex;
    align-items: center;
    justify-content: start;
    height: 100%;
	width: 100%;
}
#enquiry .hero-banner .banner-wrap {
    height: 500px;
    position: relative;
}
#enquiry .hero-banner .content-wrap {
	width: 100%;
}
#enquiry .hero-banner .content-wrap h1 {
    color: var(--color-white);
    font-size: 50px;
    font-weight: 700;
    max-width: 55%;
}
#enquiry .hero-banner .content-wrap h1:lang(en_US) {
    font-family: 'Montserrat';
}
#enquiry .hero-banner .content-wrap p.top {
    margin-bottom: 70px;
}
#enquiry .hero-banner .content-wrap p {
    line-height: 28px;
    width: 400px;
}

/* Form Message
=============*/
#enquiry label.error {
    display: none !important;
}
#enquiry label.show {
    display: inline-block !important;
}
#enquiry .send-message .container {
    border-bottom: 2px solid var(--color-gray-light);
    padding-bottom: 100px;
}
#enquiry .send-message .content-wrap {
    margin: auto;
    padding-top: 2rem;
    max-width: 550px;
}
#enquiry .send-message .content-wrap h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 35px;
    text-align: center;
}
#enquiry .send-message .content-wrap p {
    text-align: center;
}
#enquiry .send-message .form-wrap {
    display: grid;
}
#enquiry .send-message .form-wrap .form-label {
    font-weight: 700;
}
#enquiry .send-message .form-wrap .form-label span {
    color: var(--color-red);
    font-weight: bold;
}
#enquiry .send-message .form-wrap .form-label span.optional {
    color: var(--color-gray);
}
#enquiry .send-message .form-wrap textarea {
    border: 2px solid var(--color-gray-medium);
    font-size: 20px;
    padding: 15px 25px;
    transition: all .25s;
}
#enquiry .send-message .form-wrap input {
    border: 2px solid var(--color-gray-medium);
    font-size: 20px;
    height: 60px;
    padding: 15px 25px;
    transition: all .25s;
}
#enquiry .send-message .form-wrap input:focus {
    border: 2px solid var(--color-orange);
}
#enquiry .send-message .form-action-wrap {
    display: flex;
    justify-content: space-between;
}
#enquiry .send-message .form-action-wrap button {
    border: unset;
    background-color: var(--color-blue);
    border-radius: 6px;
    color: var(--color-white);
    font-weight: 700;
    line-height: 0;
    padding: 15px 25px;
    height: 50px;
	transition: all .25s;
}
#enquiry .send-message .form-action-wrap button:hover {
    background-color: var(--color-orange);
}
#enquiry .send-message .message-done {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 35px;
    font-size: 22px;
    color: var(--color-blue);
}
#enquiry .send-message .message-done::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 20px;
    background-image: url(../icons/info-done.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Other Ways
===========*/
#enquiry .other-ways h2 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px
}
#enquiry .other-ways .title {
    font-weight: 700;
    margin-bottom: 0;
}
#enquiry .other-ways .data {
    color: var(--color-black);
    margin: 0;
}
#enquiry .contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
}
#enquiry .contact-box li p:last-child {
    margin-bottom: 0;
}
#enquiry .contact-box li p.hotline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    grid-row-gap: 0;
}
#enquiry .contact-box li p.hotline a {
    color: var(--color-black);
    position: relative;
}
#enquiry .contact-box li p.hotline a::before {
    content: '/';
    position: absolute;
    left: -10px;
}
#enquiry .contact-box li p.hotline a:nth-child(3n+1):before {
    content: '';
}

#enquiry .tab-header .container {
    padding: 0px;
}
#enquiry section.hero-banner {
    margin-bottom: 0;
}

.custom-file-container {
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.custom-file-container input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.custom-file-container:hover {
    border-color: #007bff;
}

.custom-file-container .upload-icon {
    font-size: 40px;
    color: #bbb;
}

.custom-file-container .upload-text {
    margin-top: 10px;
    color: #777;
    font-size: 16px;
}

.preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row */
    gap: 15px;
    margin-top: 20px;
}

.preview figure {
    margin: 0;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.preview figure img,
.preview figure video {
    max-width: 100px;
    max-height: 100px;
    border-radius: 5px;
}

.preview figure video {
    background: #000;
}

.preview figure figcaption {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 3px;
}
.error-messages {
    color: red; 
    margin-top: 10px;
}
.error-messages p {
    margin: 0; 
    text-wrap: nowrap;
}

.preview-item {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.remove-btn {
    position: absolute;
    top: -1rem;
    right: -1rem;
    border: none;
    cursor: pointer;
    padding: 2px;
    font-size: 15px;

    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    background-color: var(--color-white) !important;

    background-image: url(../icons/cancel.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
}

.preview-image,
.preview-video {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 5px;
}



/* Desktop
========*/
@media(max-width: 1720px) and (max-width: 1440px) {
    #enquiry .hero-banner .content-wrap h1 {
        font-size: 50px;
        max-width: 50%;
    }
    #enquiry .hero-banner .banner-wrap {
        height: 450px;
    }
    #enquiry .contact-box li p.hotline a:nth-child(n):before {
        content: '/';
    }
    #enquiry .contact-box li p.hotline a:nth-child(2n+1):before {
        content: '';
    }
}

/* Laptop
=======*/
@media(max-width: 1280px) {}
@media(max-width: 1200px) {
	#enquiry .hero-banner .banner-wrap {
		height: 380px;
	}
   	#enquiry .hero-banner .content-wrap h1 {
		font-size: 38px;
	}
}

/* iPad Pro
=======*/
@media (max-width: 1024px) {
    #enquiry .hero-banner .content-wrap h1 {
        font-size: 38px;
    }
    #enquiry .hero-banner .banner-wrap {
        height: 260px;
    }
    #enquiry .contact-box {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }
    #enquiry .contact-box li p.hotline a:nth-child(n)::before{
        content: '/';
    }
    #enquiry .contact-box li p.hotline a:first-child::before,
    #enquiry .contact-box li p.hotline a:nth-child(4n+1)::before {
        content: '';
    }


}

/* iPad
=====*/
@media(max-width: 768px) {
    /* Hero Banner */
    #enquiry .hero-banner .content-wrap h1 {
        font-size: 28px;
    }
    #enquiry .hero-banner .banner-wrap {
        height: 240px;
    }
    #enquiry .contact-box {
        display: grid;
    }

    /* Send Message */
    #enquiry .send-message .content-wrap {
        margin: auto;
        max-width: 700px;
    }
    #enquiry .hero-banner .content-wrap p.top {
        margin-bottom: 50px;
    }
    #enquiry .contact-box li p.hotline a:nth-child(n)::before {
        content: '/';
    }
    #enquiry .contact-box li p.hotline a:nth-child(3n+1)::before {
        content: '';
    }
}

/* Mobile
=======*/
@media(max-width: 576px) {
    /* Hero Banner */
    #enquiry .send-message .container {
        padding-bottom: 0;
        border: none;
    }
    #enquiry .hero-banner .content-wrap h1 {
        font-size: 26px;
        max-width: 80%;
    }
    #enquiry .hero-banner .banner-wrap {
        display: grid;
        align-items: end;
        justify-items: center;
        height: 240px;
    }
    #enquiry .hero-banner .content-wrap h1 {
        font-size: 26px;
        width: 80%;
    }
    #enquiry .hero-banner .content-wrap p.top {
        margin-bottom: 35px;
    }
    #enquiry .hero-banner .content-wrap p {
        width: 90%;
    }

    /* Send Message */
    #enquiry .send-message {
        padding-bottom: 30px;
    }
    #enquiry .send-message .content-wrap h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    #enquiry .send-message .form-wrap input {
        font-size: 16px;
        height: 50px;
        padding: 15px;
    }
    #enquiry .send-message .form-wrap {
        margin: auto;
        max-width: 100%;
        padding: 15px 0 50px 0;
        border-bottom: 2px solid var(--color-gray-light);
    }
    #enquiry .other-ways .content-wrap .contact-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }
    #enquiry .other-ways .content-wrap ul li {
        font-size: 16px;
        text-align: center;
        margin-bottom: 0;
    }
    #enquiry .other-ways .content-wrap ul:not(:last-child) {
        margin-bottom: 15px;
    }
    #enquiry .send-message .form-action-wrap {
        display: unset;
    }
    #enquiry .send-message .form-wrap .form-label {
        font-size: 16px;
    }
    #enquiry .send-message .form-action-wrap button {
        font-size: 16px;
        margin-bottom: 1rem;
        padding: 12px 20px;
        height: 45px
    }

    /* Other ways */
    #enquiry .other-ways h2 {
        font-size: 16px;
        margin-bottom: 25px;
    }
    #enquiry .other-ways .title {
        margin-bottom: 5px;
    }
    #enquiry .other-ways .data {
        font-size: 14px;
    }
    #enquiry .other-ways .col-12:not(:last-child) {
        margin-bottom: 15px;
    }
    #enquiry .contact-box {
        grid-template-columns: 1fr;
    }
    #enquiry .contact-box li p.hotline a:nth-child(n)::before {
        content: '/';
    }
    #enquiry .contact-box li p.hotline a:nth-child(3n+1)::before {
        content: '';
    }
   
}