html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    font-family: "Syne", serif !important;
}

:root{
    --primary-color:#d93749;
    --secondary-color: #050d1d;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #ddd;
    --dark-gray: #505f79;
}

::selection {
    color: white;
    background: black;
}
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
}

.whatsapp-icon {
    position: fixed;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 111;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: bounce 1.5s infinite;
    right: 20px;
    text-decoration: none;
}
.whatsapp-icon i{
    font-size: 30px;
}
/* تأثير التحريك */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* تأثير عند التحويم */
.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    background-color: #25D366;
    color: white;
}

.notification-badge {
    position: absolute;
    top: 0px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: red;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.8);
    animation: pulse 1.5s infinite;
}

/* main-header */

.main-header {
    color: #fff;
    padding-bottom:24px;
    position: absolute;
    width: 100%;
    z-index: 11;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.logo img {
    width: 130px;
    height: auto;
}

.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #b32a38;
    color: #fff;
}
  

/* start hero section  */
.hero{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-items: center;
    background-image: url('../imgs/hero-lg.jpg?v=1.0.2');
    background-position: center top;
    background-size: cover;
    position: relative;
    z-index: 1;
}
@media(max-width:768px){
    .hero{
        background-image: url('../imgs/mobile-hero.jpg?v=1.0.2');
    }
}
.hero::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}
.hero .content-box .hero-title{
    font-size: 60px;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
    color: white;
}
.hero .content-box .hero-title .highlight{
    color: var(--primary-color);
}
.hero .content-box .hero-subtitle{
    color: #eee;
    font-size: 20px;
}
.cta {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    text-decoration: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
.cta:hover {
    background-color: #b32a38; 
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }
  .rating-box ul li {
    display: inline-block;
    vertical-align: middle;
    margin-right: -15px;
}
  .rating-box ul li:last-child{
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}
.rating-box ul li img{
    border-radius: 50%;
    width: 55px;
    height: auto;
}
@media(max-width:767px){
    .hero .content-box .hero-title{
        font-size: 32px;
    }
    .hero .content-box .hero-subtitle,
    .hero .content-box .hero-cta {
        font-size: 14px;
    }
    .cta-button{
        display: none;
    }
}

/* start features section  */
.features{
    padding-block: 45px;
}
.section-wrap-title {
    margin-bottom: 80px;
    text-align: center;
}
.section-wrap-title .sub {
    font-size: 14px;
    letter-spacing: 1.4px;
    font-weight: 500;
    color: var(--primary-color);
    display: block;
    margin-bottom: 12px;
}
.section-wrap-title h2 {
    font-size: 45px;
    margin-bottom: 0;
    line-height: 1.4;
}
.section-wrap-title p {
    font-size: 20px;
    line-height: 1.4;
}
.features .feature-box{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.features .feature-box .icon-box i{
    background: linear-gradient(135deg, #d93749, #b82e3e, #a02836, #7a1f2c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 40px;
}
.features .feature-box .title{
    font-weight:700;
    margin-bottom: 15px;
}
.features .feature-box .discription{
    color: #313131 ;
}
@media(max-width:767px){
    .section-wrap-title h2{
        font-size: 28px;
    }
    .section-wrap-title p{
        font-size: 18px;
    }
}

.oip-about-area {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-block: 80px;
}
.oip-about-area::before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    background: #F5E8DF;
    max-width: 1490px;
    margin: auto;
    z-index: -1;
}
.oip-about-content .top .inner-content .sub {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.4px;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.oip-about-content .top .inner-content h2 {
    font-size: 45px;
    margin-bottom: 20px;
}
.online-investment-platform-home p {
    font-family: "Inter", serif;
    font-size: 16px;
    color: #8886B0;
    line-height: 1.8;
    font-weight: 400;
}
.oip-about-image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    border-radius: 10px;
}
.oip-about-content .top .inner-image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    border-radius: 10px;
}
.oip-about-content .fun-items {
    display: flex
;
    justify-content: space-between;
    border-top: 1px solid rgba(6, 16, 41, 0.1);
    margin-top: 50px;
    padding-top: 30px;
    padding-left: 50px;
}
.oip-about-content .fun-items .item {
    margin-right: 25px;
}
.oip-about-content .fun-items .item h3 {
    display: flex
;
    align-items: center;
    font-size: 45px;
    font-weight: 800;
    color: #DD5C00;
    margin-bottom: 10px;
}
.oip-about-content .fun-items .item h5 {
    font-size: 20px;
    margin-bottom: 10px;
}
.oip-about-content .fun-items .item p {
    margin-bottom: 0;
    font-size: 14px;
    color: #061029;
}


@media only screen and (max-width: 767px) {
    .oip-about-image {
        height: 450px;
    }
}

@media only screen and (max-width: 767px) {
    .oip-about-content .top .inner-image {
        height: 350px;
    }
}

@media only screen and (max-width: 767px) {
    .oip-about-content .top .inner-content h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .oip-about-content .fun-items {
        padding-left: 0;
        display: block;
        margin-top: 30px;
    }
}


/* start testimonials section  */
.testimonials-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

.testimonial-slider {
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 0 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
    height: 100% !important;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 180px;
    color: rgba(217, 55, 73, 0.05);
    z-index: -1;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.client-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1.2rem;
    border: 3px solid var(--primary-color);
}

.client-details h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.client-details p {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.testimonial-text {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

/* Owl Carousel Navigation */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 2;
}

.owl-prev, .owl-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white !important;
    color: var(--secondary-color) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
}

.owl-prev:hover, .owl-next:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}
.owl-item{
    height: 100% !important;
}
/* Owl Carousel Dots */
.owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.7rem;
}

.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--medium-gray) !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background-color: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .testimonial-card {
        padding: 1.8rem;
    }
    
    .client-avatar {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .owl-prev, .owl-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 2rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .client-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}


/* start contact section  */
/* start contact section  */

.contact-section {
    background: #f5e7e0;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    padding-block: 45px;
}
.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact-image {
    width: 80%;
    margin: auto;
    border-radius: 12px;
    overflow: auto;
}
.contact-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-form h4 {
    margin: 0;
    color: #555;
    font-size: 14px;
}
.contact-form h2 {
    margin: 10px 0;
    font-size: 24px;
    color: #222;
}
.contact-form form {
    display: flex;
    flex-direction: column;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
[dir="rtl"] .contact-form input,
.contact-form textarea,
.contact-form::placeholder{
    text-align: right;
}
.name-fields {
    display: flex;
    gap: 10px;
}
.name-fields input {
    width: 50%;
}
.contact-form button {
    margin-top: 10px;
    padding: 10px;
    background-color: var(--primary-color);
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 300ms ease-in-out;
    border-radius: 5px;
    color: white;
}
.contact-form button:hover {
    background-color:#a02836;
    
}



/* start footer  */
footer {
    background: linear-gradient(-135deg, #d93749 0%, #050d1d 50%, #050d1d 100%);

    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}
footer a {
    color: #a8c7e8;
    text-decoration: none;
    transition: color 0.3s;
}
footer a:hover {
    color: #fff;
}
.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
}
.social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    display: none;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 111;
}
.back-to-top:hover {
    background-color: #a02836;
}
@media (max-width: 576px) {
    .footer-heading {
        font-size: 1rem;
    }
    .social-icons a {
        font-size: 1.2rem;
    }
}

.marquee-container1 {
    overflow: hidden;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    background: #0a0e1a;
    white-space: nowrap;
    position: relative;
    margin-bottom: 30px;
    transform: rotate(1.5deg);

}
.marquee-container2 {
    overflow: hidden;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    white-space: nowrap;
    position: relative;
    transform: rotate(-1.5deg);
}

.marquee-content1 {
    display: inline-block;
    animation: marquee-left 15s linear infinite;
    white-space: nowrap;
    color: white;
    font-size: 60px;
}
.marquee-content2 {
    display: inline-block;
    animation: marquee-right 15s linear infinite;
    white-space: nowrap;
    color: white;
    font-size: 80px;
    color: #0a0e1a;

}
@media(max-width:929px){
    
.marquee-content1 ,
.marquee-content2{
    font-size: 40px;
}
.marquee-container2,
.marquee-container1{
    height: 80px;
}
}

@keyframes marquee-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-34%);
    }
}
@keyframes marquee-right {
    from {
        transform: translateX(-34%);
    }
    to {
        transform: translateX(0);
    }
}
