/* Contact Page Specific Styles - MOBILE FIRST */

/* ========================================== */
/*          BASE STYLES (MOBILE)              */
/* ========================================== */

.contact-main-section {
    background-color: #f4f7f6;
    padding: 40px 15px; /* Mobile padding */
    text-align: center;
}

.contact-focus-box {
    background-color: #ffffff;
    /* For mobile, let it take most of the width with some margin, or set width: 100% and rely on parent padding */
    width: 100%;
    max-width: 500px; /* Max width for very large phones, will be overridden for desktop */
    margin: 0 auto;
    padding: 25px 15px 30px; /* Mobile padding */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07); /* Slightly softer shadow for mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon-art {
    color: var(--primary);
    font-size: 2.8rem; /* Mobile icon size */
    margin-bottom: 15px;
    line-height: 1;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); } /* Slightly less float for mobile */
}

.contact-focus-box h2 {
    color: var(--dark);
    font-size: 1.7rem; /* Mobile heading size */
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: var(--gray);
    font-size: 0.9rem; /* Mobile subtitle size */
    line-height: 1.5;
    max-width: 100%; /* Takes full width of its container on mobile */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

.contact-email-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Mobile gap */
    padding: 12px 25px; /* Mobile padding */
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem; /* Mobile font size */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    /* Define --primary-rgb in :root or use a fixed color: e.g., rgba(204, 0, 0, 0.25) */
    box-shadow: 0 3px 8px rgba(var(--primary-rgb, 204, 0, 0), 0.25);
    margin-bottom: 30px;
}

.contact-email-button i {
    font-size: 1em;
}

.contact-email-button:hover,
.contact-email-button:focus {
    background-color: #a30000;
    transform: translateY(-2px) scale(1.02); /* Subtle hover for mobile */
    box-shadow: 0 5px 12px rgba(var(--primary-rgb, 204, 0, 0), 0.3);
    outline: none;
}

.email-guidelines {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px; /* Mobile padding */
    margin-bottom: 20px;
    text-align: left;
    width: 100%; /* Full width of parent on mobile */
    box-sizing: border-box;
}

.email-guidelines p:first-of-type {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 0.9rem; /* Mobile size */
}

.email-guidelines ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.85rem; /* Mobile size */
    color: var(--gray);
}

.email-guidelines ul li {
    margin-bottom: 7px;
    position: relative;
    padding-left: 20px;
}

.email-guidelines ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 0.85em;
}

.coach-info {
    margin-top: 15px;
    font-size: 0.85rem; /* Mobile size */
    color: var(--gray);
    width: 100%;
    border-top: 1px dashed #ddd;
    padding-top: 15px;
}
.coach-info p {
    margin-bottom: 5px;
    line-height: 1.4;
}
.response-time-note {
    font-style: italic;
    font-size: 0.8rem; /* Mobile size */
}


/* ========================================== */
/*       TABLET AND LARGER STYLES             */
/* ========================================== */
@media (min-width: 768px) {
    .contact-main-section {
        padding: 50px 20px; /* More padding for tablet+ */
    }

    .contact-focus-box {
        max-width: 750px; /* Constrain width for larger screens */
        padding: 30px 40px 40px; /* Increased padding */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Standard shadow for desktop */
    }

    .contact-icon-art {
        font-size: 3.5rem; /* Larger icon for desktop */
        margin-bottom: 20px;
    }
    
    @keyframes floatIcon { /* Can redefine animation details if desired for desktop */
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    .contact-focus-box h2 {
        font-size: 2rem; /* Larger heading */
        margin-bottom: 15px;
    }

    .contact-subtitle {
        font-size: 1rem; /* Standard subtitle size */
        line-height: 1.6;
        max-width: 90%; /* Can constrain a bit more if needed */
        margin-bottom: 30px;
    }

    .contact-email-button {
        gap: 10px;
        padding: 14px 35px; /* Larger button */
        font-size: 1.1rem;
        /* Reset shadow with var or fixed color, e.g., rgba(204, 0, 0, 0.3) */
        box-shadow: 0 4px 10px rgba(var(--primary-rgb, 204, 0, 0), 0.3);
        margin-bottom: 35px;
    }

    .contact-email-button:hover,
    .contact-email-button:focus {
        transform: translateY(-3px) scale(1.03); /* Slightly more pronounced hover */
        box-shadow: 0 7px 15px rgba(var(--primary-rgb, 204, 0, 0), 0.35);
    }

    .email-guidelines {
        padding: 20px 25px; /* More padding */
        margin-bottom: 25px;
        max-width: 550px; /* Constrain width within the focus box */
    }

    .email-guidelines p:first-of-type {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .email-guidelines ul {
        font-size: 0.9rem;
    }

    .email-guidelines ul li {
        margin-bottom: 8px;
        padding-left: 22px;
    }
    
    .email-guidelines ul li::before {
        top: 2px;
        font-size: 0.9em;
    }

    .coach-info {
        margin-top: 20px;
        font-size: 0.9rem;
        max-width: 550px; /* Match guidelines width if desired */
        padding-top: 20px;
    }
    .coach-info p {
        line-height: 1.5;
    }
    .response-time-note {
        font-size: 0.85rem;
    }
}

/* Optional: Further adjustments for very large desktops if needed */
/*
@media (min-width: 1200px) {
    .contact-focus-box {
        max-width: 800px;
    }
    .contact-focus-box h2 {
        font-size: 2.2rem;
    }
}
*/