﻿/* Contact page specific styles */
.contact-page-container {
    max-width: 60%;
    margin: 0 auto;
    position: relative;
    padding: 0 30px;
}

/* Animated heading styles (same as about page) */
.animated-heading, .section-heading {
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

    .animated-heading::after, .section-heading::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        bottom: -10px;
        left: 0;
        background: linear-gradient(90deg, rgba(0,119,181,1) 0%, rgba(0,119,181,0.3) 100%);
        transform: scaleX(0.3);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    .animated-heading:hover::after, .section-heading:hover::after {
        transform: scaleX(1);
    }

.highlight {
    color: #0077b5;
    position: relative;
}

/* Introduction paragraph styling */
.contact-intro-wrapper {
    margin: 2rem 0 1rem;
    padding: 0 20px;
}

.intro-paragraph {
    color: #555;
    border-left: 3px solid rgba(0, 119, 181, 0.3);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Content divider (same as about page) */
.content-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    position: relative;
}

    .content-divider::before, .content-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.03) 100%);
    }

.divider-icon {
    margin: 0 1rem;
    color: #0077b5;
    font-size: 1.2rem;
}

/* Contact content layout */
.contact-content-wrapper {
    display: flex;
    gap: 3rem;
    margin: 2rem 0 3rem;
    align-items: flex-start;
}

.contact-form-container {
    flex: 2;
    padding: 0 20px;
}

.contact-info-container {
    flex: 1;
    padding: 0 20px;
}

/* Form styling */
.contact-form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #333;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem 1rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-family: inherit;
        font-size: 1rem;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #0077b5;
            box-shadow: 0 0 0 3px rgba(0, 119, 181, 0.1);
            outline: none;
        }

.form-actions {
    text-align: right;
}

.submit-button {
    background-color: #0077b5;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

    .submit-button:hover {
        background-color: #005e8b;
    }

/* Success and error messages */
.success-message, .error-message {
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Contact methods styling */
.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact-method:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

.method-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 119, 181, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0077b5;
    margin-right: 1rem;
}

/* LinkedIn icon styled similar to footer */
.linkedin-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 119, 181, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    position: relative;
}

    .linkedin-contact-icon:before {
        content: '';
        display: block;
        width: 16px;
        height: 16px;
        background-color: #0077b5;
        border-radius: 2px;
        position: absolute;
    }

    .linkedin-contact-icon:after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        border: 2px solid white;
        border-radius: 2px;
    }

.method-details h3 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.method-details p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

    .method-details p a {
        color: #0077b5;
        transition: color 0.3s ease;
    }

        .method-details p a:hover {
            color: #005e8b;
            text-decoration: underline;
        }

/* Responsive styles */
@media (max-width: 1200px) {
    .contact-page-container {
        max-width: 80%;
    }
}

@media (max-width: 992px) {
    .contact-page-container {
        max-width: 90%;
    }

    .contact-content-wrapper {
        flex-direction: column;
    }

    .contact-form-container, .contact-info-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-page-container {
        max-width: 95%;
    }
}

.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .notification-modal.show {
        display: flex;
        opacity: 1;
    }

.notification-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.notification-modal.show .notification-content {
    transform: scale(1);
}

.notification-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 30px;
}

.success-icon {
    background-color: #28a745;
    color: white;
}

.error-icon {
    background-color: #dc3545;
    color: white;
}

.notification-title {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.notification-message {
    margin-bottom: 25px;
    color: #555;
}

.notification-button {
    background-color: #0077b5;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .notification-button:hover {
        background-color: #005fa3;
    }

.input-focused {
    position: relative;
}

    .input-focused label {
        color: #0077b5;
    }

.input-error {
    border-color: #dc3545 !important;
}

.form-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}