/* Custom width for the modal */

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
/* Mobile responsive form styles */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem auto;
    }
    #divloula{
        margin-top: 20%;
        }	
    .phone-input-container {
        flex-direction: column;
    }
    .phone-input-container select,
    .phone-input-container input {
        width: 100% !important;
        margin: 5px 0 !important;
    }
    .form-group .row {
        margin: 0;
    }
    .form-group .col-md-6 {
        padding: 0;
        margin-bottom: 10px;
    }
}
.animated-blob {
    position: absolute;
    content: '';
    display: block;
    min-height: 200px;
    min-width: 200px;
    width: 50vh;
    height: 50vh;
    background-color: #ffffff;
    box-shadow: var(--shades);
    background-size: 1600% 1600%;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: transform 5s ease-in-out infinite both alternate, movement 4s ease-in-out infinite both;
    margin-left: 65%;
    margin-top: 10%;
}

@keyframes transform {
    0%,
  100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; } 
   14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; } 
   28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; } 
   42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; } 
   56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; } 
   70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; } 
   84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; } 
}

@keyframes movement {
    0%,
  100% { transform: none; }
   50% { transform: translateY(20%) rotateY(10deg); }
}

:root {
  --background: #fff;
  --blob: #fdfbfd;
  --shades: inset 10px 0 40px #f7f8fc,
            inset -10px 0 20px #f7e1ef,
            inset -40px 10px 100px #c3c5ea;
  
  @media (prefers-color-scheme: dark) {
    --background: #0f0c24;
    --blob: #bca5e3;
    --shades: inset 10px 0 40px #a174db,
              inset -10px 0 20px #40245e,
              inset -40px 10px 110px #1b1648;
  }
}
#text_31{
    font-size: 30px;
}
#vid1 {
    margin-left: 15%;
}

#vid2 {
    width: 253px;
    margin-left: -1%;
    z-index: 0;
    margin-right: -15%;
    margin-top: 2%;
}

#text_57 {
    margin-top: -25%;
    margin-left: 67%;
}

#text_56
{margin-top: -25%;
margin-left: 66%;}

#text_54 {
    margin-top: -11%;
    margin-left: 34%;
    width: 103%;
}

#modelcontart{
    margin-left: 57%;}	
#joutnaloff {margin-left: 57%;}	

@media (max-width: 1024px) {
    #divloula{
        margin-top: 11%;
        }	
    .animated-blob{
        position: absolute;
        content: '';
        display: block;
        min-height: 48px;
        min-width: 28px;
        width: 10vh;
        height: 10vh;
        background-color: #ffffff;
        box-shadow: var(--shades);
        background-size: 600% 600%;
        transform-origin: 10% 10%;
        transform-style: preserve-3d;
        perspective: 400px;
        animation: transform 5s ease-in-out infinite both alternate, movement 4s ease-in-out infinite both;
        margin-left: 76%;
        margin-top: 3%;
    }
    .typing-text{
        font-size: 17px;
    }

    #button_azrek{
        margin-left: 10%;
    }

    #text_30 {
        margin-top: -66%;
    }

    #text_35, #text_40, #text_31 {
        font-size: 20px;
    }

    #text_36, #text_37, #text_38, #text_41, #text_45, #text_47, #text_43, #text_32, #text_106 {
        font-size: 15px;
    }

    #mtarka{
        margin-left: 10%;
     }
    #recherchebarre{
        margin-left: 12%;
     }

    #text_48 {
        margin-left: -28%;
        width: 352px;
        font-size: x-large;
    }

    #text_49 {
        margin-left: -28%;
        width: 352px;
        font-size: 15px;
    }

    #vid1 {
        scale: 0.7;
        margin-left: -33%;
    }

    #vid2 {
        margin-left: 20%;
    }

    #text_50 {
        font-size: 15px;
        margin-left: -28%;
    }
    #text_51 {
        font-size: 23px;
        margin-left: 45%;
        width: 354px;
      }
      #text_52 {
        font-size: 22px;
        margin-left: 20%;
        margin-top: 234%;
        width: 305px;
      }
      #text_57{
        font-size: 20px;
        margin-top: -109%;
        margin-left: -1425%;}	

        #text_56
        {
            font-size: 20px;
            margin-top: -52%;
            margin-left: -412%;}

        #text_54{
            font-size: 20px;
            margin-top: -17%;
            margin-left: 23%;
            }
        #text_54Num{
            margin-top: 34%;
            margin-left: -74%;
        }
        #text_56Num{
            margin-top: 164%;
            margin-left: -650%;
        }
        #text_57Num{
            margin-top: 478%;
            margin-left: -1777%;
        }
        #modelcontart{
      margin-left: 0%;}
      #joutnaloff {margin-left: 0%;}		
    }
.modal-dialog {
    max-width: 550px; /* Adjust the width as needed */
}
.animated-blob {
    position: absolute;
    right: 10%;
    top: 10%;
    width: 50vh;
    height: 50vh;
    z-index: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-2 {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 991px) {
    .animated-blob {
        width: 40vh;
        height: 40vh;
    }
}

@media (max-width: 768px) {
    #divloula{
        margin-top: 15%;
        }	
    .animated-blob {
        position: relative;
        width: 20vh;
        height: 20vh;
        margin: 5% auto;
        right: auto;
        top: auto;
    }
}

@media (max-width: 480px) {
    .animated-blob {
        width: 20vh;
        height: 20vh;
        margin-bottom: 0px;
        margin-top: 0px;
    }
}

.ftco-footer {
    padding: 4em 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #fff;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ftco-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0064e4, transparent);
    opacity: 0.3;
}

.ftco-footer .logo a {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-block;
    position: relative;
}

.ftco-footer .logo span {
    display: block;
    font-size: 13px;
    color: #0064e4;
    font-weight: 500;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.footer-header {
    margin-bottom: 3.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-description {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.7;
    margin: 1.5rem 0;
    max-width: 90%;
}

.footer-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-buttons .btn {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.footer-buttons .btn .ion-ios-arrow-forward {
    margin-left: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.footer-buttons .btn:hover .ion-ios-arrow-forward {
    transform: translateX(3px);
}

.footer-buttons .btn-primary {
    background: #0064e4;
    border: none;
    box-shadow: 0 4px 15px rgba(0,100,228,0.2);
}

.footer-buttons .btn-primary:hover {
    background: #0056c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,100,228,0.3);
}

.footer-buttons .btn-light {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff !important;
    backdrop-filter: blur(10px);
}

.footer-buttons .btn-light:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.2);
}

.ftco-footer-widget {
    margin-bottom: 2.5rem;
}

.ftco-footer-widget h2 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 12px;
}

.ftco-footer-widget h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: #0064e4;
    border-radius: 2px;
}

.ftco-footer-widget ul li {
    margin-bottom: 12px;
    list-style: none;
}

.ftco-footer-widget ul li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.ftco-footer-widget ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.ftco-footer-widget .ion-ios-arrow-forward {
    font-size: 12px;
    color: #0064e4;
    margin-right: 10px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.ftco-footer hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin: 2.5rem 0;
}

.copyright {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    letter-spacing: 0.5px;
}

@media (max-width: 767.98px) {
    .ftco-footer {
        padding: 3em 0;
    }

    .footer-header {
        text-align: center;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-buttons {
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: stretch;
    }

    .footer-buttons .btn {
        width: 100%;
    }

    .footer-description {
        text-align: center;
        max-width: 100%;
    }
    
    .ftco-footer-widget {
        text-align: center;
        margin-bottom: 2rem;
    }

    .ftco-footer-widget h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ftco-footer-widget ul li a {
        justify-content: center;
    }

    .ftco-footer-widget ul li a:hover {
        transform: translateX(0) translateY(-2px);
    }
}