    :root {
    /* Colors */
    --primary-color: #ed6d05;
    --primary-hover: #e55a2b;
    --text-primary: #878787;
    --text-secondary: #666;
    --text-light: #969696;
    --bg-primary: #f8f9fa;
    --bg-white: white;
    --border-color: #ddd;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --primary-shadow: rgba(255, 107, 53, 0.3);
    --primary-shadow-hover: rgba(255, 107, 53, 0.4);ra
    --overlay-light: rgba(255, 255, 255, 0.1);
    --overlay-medium: rgba(255, 255, 255, 0.2);
    --overlay-strong: rgba(255, 255, 255, 0.3);
    --error-color: #e74c3c;
    
    /* Typography */
    --font-bold: "MontserratBold", sans-serif;
    --font-regular: "MontserratRegular", sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --section-padding: 80px 0;
    --section-padding-mobile: 40px 0;
    --container-padding: 0 20px;
    --container-padding-mobile: 0 15px;
    --border-radius: 12px;
    --border-radius-large: 20px;
    --border-radius-full: 50%;
    
    /* Spacing */
    --gap-small: 0.5rem;
    --gap-medium: 1.3rem;
    --gap-large: 2.1rem;
    --gap-xl: 3rem;
    --gap-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease-out;
    
    /* Z-index */
    --z-header: 1000;
    --z-overlay: 1;
    --z-content: 2;
}


.advantages .container {
    text-align: center;
}

.cta-button {
    display: inline-block;
}

/* Font faces */
@font-face {
    font-family: "MontserratBold";
    src: url("fonts/Montserrat-Bold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "MontserratRegular";
    src: url("fonts/Montserrat-Regular.ttf") format("truetype");
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Container - Consistent width for all sections */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

.container.scrolled {
    padding: 11px 20px;
}

/* Header */
header {
    padding: var(--gap-medium) 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: var(--z-header);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    margin: 0 var(--gap-large);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--gap-large);
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    font-family: var(--font-regular);
    text-decoration: none;
    color: var(--text-secondary);
    transition: color var(--transition-normal);
    border-right: 1px solid var(--text-secondary);
    padding-right: 10px;
    margin-right: 10px;
    white-space: nowrap;
    border-left : none !important;
    
}}
}

.nav-links a:hover {
    color: var(--primary-color);
}

.no-right-border {
    border-left: none !important;
}

/* CTA Buttons */
.cta-button_ {
    border: var(--primary-color) 1px solid !important;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    padding-right: 23px !important;
    transition: all var(--transition-normal);
    cursor: pointer;
    color: var(--primary-color) !important;
    display: inline-block;
    text-align: center;
}

.cta-button_:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: var(--bg-white) !important;
}

.cta-button2 {
    background: var(--primary-hover);
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    cursor: pointer;
    color: var(--bg-white) !important;
    display: inline-block;
    text-align: center;
}

.cta-button2:hover {
    border: var(--primary-color) 1px solid !important;
    transform: translateY(-2px);
    color: var(--bg-white) !important;
}

.cta-button {
    font-family: var(--font-regular);
    display: inline-block;
    background: var(--primary-color);
    border: none !important;
    color: var(--bg-white) !important;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: var(--gap-medium);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px var(--primary-shadow);
    text-align: center;
    cursor :pointer;

}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-shadow-hover);
}

/* Hero Section */
.hero {
    background-image: url("images/hero-bg.webp");
    background-size: cover;
    background-position: center;
    padding: 120px 0 var(--section-padding);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xxl);
    align-items: center;
}

.hero-title {
    font-family: var(--font-bold);
    font-size: var( --gap-large);
}

.title-span {
    border-bottom: var(--primary-color) 5px solid !important;
   
}

.hero-text h2 {
    font-size: var(--gap-large);
    color: var(--primary-color);
    margin-bottom: var(--gap-xxl);
    line-height: 1.1;
}

.hero-text p {
    font-family: var(--font-regular);
    font-size: var(--gap-medium);
    color: var(--text-light);
    margin-bottom: var(--gap-large);
    line-height: 1.6;
}

.hero-image {
    position: relative;
    background-size: cover; /* Keep this as cover */
    background-position: center;
    border-radius: var(--border-radius-large);
    padding: var(--gap-large);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    

}



.person-placeholder {
    width: 200px;
    height: 250px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: var(--gap-medium);
}

.compliance-badge {
    position: absolute;
    top: var(--gap-large);
    right: var(--gap-large);
    padding: 10px;
    border-radius: 10px;
    font-size: var(--gap-medium);
    color: var(--text-primary);
    box-shadow: 0 2px 10px var(--shadow-light);
}


.offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.process-steps img {
   width: 55%;
   margin-right: auto;
    margin-left: auto;
}

.offer-card {
 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-10px);
}

.offer-card:hover img {
    transform: scale(1.05);
}

.offer-card h3 {
    font-family: var(--font-bold);
    color: var(--primary-color);
    margin: 20px 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-card p {
    font-family: var(--font-regular);
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;

}

/* Responsive design */
@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 15px;
    }
    
    .offer-card {
        padding: 30px 20px;
    }
    
    .offer-card img {
        width: 240px;
    }
    
    .offer-card h3 {
        font-size: var(--gap-large);
    }
    
    .offer-card p {
        font-size: var(--gap-medium);
    }
}

/* Additional styling for the section */
.form-section#offers {
    padding: 80px 0;
}

.form-section#offers .section-title h2 {
    color: #ff6b35;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.form-section#offers .section-title p {
    color: #666;
    font-size: 18px;
    text-align: center;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.form-section.container.section-title p {
    font-family: var(--font-regular);
    color: var(--text-secondary);
    margin-bottom: var(--gap-large);
    line-height: 1.6;
}

/* Advantages Section */
.advantages {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.section-title {
    text-align: center;
    margin-bottom: var(--gap-xl);
}

.section-title h2 {
    font-family: var(--font-bold);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--gap-medium);
}

.section-title p {
    font-family: var(--font-regular);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--gap-large);
    margin-top: var(--gap-xl);
}

.advantage-card {
    text-align: center;
    padding: var(--gap-large) var(--gap-medium);
}

.advantage-icon {
    width: 160px;
    height: 160px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--gap-medium);
    font-size: var(--gap-large);
    color: var(--primary-color);
}

.advantage-card h3 {
    font-family: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--gap-small);
    font-size: 1.1rem;
}

.advantage-card p {
    font-family: var(--font-regular);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Process Section */
.process {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-xl);
    margin-top: var(--gap-xl);
    justify-content: center;
    justify-items: center;
}

/* Alternative options for different justify behaviors: */

/* To justify the grid container itself: */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-xl);
    margin-top: var(--gap-xl);
    justify-content: center; /* center, start, end, space-between, space-around, space-evenly */
}

/* To justify items within each grid cell: */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-xl);
    margin-top: var(--gap-xl);
    justify-items: center; /* center, start, end, stretch */
}

/* To justify both container and items: */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-xl);
    margin-top: var(--gap-xl);
    justify-content: center;
    justify-items: center;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 6rem;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.8;
    margin-bottom: var(--gap-medium);
}

.process-step h3 {
    font-family: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--gap-medium);
    font-size: 1.3rem;
}

.process-step p {
    font-family: var(--font-regular);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Form Section */
.form-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xxl);
    align-items: start;
}

.form-image {
    background-position: start;
    border-radius: var(--border-radius-large);
    padding: var(--gap-large);
    text-align: center;
    display: start;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form-container h2 {
    font-family: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--gap-medium);
    font-size: var(--gap-large);
}

.form-container p {
    font-family: var(--font-regular);
    color: var(--text-secondary);
    margin-bottom: var(--gap-large);
    font-size: var(--gap-medium);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-medium);
    margin-bottom: var(--gap-medium);
}

.form-group {
    margin-bottom: var(--gap-medium);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: var(--text-secondary) 1px solid;
    font-size: var(--gap-medium);
            font-family: "MontserratRegular", sans-serif !important;

}

.form-group select {
    /* Remove default styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Add custom arrow */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff6600' viewBox='0 0 16 16'%3e%3cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    
    /* Add some padding to make room for the arrow */
    padding-right: 40px;
            font-family: "MontserratRegular", sans-serif !important;

}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Custom Checkbox Styles */
.checkbox-container {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px var(--shadow-light);
    max-width: 500px;
    margin: 0 auto;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin: var(--gap-medium) 0;
}

.checkbox-group:hover {
    transform: translateY(-1px);
}

.checkbox-group input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
    background: var(--bg-white);
    position: relative;
    margin-top: 2px;
}

.checkbox-group:hover .custom-checkbox {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-shadow);
}

.checkbox-group input[type="checkbox"]:checked + .custom-checkbox {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.checkbox-group input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "✓";
    color: var(--bg-white);
    font-size: 16px;
    font-weight: bold;
    animation: checkmark var(--transition-normal);
}

.checkbox-label {
    font-family: var(--font-regular);
    font-size: 16px;
    color: var(--text-primary);
    cursor: text;
    user-select: none;
    transition: color var(--transition-fast);
    margin-top: auto;
}

/*.checkbox-group:hover .checkbox-label {*/
/*    color: var(--primary-color);*/
/*}*/

.checkbox-group input[type="checkbox"]:focus + .custom-checkbox {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.checkbox-group.error .custom-checkbox {
    border-color: var(--error-color);
    animation: shake 0.5s ease-in-out;
}

.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 8px;
    opacity: 0;
    transition: opacity var(--transition-normal);
            font-family: "MontserratRegular", sans-serif !important;

}

.error-message.show {
    opacity: 1;
            font-family: "MontserratRegular", sans-serif !important;

}

/* Info Section */

.info-section {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-primary);
    z-index: 0; /* Pour que le contenu soit au-dessus du ::before */
    overflow: hidden; /* cache tout débordement */
}

.info-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 80%; /* Ici tu définis la hauteur de l'image */
    width: 100%;
    background-image: url("./images/bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.info-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-large);
    align-items: start;
}

.info-text {
    padding-right: var(--gap-large);
}

.info-text h2 {
    font-family: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--gap-large);
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.info-text p {
    font-family: var(--font-regular);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.info-card {
    background: var(--bg-white);
    padding: var(--gap-large) var(--gap-medium);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: all var(--transition-normal);
    border-left: 4px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-left-color: var(--primary-color);
}

.info-card h3 {
    font-family: var(--font-bold);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.info-card .icon {
    background: var(--primary-color);
    color: var(--bg-white);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-card p {
    font-family: var(--font-regular);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}




/* Footer Styles */
footer {
    background-color: #f0f0f0;
    background-image: url("./images/footer.webp");
    background-repeat: no-repeat;
    background-size: cover;
    color: #666666;
    padding: 40px 0 30px;
    width: 90%;
    margin: 0 auto 10px auto;
    position: relative;
    border-radius: 30px;
    font-family: var(--font-regular);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    box-sizing: border-box;
    margin-top:-10% !important;
}


.footer-container {
    
    position: relative;
    z-index: var(--z-content);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gap-medium);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Row */
.footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-logos .footer-left,
.footer-logos .footer-center,
.footer-logos .footer-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logos img {
    height: 60px;
    width: auto;
    max-width: 100%;
}

/* Legal Links Row */
.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-legal p {
    margin: 0;
    font-size: 0.9rem;
    color: #666666;
    cursor: pointer;
    transition: opacity var(--transition-normal);
}

.footer-legal p:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Social Links and Contact Row */
.footer-social-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff6b00; /* Orange color matching your image */
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
}

.social-links a img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1); /* Make icons white */
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}
.contact-info span {
    color: #ff6b00;
}

.phone-icon {
    width: 24px;
    height: 24px;
    filter: none;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-text {
    font-size: 1rem;
    font-weight: 400;
}

/* Bottom Disclaimer Text */
.footer-disclaimer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-disclaimer p {
    margin: 0;
    font-size: 0.8rem;
    color: #ff6b00; /* Orange color for disclaimer */
    font-style: italic;
}

.footer-disclaimer a {
    color: #ff6b00;
    text-decoration: none;
}

.footer-disclaimer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    footer {
        width: 95%;
        padding: 30px 0;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logos {
        flex-direction: column;
        gap: 20px;
    }

    .footer-logos img {
        height: 40px;
        width: auto;
    }

    .footer-legal p {
        font-size: 0.8rem;
    }

    .footer-social-contact {
        flex-direction: column;
        gap: 20px;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .social-links a img {
        width: 20px;
        height: 20px;
    }

    .contact-info {
        font-size: 1rem;
        justify-content: center;
    }

    .phone-number {
        font-size: 1.2rem;
    }

    .footer-disclaimer p {
        font-size: 0.7rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-logos {
        gap: 15px;
    }

    .footer-logos img {
        height: 35px;
    }

    .footer-social-contact {
        gap: 15px;
    }

    .contact-info {
        gap: 5px;
    }
}

/* Language Switch */
.language-switch {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.switch-input {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch-input input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e6e6e6;
    border-radius: 30px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    font-weight: bold;
    font-size: 12px;
    color: #d2691e;
    width: 60px;
    height: 30px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    background-color: #d2691e;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 3;
    width: 30px;
    height: 30px;
}

input:checked + .switch-slider {
    background-color: #d2691e;
    color: white;
}

input:checked + .switch-slider:before {
    background-color: white;
    transform: translateX(30px);
}

.switch-slider .lang-text {
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.switch-slider .lang-left {
    color: #d2691e;
    font-size: 12px;
    font-family: var(--font-regular);
}

.switch-slider .lang-right {
    color: #d2691e;
    font-size: 12px;
    font-family: var(--font-regular);

}

input:checked + .switch-slider .lang-left {
    color: white;
}

input:checked + .switch-slider .lang-right {
    color: white;
}

.demo-content {
    padding: 50px 0;
    text-align: center;
}

.demo-content h1 {
    color: #333;
    margin-bottom: 20px;
}

.demo-content p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.hero-text,
.advantage-card,
.process-step {
    animation: fadeInUp var(--transition-slow);
}

.advantage-card:nth-child(2) { animation-delay: 0.1s; }
.advantage-card:nth-child(3) { animation-delay: 0.2s; }
.advantage-card:nth-child(4) { animation-delay: 0.3s; }
.advantage-card:nth-child(5) { animation-delay: 0.4s; }

/* Responsive Design - Enhanced for full responsiveness */

/* Large desktops and above */
@media (min-width: 1000px) {

    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: var(--gap-medium);
    }
    
    .advantage-icon {
        width: 120px;
        height: 120px;
        font-size: 1.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1rem;
    }
    
    .advantage-card p {
        font-size: 1.1rem;
    }
    .info-card.takaful {
        margin-top: -42%;
    }
  
}

/* Medium desktops */
@media (max-width: 1199px) and (min-width: 992px) {

    /* Advantages section */
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--gap-medium);
    }
    
    .advantage-icon {
        width: 120px;
        height: 120px;
        font-size: 1.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1rem;
    }
    
    .advantage-card p {
        font-size: 1.1rem;
    }


        /* Process section */
    .process-steps  {
        gap: 0px;
    }
    .process-step img {
      width: 30%;
    }
    
     /* Hero  section */
    .hero-text h2 {
        font-size: 2.3rem;
    }
    
    .section-title h2 {
        font-size: 2.0rem;
    }
    
    .info-text h2 {
        font-size: 2.2rem;
    }
}

/* Small desktops and large tablets */
@media (max-width: 991px) and (min-width: 769px) {
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: var(--gap-medium);
    }
    
    .advantage-icon {
        width: 120px;
        height: 120px;
        font-size: 1.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1rem;
    }
    
    .advantage-card p {
        font-size: 1.1rem;
    }
    
    .hero-content,
    .form-content,
    .info-content {
        grid-template-columns: 1fr;
        gap: var(--gap-large);
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .info-text h2 {
        font-size: 2rem;
    }
    
    .info-text {
        padding-right: 0;
    }
    
 
    

    
    .info-cards {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }
}

/* Tablets */
@media (max-width: 768px) {
   
     .process-step img {
      width: 40%;
    }
    .container {
        padding: var(--container-padding-mobile);
    }
    

     /* Advantages section */
      .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: var(--gap-medium);
    }
    
    .advantage-icon {
        width: 80px;
        height: 80px;
        font-size: 0.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1rem;
    }
    
    .advantage-card p {
        font-size: 1.1rem;
    }
    /* Header adjustments */
    nav {
        flex-direction: column;
        gap: 1px;
        padding: 10px 0;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 10px;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .logo {
        margin: 0;
    }
    
    .language-switch {
        margin-left: 0;
        margin-top: 10px;
    }
    
    /* Hero section */
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        margin-top: 10% !important;
        grid-template-columns: 1fr;
        gap: var(--gap-large);
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
        margin-bottom: var(--gap-large);
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .person-placeholder {
        width: 150px;
        height: 180px;
        font-size: 1rem;
    }
    
    .compliance-badge {
        top: 10px;
        right: 10px;
        padding: 8px;
        font-size: 0.7rem;
    }
    
    /* Section titles */
    .section-title




    /* Section titles */
    .section-title h2 {
        font-size: 2.0rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    /* Sections padding */
    .advantages,
    .process,
    .form-section,
    .info-section {
     
    }
    
    /* Process section */
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--gap-large);
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .process-step h3 {
        font-size: 1.2rem;
    }
    
    /* Form section */
    .form-content {
        grid-template-columns: 1fr;
        gap: var(--gap-large);
        text-align: center;
    }
    
    .form-image {
        order: -1;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-small);
    }
    
    .form-container h2 {
        font-size: 1.5rem;
    }
    
    /* Info section */
    .info-content {
        grid-template-columns: 1fr;
        gap: var(--gap-large);
        text-align: center;
    }
    
    .info-text {
        padding-right: 0;
    }
    
    .info-text h2 {
        font-size: 1.8rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: var(--gap-medium);
    }
    
    /* Footer */
    footer {
        width: 95%;
        padding: var(--gap-large) 0;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .social-links {
        gap: var(--gap-small);
    }
}

/* Small tablets and large phones */
@media (max-width: 600px) {

    .hero-text h2 {
        margin-bottom: 20px;
        font-size: 1.6rem;
    }
    
    .section-title h2 {
        font-size: 2.0rem;
    }
    
    .info-text h2 {
        font-size: 1.6rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }
    
    .advantage-icon {
        width: 100px;
        height: 100px;
        font-size: 1.3rem;
    }
    
    .step-number {
        font-size: 3rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .info-card.Finance {
        margin-top: 15%;
    }
    :root {
        --container-padding-mobile: 0 10px;
        --gap-large: 1.5rem;
        --gap-xl: 2rem;
        --gap-xxl: 2.5rem;
    }
    
    .hero {
        padding: 10px 0 10px;
    }
    
    .hero-text h2 {
        font-size: 1.4rem;
        margin-bottom: var(--gap-medium);
    }
    
    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: var(--gap-medium);
    }
    .person-placeholder {
        width: 120px;
        height: 150px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 2.0rem;
    }
    
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-medium);
    }
    
    .advantage-icon {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
    }
    
    .advantage-card {
        padding: var(--gap-medium) var(--gap-small);
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
    }
    
    .form-image {
    }
    
    .form-container h2 {
        font-size: var(--gap-large)
    }
    
    .info-text h2 {
        font-size: 1.4rem;
    }
    
    .info-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .info-card h3 {
        font-size: 1rem;
    }
    
    .info-card .icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .cta-button_,
    .cta-button2 {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    footer {
        width: 80%;
        border-radius: 1.5;
    }
    
    footer::before {
        border-radius: 0;
    }
}

/* Extra small phones */
@media (max-width: 360px) {

  
    

    .hero-text h2 {
        font-size: var(--gap-large);
    }
    
    .section-title h2 {
        font-size: var(--gap-large);
    }
    
    .info-text h2 {
        font-size: var(--gap-large);
    }
    
    .hero-image,
    .form-image {
    }
    
    .person-placeholder {
        width: 100px;
        height: 120px;
        font-size: 0.8rem;
    }
    
    .step-number {
        font-size: rem;
    }
    
    .process-step h3 {
        font-size: var(--gap-large);
    }
    
    .advantage-icon {
        width: 100px;
        height: 100px;
        font-size: 1rem;
    }
    
    .info-card .icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .hero-image,
    .form-image {
        background-size: cover;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        padding: 60px 0 30px;
        min-height: auto;
    }
    
    .hero-image {
    }

    
    .form-image {
    }
}

/* Print styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .hero,
    .advantages,
    .process,
    .form-section,
    .info-section {
        padding: 20px 0;
    }
    
    .hero-image,
    .form-image {
        display: none;
    }
    
    footer {
        background: none !important;
    }
    
    .social-links {
        display: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --primary-hover: #000060;
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #000000;
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.5);
    }
    
    .cta-button,
    .cta-button_,
    .cta-button2 {
        border: 2px solid currentColor;
    }
}



/* Enhanced Header Styles - Responsive */
header {
    padding: var(--gap-medium) 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: var(--z-header);
    transition: all var(--transition-normal);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    width: 7%;
    min-width: 60px;
    max-width: 120px;
    display: flex;
    align-items: start;
    flex-shrink: 0;
    z-index: 1001;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--gap-large);
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-regular);
    text-decoration: none;
    color: var(--text-secondary);
    transition: color var(--transition-normal);
    border-left: 1px solid var(--text-secondary);
    padding-left: 10px;
    margin-left: 10px;
    white-space: nowrap;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.no-right-border {
    border-right: none !important;
    margin-right: 0 !important;
}

/* Language Switch */
.language-switch {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.switch-input {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch-input input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e6e6e6;
    border-radius: 30px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    font-weight: bold;
    font-size: 12px;
    color: #d2691e;
    width: 60px;
    height: 30px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    background-color: #d2691e;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 3;
    width: 30px;
    height: 30px;
}

input:checked + .switch-slider {
    background-color: #d2691e;
    color: white;
}

input:checked + .switch-slider:before {
    background-color: white;
    transform: translateX(30px);
}

.switch-slider .lang-text {
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.switch-slider .lang-left,
.switch-slider .lang-right {
    color: #d2691e;
    font-size: 12px;
}

input:checked + .switch-slider .lang-left,
input:checked + .switch-slider .lang-right {
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
    left: 40%;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}



.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(0, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0, -8px);
}


/* CTA Button Styles */
.cta-button_ {
    border: var(--primary-color) 1px solid !important;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    cursor: pointer;
    color: var(--primary-color) !important;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.cta-button_:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: var(--bg-white) !important;
}

/* RESPONSIVE BREAKPOINTS */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .logo {
        width: 6%;
          position: absolute;
    transform: translateX(-50%);
    }
    
    .nav-links {
        gap: 2.5rem;
    }
    
    .nav-links a {
        font-size: 17px;
    }
    
    .cta-button_ {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* Medium Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .logo {
        width: 8%;
        min-width: 80px;
          position: absolute;
    transform: translateX(-50%);
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 15px;
        padding-right: 8px;
        margin-right: 8px;
    }
    
    .language-switch {
        margin: 0 15px;
    }
    
    .cta-button_ {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Small Desktop/Large Tablet (768px to 991px) */
@media (max-width: 991px) and (min-width: 769px) {
    .logo {
        width: 10%;
        min-width: 70px;
          position: absolute;
    transform: translateX(-50%);
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 14px;
        padding-right: 6px;
        margin-right: 6px;
    }
    
    .language-switch {
        margin: 0 10px;
    }
    
    .switch-input {
        width: 50px;
        height: 25px;
    }
    
    .switch-slider {
        width: 50px;
        height: 25px;
        font-size: 10px;
        padding: 0 6px;
    }
    
    .switch-slider:before {
        width: 25px;
        height: 25px;
    }
    
    input:checked + .switch-slider:before {
        transform: translateX(25px);
    }
    
    .cta-button_ {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    .logo {
        width: auto;
        min-width: 30px;
        max-width: 50px;
          position: absolute;
    transform: translateX(-550%);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
/*     
    .nav-content {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    } */


    
    
    .nav-content.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        width: 100%;
        padding: 2rem 0;
    }
    
    .nav-links li {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 18px;
        border-right: none;
        padding: 15px 30px;
        margin: 0;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .language-switch {
        margin: 2rem 0;
        order: -1;
    }
    
    .cta-button_ {
        padding: 15px 30px;
        font-size: 16px;
        margin-top: 1rem;
        border: none !important;
        background: var(--primary-color);
        color: var(--bg-white) !important;
    }
    
    .cta-button_:hover {
        background: var(--primary-hover);
    }
    
    /* Hide nav content by default on mobile */
    .nav-content:not(.active) {
        display: none;
    }
    
    .nav-content.active {
        display: flex;
    }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
    header {
        padding: 12px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo {
         max-width: 50px;
        min-width: 30px;
        position: absolute;
        transform: translateX(-410%);
    }
    
    .nav-links {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 16px;
        padding: 12px 25px;
    }
    
    .switch-input {
        width: 45px;
        height: 22px;
    }
    
    .switch-slider {
        width: 45px;
        height: 22px;
        font-size: 9px;
        padding: 0 5px;
    }
    
    .switch-slider:before {
        width: 22px;
        height: 22px;
    }
    
    input:checked + .switch-slider:before {
        transform: translateX(23px);
    }
    
    .cta-button_ {
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    header {
        padding: 10px 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .logo {
               max-width: 40px;
        min-width: 30px;
        position: absolute;
        transform: translateX(-430%);
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
        margin: 2px 0;
    }
    
    .nav-links {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .nav-links a {
        font-size: 15px;
        padding: 10px 20px;
    }
    
    .switch-input {
        width: 40px;
        height: 20px;
    }
    
    .switch-slider {
        width: 40px;
        height: 20px;
        font-size: 8px;
        padding: 0 4px;
    }
    
    .switch-slider:before {
        width: 20px;
        height: 20px;
    }
    
    input:checked + .switch-slider:before {
        transform: translateX(20px);
    }
    
    .cta-button_ {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .logo {
        
        max-width: 20px;
        min-width: 40px;
        position: absolute;
        transform: translateX(-330%)
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .cta-button_ {
        padding: 8px 16px;
        font-size: 13px;
    }
    .footer-container{
        width: 50%;
        padding: 20px 0;
    }
}
/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-content {
        padding: 1rem 0;
    }
    
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        max-width: 90%;
    }
    
    .nav-links li {
        width: auto;
    }
    
    .nav-links a {
        padding: 8px 15px;
        font-size: 14px;
        border-right: 1px solid var(--border-color);
        border-bottom: none;
    }
    
    .nav-links a:last-child {
        border-right: none;
    }
    
    .language-switch {
        margin: 1rem 0;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .nav-content,
    .mobile-menu-toggle span,
    .switch-slider,
    .switch-slider:before {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .nav-links a {
        border-right-color: var(--text-primary);
    }
    
    .mobile-menu-toggle span {
        background-color: var(--text-primary);
    }
}















