:root {
    --primary-color: #75B79F;
    --secondary-color: #2C3E50;
}

.text-main {
    color: var(--primary-color) !important;
}

body {
    margin-top: 140px;
}

html[lang="ar"] body {
    font-family: "Cairo", sans-serif;
}

html[lang="he"] body {
    font-family: "Heebo", serif;
}

.hero-section {
    background-color: #F6F6F6;
    overflow: hidden;
}

.btn-custom-green {
    background: rgb(106, 226, 131) linear-gradient(to right, #6ce381, #52c69b, #6ce381, #52c69b);
    background-size: 400% 100%;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.05);
    color: white;
    padding: 12px 30px;
    font-size: 20px;
    border: 2px solid #6ce381;
    font-weight: 800;
}

.btn-custom-green:hover {
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    font-size: 20px;
    font-weight: 800;
}

.btn-outline-custom:hover {
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.fw-bold {
    font-weight: 800 !important;
}

.bg-light {
    background-color: #F6F6F6 !important;
}

.logo-caption {
    text-align: center;
    color: #5D7F96;
    font-size: 11.2px;
    font-style: normal;
    line-height: 1.5em;
    letter-spacing: 0.3px;
    margin-top: 1px;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1140px;
    }
}

.navbar .auth-button {
    background: rgb(106, 226, 131) linear-gradient(to right, #6ce381, #52c69b, #6ce381, #52c69b);
    background-size: 400% 100%;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.05);
    transition: 1.2s ease background !important;
    padding: 12px 24px;
    font-size: 17px;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 50px 50px 50px 50px;
    text-decoration: none;
    font-weight: 800;
}

.nav-link {
    color: #000000;
    fill: #000000;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 17px;
    font-weight: 400;
}

footer p {
    color: #555;
    font-size: 16px;
}

footer p a {
    color: #555;
    text-decoration: none;
}

footer p a:hover {
    color: #555;
}

.title-border {
    border-right: 8px solid #71D2D7;
    padding-right: 15px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-image {
    max-width: 115px;
    height: auto;
    margin-top: -40px;
}

.bg-light-custom {
    background-color: #f8f9fa;
}

.navbar {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}


.pricing-card {
    border-radius: 15px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    background-image: linear-gradient(150deg, #6DE381 0%, #31D19E 100%);
    color: white;
}

.pricing-card.secondary {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.floating-element {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

#contact {
    background-image: linear-gradient(0deg, #F6F6F6 0%, #f8f9fa 100%);
}

#contact .contact-card {
    background: white;
    padding: 80px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0px 100px 0px 0px;
}

#contact .form-control {
    border: 0;
    border-radius: 0;
    padding: 12px;
    border-bottom: 2px solid #000000;
    margin-bottom: 15px;
}


#contact .btn-submit {
    background: #75B79F;
    color: white;
    font-weight: 800;
    transition: all 0.3s ease;
    font-size: 24px;
    border-style: solid;
    border-width: 0 0 0 0;
    border-radius: 0 0 50px 0;
    padding: 15px 50px 15px 35px;
}

#contact .btn-submit:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

#contact .illustration {
    position: absolute;
    top: -50px;
    left: 50px;
    width: 200px;
}


.screenshots-wrap {
    position: relative;
    margin-bottom: 100px;
}

#screens-1 .screenshots-wrap {
    margin-top: 78px;
}

.slick-slide {
    width: 298px;
}

.slick-item {
    opacity: 0.75;
    -webkit-transition: all 450ms ease-in-out;
    -moz-transition: all 450ms ease-in-out;
    -o-transition: all 450ms ease-in-out;
    -ms-transition: all 450ms ease-in-out;
    transition: all 450ms ease-in-out;
}

.slick-item img {
    max-height: 650px;
    padding-left: 20px;
    margin-top: -10px;
}


.slick-item.slick-current {
    opacity: 1;
}

.iphone-frame {
    position: absolute;
    top: -21px;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.iphone-frame img {
    max-width: 350px;
    max-height: 665px;
    margin: 0 auto;
    display: block;
}

.features-img-bg {
    margin: 50px 50px 50px 0px;
}

@media (max-width: 1024px) {
    body {
        margin-top: 80px;
    }

    .btn-outline-custom,
    .btn-custom-green {
        font-size: 15px;
    }

    .navbar-brand img {
        width: 90px;
    }

    .features-img-bg {
        margin: 0;
        height: 370px;
    }

    #contact .illustration {
        width: 200px;
        top: -80px;
        left: 50%;
        transform: translateX(-50%);
    }
}


.py-container {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}


.btn-primary {

    background: linear-gradient(to right, #6ce381, #52c69b, #6ce381, #52c69b);
    background-size: 400% 100%;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.05);
    transition: background 1.2s ease, box-shadow 0.3s ease;
    padding: 12px 24px;
    font-size: 17px;
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 800;
    border: 2px solid #6ce381;
}

.btn-primary:hover {
    background-position: 100% 0;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #6ce381;
}

.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active {
    background-position: 100% 0;
    box-shadow: 0 0 10px rgba(106, 226, 131, 0.5);
    border: 2px solid #6ce381;
    outline: none;
    border-color: #6ce381 !important;
}

.navbar {
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
}

.navbar-hidden {
    transform: translateY(-100%);
}

/* Floating shapes in designs section */
#designs .position-absolute {
    transition: all 0.3s ease;
    z-index: 10;
}

#designs .position-absolute img {
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
}

#designs .position-absolute.animating {
    pointer-events: none;
    z-index: 1000;
}

#designs .position-absolute:hover img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.btn-outline-secondary {
    border: 2px solid #52c69b;
    color: #52c69b;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 800;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: linear-gradient(to right, #6ce381, #52c69b);
    color: #ffffff;
    border-color: #52c69b;
}

.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background: linear-gradient(to right, #6ce381, #52c69b);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(106, 226, 131, 0.5);
    outline: none;
    border-color: #52c69b;
}


.form-control:not(.form-control) {
    padding: 14px .75rem;
    border: none;
    border-bottom: 3px solid;
    border-color: #52c69b;
    border-radius: 0px;
}

.form-control:not(.form-control):hover {
    border-bottom-color: #6ce381;
}


.form-control:not(.form-control):focus,
.form-control:not(.form-control):active {
    border-bottom-color: #6ce381;
    box-shadow: none;
    outline: none;
}

.nav {
    --bs-nav-link-color: #6ce381;
    --bs-nav-link-hover-color: #6ce381;
}

.nav-pills .nav-link.active {
    color: #ffffff;
    background: linear-gradient(to right, #6ce381, #52c69b);
    background-color: #6ce381 !important;
    box-shadow: 0 0 10px rgba(106, 226, 131, 0.5);
    font-weight: 800;
}


.nav-pills .nav-link {
    border-radius: 50px;
}

.white-space-wrap {
    white-space: pre-wrap;
}

.swiper-slide.swiper-slide-prev img {
    transform: perspective(900px) rotateY(30deg) scale(0.9);
}

.swiper-slide.swiper-slide-next img {
    transform: perspective(900px) rotateY(-30deg) scale(0.9);
}

.swiper-slide img {
    border-radius: 10px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    transition: transform 0.5s ease-in-out;

}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-track {
    background: transparent;
}

/* Improved Why Us Section */
.why-us-section {
    background-color: #F6F6F6;
    padding: 80px 0;
}

/* Feature Card */
.why-us-section .feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    min-height: 160px;
    position: relative;
    overflow: visible;
}

.why-us-section .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(117, 183, 159, 0.25);
}

/* Feature Image (no shadow inside card) */
.why-us-section .feature-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
    box-shadow: none !important;  /* remove shadow */
    transition: all 0.3s ease;
}

.why-us-section .feature-card:hover .feature-image {
    transform: scale(1.05);
    box-shadow: none !important;
}

/* Text */
.why-us-section .feature-text {
    flex: 1;
    padding-right: 15px;
}

.why-us-section .feature-text p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 700;
}

/* Add short description for first 3 cards only */
.feature-card.with-desc .feature-text p::after {
    content: "هذا النص عبارة عن شرح مختصر يوضح الفائدة الرئيسية لهذه الميزة بشكل بسيط وسريع.";
    display: block;
    margin-top: 8px;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

/* Title styling */
.why-us-section .section-title {
    margin-bottom: 20px;
}

.why-us-section .section-subtitle {
    color: #666;
    margin-bottom: 50px;
}

/* Make right column start higher */
@media (min-width: 992px) {
    .why-us-section .col-lg-6:nth-child(3) {
        margin-top: -40px;
    }
}

/* Accent line */
.why-us-section .feature-card::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6ce381 0%, #52c69b 100%);
    border-radius: 0 20px 20px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-us-section .feature-card:hover::before {
    opacity: 1;
}

/* RTL support */
html[dir="rtl"] .why-us-section .feature-card::before {
    right: auto;
    left: 0;
    border-radius: 20px 0 0 20px;
}

html[dir="rtl"] .why-us-section .feature-text {
    padding-left: 15px;
    padding-right: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .why-us-section .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        min-height: auto;
    }
    .why-us-section .feature-image {
        margin-bottom: 20px;
        width: 100px;
        height: 100px;
    }
    .why-us-section .feature-text {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .why-us-section {
        padding: 50px 0;
    }
    .why-us-section .feature-card {
        padding: 25px 15px;
    }
    .why-us-section .feature-image {
        width: 90px;
        height: 90px;
    }
    .why-us-section .feature-text p {
        font-size: 16px;
    }
}
