/* Contact Page Styles */

.contact-page-main {
    width: 100%;
    min-height: calc(100vh - 200px);
    background-color: #ffffff;
}

/* Contact Page Header */
.contact-page-header {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3d7a 100%);
    padding: 80px 0 60px;
    color: #ffffff;
}

.contact-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-page-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Content Section */
.contact-content-section {
    width: 100%;
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 32px;
    line-height: 1.2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #C8C8C8;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #1a1a1a;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(24, 47, 97, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit-btn {
    background-color: var(--primary-red);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
    margin-top: 8px;
}

.contact-submit-btn:hover {
    background-color: #7f0000;
    transform: translateY(-2px);
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background-color: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-info-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.contact-info-content {
    flex: 1;
}

.contact-info-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 8px;
}

.contact-info-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Office Hours */
.office-hours {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.office-hours-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 20px;
}

.office-hours-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.office-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.office-hours-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.office-hours-day {
    font-size: 16px;
    font-weight: 600;
    color: var(--section-title-color);
}

.office-hours-time {
    font-size: 16px;
    color: var(--text-dark);
}

/* Contact Social Section */
.contact-social-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.contact-social-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 20px;
}

.contact-social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f4f8;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.contact-social-icon:hover {
    transform: translateY(-2px);
    background-color: var(--primary-blue);
}

.contact-social-icon img {
    width: 20px;
    height: 20px;
    transition: filter 0.3s ease;
}

.contact-social-icon:hover img {
    filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-page-title {
        font-size: 40px;
    }

    .contact-page-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .contact-page-header {
        padding: 60px 0 40px;
    }

    .contact-page-title {
        font-size: 32px;
    }

    .contact-page-subtitle {
        font-size: 16px;
    }

    .contact-content-section {
        padding: 40px 0;
    }

    .contact-form-section {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-section-title {
        font-size: 24px;
    }

    .contact-info-card {
        padding: 20px;
    }

    .office-hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

