/* style/contact.css */
.page-contact {
    font-family: 'Arial', sans-serif;
    color: #f5f5f5; /* Light text on dark background */
    background-color: #0A2647; /* Main dark blue background */
}

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

/* Hero Section */
.page-contact-hero {
    position: relative;
    height: 400px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 40px 0;
}

.page-contact-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5); /* Darken image for better text contrast */
}

.page-contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 38, 71, 0.7); /* Overlay with main color for consistency */
    z-index: 2;
}

.page-contact-hero .page-contact-container {
    position: relative;
    z-index: 3;
}

.page-contact-hero-title {
    font-size: 3.5em;
    color: #FFC107; /* Accent color for title */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact-hero-subtitle {
    font-size: 1.2em;
    color: #f5f5f5;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* General Section Styling */
.page-contact-section-title {
    font-size: 2.5em;
    color: #FFC107;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

.page-contact-section-description {
    font-size: 1.1em;
    color: #e0e0e0;
    text-align: center;
    max-width: 800px;
    margin: -20px auto 60px auto;
}

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

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

.page-contact-method-card {
    background-color: #1a3a5e; /* Slightly lighter dark blue */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact-method-card:hover {
    transform: translateY(-10px);
    background-color: #2a4a6e;
}

.page-contact-method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Make icons stand out */
}

.page-contact-card-title {
    font-size: 1.8em;
    color: #FFC107;
    margin-bottom: 15px;
}

.page-contact-method-card p {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Buttons */
.page-contact-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-contact-btn-primary {
    background-color: #FFC107;
    color: #0A2647;
    border: 2px solid #FFC107;
}

.page-contact-btn-primary:hover {
    background-color: #e6b000;
    color: #0A2647;
}

.page-contact-btn-secondary {
    background-color: transparent;
    color: #FFC107;
    border: 2px solid #FFC107;
}

.page-contact-btn-secondary:hover {
    background-color: #FFC107;
    color: #0A2647;
}

.page-contact-btn-accent {
    background-color: #FFC107;
    color: #0A2647;
    border: 2px solid #FFC107;
}

.page-contact-btn-accent:hover {
    background-color: #e6b000;
    color: #0A2647;
}

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

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

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

/* Contact Form Section */
.page-contact-form-section {
    background-color: #133257; /* Another shade of dark blue */
    padding: 80px 0;
}

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

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

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

.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;
    border: 1px solid #4a5d7a;
    border-radius: 5px;
    background-color: #0A2647; /* Input background same as form */
    color: #f5f5f5;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.page-contact-form-group input::placeholder,
.page-contact-form-group textarea::placeholder {
    color: #888;
}

.page-contact-form-group input:focus,
.page-contact-form-group textarea:focus {
    border-color: #FFC107;
    outline: none;
}

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

.page-contact-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #FFC107;
    color: #0A2647;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact-form button[type="submit"]:hover {
    background-color: #e6b000;
}

/* Call to Action Section */
.page-contact-cta {
    background-color: #0A2647;
    padding: 80px 0;
    text-align: center;
}

.page-contact-cta .page-contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-contact-cta-content {
    max-width: 800px;
}

.page-contact-cta-title {
    font-size: 2.8em;
    color: #FFC107;
    margin-bottom: 20px;
}

.page-contact-cta-description {
    font-size: 1.2em;
    color: #f5f5f5;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-contact-cta .page-contact-btn-accent {
    margin-right: 15px;
}

.page-contact-cta-image {
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact-hero-title {
        font-size: 2.8em;
    }
    .page-contact-section-title {
        font-size: 2em;
    }
    .page-contact-cta-title {
        font-size: 2.2em;
    }
    .page-contact-grid {
        grid-template-columns: 1fr;
    }
    .page-contact-cta .page-contact-container {
        flex-direction: column;
    }
    .page-contact-cta-image {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-contact-hero {
        height: 350px;
    }
    .page-contact-hero-title {
        font-size: 2.2em;
    }
    .page-contact-hero-subtitle,
    .page-contact-section-description,
    .page-contact-cta-description {
        font-size: 1em;
    }
    .page-contact-form {
        padding: 25px;
    }
    .page-contact-cta .page-contact-btn-accent {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .page-contact-hero {
        height: 300px;
    }
    .page-contact-hero-title {
        font-size: 1.8em;
    }
    .page-contact-section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-contact-method-card {
        padding: 20px;
    }
    .page-contact-card-title {
        font-size: 1.5em;
    }
    .page-contact-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-contact-form-group label {
        font-size: 1em;
    }
    .page-contact-form button[type="submit"] {
        font-size: 1.1em;
    }
    .page-contact-cta-title {
        font-size: 1.8em;
    }
    .page-contact-cta-image {
        max-width: 100%;
    }
}