/* style/contact.css */
.page-contact {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

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

.page-contact-hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #000080, #000050);
    color: #ffffff;
    overflow: hidden;
}

.page-contact-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.page-contact-hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-contact-hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    margin-top: -50px; /* Overlap with image slightly for visual appeal */
}

.page-contact-title {
    font-size: 3.2em;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact-subtitle {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700;
    color: #000080;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
}

.page-contact-cta-button:hover {
    background: #e0b800;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6);
}

.page-contact-section-intro, 
.page-contact-section-contact-methods, 
.page-contact-section-support-topics, 
.page-contact-section-commitment,
.page-contact-section-cta-bottom {
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.page-contact-section-contact-methods {
    background-color: #f9f9f9;
}

.page-contact-section-cta-bottom {
    background: linear-gradient(135deg, #000080, #000050);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-contact-heading {
    font-size: 2.5em;
    color: #000080;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-contact-section-cta-bottom .page-contact-heading {
    color: #FFD700;
}

.page-contact-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-contact-paragraph {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 25px auto;
    color: #555555;
}

.page-contact-section-cta-bottom .page-contact-paragraph {
    color: #e0e0e0;
}

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

.page-contact-method-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-contact-method-icon {
    width: 120px; /* Increased size for content images, not icons */
    height: 120px; /* Ensure minimum 200x200 for actual image, this is for icon-like presentation */
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.page-contact-method-title {
    font-size: 1.8em;
    color: #000080;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact-method-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact-method-info {
    font-size: 1em;
    color: #000080;
    font-weight: bold;
    margin-top: 15px;
}

.page-contact-method-info a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact-method-info a:hover {
    color: #e0b800;
    text-decoration: underline;
}

.page-contact-method-button {
    display: inline-block;
    padding: 12px 25px;
    background: #000080;
    color: #FFD700;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 15px;
}

.page-contact-method-button:hover {
    background-color: #000060;
    transform: translateY(-2px);
}

.page-contact-note {
    font-style: italic;
    font-size: 0.95em;
    color: #777777;
    margin-top: 40px;
}

.page-contact-topic-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0 auto;
    max-width: 900px;
}

.page-contact-topic-list li {
    background-color: #f0f0f0;
    border-left: 5px solid #FFD700;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-topic-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-contact-topic-list li h3 {
    color: #000080;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact-topic-list li p {
    text-align: left;
    font-size: 1em;
    color: #444444;
    margin-bottom: 0;
}

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

.page-contact-commitment-item {
    background-color: #f0f8ff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact-commitment-item:hover {
    background-color: #e6f2ff;
    transform: translateY(-5px);
}

.page-contact-commitment-icon {
    width: 100px; /* Increased size for content images, not icons */
    height: 100px; /* Ensure minimum 200x200 for actual image, this is for icon-like presentation */
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 8px rgba(0,0,0,0.08));
}

.page-contact-commitment-title {
    font-size: 1.6em;
    color: #000080;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact-commitment-description {
    font-size: 0.95em;
    color: #555555;
}

.page-contact-cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
}

.page-contact-cta-content {
    flex: 1;
}

.page-contact-cta-content .page-contact-heading {
    text-align: left;
}

.page-contact-cta-content .page-contact-heading::after {
    left: 0;
    transform: translateX(0);
}

.page-contact-cta-content .page-contact-paragraph {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-contact-cta-image {
    flex: 0 0 40%;
    max-width: 500px;
}

.page-contact-cta-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact-hero-title {
        font-size: 2.8em;
    }
    .page-contact-heading {
        font-size: 2em;
    }
    .page-contact-paragraph {
        font-size: 1em;
    }
    .page-contact-methods-grid, .page-contact-commitment-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-contact-cta-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-contact-cta-content .page-contact-heading,
    .page-contact-cta-content .page-contact-paragraph {
        text-align: center;
    }
    .page-contact-cta-content .page-contact-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .page-contact-cta-image {
        margin-top: 40px;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-contact-hero-section {
        padding: 40px 15px;
    }
    .page-contact-hero-title {
        font-size: 2.2em;
    }
    .page-contact-subtitle {
        font-size: 1em;
    }
    .page-contact-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-contact-section-intro, 
    .page-contact-section-contact-methods, 
    .page-contact-section-support-topics, 
    .page-contact-section-commitment,
    .page-contact-section-cta-bottom {
        padding: 40px 0;
    }
    .page-contact-heading {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-contact-method-card, .page-contact-commitment-item {
        padding: 20px;
    }
    .page-contact-method-title {
        font-size: 1.5em;
    }
    .page-contact-topic-list li {
        padding: 20px;
    }
    .page-contact-topic-list li h3 {
        font-size: 1.3em;
    }
    .page-contact-topic-list li p {
        font-size: 0.95em;
    }
    .page-contact-cta-image {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .page-contact-hero-title {
        font-size: 1.8em;
    }
    .page-contact-heading {
        font-size: 1.5em;
    }
    .page-contact-paragraph {
        font-size: 0.9em;
    }
    .page-contact-methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact-method-icon {
        width: 80px;
        height: 80px;
    }
    .page-contact-commitment-icon {
        width: 70px;
        height: 70px;
    }
    .page-contact-title {
        font-size: 2.5em;
    }
    .page-contact-subtitle {
        font-size: 1.1em;
    }
}