
:root {
    --Gold: #ffd700;
    --White: #ffffff;
    --Black: #000000;
    --Gray: #f0f0f0;
}

.contact-us-section {
    background-image: url('https://worldmasteritravel.site/assets/img/src/home/haha.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--White);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.contact-us-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.contact-us-context {
    display: flex;
    flex-direction: row;
    width: 100%;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: auto;
    border: 3px solid gold;
}

/* Contact info section (left) */
.contact-us-info {
    background-image: linear-gradient(rgba(100, 86, 0, 0.4)), url('https://worldmasteritravel.site/assets/img/src/home/contact-us-left.jpg');
    color: White;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-us-info h2 {
    font-size: 40px;
    margin-bottom: 42px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-us-info span {
    color: var(--Gold);
}

.contact-us-address {
    text-align: center;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    margin-top: -30px;
    width: 100%;
}

.contact-us-address p {
    margin-bottom: 10px;
}

.contact-details {
    margin-top: 40px;
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.contact-details a {
    color: White;
    display: block;
    margin: 15px 0;
    text-align: center;
    transition: color 0.3s;
    font-size: 17px;
}

.contact-details a:hover {
    color: var(--Gold);
}

/* Contact form section (right) */
.contact-us-form {
    padding: 15px 15px;
    background-color: var(--White);
    width: 60%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-header {
    text-align: center;
    margin-bottom: 5px;
    width: 100%;
}

.form-header h2 {
    font-size: 35px;
    color: #000;
    margin-bottom: 5px;
    margin-top: 20px;
}

.form-header span {
    color: var(--Gold);
}

.form-header p {
    color: #555;
    line-height: 1.6;
    max-width: 80%;
    margin: 0 auto;
}

.form-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
    justify-content: center;
}

#contactForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--Black);
    font-weight: bold;
    font-size: 17px;
}

.input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    width: 100%;
}

.input-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--Gray);
    font-size: 16px;
    transition: box-shadow 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px var(--Gold);
}

textarea {
    font-family: Arial, Helvetica, sans-serif;
    height: 150px;
    resize: none;
}

.contact-us-btn {
    padding: 12px 20px;
    font-size: 16px;
    background-color: var(--Gold);
    color: var(--Black);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    left: 280px;
    bottom: 5px;
}

.contact-us-btn:hover {
    transform: scale(1.03);
}

.contactus-title-section {
    text-align: center;
    margin-top: 50px;
    padding: 0 20px;
}
        
.contactus-title {
    font-size: 37px;
    font-weight: 700;
    color: #333;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 1200px) {
    .contact-us-info h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .form-header h2 {
        font-size: 30px;
    }
    .contact-us-btn {
        left: 220px;
    }
    .form-content {
        padding: 20px;
    }
    .contact-us-address {
        font-size: 15px;
    }
    .contact-details a {
        font-size: 16px;
    }
}

@media screen and (max-width: 992px) {
    .contact-us-context {
        flex-direction: column;
    }
    .contact-us-info, .contact-us-form {
        width: 100%;
    }
    .contact-us-info {
        padding: 40px 30px;
    }
    .contact-us-btn {
        left: 0;
        width: 100%;
        margin-top: 10px;
    }
    .form-header p {
        max-width: 90%;
    }
    .form-header h2 {
        margin-top: 30px;
    }
    .contact-us-form {
        padding: 20px;
    }
    .contact-us-section {
        min-height: auto;
        padding: 50px 20px;
    }
    .contact-us-wrapper {
        max-width: 800px;
    }
}

@media screen and (max-width: 768px) {
    .contact-us-section {
        padding: 30px 15px;
    }
    .contact-us-info h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .form-header h2 {
        font-size: 26px;
    }
    .form-content {
        padding: 15px;
    }
    .input-row {
        flex-direction: column;
        gap: 0;
    }
    .input-row .form-group {
        margin-bottom: 20px;
    }
    label {
        font-size: 16px;
    }
    input, textarea {
        padding: 12px;
    }
    .contactus-title {
        font-size: 32px;
    }
    .contact-us-context {
        border-radius: 12px;
    }
    .contact-details {
        margin-top: 20px;
    }
    .contact-details a {
        margin: 10px 0;
    }
    .contact-us-address p {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 576px) {
    .contact-us-section {
        padding: 20px 10px;
    }
    .contact-us-context {
        border-radius: 10px;
        border-width: 2px;
    }
    .contact-us-info {
        padding: 30px 15px;
    }
    .contact-us-info h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .contact-us-address {
        font-size: 14px;
        margin-top: -15px;
    }
    .form-header h2 {
        font-size: 22px;
        margin-top: 15px;
    }
    .form-header p {
        font-size: 14px;
        max-width: 100%;
        margin-bottom: 15px;
    }
    .form-content {
        padding: 10px;
    }
    .contact-us-btn {
        padding: 10px 15px;
        font-size: 15px;
    }
    textarea {
        height: 120px;
    }
    .contactus-title {
        font-size: 28px;
        margin-top: 30px;
    }
    label {
        font-size: 15px;
        margin-bottom: 5px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .contact-us-form {
        padding: 15px 10px;
    }
    input, textarea {
        font-size: 14px;
        padding: 10px;
    }
    #contactForm {
        width: 100%;
    }
    .input-row .form-group:not(:last-child) {
        margin-bottom: 15px;
    }
}
