:root {
    --primary-color: #00234a;
    --secondary-color: #ff6b6b;
    --text-color: #333;
    --light-text: #777;
    --white: #fff;
    --light-bg: #f8f9fa;
    --border-color: #e1e1e1;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    padding: 20px 0;
    background-color: var(--white);
    color: var(--white);
}

header .container {
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    align-items: center;
}

.email-link {
    color: var(--white);
    font-size: 14px;
}

.logo img {
    height: 100px;
}

nav a {
    margin-left: 20px;
    color: var(--white);
    font-weight: 500;
}

nav a.active, nav a:hover {
    color: var(--secondary-color);
}

/* Contact Hero Section */
.contact-hero {
    padding: 80px 0 40px;
    text-align: left;
    color: var(--white);
}

.contact-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 18px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 20px;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 0;
    background-color: var(--white);
    /* border-radius: 30px 30px 0 0; */
}

.form-process-container {
    display: flex;
    gap: 40px;
}

.process-steps {
    flex: 1;
    padding-right: 20px;
}

.process-steps h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-steps > p {
    color: var(--light-text);
    margin-bottom: 40px;
}

.step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: #ff6b6b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.step-content p {
    color: var(--light-text);
    font-size: 14px;
}

/* Contact Form */
.contact-form {
    flex: 1;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.form-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.form-header .icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.form-header .icon i {
    color: var(--white);
    font-size: 20px;
}

.form-header p {
    flex: 1;
    font-size: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    height: 120px;
    resize: none;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-text);
    font-size: 14px;
}

.file-upload {
    margin-top: 20px;
}

.file-label {
    display: block;
    padding: 12px 15px;
    background-color: #f5f5f5;
    border: 1px dashed var(--border-color);
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-label:hover {
    background-color: #e9e9e9;
}

.file-input {
    display: none;
}

.file-name {
    margin-top: 8px;
    font-size: 12px;
    color: var(--light-text);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #151c4e;
}

.form-footer {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
    color: var(--light-text);
}

.form-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #aaa;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 14px;
}

.btn-consultation {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    border-radius: 5px;
    margin: 15px 0;
    font-size: 14px;
}

.btn-consultation:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.office-title {
    margin-top: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .logo img {
    height: 90px;
}

.copyright {
    font-size: 12px;
    color: #aaa;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .form-process-container {
        flex-direction: column;
    }
    
    .process-steps {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Form Validation Styles */
.error-input {
    border-color: #ff3860;
}

.error-message {
    color: #ff3860;
    font-size: 12px;
    margin-top: 5px;
}

.success-message {
    background-color: #23d160;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message-global {
    background-color: #ff3860;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

/* File upload highlight effect */
.file-label.highlight {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

/* Loading indicator for form submission */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Participant section styling */
.participants-section {
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
}

.participants-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.participant-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.participant-row label {
    font-weight: bold;
    margin-right: 10px;
    min-width: 20px;
}

.participant-info {
    display: flex;
    flex: 1;
    gap: 10px;
}

.participant-info select {
    width: 80px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.participant-info input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Make it responsive */
@media (max-width: 768px) {
    .participant-info {
        flex-direction: column;
    }
    
    .participant-info select,
    .participant-info input {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Style for required field indicators */
input::placeholder, select option {
    color: #666;
}

input[required]::placeholder, 
select[required] option:first-child {
    color: #666;
}

/* Add a note about required fields at the top of the form */
.contact-form form::before {
    content: "* Champs obligatoires";
    display: block;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}