


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    -webkit-box-sizing: border-box;

}

html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;

}
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}
 .privacy-policy-section {
            display: none;
        }
        
        .active-section {
            display: block;
        }
        
        .hidden-section {
            display: none;
        }
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}
.home-section {
    width: 100%;
}
/* Navigation Styles */

header {
    width: 90%;
    padding: 1.5rem 2rem;
    background-color: #fff;
    color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 2rem;
    left: 50%;
    border-radius: 50px;
    z-index: 1000;
    
    /* Safari-specific fixes for your design */
    -webkit-transform: translateX(-50%) translateZ(0);
    transform: translateX(-50%) translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    
    /* Handle iPhone safe areas while keeping rounded design */
    margin-top: env(safe-area-inset-top);
    
    /* Ensure proper rendering on Safari */
    will-change: transform;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    height: 40px;
    cursor: pointer;
}
.logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.logo-mobile{
    display: none;
}
.links {
    display: flex;
    list-style: none;
    gap: 12px;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.links .letter {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

.links .letter:hover {
    opacity: 1;
    background-color: #77777756;
    border-radius: 5px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons .login {
    position: relative;
    background-color: rgb(239, 240, 236);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    color: rgb(30, 35, 48);
    font-weight: 500;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: background-color 0.3s ease;
}

.auth-buttons .signup {
    background-color: rgb(30, 35, 48);
    color: #fff;
    border-radius: 40px;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.menu-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    display: none;
  }
  
  .menu-toggle .bar,
  .menu-toggle .close {
    position: absolute;
    top: 8px;
    left: 15px;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: opacity 0.3s ease;
  }
  .menu-toggle .close{
    background-color: #d2e823;
    border-radius: 50%;
    top: 0;
    left: 0;
  }
  .bar {
    display: flex; 
    cursor: pointer;
  }
  
  .menu-toggle .close,.menu-toggle .bar {
    display: none;
  }
    

/* Mobile Navigation */
.link-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.link-mobile li {
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #eee;
}
.link-mobile li a{
    display: block;
    text-decoration: none;
    color:#1e2330 ;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    padding: 1rem;
}
.link-mobile li:active{
    background-color:#4444443b ;
}

.link-mobile li:last-child {
    border-bottom: none;
}

/* Section Styles */
.section-1 {
    background-color: #214B2A;
    width: 100%;
    padding-top: 4rem;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6rem 0 3rem;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}


.hero h1 ,.sec-7 h1{
    font-size: 88px;
    font-size: clamp(32px, 8.5vmin, 88px);
    font-weight: 820;
    letter-spacing: -0.02em;
    line-height: 1.05;
    /* color: #1e2330; */
    margin-bottom: 1.5rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.section-1 .hero h1 {
    color: rgb(210, 232, 35);
}
.section-1 .hero p {
    color: rgb(210, 232, 35);
}

.sec-sliderText {
    width: 60%;
    margin: auto;
    color: #777;
    font-weight: 600; 
    padding: 2rem 0;
}
.slider-text {
       font-size: clamp(32px, 8.5vmin, 88px);
    font-weight: 820;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: #1e2330 !important; 
}
.hero p {
    font-size: clamp(16px, 6vmin, 20px);
    font-weight: 418;
    letter-spacing: -0.02em;
    line-height: 1.5;
    /* color: rgb(80, 34, 116); */
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    /* width: 100%; */
    height: auto;
    transition: 0.3s;
}
.sec-11 .hero-image img ,.sec-22 .hero-image img,.sec-33 .hero-image img{
    width: 100%;
    height: auto;
    transition: 0.3s;
}
.pro .hero-image img {
    width: 100%;
}
.input-group {
  display: flex;
  gap: 1rem;
  font-weight: 600;
  justify-content: center;
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: none;
  border-radius: 8px;
  padding: 1rem;
  background-color: #f5f5f5;
}

.static-prefix {
  color: #888;
  /* font-size: 1rem; */
  white-space: nowrap;
  /* width: 70px; */
  display: flex;
  gap: 2px;
}

.input-wrapper input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  /* padding-left: 0.2rem; */
  min-width: 150px;
}
.input-group button, .btn-sec button {
    padding: 1rem 2rem;
    background-color: rgb(233, 192, 233);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    font-weight: 600;
    color: #000;
}
input,
button {
  -webkit-appearance: none; 
  -webkit-font-smoothing: antialiased;
}

/* Section Specific Styles */
.section-2 {
    background-color: rgb(233, 192, 233);
    width: 100%;
}
.section-2 .hero-text h1 {
        color: rgb(80, 34, 116) !important;
        font-size: clamp(32px, 5vmin, 88px);
    }
    .section-2 .hero-text p {
        color: rgb(80, 34, 116);
        font-size: clamp(20px, 2vmin, 88px);
    }
    .section-2 .input-group button {
        background-color: rgb(80, 34, 116);
        color: #fff;
    }
    .section-2 button{
         padding: 1rem 2rem;
        background-color: rgb(80, 34, 116);
        border: none;
        border-radius: 30px;
        cursor: pointer;
        font-size: 1rem;
        white-space: nowrap;
        font-weight: 600;
        color: #fff;
    }
    
    .section-2 ul li{
        font-weight: 600;
        font-size: 13px;
    }

 

.section-3 {
    background-color: #9b0421;
    width: 100%;
}
.section-3 .hero-text h1 {
        color: rgb(233, 192, 233);
        font-size: 88px;
        font-size: clamp(32px, 5vmin, 88px);
    }
    .section-3 .hero-text p {
        color: rgb(233, 192, 233);
        font-size: 88px;
        font-size: clamp(20px, 2vmin, 88px);
    }
    .section-3 .input-group button {
        background-color: rgb(233, 192, 233);
        color: #000;
    }

.section-4,.section-5, .section-6{
    background-color: rgb(243 243 241);
}
.section-1 img, .section-4 img,.section-5 img, .section-2 img{
    border-radius: 0;
}

    .section-4 .input-group button {
        background-color: rgb(233, 192, 233);
        color: #000;
    }
    .section-4 .hero h1 {
        color: #1e2330;
    }
    .section-4 .hero p {
        color: #1e2330;
    }


.section-5 .hero {
    flex-wrap: wrap;
}

.section-5 .part-1,
.section-5 .part-2,
.section-5 .info {
    overflow: hidden;
    flex: 1;
    min-width: 300px;
    padding: 1rem;
    border-radius: 32px;
    margin-bottom: 1rem;
}

.section-5 .part-1 {
    background-color: rgb(233, 192, 233);
}

.section-5 .part-2 {
    background-color: rgb(210, 232, 35);
}

.section-5 .info {
    background-color: rgb(120, 0, 22);
}
/* *style section-6 */

       
.slider-container {
    width: 100%;
    position: relative;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 500px;
}

.slider-container .header {
    text-align: center;
    padding-bottom: 40px;
}

.slider-container .header h1 {
    font-size: 2.5rem;
    color: #1e2330;
    margin-bottom: 10px;
    font-weight: 820 !important;
}

.slider-container .header h2 {
    font-size: 2rem;
    color: #2665d6;
}

/* Swiper Container */
.swiper {
    width: 100%;
    height: 300px;
    padding: 50px 20px;
    overflow: visible;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.swiper-slide {
    width: 300px;
    height: 300px;
    perspective: 1000px;
    cursor: grab;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide:active {
    cursor: grabbing;
}

/* Card Styles */
.card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    border-radius: 50%;
}

.swiper-slide:hover .card {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 320px;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-front {
    padding: 4px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    position: relative;
    overflow: hidden;
}

.card-front img {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 50%;
    object-fit: cover;
    margin: 4px;
    display: block;
}

.card-front span {
    position: absolute;
    bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.swiper-slide:hover .card-front span {
    opacity: 1;
    transform: translateY(0);
}

.card-back {
    background: linear-gradient(145deg, #2c3e50, #4a69bd);
    transform: rotateY(180deg);
    color: white;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.card-back h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffd700;
}

.card-back p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.4;
}

.card-back a {
    padding: 10px 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-back a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

.card-back a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Default Image Styles */
.has-default-image .card-front img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 50%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Touch Device Adjustments */
@media (hover: none) and (pointer: coarse) {
    .swiper-slide:hover .card {
        transform: none;
    }
    
    .card-front span {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slider-container .header h1 {
        font-size: 1.8rem;
    }

    .slider-container .header h2 {
        font-size: 1.5rem;
    }

    .swiper-slide {
        width: 270px;
        height: 270px;
    }

    .card-front span {
        opacity: 1;
        transform: translateY(0);
        font-size: 11px;
        padding: 6px 12px;
    }
    .card-front span{
        display: flex;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        width: 250px;
        height: 250px;
    }
    
    .slider-container {
        padding: 20px 0;
    }
}

/* Loading Animation */
.swiper-slide img {
    transition: opacity 0.3s ease;
}

.swiper-slide img[src=""] {
    opacity: 0;
}

/* Custom Scrollbar for Desktop */
.swiper::-webkit-scrollbar {
    display: none;
}
        /* *style section-6 */

/* *style section-7 */
         .section-7, .section-9 {
            background-color: #f3f3f1;
            padding: 1rem 0 2rem;  
            .test {
                font-size: 20px;
            }
        }
        .section-9 main, .section-7 main {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .box {
            background-color: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .img {
            display: flex;
            justify-content: flex-start;
            margin-bottom: 20px;
        }

       .section-7 .box .img img {
            width: 64px;
            height: 64px;
            /* background-color: #f3daf7; */
            padding: 12px;
            border-radius: 50%;
        }

        h3 {
            color: #222;
            font-size: 18px;
            margin: 12px;
            font-weight: 600;
        }

        .section-7 p, .section-9 p {
            color: #222;
            font-weight: 600;
            font-size: 13px;
            line-height: 1.5;
        }
        .btn-sec-7 {
            margin: 5rem 4.5rem;
            border-radius: 120px;
            height: clamp(100px, 20vh, 400px); 
            width: clamp(300px, 78.57vw, 1200px);
            max-width: 1100px;
            background-color: #e9c0e9;
            border: none;
            outline: none;
            cursor: pointer;
            color: #502274;
            font-weight: 600;
            transition: 0.3s;
            -webkit-appearance: none;
            -webkit-font-smoothing: antialiased;
        }
        
          
        .btn-sec-7:hover {
            box-shadow: 4px 8px 10px rgba(0, 0, 0, 0.1);
            background-color: #cf9fcf;
        }
        
        .sec-7-text {
            width: 60%;
            margin: auto;
            text-align: center;
        }
        .sec-7 h1 ,.unlock {
            color: #1e2330;
        }
        .unlock {
            text-align: center;
            font-size: 30px;
            font-weight: bolder;
            width: 50%;
            margin:  3rem auto;
        }
        .btn-sec {
            margin: 2rem 0;
        }
        .btn-sec button {
            font-size: 14px;
        }
        .group-img {
            display: flex;
            gap: 2rem;
            width: 100%;
        }
        .group-img div {
            width: 25%;
        }
        .group-img div img {
                z-index: 1;
    object-fit: contain;
    border-radius: 0;
    width: 100%;
    min-width: 100%;
    max-width: none;
    display: block;
        }
        

 /* *style section-7 */
 /* *style section-8 */
 .section-8 {
  background-color: #d2e823; /* لون الخلفية الأصفر الليموني */
  padding: 60px 20px;
  text-align: center;

.test{
    box-sizing: border-box;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* أنماط العنوان والزر */
 h2 {
      font-size: clamp(32px, 8.5vmin, 88px);
    font-weight: 820;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #1e2330 !important;
    width: 55%;
    margin:0 auto 1.5rem;
}

button {
  background-color: #222;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 50px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #333;
}

/* أنماط الشبكة الرئيسية */
main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* أنماط الصناديق */
.box {
  background-color: white;
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.box:hover {
  transform: translateY(-5px);
}
/* أنماط الصور المستديرة */
.img {
  display: flex;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
}

.section-7 .img img, .section-9 .img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* أنماط النصوص */
.box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.box p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

/* التجاوب مع الشاشات المختلفة */
@media (max-width: 992px) {
  main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 28px;
  }
  
  main {
    grid-template-columns: 1fr;
  }
  
  .box {
    padding: 25px;
  }
}
 }
 /* *style section-8 */
 /* *style section-9 */
 .section-9 {
  padding: 3rem 0;
    .test{
        box-sizing: border-box;
    }

    .txt-sec-9 {
        width: 55%;
       margin:auto;
       text-align: center;
    }
     h2 {
      font-size: clamp(25px, 4.5vmin, 88px);
    font-weight: 820;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #502274 !important;
    /* width: 55%; */
    margin:0 auto 1.5rem;
    text-align: center;
}
.txt-sec-9 p{
    color: #502274;
    text-align: center;
    font-size: 12px;
}
button {
  background-color: #502274;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin: 2rem 0;
  transition: background-color 0.3s;
 
}
 }
 /* *style section-9 */
 /* *style section-10 */

   .section-10 {
    margin: 5rem 0;
}

.section-10 .main {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.section-10 .main div {
    display: none;
    flex-direction: column;
    color: #000;
    width: 100%;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
}

.section-10 .main div.active {
    display: flex;
}

.section-10 .main div img {
    margin: auto auto 64px;
    max-width: min(90%, 700px);
    height: auto;
    border-radius: 3000px;
}

.section-10 .main div h2 {
    font-size: clamp(32px, 7vmin, 88px);
    font-weight: 820;
    margin-bottom: 1rem;
    text-align: center;
}

.section-10 .main div p {
    margin: 0;
    text-align: center;
    color: #5e5a5a;
    font-size: 14px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.controls button{
    padding: 0.5rem;
    font-size: larger;
    color: rgb(30, 35, 48);
}
 /* *style section-10 */

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
        width: 100% ;
    }
    
    header {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .links{
        gap: 0;
    }
    .links .letter{
        font-size: 11px;
    }
    .auth-buttons .login, .auth-buttons .signup{
        font-size: 9px;
    }
    .hero {
        padding: 12rem 0 3rem;
    }
    .hero-text {
        max-width: 100%;
    }
    .footer-column .footer-contact {
        gap: 1rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    header {
        padding: 1rem;
        width: 85%;
        top: 1rem;
    }
    
    .links {
        display: none;
    }
    .menu-toggle{
        display: block;
    }
    .menu-toggle .bar {
        display: block;
        font-size: 1.3rem;
        width: fit-content;
        height: fit-content;
    }
    
    .hero {
        flex-direction: column;
        padding: 4rem 0 2rem;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .input-group {
        justify-content: center;
    }
    .btn-sec-7{
        margin: 4rem 4rem;
    }
    .sec-7-text{
        width: 83%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
        font-size: clamp(28px, 7vmin, 32px);
    }
    
    .hero p {
        font-size: 16px;
        font-size: clamp(14px, 4vmin, 16px);
    }
   .container {
        /* display: flex;
        flex-grow: 1; */
        width: 100%;
    }
     header {
        padding: 1rem;
        width: 98%;
        top: 1rem;
    }
    .auth-buttons .signup , .auth-buttons .login{
        padding: 0.8rem 1rem;
        font-size: 12px;
    }
    .input-group {
        flex-direction: column;
    }
    
   
    .section-5 .hero,.section-4 .hero {
        padding: 3rem 0 2rem;
    }
    .section-5 .hero{
         padding: 4rem 0 2rem;
    }
    .section-5 .part-1,
    .section-5 .part-2,
    .section-5 .info {
        min-width: 100%;
    }
    .section-5 .part-1 img,
    .section-5 .part-2 img,
    .section-5 .info img{
       width: 300px;
    } 
    /* start upD 22-4 */

    .logo {
        height: 25px;
        display: none;
    }
    .logo-mobile{
        display: block;
        height: 50px;
    }
    .logo-mobile img{
        height: 100%;
        object-fit: contain;
    }

    .hero-image img{
        max-width: 100%;
    }
    .btn-sec-7{
        margin: 3rem 2rem;
    }
     /* end upD 22-4 */

}

/* start style Footer */

/* ===== تنسيق الـ Footer ===== */
.footer {
    position: relative;
    background-color: #502274;
    width: 100%;
    height: fit-content;
}

.footer .svgImg svg {
  width: 125%;
  height: 40%;
  transform: perspective(46vw) rotateZ(20deg) rotateY(1deg);
}

.footer .svgImg .flower, .footer .svgImg .human{
    position: absolute;
}
.footer .svgImg .flower{
    right: -29px;
    top: 400px;
}
.footer .svgImg .human{
    left: 85px;
    top: 25px;
    
}
.text-footer {
    position: relative;
    z-index: 10;
    margin: 4rem auto;
}
.text-footer h2{
    font-size: clamp(24px, 5vw, 50px);
    width: 60%;
    text-align: center;
    margin: 3rem auto;
    font-weight: bolder;
    color: rgb(233 192 233);
}
.text-footer button {
    background-color: #d2e823;
}
  .footer .container {
    max-width: 1100px;
    height: 36%;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 40px ;
    font-family: Arial, sans-serif;
    position: relative;
    border-radius: 40px;
    z-index: 10;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}
.footer-column ul {
    margin-left: 20px;
}
.footer-column .footer-contact {
    display: flex;
    gap: 5rem;
    align-items: end;
    justify-content: space-between;
}
.footer-column .button {
    display: flex;
    gap: 2rem;
    width:fit-content ;
}
.footer-column .button .button-login,.footer-column .button .button-start{
       padding: 1.5rem 2rem;
    background-color: rgb(239 240 236);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    font-weight: 600;
    color: rgb(52, 59, 77);
    width: fit-content;
}
.footer-column .button .button-start {
    background-color: rgb(210 232 35);
    border-radius: 30px;
}
.footer-column h3 {
    font-size: 18px;
    color: rgb(30, 35, 48);
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

/* .footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #3498db;
} */

.footer-column ul {
    list-style: none;
}

/* .footer-column ul li {
    margin-bottom: 10px;
} */

.footer-column ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* .footer-column ul li a:hover {
    color: #3498db;
    text-decoration: none;
} */

/* تنسيق العمود الرابع (وسائل التواصل الاجتماعي) */
.social-media {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.social-media .social-box {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.social-media .apps-box{
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.apple-google {
    background-color: rgb(30 35 48);
    width: 150px;
    
    height: 60px;
    border-radius: 30px;
    fill: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.apple-google svg{
    width: 115px;
}
.social-media a {
    text-decoration: none;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    font-size: 30px;
    border-radius: 50%;
    background-color: rgb(30 35 48);
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgb(49, 57, 77);
    color: white;
    transform: translateY(-3px);
}

.footer-column p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}
.box-Webqweb {
    position: relative;
    top: 57.5rem;
    left: 18rem;
    background-color: rgb(233 192 233);
    width: 60%;
    border-radius: 75px;
    padding: 1rem 0;
}
.box-Webqweb svg {
   width: 100%;
}
.welcome-word {
    /* position: absolute;
    bottom: 50px; */
    text-align: center;
    margin: 2rem auto;
}
.welcome-word .flag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 1.2rem;
}
.welcome-word p {
    width: 80%;
    margin: auto;
    color: #e9c0e9;
}
.welcome-word img{
    border-radius: 0;
}
.footer .copyright {
    color: #fff;
    margin: auto;
    text-align: center;
    margin-top: 40px;
    padding: 1rem;
    width: 100%;
}


@media (max-width: 768px) {
    header {
        width: 95%;
        padding: 1rem 1.5rem;
        top: 1rem;
        /* Ensure proper Safari rendering on mobile */
        -webkit-transform: translateX(-50%) translate3d(0, 0, 0);
        transform: translateX(-50%) translate3d(0, 0, 0);
    }
    .footer-container {
       flex-wrap: wrap;
       justify-content: center;
    }
    .footer-column {
        flex: 0 0 45%; /* عرض العمود 45% ليترك مسافة بين كل عمودين */
        margin-bottom: 20px;
    }
    .footer-column {
        margin-bottom: 20px;
        width: 100%;
    }
    .footer .svgImg svg {
    width: 110%;
}
    .social-media {
        justify-content: center;
    }
     .card-front, .card-back {
        width: 240px !important;
        height: 240px !important;
    }
     .footer .container {
        height: 58%;
        max-width: 740px;
    }
    .text-footer h2{
        margin: 1rem auto;
    }
    .box-Webqweb {
    top: 68rem;
    left: 15rem;
    width: 40%;
}
.footer-column .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.link-mobile {
    top: 87px;
}
}

.footer-column ul li {
    display: block;
    margin-bottom: 7px;
}

@media (max-width: 576px) {
    .footer {
        height:fit-content;
    }
    /* .footer-column h3 {
        text-align: center;
    } */
   
    .text-footer h2{
            margin: 1rem auto;
    }
    .input-wrapper{
        padding: 1.3rem;
        width: 80%;
        margin: auto;
    }
    .text-footer button {
        width: 70%;
        margin: auto;
    }
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer .svgImg svg {
        width: 70%;
    }
    .footer .svgImg .flower{
        right: -180px;
    }
    .footer .svgImg .human {
        left: 0px;
        top: 195px;
    }
    /* .footer-column ul li {
        text-align: center;
    }
     */
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    .link-mobile {
        top: 70px;
    }
    .newsletter-button {
        border-radius: 4px;
        width: 100%;
    }
    .footer-container {
        justify-content: start;
        padding-top: 20px;
     }
    .footer .container {
        height: 64%;
        width: 80%;
        border-radius: 20px;
        padding: 0 0 1px 7px;
        
    }
   
    .footer-column .button {
        flex-direction: column;
    }
    .footer-column .button .button-login{
        padding: 0.8rem 5rem;
    }
    .footer-column .button .button-start{
        padding: 0.8rem 2rem;
    }
    .footer-column .footer-contact{
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .social-media {
        flex-direction: column;
        align-items: center;
    }
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 17px;
    }
    .apple-google {
        width: 120px;
        height: 40px;
    }
    .apple-google svg{
        width: 90px;
        
    }
    .box-Webqweb {
        top: 95rem;
        left: 5rem;
        width: 60%;
        padding: 5px;
    }
    .welcome-word .flag{
        gap: 2rem;
        margin-left:10px ;
        margin-right:10px ;
    }
    .sec-sliderText{
        width: 77%;
    }
}
@supports (-webkit-appearance: none) {
    /* Additional Safari-only fixes */
    header {
        /* Fix potential Safari rendering issues */
        will-change: transform;
    }
    
    .auth-buttons .signup {
        /* Force proper button rendering in Safari */
        -webkit-appearance: none;
        -webkit-border-radius: 25px;
        border: none;
    }
}
/* حل شامل لمشاكل Header في iPhone/Safari */

header {
    width: 90%;
    padding: 1.5rem 2rem;
    background-color: #fff;
    color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 2rem;
    left: 50%;
    border-radius: 50px;
    z-index: 1000;

    /* Safari-specific fixes - محسنة */
    -webkit-transform: translateX(-50%) translateZ(0);
    transform: translateX(-50%) translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    will-change: transform;
    
    /* إضافة دعم Safe Area لـ iPhone */
    padding-top: calc(env(safe-area-inset-top, 0px) + 1.5rem);
    margin-top: env(safe-area-inset-top, 0px);
    
    /* حل مشكلة العرض في Safari */
    min-width: 320px;
    max-width: calc(100vw - 2rem);
}

/* حل خاص بـ Safari على iOS */
@supports (-webkit-touch-callout: none) {
    header {
        /* إزالة التأثيرات المعقدة في Safari iOS */
        border-radius: 25px !important; /* تقليل الـ border-radius */
        width: 85% !important;
        max-width: 90vw !important;
        left: 50% !important;
        -webkit-transform: translateX(-50%) !important;
        transform: translateX(-50%) !important;
        
        /* تحسين الأداء */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* حل خاص بالشاشات الصغيرة (iPhone) */
@media screen and (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
        width: 85%;
        top: 1rem;
        border-radius: 25px;
        
        /* إضافات للـ iPhone */
        -webkit-transform: translateX(-50%) translate3d(0, 0, 0);
        transform: translateX(-50%) translate3d(0, 0, 0);
        
        /* حل مشكلة الـ overflow */
        max-width: calc(100vw - 3rem);
        min-width: 280px;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 0.8rem 1rem;
        width: 90%;
        top: 0.5rem;
        border-radius: 20px;
        
        /* تأكد من الظهور الصحيح */
        max-width: calc(100vw - 2rem);
        min-width: 90%;
        
        /* Safe area للـ iPhone مع النوتش */
        padding-top: calc(env(safe-area-inset-top, 0px) + 0.8rem);
        margin-top: calc(env(safe-area-inset-top, 0px) + 0.5rem);
    }
}

/* حل إضافي للـ Navigation داخل الـ Header */
.nav {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: 100%;
    
    /* تأكد من العرض الصحيح */
    min-width: 0; /* يسمح بالـ flex shrinking */
}

/* تحسين الـ Logo للشاشات الصغيرة */
.logo {
    font-size: 1.5rem;
    height: 40px;
    cursor: pointer;
    flex-shrink: 0; /* منع تقليص الحجم */
}

@media screen and (max-width: 480px) {
    .logo {
        height: 25px;
        display: none;
    }
    
    .logo-mobile {
        display: block;
        height: 35px; /* تقليل الحجم قليلاً */
        flex-shrink: 0;
    }
}

/* تحسين أزرار المصادقة */
.auth-buttons {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* تقليل المسافة في الشاشات الصغيرة */
    flex-shrink: 0;
}

.auth-buttons .login,
.auth-buttons .signup {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    -webkit-font-smoothing: antialiased;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    white-space: nowrap;
}

@media screen and (max-width: 480px) {
    .auth-buttons .signup,
    .auth-buttons .login {
        padding: 0.6rem 0.8rem;
        font-size: 12px;
    }
    
    .auth-buttons {
        gap: 0.3rem;
    }
}

/* حل نهائي لـ Safari WebKit */
@supports (-webkit-appearance: none) {
    header {
        /* تحسينات إضافية لـ Safari */
        will-change: transform;
        -webkit-font-smoothing: antialiased;
        
        /* إصلاح مشكلة الـ clipping */
        overflow: visible;
        
        /* تأكد من الـ stacking context */
        isolation: isolate;
    }
    
    .auth-buttons .signup {
        -webkit-appearance: none;
        -webkit-border-radius: 25px;
        border: none;
        background-clip: padding-box;
    }
    
    .auth-buttons .login {
        -webkit-appearance: none;
        -webkit-border-radius: 8px;
        border: none;
        background-clip: padding-box;
    }
}

/* حل خاص بالـ iPhone X وما بعده (مع النوتش) */
@supports (padding: max(0px)) {
    header {
        padding-top: max(1.5rem, calc(env(safe-area-inset-top) + 1rem));
        margin-top: max(0px, env(safe-area-inset-top));
    }
    
    @media screen and (max-width: 480px) {
        header {
            padding-top: max(0.8rem, calc(env(safe-area-inset-top) + 0.5rem));
            margin-top: max(0.5rem, calc(env(safe-area-inset-top) + 0.5rem));
        }
    }
}

