/* styles for page-contact.php */

.contact-hero {
    position: relative;
    height: 300px;
    background: url('../images/contact-hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.contact-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
}
.contact-hero .hero-content h1 {
    font-size: 3rem;
    z-index: 1;
}

/* contact section */
.contact-section {
    padding: 60px 0;
    background:#f9f9f9;
}
.centre{
    width: 1200px;
    margin: 0 auto;
}
.contact-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.contact-form {
    flex:1 1 400px;
}
.contact-form h2 {
    margin-bottom: 20px;
    font-size: 1.75rem;
}
.section-title-wrapper {
     display: flex;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}
.title-line {
    flex: 1;                      /* prend tout l'espace disponible */
    height: 2px;                  /* épaisseur du trait */
    background-color: #7a7878;     /* couleur rouge */
    margin-left: 20px;  
}
.contact-form form .form-row {
    display: flex;
    gap: 20px;
}
.contact-form input,
.contact-form textarea {
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:4px;
    margin-bottom:15px;
}
.contact-form .btn-submit {
    background:#d32f2f;
    color:#fff;
    padding:12px 30px;
    border:none;
    border-radius:4px;
    cursor:pointer;
}
.contact-offices {
    flex:1 1 300px;
}

.office2 {
    margin-top:30px;
}
.contact-offices h3{
    background-color: #119C39;
    color: #fff;
    padding: 10px;
    width: 40%;
    text-align: center;
}
.contact-offices p {
    font-size:0.9rem;
    line-height:1.5;
}

/* resources section */
.resources-section {
    padding:60px 0;
}
.resources-section h2 {
    font-size:2rem;
}
.resources-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}
.resource-card {
    text-align:center;
    padding:20px;
    border:1px solid #eee;
    border-radius:8px;
}
.resource-card img {
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
}
.resource-card h4 {
    margin-bottom:5px;
    font-size:1.1rem;
}
.resource-card p {
    font-size:0.9rem;
    margin:2px 0;
}

@media(max-width:768px) {
    .contact-section .container {
        flex-direction:column;
    }
}