/*
  ========================================
  Modern Styles for Contact Us Page
  ========================================
*/

.contact-hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1587560699334-cc426240169f?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 41, 59, 0.85); /* slate-800 with opacity */
}

.hero-content {
    position: relative;
    z-index: 10;
}

.contact-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.07);
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.contact-icon {
    display: inline-flex;
    padding: 1.5rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.contact-icon.courses {
    background-color: #dbeafe; /* blue-100 */
    color: #2563eb; /* blue-600 */
}

.contact-icon.mentorship {
    background-color: #dcfce7; /* green-100 */
    color: #16a34a; /* green-600 */
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b; /* slate-800 */
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #64748b; /* slate-500 */
    margin-bottom: 1.5rem;
}

.email-link {
    display: inline-block;
    background-color: #f1f5f9; /* slate-100 */
    color: #334155; /* slate-700 */
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.email-link:hover {
    background-color: #2563eb;
    color: white;
}

.faq-section {
    background-color: #f8fafc; /* slate-50 */
}

.faq-item {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    text-align: left;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #475569;
    line-height: 1.6;
}
