/* Section principale */
.large-padding {
    padding: 80px 0;
}

.Rs2 {
    background-color: #f8f9fa;
}

/* Container et grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-12 {
    width: 100%;
    padding: 0 15px;
}

.col-lg-4, .col-md-4 {
    width: 33.333333%;
    padding: 0 15px;
}

.col-lg-5, .col-md-5 {
    width: 41.666667%;
    padding: 0 15px;
}

/* Header styles */
.crumina-module.crumina-heading {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.title-text-wrap {
    margin-bottom: 20px;
}

.heading-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.heading-decoration {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #4285f4, #1976d2);
    margin: 20px auto;
    border-radius: 2px;
}

.heading-text {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact box styles */
.contact-box.RSEc {
    background: linear-gradient(135deg, #4285f4, #1976d2);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.crumina-icon {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: white;
}

/* Nouvelles icônes personnalisées - PARFAITEMENT CENTRÉES */
.custom-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Empêche la déformation */
}

.custom-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.custom-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    margin: auto;
}

.crumina-icon span {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.content {
    margin-left: 63px;
}

.sub-title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

.sub-title a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sub-title a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Form styles */
.continer {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sub {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4285f4;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button styles */
.inquiry-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.crumina-button.btn-devis {
    background: linear-gradient(135deg, #4285f4, #1976d2);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
}

.crumina-button.btn-devis:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.6);
}

.crumina-button.btn-devis:active {
    transform: translateY(0);
}

/* Utility classes */
.mt-5 {
    margin-top: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.justify-content-center {
    justify-content: center;
}

.m-auto {
    margin: auto;
}

.pl-2 {
    padding-left: 0.5rem;
}

.pl-3 {
    padding-left: 1rem;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Responsive design */
@media (max-width: 991px) {
    .col-lg-4, .col-md-4 {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .col-lg-5, .col-md-5 {
        width: 100%;
    }
    
    .heading-title {
        font-size: 2rem;
    }
    
    .contact-box.RSEc {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .large-padding {
        padding: 60px 0;
    }
    
    .heading-title {
        font-size: 1.8rem;
    }
    
    .contact-box.RSEc,
    .continer {
        padding: 30px 20px;
    }
    
    .d-sm-block.d-none {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }
    
    .heading-title {
        font-size: 1.6rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
    }
    
    .crumina-button.btn-devis {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}