/* ==========================================================================
   Contact Us Page Styles - GTF Website
   ========================================================================== */

/* Page Layout */
.contact-us {
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.contact-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-family: 'HelveticaNeueLTStd-BdCn', 'ExtraBlackCn', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    color: #0B0B09;
    margin-bottom: 20px;
    border-top: 4px solid #0d5c93;
    border-bottom: 4px solid #0d5c93;
    padding: 15px 0;
    display: inline-block;
}

.page-subtitle {
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Layout */
.contact-content {
    margin-top: 40px;
}

.section-heading {
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
    font-size: 32px;
    color: #0B0B09;
    margin-bottom: 30px;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    font-family: 'HelveticaNeueLTStd-MdCn', sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.contact-form .required {
    color: #cc0e0e;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #0d5c93;
    box-shadow: 0 0 0 3px rgba(13, 92, 147, 0.1);
}

.contact-form .form-control.error {
    border-color: #cc0e0e;
}

.contact-form .error-message {
    display: block;
    color: #cc0e0e;
    font-size: 14px;
    margin-top: 5px;
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    height: 50px;
    line-height: normal;
    font-size: 16px !important;
    color: #333 !important;
}

/* Fix for selection visibility in some browsers */
.contact-form select.form-control option {
    background-color: #fff;
    color: #333;
    font-family: inherit;
    font-size: 16px;
    padding: 10px;
}

/* Submit Button */
.submit-btn {
    background-color: #cc0e0e !important;
    color: #fff !important;
    border: 2px solid #cc0e0e !important;
    padding: 15px 50px !important;
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif !important;
    font-size: 18px !important;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(204, 14, 14, 0.2) !important;
}

.submit-btn:hover,
.submit-btn:focus {
    background-color: #8a0909 !important;
    border-color: #8a0909 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(138, 9, 9, 0.3) !important;
    outline: none !important;
}

.submit-btn:active {
    transform: translateY(0) !important;
}

.submit-btn:disabled {
    background-color: #ccc !important;
    border-color: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-top: 20px;
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
    font-size: 16px;
}

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

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

/* Contact Information */
.contact-info-wrapper {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #0d5c93;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-icon svg {
    color: #fff;
}

.info-content h3 {
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
    font-size: 20px;
    color: #0B0B09;
    margin-top: 0;
    margin-bottom: 8px;
}

.info-content p {
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.info-content a {
    color: #0d5c93;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #cc0e0e;
    text-decoration: underline;
}

/* Social Links */
.social-links {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #ddd;
}

.social-links h3 {
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
    font-size: 20px;
    color: #0B0B09;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: #0d5c93;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #cc0e0e;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(204, 14, 14, 0.3);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-us {
        padding-top: 120px;
    }

    .page-title {
        font-size: 36px;
    }

    .section-heading {
        font-size: 28px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .contact-us {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 28px;
        padding: 10px 20px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .section-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 25px 20px;
    }

    .contact-form .form-control {
        padding: 10px 12px;
        font-size: 15px;
    }

    .submit-btn {
        width: 100%;
        padding: 12px 30px !important;
        font-size: 16px !important;
    }

    .contact-info-item {
        margin-bottom: 25px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    .info-icon svg {
        width: 20px;
        height: 20px;
    }

    .info-content h3 {
        font-size: 18px;
    }

    .info-content p {
        font-size: 15px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
    }

    .social-icons svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 20px 15px;
    }

    .section-heading {
        font-size: 22px;
    }
}

/* Form Row Spacing */
.form-row {
    display: flex;
    margin-left: -10px;
    margin-right: -10px;
}

.form-row .form-group {
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 767px) {
    .form-row {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }

    .form-row .form-group {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Loading State */
.btn-loading {
    display: inline-block;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline-block !important;
}