/* Contact Page Modern Styles */

/* Main section */
.page-section.contact-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Section Title */
.section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #1f2937;
    letter-spacing: 0.05rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--main-color);
    border-radius: 2px;
}

.section-title span {
    color: var(--main-color);
}

/* Modern Form Styles */
.modern-form .form-group {
    margin-bottom: 1.75rem;
}

.form-control-underline {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.95rem;
    font-weight: 400;
    color: #1f2937;
    background: transparent;
    transition: all 0.3s ease;
    outline: none;
}

.form-control-underline::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-control-underline:focus {
    border-bottom-color: var(--main-color);
    background: transparent;
}

.form-control-underline:hover {
    border-bottom-color: #9ca3af;
}

textarea.form-control-underline {
    resize: vertical;
    min-height: 120px;
    padding-top: 1rem;
}

/* Privacy Section */
.privacy-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.privacy-notice {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-check {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.form-check-input {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.form-check-label {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.form-check-label small {
    font-size: 0.875rem;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, var(--main-color) 0%, #8A0024 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(173, 0, 45, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(173, 0, 45, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.info-card-inner {
    padding: 2.5rem 2rem;
}

.info-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: var(--main-color);
    letter-spacing: 0.05rem;
}

.info-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #4b5563;
    font-weight: 400;
}

.info-action {
    margin-top: 2rem;
}

.info-link {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--main-color) 0%, #8A0024 100%);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(173, 0, 45, 0.3);
}

.info-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(173, 0, 45, 0.4);
    text-decoration: none;
    color: white;
}

.info-link i {
    transition: transform 0.3s ease;
}

.info-link:hover i {
    transform: translateX(4px);
}

/* Contact Details Card */
.contact-details-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-details-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-detail-item:last-of-type {
    border-bottom: none;
}

.detail-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--main-color) 0%, #8A0024 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.2rem;
    color: white;
}

.detail-content {
    flex: 1;
}

.detail-content h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.detail-content a {
    color: var(--main-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-content a:hover {
    color: #8A0024;
    text-decoration: underline;
}

.detail-content p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.map-container {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-info-card {
        position: static;
        margin-bottom: 2rem;
    }
    
    .contact-details-card {
        margin-top: 0 !important;
    }
}

/* Legacy styles for compatibility */
.contact-intro {
    text-align: center;
}

h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 45px;
    color: #961919;
    letter-spacing: 0.1rem;
}

.contact-intro .bloc p {
    font-size: 18.9px;
    line-height: 26px;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;  
    margin-bottom: 15px;
}

.contact-intro .bloc .more-link a.primary-link {
    margin: 0 5px;
}

a.primary-link,
button.primary-button {
    display: inline-block;
    vertical-align: top;
}

a.primary-link.red > span,
button.primary-button.red > span {
    background-color: #961919;
    color: #fff;
}

a.primary-link > span,
button.primary-button > span {
    display: block;
    height: 40px;
    line-height: 39px;
    text-align: center;
    padding: 0 20px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 12.9px;
    font-weight: 600;
    position: relative;
    transition: ease-in 0.1s;
}

a.primary-link.red:hover > span,
button.primary-button.red:hover > span {
    background-color: #8A0024;
    text-decoration: none;
}

a.primary-link.red,
button.primary-button.red {
    text-decoration: none;
}

.contact-section {
    margin: 20px 0;
}

form .col {
    margin: 10px 5px;
}

label {
    color: #858688;
    font-weight: 500;
}

.form-control {
    padding: 1.2rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.1rem;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

form {
    margin-top: -10px;
}

.checkbox-text {
    color: black;
    font-size: 1.1rem;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check input {
    position: relative;
    top: -2px;
    margin-right: 5px;
}

.form-check label {
    font-size: 0.9rem;
}

.custom-file {
    margin-bottom: 9px;
}

.form-text {
    font-size: 0.9rem;
}

.inputfile {
    display: none;
}

.custom-file-labe {
    padding: 1.2rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.1rem;
    cursor: pointer;
    color: #495057;
    background-color: #fff;
    font-size: 0.8rem;
    width: 100%;
    margin-top: 10px; 
    height: 40px;
    align-items: center;
    display: flex;
}

.page-btn {
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 12.9px;
    font-weight: 600;
    height: 40px;
    line-height: 39px;
    padding: 0 20px;
    color: #fff;
    background-color: #961919;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.page-btn:hover {
    background-color: #8A0024;
}

.input-group-append .page-btn {
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 12.9px;
    font-weight: 600;
    height: 40px;
    line-height: 39px;
    padding: 0 20px;
    color: #fff;
    background-color: #961919;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.input-group-append .page-btn:hover {
    background-color: #8A0024;
}
