:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B; /* This is the body background from shared.css */
}

.page-contact {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text for dark body background */
    background-color: var(--deep-navy); /* Ensure consistency if body bg is overridden */
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Base styles for sections and containers */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact__section-title {
    font-size: clamp(28px, 4vw, 42px); /* H1 rules applied to H2 for content */
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-contact__section-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* HERO Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-navy); /* Ensure consistent background */
}

.page-contact__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width for flex alignment */
}

.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: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gold-color);
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.page-contact__main-title {
    font-size: clamp(32px, 5vw, 56px); /* H1 font size control */
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-contact__hero-description {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-contact__cta-button:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

/* Contact Info Section */
.page-contact__info-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

.page-contact__method-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    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(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(29, 95, 209, 0.5);
}

.page-contact__method-card img {
    
    
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 8px rgba(29, 95, 209, 0.6));
}

.page-contact__card-title {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-contact__card-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1; /* Ensure text takes available space */
}

.page-contact__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.page-contact__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(29, 95, 209, 0.4);
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 50px auto 0;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

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

.page-contact__form-label {
    display: block;
    font-size: 17px;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent dark background */
    color: var(--text-main);
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 95, 209, 0.3);
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.page-contact__form-submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    border-radius: 8px;
    font-size: 19px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-contact__form-submit-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

.page-contact__form-note {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 25px;
    line-height: 1.5;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

details.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-contact__faq-item summary.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
    font-weight: 700;
    font-size: 18px;
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
    display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
    background: rgba(29, 95, 209, 0.1);
}
.page-contact__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}
.page-contact__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}
details.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg);
}
details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 25px 25px;
    background: rgba(0, 0, 0, 0.1); /* Slightly lighter dark background for answer */
    border-radius: 0 0 10px 10px;
    color: var(--text-secondary);
    font-size: 16px;
}
details.page-contact__faq-item .page-contact__faq-answer p {
    margin-bottom: 10px;
}

/* Support Commitment Section */
.page-contact__support-commitment {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

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

.page-contact__commitment-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__commitment-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(17, 59, 122, 0.5);
}

.page-contact__commitment-item img {
    
    
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 8px rgba(17, 59, 122, 0.6));
}

.page-contact__item-title {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-contact__item-text {
    font-size: 16px;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* Social Media Section */
.page-contact__social-media {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

.page-contact__social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-contact__social-link {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    width: 100px; /* Adjusted for larger icons */
    height: 100px; /* Adjusted for larger icons */
    text-align: center;
}

.page-contact__social-link:hover {
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.5)) brightness(1.2);
}

.page-contact__social-link img {
     /* Adjusted for larger icons */
    
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    filter: grayscale(20%) brightness(0.8); /* Slight styling, no color change */
}
.page-contact__social-link:hover img {
    filter: grayscale(0%) brightness(1); /* Restore color on hover */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-description {
        font-size: 18px;
    }
    .page-contact__section-description {
        font-size: 17px;
    }
    .page-contact__card-text, .page-contact__item-text, .page-contact__form-label, .page-contact__form-input, .page-contact__form-textarea, .page-contact__form-note {
        font-size: 15px;
    }
    .page-contact__faq-qtext {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__hero-section {
        padding-top: 10px !important; /* Ensure small top padding on mobile */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__hero-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__hero-image img {
        border-radius: 8px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__hero-content {
        padding: 0;
    }
    .page-contact__main-title {
        font-size: clamp(28px, 8vw, 42px);
        margin-bottom: 15px;
    }
    .page-contact__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-contact__cta-button {
        padding: 14px 35px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__section-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 15px;
    }
    .page-contact__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__support-commitment,
    .page-contact__social-media {
        padding: 50px 0;
    }

    .page-contact__contact-methods,
    .page-contact__commitment-points {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-contact__method-card,
    .page-contact__commitment-item {
        padding: 25px;
        border-radius: 10px;
    }
    .page-contact__method-card img,
    .page-contact__commitment-item img {
        
        
        margin-bottom: 20px;
    }
    .page-contact__card-title, .page-contact__item-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .page-contact__card-text, .page-contact__item-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-contact__btn-primary {
        padding: 10px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__contact-form {
        padding: 30px 20px;
        border-radius: 10px;
    }
    .page-contact__form-label {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px;
        font-size: 15px;
        border-radius: 6px;
    }
    .page-contact__form-textarea {
        min-height: 100px;
    }
    .page-contact__form-submit-btn {
        padding: 14px;
        font-size: 17px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-contact__form-note {
        font-size: 14px;
        margin-top: 20px;
    }

    details.page-contact__faq-item {
        margin-bottom: 12px;
        border-radius: 8px;
    }
    details.page-contact__faq-item summary.page-contact__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-contact__faq-qtext {
        font-size: 16px;
    }
    .page-contact__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 25px;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }

    .page-contact__social-icons {
        gap: 20px;
    }
    .page-contact__social-link {
        width: 80px; /* Scale down for mobile */
        height: 80px;
    }
    .page-contact__social-link img {
        
        
    }

    /* All images responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* All containers that contain images or buttons */
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__contact-methods,
    .page-contact__commitment-points,
    .page-contact__social-icons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section {
        padding-bottom: 30px;
    }
    .page-contact__main-title {
        font-size: clamp(24px, 10vw, 36px);
    }
    .page-contact__hero-description {
        font-size: 15px;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-contact__section-title {
        font-size: clamp(22px, 8vw, 32px);
    }
    .page-contact__section-description {
        font-size: 15px;
    }
    .page-contact__contact-methods,
    .page-contact__commitment-points {
        gap: 20px;
    }
    .page-contact__method-card,
    .page-contact__commitment-item {
        padding: 20px;
    }
    .page-contact__method-card img,
    .page-contact__commitment-item img {
        
        
    }
    .page-contact__card-title, .page-contact__item-title {
        font-size: 18px;
    }
    .page-contact__card-text, .page-contact__item-text {
        font-size: 14px;
    }
    .page-contact__btn-primary {
        padding: 10px 20px;
        font-size: 15px;
    }
    .page-contact__contact-form {
        padding: 25px 15px;
    }
    .page-contact__form-label {
        font-size: 15px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px;
        font-size: 14px;
    }
    .page-contact__form-submit-btn {
        padding: 12px;
        font-size: 16px;
    }
    .page-contact__form-note {
        font-size: 13px;
    }
    details.page-contact__faq-item summary.page-contact__faq-question {
        padding: 12px 15px;
        font-size: 15px;
    }
    .page-contact__faq-qtext {
        font-size: 15px;
    }
    .page-contact__faq-toggle {
        font-size: 22px;
        margin-left: 10px;
        width: 20px;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 15px 15px;
        font-size: 14px;
    }
    .page-contact__social-icons {
        gap: 15px;
    }
    .page-contact__social-link {
        width: 60px; /* Further scale down for smaller mobile */
        height: 60px;
    }
    .page-contact__social-link img {
        
        
    }
}