/* style/contact.css */

/* Global styles for .page-contact scope */
.page-contact {
    font-family: 'Arial', sans-serif;
    color: #333; /* Dark text for readability */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background */
}

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

.page-contact-section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-contact-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-contact-btn-primary {
    background-color: #007bff; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #007bff;
}

.page-contact-btn-primary:hover {
    background-color: #0056b3; /* Darker primary on hover */
    border-color: #0056b3;
}

.page-contact-btn-secondary {
    background-color: #ffc107; /* Auxiliary brand color */
    color: #0056b3; /* Darker text for contrast on auxiliary color */
    border: 2px solid #ffc107;
}

.page-contact-btn-secondary:hover {
    background-color: #e0a800; /* Darker auxiliary on hover */
    border-color: #e0a800;
}

/* Hero Section */
.page-contact-hero {
    background: linear-gradient(135deg, #007bff, #4da3ff); /* Gradient with primary color */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-contact-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff; /* White text on dark background */
}

.page-contact-hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.9);
}

.page-contact-hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%; /* Adjust size as needed */
    max-width: 400px;
    opacity: 0.8;
    z-index: 0;
}

.page-contact-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Methods Section */
.page-contact-methods {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-contact-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-contact-method-item {
    background-color: #fefefe;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-method-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact-method-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 123, 255, 0.3));
}

.page-contact-method-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact-method-description {
    color: #555;
    margin-bottom: 20px;
}

.page-contact-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.page-contact-social-icon-link {
    font-size: 1.8em;
    color: #007bff;
    transition: color 0.3s ease;
}

.page-contact-social-icon-link:hover {
    color: #ffc107;
}

/* Contact Form Section */
.page-contact-form-section {
    padding: 80px 0;
    background-color: #f0f4f7; /* Slightly darker background for contrast */
}

.page-contact-form-intro {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.page-contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact-form-group input[type="text"],
.page-contact-form-group input[type="email"],
.page-contact-form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-form-group input[type="text"]:focus,
.page-contact-form-group input[type="email"]:focus,
.page-contact-form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.page-contact-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 20px;
}

/* FAQ Promo Section */
.page-contact-faq-promo {
    padding: 80px 0;
    background-color: #007bff; /* Primary color background */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.page-contact-faq-content {
    max-width: 600px;
    margin-right: 40px;
    text-align: left;
}

.page-contact-faq-promo .page-contact-section-title {
    color: #ffffff;
    text-align: left;
    margin-bottom: 20px;
}

.page-contact-faq-promo p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-contact-faq-image-wrapper {
    max-width: 400px;
}

.page-contact-faq-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact-hero-title {
        font-size: 2.8em;
    }
    .page-contact-hero-image-wrapper {
        width: 40%;
    }
    .page-contact-faq-promo {
        flex-direction: column;
        padding: 60px 20px;
    }
    .page-contact-faq-content {
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    .page-contact-faq-promo .page-contact-section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-contact-section-title {
        font-size: 2em;
    }
    .page-contact-hero {
        padding: 60px 0;
    }
    .page-contact-hero-title {
        font-size: 2.2em;
    }
    .page-contact-hero-description {
        font-size: 1em;
    }
    .page-contact-method-item {
        padding: 25px;
    }
    .page-contact-form {
        padding: 30px;
    }
    .page-contact-hero-image-wrapper {
        display: none; /* Hide image on smaller screens */
    }
}

@media (max-width: 576px) {
    .page-contact-section-title {
        font-size: 1.8em;
    }
    .page-contact-hero-title {
        font-size: 1.8em;
    }
    .page-contact-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-contact-method-grid {
        grid-template-columns: 1fr;
    }
    .page-contact-form-section, .page-contact-methods, .page-contact-faq-promo {
        padding: 40px 0;
    }
    .page-contact-faq-image-wrapper {
        max-width: 300px;
    }
}