html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;

}
:root {
    --primary-color: #e4bc9b;
    --secondary-color: #2e3c5c;
}
::selection {
    color: white;
    background: black;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
}
@font-face{
    font-family: "arfonts";
    src: url('../fonts/arfonts-dg-baysan.ttf') format('opentype');
}
    
body {
    font-family: 'arfonts', sans-serif;
    overflow-x: hidden;
}
section{
    scroll-margin-top: 80px;
}

/* main-header */

.main-header {
    color: #fff;
    padding-bottom:24px;
    position: absolute;
    width: 100%;
    z-index: 11;
}

.main-header .container {
    display: flex;
    align-items: center;
    margin: 0 auto;
}


/* Navbar Styles */
.main-header {
    position: fixed;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding-block: 20px;
    border-bottom: 1px solid white;
   transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
    background-color: var(--primary-color); /* ممكن تغيره للون اللي يناسبك */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.logo img {
    width: 160px;
    height: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: end;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

.main-nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}
.main-nav .active {
    color: #a4a3a3;
}

.main-nav .active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;    
    background-color: #eee;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle span{
    width: 100%;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .main-header .container{
        justify-content: space-between;
    }
    .main-nav {
        position: fixed;
        top: 0px;
        left: -100%;
        padding-top: 60px;
        width: 60%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        transition: all 0.4s ease;
        z-index: 1000;
    }
    .main-nav a {
        color: white;
    }
    .main-nav a.active{
        color: black;
    }
    .main-nav.active {
        left: 0;        
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .main-nav li {
        margin: 15px 0;
    }

    .main-nav a {
        font-size: 18px;
    }

    /* Animate toggle icon when active */
    .mobile-menu-toggle.active span{
        width: 100%;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}


/* start hero section  */
.hero{
    padding: 120px 0 45px;
    background-image: url('../assets/heroBackground.webp');
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}
.hero::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}
.hero .content-box h1{
    font-size: 40px;
    color: white;
    margin-bottom: 50px;

}
.hero .content-box h1 span{
    color: var(--primary-color);
}
.form-container {
    background: rgba(222, 184, 135, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.form-group {
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    padding: 5px 15px;
    border: none;
    border-radius: 25px;
    background: white !important;
    font-size: 16px;
    color: #333 !important;
    text-align: right;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: #999 !important;
    font-size: 14px;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.radio-group {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 25px 0;
    align-items: center;
}

.radio-label {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.radio-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-input {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    margin: 0;
}

.radio-input:checked {
    background: white;
}

.radio-input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
}

.question-text {
    color: white;
    text-align: center;
    margin: 5px 0;
    font-size: 16px;
    font-weight: 500;
}

.info-text {
    color: white;
    margin: 15px 0;
    font-size: 14px;
    opacity: 0.9;
}

.dropdown {
    width: 100%;
    padding: 5px 15px;
    border: none;
    border-radius: 25px;
    background: white;
    font-size: 16px;
    color: #666;
    text-align: right;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn {
    display: block;
    padding: 10px 25px;
    background: #000;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .form-container {
        padding: 30px 25px;
    }
    
    .radio-group {
        gap: 20px;
    }
    .hero .content-box h1{
        font-size: 24px;
    }
}


.loading-spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid #fff;
            border-top: 2px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-left: 10px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .error-message {
            color: #dc3545;
            font-size: 0.9rem;
            margin-top: 0.5rem;
            display: none;
        }

/* start features section  */
.features{
    padding-block: 40px;
}
.features .content-box .title{
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 30px;
}
.features .content-box .feature-text{
    text-align: justify;
    max-width: 500px;
}
.features .img-box{
    max-width: 400px;
    margin: auto;
}
@media(max-width:767px){
    .features .img-box{
        max-width: 280px;
    }
}

/* start partners section  */
.partners{
    padding-block: 45px;
}
.partners .logos-container{
    padding: 40px;
    background-color: #000;
    border-radius: 35px;
}
.partners .logos-container .partners-top .partner-logo{
    aspect-ratio: 8/2;
    object-fit: contain;
    filter: brightness(0) invert(1);
    width: 100%;
    height: auto;
}
.partners .logos-container .partners-bottom .partner-logo{
    aspect-ratio: 6/2;
    object-fit: contain;
    filter: brightness(0) invert(1);
    width: 100%;
    margin: auto;
    height: auto;
}
.partners .logos-container .partners-bottom .bw{
    filter: none;
}

/* start alert section  */
.alert-section{
    padding-block: 45px;
    background-color: var(--primary-color);
    position: relative;
    z-index: 1;
}
.alert-section::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('../assets/watermark.webp');
    background-position: center;
    background-size: cover;
    opacity: .1;
    z-index: -1;
}
.alert-section .img-box{
    max-height: 300px;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0px 2px 2px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 35px;
}


/* start steps section  */
.steps{
    padding-block: 50px;
}
.steps .steps-container{
    position: relative;
}
.steps .componants{
    position: absolute;
}
.steps .componants .line{
    position: absolute;
    right: 0;
    width: 30px;
}
.steps .componants .step-icon{
    width: 90px;
    right: -40px;
    position: absolute;

}
.steps .componants .step1-icon{
    top: 30px;
}
.steps .componants .step2-icon{
    top: 150px;
}
.steps .componants .step3-icon{
    top: 280px;
}
.steps .content{
    padding-right: 100px;
    padding-top: 30px;
    max-width: 900px;
}
.steps .content .title{
    color: var(--primary-color);
}
.steps .content .description{
    color: #676766;
    text-align: justify;
}
@media(max-width:595px){
    .steps .componants .step-icon{
        right: -18px;
    }
    .steps .componants .line{
        right: 15px;
    }
    .steps .content{
        padding-right: 80px;
    }
    .steps .content .title{
        font-size: 16px;
    }
    .steps .content .description{
        font-size: 12px;
    }

}
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

.cta {
  background-color: #000;
  color: white;
  width: 400px;
  padding: 15px;
  font-size: 24px;
  font-weight: 500;
  border-radius: 25px;
  display: block;
  position: relative;
  text-decoration: none;
  text-align: center;
  z-index: 1;
  transition: background-color 300ms ease-in-out;
animation: pulse 1.5s ease-in-out infinite;

}

.cta::before {
  position: absolute;
  content: "";
  background-image: url('../assets/watermark.webp');
  width: 120px;
  height: 140px;
  margin: auto;
  top: -10px;
  left: -30px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.1;
  transition: left 300ms ease-in-out, opacity 300ms ease-in-out;
}

.cta:hover {
  background-color: var(--primary-color);
}

.cta:hover::before {
  left: 0;
  opacity: 0.15;
}



/* start valid-people section  */
.valid-people{
    padding-block: 55px;
}
.valid-people .title{
    color: var(--primary-color);
}
.valid-people .content-box{
    padding: 80px 40px 30px;
    border-radius: 30px;
    background-color: #000;
    position: relative;
    z-index: 1;
}
.valid-people .content-box::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('../assets/watermark.webp');
    background-size: cover;
    background-position: center;
    opacity: .1;
    z-index: -1;
}



/* start testimonials section  */
.testimonials-section {
    padding: 40px 0;
    position: relative; /* Added this */
}

.testimonials-section .section-title {
    color: black;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}
.section-title span{
    color: var(--primary-color);
}
.testimonial-card {
    background-color: #e7e8e8;
    border-radius: 50px;
    box-shadow: 2px 10px 15px -3px rgba(0, 0, 0, 0.3);
    padding: 35px 25px;
    margin: 10px;
    min-height: 200px;
    border: 1px solid #e0e0e0;
    display: flex;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.profile-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.box {
    padding-right: 15px;
}

.box span {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.testimonial-content {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    text-align: right;
}

.swiper-pagination-bullet-active {
    background-color: black !important;
}

.swiper-button-next, 
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: black;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next::after, 
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 20px;
        align-items: center;
        text-align: center;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .box {
        padding-right: 0;
    }
    
    .testimonial-content {
        text-align: center;
    }
    
    .swiper-button-next, 
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .swiper-button-next::after, 
    .swiper-button-prev::after {
        font-size: 15px;
    }
}


/* start faq section  */
.faq-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #333;
}

.section-title .highlight {
    color: var(--primary-color);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: #333;
    background: white;
    border: none;
    width: 100%;
    text-align: right;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: #000;
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-right: 15px;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #000;
}

.faq-answer.show {
    padding: 20px 25px;
    max-height: 200px;
    background-color: #000;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: white;
}

.show-more-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: #d81b60;
    transform: translateY(-2px);
}

.show-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.3);
}


@media (max-width: 768px) {
    .section-title {
        font-size: 20px;
    }
    
    .faq-question {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
        font-size: 12px;
    }
    
    .faq-answer.show {
        padding: 15px 20px;
    }
}

.contct-us{
    padding-block: 45px;
}
.contact-us .form-container{
    position: relative;
    z-index: 1;
}
.contact-us .form-container::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/watermark.webp');
    background-size: cover;
    opacity: .1;
    z-index: -1;
}

.footer {
    background: #000;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    position: relative;
    z-index: 1;
}
.footer::before{
    content: "";
    position: absolute;
    width: 600px;
    height: 100%;
    top: 0;
    left: -200px;
    background-image: url('../assets/watermark.webp');
    background-size: cover;
    opacity: .1;
    z-index: -1;
}

.footer-brand .icon img{
    width: 200px;
    margin-bottom: 35px;
}

.footer h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links li {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .contact-form  {
        padding: 30px 20px;
    }
    .footer-brand .icon img{
        width: 150px;
    }
    .footer::before{
        left: -400px;
    }
}