/* style/contact.css */
.page-contact {
    color: #333333; /* Dark text for default (white) body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #003366; /* Primary brand color */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
    overflow: hidden;
}

.page-contact__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Secondary brand color for emphasis */
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-contact__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Secondary brand color */
    color: #003366; /* Primary brand color for text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-contact__channels-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-contact__channels-title {
    font-size: 2.8em;
    color: #003366; /* Primary brand color */
    margin-bottom: 50px;
}

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

.page-contact__channel-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-contact__channel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__channel-card img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 8px; /* Added border-radius for consistency */
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #003366; /* Primary brand color */
    margin-bottom: 15px;
}

.page-contact__card-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.page-contact__card-button {
    display: inline-block;
    background-color: #003366; /* Primary brand color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.page-contact__card-button:hover {
    background-color: #004d99;
}

.page-contact__form-section {
    background-color: #f8f8f8;
    padding: 80px 20px;
    text-align: center;
}

.page-contact__form-title {
    font-size: 2.8em;
    color: #003366; /* Primary brand color */
    margin-bottom: 20px;
}

.page-contact__form-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    color: #003366; /* Primary brand color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 1em;
    color: #333333;
    background-color: #fefefe;
    box-sizing: border-box; /* Ensures padding doesn't add to total width */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700; /* Secondary brand color on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

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

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    background-color: #FFD700; /* Secondary brand color */
    color: #003366; /* Primary brand color for text */
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__form-submit-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__channels-title,
    .page-contact__form-title {
        font-size: 2.4em;
    }
    .page-contact__channel-card img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-contact {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header height */
    }
    .page-contact__hero-section {
        padding: 40px 15px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact__channels-section {
        padding: 60px 15px;
    }
    .page-contact__channels-title,
    .page-contact__form-title {
        font-size: 2em;
    }
    .page-contact__channels-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__channel-card {
        padding: 25px;
    }
    .page-contact__channel-card img,
    .page-contact__contact-form img { /* Target all images within content area */
        max-width: 100%; /* Ensure images do not overflow on mobile */
        height: auto;
        width: auto; /* Reset width to auto for flexible scaling */
        min-width: 200px; /* Enforce minimum size even on mobile */
        min-height: 200px;
    }
    .page-contact__form-section {
        padding: 60px 15px;
    }
    .page-contact__contact-form {
        padding: 30px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea,
    .page-contact__form-submit-button {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__channels-title,
    .page-contact__form-title {
        font-size: 1.8em;
    }
    .page-contact__hero-section,
    .page-contact__channels-section,
    .page-contact__form-section {
        padding: 30px 10px;
    }
    .page-contact__channel-card img {
        
        
    }
}