/* ============================================
   CONTACT.CSS - Page Contact Helpify
   ============================================ */

/* ========== HERO CONTACT ========== */
.contact-hero {
    background: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-hero p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== CONTACT MAIN ========== */
.contact-main {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

/* ========== FORMULAIRE ========== */
.contact-form-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
}

.contact-form-helpify .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input-helpify {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input-helpify:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input-helpify::placeholder {
    color: #9ca3af;
}

select.form-input-helpify {
    cursor: pointer;
}

textarea.form-input-helpify {
    resize: vertical;
    min-height: 150px;
}

.btn-full {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
}

/* ========== COORDONNÉES ========== */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card-green {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
}

.contact-card-green h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.contact-item-helpify {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.contact-item-helpify:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-details p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-details small {
    display: block;
    margin-top: 0.25rem;
    opacity: 0.8;
    font-size: 0.875rem;
}

.social-section {
    margin-top: 1.5rem;
}

.social-section p {
    margin-bottom: 1rem;
}

.social-icons-helpify {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.959);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.map-marker{
    margin-bottom: -30px;
    background-color: rgb(184, 255, 184);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 20px;
    margin-right: 77%;
}  



/*popup de confirmation*/

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.popup-overlay.show {
  display: flex;
}

.popup-content {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

.popup-icon {
    padding-top: 10px;
    padding-bottom: 10px;
  margin-bottom: 20px;
  margin-left: 140px;
  margin-right: 140px;
  display: flex;
  justify-content: center;
  background-color: #10B981;
  border-radius: 50%;
  color: white;
}

.popup-title {
  color: #1f2937;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.popup-message {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 30px;
}

.popup-close {
  background: #10B981;
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-close:hover {
  background: #059669;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}



/* ============================================================
   RESPONSIVE POUR CONTACT.CSS
   ============================================================ */

@media (max-width: 1025px) {
    /* Hero Contact */
    .contact-hero {
        padding: 3rem 0;
    }

    .contact-hero h1 {
        margin-top: 20px;
        font-size: 6rem; /* Agrandi de 3rem à 3.25rem */
    }

    .contact-hero p {
        margin-top: 50px;
        font-size: 2.4rem; /* Agrandi de 1.125rem à 1.3rem */
    }

    /* Contact Main */
    .contact-main {
        padding: 4rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Formulaire */
    .contact-form-section {
        padding: 4.5rem;
    }

    .contact-form-helpify .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-group label {
        font-size: 1.6rem; /* Agrandi de 0.95rem à 1.1rem */
    }

    .form-input-helpify {
        padding: 2.125rem;
        font-size: 2.15rem; /* Agrandi de 1rem à 1.15rem */
    }


    .btn-full {
        padding: 2.375rem;
        font-size: 2.55rem; /* Agrandi de 1.125rem à 1.25rem */
    }

    /* Coordonnées */
    .contact-info-section {
        gap: 2rem;
    }

    .contact-card-green {
        padding: 2.5rem;
    }

    .contact-card-green h3 {
        font-size: 2.75rem; /* Agrandi de 1.5rem à 1.75rem */
        margin-bottom: 4rem;
    }

    .contact-item-helpify {
        gap: 1.25rem;
        margin-bottom: 2rem;
        padding-bottom: 3rem;
    }

    .contact-icon {
        font-size: 2.75rem; /* Agrandi de 1.5rem à 1.75rem */
        width: 70px;
        height: 70px;
    }

    .contact-details strong {
        font-size: 1.7rem; /* Agrandi de 1rem à 1.15rem */
    }

    .contact-details p {
        font-size: 1.7rem; /* Agrandi de 0.95rem à 1.1rem */
    }

    .contact-details small {
        font-size: 1.5rem; /* Agrandi de 0.875rem à 1rem */
    }

    /* Social Icons */
    .social-section p {
        font-size: 1.7rem;
    }

    .social-icons-helpify {
        gap: 1rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.9rem; /* Agrandi de 1.25rem à 1.4rem */
    }

    .map-marker{
    font-size: 30px;
    margin-bottom: -30px;
    background-color: rgb(184, 255, 184);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 20px;
    margin-right: 70%;
}  
    iframe{
        width: 100%;
    }


    /*le popup responsive*/
    .popup-content {
    background: white;
    padding: 40px 30px;
    border-radius: 50px;
    text-align: center;
    max-width: 800px;
    height: 870px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    }

    .popup-icon {
    font-size: 4rem;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 280px;
    margin-right: 280px;
    
    display: flex;
    justify-content: center;
    background-color: #10B981;
    border-radius: 50%;
    color: white;
    box-shadow: 0 10px 40px rgba(43, 156, 33, 0.46);
    }

    .popup-title {
    color: #1f2937;
    font-size: 50px;
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 20px;
    margin-left: 50px;
    margin-right: 50px ;
    }

    .popup-message {
    color: #6b7280;
    font-size: 35px;
    margin-bottom: 100px;
    margin-left:60px ;
    margin-right: 60px;
    }

    .popup-close {
    background: #10B981;
    color: white;
    border: none;
    padding: 20px 200px;
    border-radius: 30px;
    font-size: 45px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    }


}

