/* Import de la police Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables CSS */
:root {
    --primary-color: #008000;
    /* Vert pur */
    --secondary-color: #0e5432;
    /* Vert clair */
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #f8f9fa;
    --background-image: url('../images/bac2.jpg');
}
.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.testimonial-carousel .owl-nav button {
    position: absolute;
    background: var(--primary-color) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    font-size: 20px !important;
}

.testimonial-carousel .owl-nav button.owl-prev {
    left: -20px;
}

.testimonial-carousel .owl-nav button.owl-next {
    right: -20px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.avatar-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .testimonial-carousel .owl-nav {
        display: none;
    }
}


/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}
.stats-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.stats-label {
    font-size: 1.1rem;
    opacity: 0.9;
}
/* Process Steps Cards */
.process-step {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.process-step h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.process-step p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Features Cards */
.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    color: #0d6efd;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Section Spacing */
.process-section, .features-section {
    padding: 5rem 0;
}

.process-section h2, .features-section h2 {
    margin-bottom: 3rem;
    color: #333;
        font-size: 2rem;
    text-align: center;
}

/* Loan Type Cards */
.loan-type-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.loan-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.loan-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loan-type-card:hover::before {
    opacity: 1;
}

.loan-type-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.loan-type-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.loan-type-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.loan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.loan-features-list li {
    color: #555;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.loan-features-list li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.loan-type-card .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .loan-type-card {
        padding: 1.75rem;
    }
    
    .loan-type-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .loan-type-card {
        padding: 1.5rem;
    }
    
    .loan-type-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .loan-type-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .loan-type-card {
        padding: 1.25rem;
    }
    
    .loan-type-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .loan-features-list li {
        font-size: 0.9rem;
    }
}

/* Calculator Results Styles */
.calculator-result {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.result-header h3 {
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.result-item h4 {
    color: #fd0d0d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.result-item p {
    color: #212529;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
}

.result-details {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.result-details h4 {
    color: #fd0d0d;
    margin-bottom: 1rem;
}

.result-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-details li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.result-details li:last-child {
    border-bottom: none;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.result-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    min-width: 200px;
}

.result-actions .btn-print {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.result-actions .btn-print:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('images/cta-pattern.svg') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

/* Dropdown Submenu */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
}
.dropdown-submenu:hover .dropdown-menu {
    display: block;
}
/* Removed invalid CSS block */

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.service-icon i {
    font-size: 2rem;
    color: white;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 1rem;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #007bff;
    padding: 3px;
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}
.stats-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.stats-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('images/cta-pattern.svg') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

/* Dropdown Submenu */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
}
.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.personal-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 1rem;
    opacity: 0.9;
}
    /* ...existing styles... */
    
    .dropdown-submenu {
        position: relative;
    }
    
    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }
    
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
    
    .dropdown-submenu > .dropdown-item:after {
        display: inline-block;
        margin-left: 0.5em;
        vertical-align: middle;
        content: "";
        border-top: 0.3em solid transparent;
        border-right: 0;
        border-bottom: 0.3em solid transparent;
        border-left: 0.3em solid;
    }

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

/* Masquage des éléments Google Translate */
.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-combo,
.goog-te-gadget,
.goog-te-footer,
.skiptranslate {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Gestion du débordement de texte */
.text-translated {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
}

/* Structure de base */
html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
    padding: 0;
    top: 0 !important;
    font-size: 14px;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Navigation */
.navbar {
    background: var(--primary-gradient);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 40px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Boutons */
.btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-light {
    background-color: var(--light-text);
    color: var(--primary-color);
    border: none;
}

.btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
}

.btn-outline-light {
    border: 2px solid var(--light-text);
    color: var(--light-text);
}

.btn-outline-light:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 3rem 0;
    width: 100%;
}

footer h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--primary-gradient);
        padding: 1rem;
        border-radius: 4px;
        margin-top: 0.5rem;
    }

    .nav-buttons {
        margin-top: 1rem;
        flex-direction: column;
    gap: 0.5rem;
}

    .nav-buttons .btn {
        width: 100%;
        margin: 0.25rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .process-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .testimonial-image {
        height: 250px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-collapse.show {
    animation: fadeIn 0.3s ease forwards;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    padding: 8rem 0 6rem;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-pattern.png') repeat;
    opacity: 0.1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: #4CAF50;
    font-size: 1.25rem;
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Service Cards */
.services-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.services-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.service-card {
    flex: 1;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 300px;
}

.service-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    color: white;
    font-size: 2.5rem;
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.service-rate {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.service-features li i {
    color: var(--primary-color);
}

.service-card .btn {
    margin-top: auto;
    width: 100%;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.process-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-number {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 600;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.process-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-card p {
    color: #666;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-image {
    height: 300px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #666;
}

.testimonial-author h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--primary-color);
    margin-bottom: 0;
}
.stats-section {
    background-color: #f8f9fa;
}

.stats-section .compact-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.stats-section .compact-card:hover {
    transform: translateY(-5px);
}

.stats-section .counter {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stats-section .text-muted {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .stats-section .counter {
        font-size: 2rem;
    }
}
.stats-section .compact-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.stats-section .compact-card:hover {
    transform: translateY(-5px);
}

.stats-section .counter {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 576px) {
    .stats-section .counter {
        font-size: 2rem;
    }

    .stats-section .card-body {
        padding: 1.5rem !important;
    }
}


/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Additional Responsive Adjustments */
@media (max-width: 991.98px) {
    .loan-type-card {
        padding: 1.75rem;
    }
    
    .loan-type-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .loan-type-card {
        padding: 1.5rem;
    }
    
    .loan-type-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .loan-type-card h3 {
        font-size: 1.25rem;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .loan-type-card {
        padding: 1.25rem;
    }
    
    .loan-type-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .loan-features-list li {
        font-size: 0.9rem;
    }
    
    .result-item {
        padding: 0.75rem;
    }
}

/* Responsive adjustments for services */
@media (max-width: 1200px) {
    .services-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-card {
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
    width: 100%;
        max-width: 400px;
}
}

/* Styles pour le navbar */
body {
    overflow-x: hidden; /* Empêche le défilement horizontal */
    padding-top: 10px; /* Hauteur de la navbar */
}

.navbar {
    position: fixed;
   
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

/* Styles pour l'offcanvas */
.offcanvas {
    max-width: 300px;
}

/* Ajustements responsives */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px; /* Logo plus petit sur mobile */
    }
    
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Fix pour les éléments qui pourraient causer le défilement horizontal */
.row {
    margin-left: 0;
    margin-right: 0;
}

.container-fluid,
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}

.cookie-alert {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-alert a {
    color: white;
    text-decoration: underline;
}

.cookie-alert.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}
/* Styles pour le menu mobile */
#navbarToggleExternalContent {
    z-index: 1046;
}

#navbarToggleExternalContent .nav-link {
    color: rgba(255, 255, 255, .8) !important;
    transition: all 0.3s;
    font-size: 1.1rem;
}

#navbarToggleExternalContent .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, .05);
}

#navbarToggleExternalContent .btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
}

#navbarToggleExternalContent .btn:hover {
    transform: translateY(-2px);
}

#grantsSubmenu {
    background-color: rgba(255, 255, 255, .05);
}

#navbarToggleExternalContent.show~.navbar {
    visibility: hidden;
}