﻿.contact-section-simple {
    padding: 80px 20px;
    background-color: #ffffff; /* Matches the "Problem" section background */
    text-align: center;
}

.contact-panel-container {
    max-width: 550px; /* Keeps the form focused and vertical */
    margin: 0 auto;
}

/* THE NAVY CARD - Mirroring the SwiftSwim Method look */
.contact-card-navy {
    background-color: #001f3f;
    color: white;
    padding: 60px;
    text-align: left;
}


.contact-card-navy h3 {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

    .contact-card-navy p {
        color: #cbd5e1;
        margin-bottom: 25px;
        font-size: 1rem;
    }

/* FORM INPUTS - Tidy & Modern */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 16px; /* Mobile fix */
}

    .form-control::placeholder {
        color: #94a3b8;
    }

/* GOLD BUTTON */
.gold-btn-submit {
    width: 100%;
    background: #FFD700;
    color: #000;
    padding: 15px;
    border: none; 
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
}

/* FOOTER NOTES */
.contact-footer-notes {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
}

/* MOBILE FIX */
@media (max-width: 600px) {
    .contact-card-navy {
        padding: 30px 20px;
    }

    .contact-footer-notes {
        flex-direction: column;
        gap: 10px;
    }

    .captcha-mini {
        transform: scale(0.85); /* Keeps reCAPTCHA from overflowing */
        transform-origin: left;
    }
}

/* Ensure the select box itself shows white text */
.form-control {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

    /* THE FIX: Styles the actual list that 'pops out' */
    .form-control option {
        background-color: #001f3f; /* Matches your Navy panel */
        color: white; /* Ensures text is readable */
        padding: 10px;
    }

/* Specific fix for iOS/Safari where colors can be stubborn */
select.form-control {
    -webkit-appearance: none; /* Removes default Safari styling */
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px; /* Space for the new custom arrow */
}

/* About Page Specific Layout */
@media (max-width: 992px) {
    .about-flex-container {
        /* This is the magic line that puts the image on top on mobile */
        flex-direction: column-reverse !important;
        display: flex !important;
        gap: 30px !important;
    }

    .about-photo-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 10px;
    }

    .pathway-lead-text {
        max-width: 100% !important;
    }

    .pathway-title {
        font-size: 3rem !important; /* Slightly smaller for mobile headers */
    }
}

.about-photo-wrapper img {
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.1);
    border-radius: 4px; /* Optional: adds a slight professional soft edge */
}


/* Success Icon Animation */
.success-icon {
    animation: scaleUp 0.5s ease-out forwards;
    display: inline-block;
}

@keyframes scaleUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Center alignment fix for the lead text on this specific page */
.pathway-container[style*="text-align: center"] .pathway-lead-text {
    margin-left: auto;
    margin-right: auto;
}