/* Contact Page Styles */
:root {
    --primary-color: #0088a9;
    --secondary-color: #045c70;
    --text-color: #333;
    --light-color: #fff;
    --error-color: #ff3333;
    --success-color: #33cc33;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Banner */
.header-banner {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

/* Container */
.container {
    margin: 0 auto;
    padding: 0 15px;
}

/* Contact Wrapper */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

/* Contact Info & Form Sections */
.contact-info,
.contact-form {
    flex: 1 1 300px;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

/* Contact Details */
.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail:hover {
    color: var(--primary-color);
}

.contact-icon {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Form Styles */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1 1 48%;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 136, 169, 0.2);
}

.required {
    color: var(--error-color);
}

/* Error Messages */
.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

/* Button Styles */
.submit-btn {
    background-color: #000;
    color: var(--light-color);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--primary-color);
}

/* Success Message */
#success-message {
    display: none;
    background-color: var(--success-color);
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .contact-wrapper {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        flex: 1 1 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        flex: 1 1 100%;
    }
}

@media screen and (max-width: 480px) {
    .header-banner {
        padding: 1.5rem 0;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem;
    }

    .submit-btn {
        width: 100%;
    }
}
