/* style/contact.css */

/* Basic Reset & Body Styling */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F5F5F5; /* Light text on dark backgrounds to ensure WCAG AA contrast with #0A2463 */
    background-color: #0A2463; /* Main background color */
}

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

/* Hero Section */
.page-contact-hero {
    background: linear-gradient(135deg, #0A2463 0%, #1A3A83 100%); /* Dark blue gradient */
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.page-contact-title {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #E3B505; /* Gold for emphasis - ensures contrast with dark blue */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-contact-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #F0F0F0; /* Slightly off-white for good contrast */
}

.page-contact-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

/* Section Titles */
.page-contact-section-title {
    font-size: 2.5em;
    color: #E3B505; /* Gold for main titles - ensures contrast with dark blue */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
}

.page-contact-description {
    text-align: center;
    font-size: 1.1em;
    color: #D0D0D0; /* Light grey for good contrast */
    margin-bottom: 30px;
}

/* Contact Info Section */
.page-contact-info-section {
    background-color: #1A3A83; /* Slightly lighter blue for contrast */
    padding: 60px 0;
}

.page-contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-contact-method-item {
    background-color: #0A2463; /* Dark blue for item background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-method-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-contact-method-item h3 {
    color: #E3B505; /* Gold for method titles - ensures contrast with dark blue */
    font-size: 1.8em;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-contact-method-item p {
    color: #CCCCCC; /* Light grey for good contrast */
    margin-bottom: 20px;
}

.page-contact-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(227, 181, 5, 0.7)); /* Gold glow */
}

.page-contact-link {
    display: inline-block;
    background-color: #E3B505; /* Gold button */
    color: #0A2463; /* Dark blue text on gold - ensures WCAG AA contrast */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.page-contact-link:hover {
    background-color: #FFD700; /* Lighter gold on hover */
    transform: translateY(-2px);
}

.page-contact-social-links a {
    color: #E3B505; /* Gold for social links - ensures contrast with dark blue */
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-contact-social-links a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Contact Form Section */
.page-contact-form-section {
    background-color: #0A2463;
    padding: 60px 0;
}

.page-contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #1A3A83; /* Darker blue for form background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

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

.page-contact-form-group label {
    display: block;
    margin-bottom: 10px;
    color: #E3B505; /* Gold for labels - ensures contrast with dark blue */
    font-weight: bold;
    font-size: 1.1em;
}

.page-contact-input,
.page-contact-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #E3B505; /* Gold border */
    border-radius: 5px;
    background-color: #0A2463; /* Dark blue input background */
    color: #FFFFFF; /* White text input - ensures WCAG AA contrast */
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-input::placeholder,
.page-contact-textarea::placeholder {
    color: #999999; /* Grey placeholder text for readability */
}

.page-contact-input:focus,
.page-contact-textarea:focus {
    border-color: #FFD700; /* Lighter gold on focus */
    box-shadow: 0 0 8px rgba(227, 181, 5, 0.5);
    outline: none;
}

.page-contact-textarea {
    resize: vertical;
}

.page-contact-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #E3B505; /* Gold button */
    color: #0A2463; /* Dark blue text on gold - ensures WCAG AA contrast */
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact-button:hover {
    background-color: #FFD700; /* Lighter gold on hover */
    transform: translateY(-2px);
}

/* CTA Section */
.page-contact-cta-section {
    background-color: #1A3A83; /* Slightly lighter blue */
    padding: 80px 0;
    text-align: center;
}

.page-contact-cta-section .page-contact-section-title {
    color: #E3B505; /* Gold for CTA title - ensures contrast with dark blue */
    padding-top: 0;
}

.page-contact-cta-button {
    margin-top: 30px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact-cta-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact-title {
        font-size: 2.5em;
    }

    .page-contact-subtitle {
        font-size: 1em;
    }

    .page-contact-section-title {
        font-size: 2em;
    }

    .page-contact-methods {
        grid-template-columns: 1fr;
    }

    .page-contact-method-item {
        padding: 20px;
    }

    .page-contact-form {
        padding: 25px;
    }

    .page-contact-button {
        font-size: 1.1em;
    }
}

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

    .page-contact-section-title {
        font-size: 1.8em;
    }

    .page-contact-hero, .page-contact-info-section, .page-contact-form-section, .page-contact-cta-section {
        padding: 40px 0;
    }

    .page-contact-method-item {
        padding: 15px;
    }

    .page-contact-form {
        padding: 20px;
    }
}