/* Contact Page Specific Styles */

/* Contact social icons styling to match navbar */
.contact-social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.contact-social-icons .social-item {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.contact-social-icons .social-icon {
    background: none;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    width: auto;
    height: auto;
    box-shadow: none;
    margin: 0;
    display: block;
    border: none;
}

.contact-social-icons .social-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(28, 63, 96, 0.8);
    background: none;
    background-color: transparent;
    padding: 0;
    box-sizing: content-box;
    object-fit: contain;
}

.contact-social-icons .social-icon:hover .social-logo {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

/* Footer social icons fix for contact page */
.footer-social .social-icon {
    color: rgba(255, 255, 255, 0.7);
    background-color: transparent;
    transition: color 0.3s ease, transform 0.3s ease;
    width: auto;
    height: auto;
}

.footer-social .social-icon:hover {
    color: white;
    transform: translateY(-3px);
    background-color: transparent;
}
/* Form validation and success message styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff3b30;
    background-color: rgba(255, 59, 48, 0.05);
}

.form-success-message {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.form-success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.form-success-message p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.reset-form-button {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.reset-form-button:hover {
    background-color: var(--primary-color);
    color: white;
}
.contact-hero {
    position: relative;
    background-color: var(--primary-color);
    padding: 100px 0;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.contact-info h2 {
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-detail {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text p {
    color: #666;
}

.contact-text a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

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

.office-hours {
    margin-bottom: 30px;
}

.office-hours h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.office-hours p {
    color: #666;
}

.contact-social h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.contact-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #e9e9e9;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s;
}

.contact-social .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-wrapper {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h2 {
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-form-wrapper p {
    margin-bottom: 30px;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-row.two-column {
    display: flex;
    flex-wrap: wrap;
}

.form-row.three-column {
    display: flex;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: calc(50% - 10px);
}

.form-row.three-column .form-group {
    flex: 1;
    min-width: calc(33.333% - 15px);
}

.form-group.full-width {
    width: 100%;
    min-width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.radio-group.inline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.radio-option input {
    margin-right: 5px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 10px;
    width: auto;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

/* Responsive styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .form-row.two-column,
    .form-row.three-column {
        flex-direction: column;
    }
    
    .form-group {
        width: 100%;
        min-width: 100%;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 0;
    }
    
    .radio-group.inline {
        flex-direction: column;
        gap: 10px;
    }
}
