* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #F0F5F9;
    overflow-x: hidden;
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="ltr"] body {
    direction: ltr;
}

:root {
    --main-color: #0071BC;
    --accent-red: #E31E24;
    --dark-bg: #1E2A3A;
    --gray-light: #F8FAFE;
    --gray-text: #475569;
}

/* Hero section background */
.hero {
    width: 100%;
    background: linear-gradient(135deg, #F0F5F9 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

/* ========== Language toggle button ========== */
.btn-lang-toggle {
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0F172A;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: 0.2s ease;
}

.btn-lang-toggle:hover {
    transform: translateY(-1px);
    background: rgba(0, 113, 188, 0.1);
    border-color: rgba(0, 113, 188, 0.25);
    color: var(--main-color);
}

/* ========== Animated background (subtle) ========== */
body::before {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: -2;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 113, 188, 0.15), transparent 45%),
        radial-gradient(circle at 90% 35%, rgba(227, 30, 36, 0.12), transparent 42%),
        radial-gradient(circle at 35% 90%, rgba(34, 197, 94, 0.10), transparent 45%),
        linear-gradient(135deg, #F0F5F9 0%, #FFFFFF 100%);
    filter: blur(0px);
    transform: translate3d(0, 0, 0);
    animation: bgFloat 18s ease-in-out infinite alternate;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.35;
    mask-image: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 1), transparent 70%);
}

@keyframes bgFloat {
    0% {
        transform: translate3d(-1.5%, -1%, 0) scale(1.02);
    }

    50% {
        transform: translate3d(1.2%, -0.4%, 0) scale(1.03);
    }

    100% {
        transform: translate3d(0.2%, 1.1%, 0) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none;
    }
}

/* ========== Scroll reveal animations (opt-in via .reveal) ========== */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header / Navbar styling */
.navbar {
    padding: 1rem 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.navbar-brand img {
    max-height: 48px;
    width: auto;
}

/* Logo sizing (responsive) */
.site-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-text) !important;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--main-color) !important;
    background-color: rgba(0, 113, 188, 0.05);
    border-radius: 30px;
}

.btn-start-now {
    background-color: var(--main-color);
    border-radius: 50px;
    padding: 8px 28px;
    font-weight: 700;
    font-size: 1rem;
    color: white !important;
    border: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Make Start-now arrow clear in Arabic (RTL) */
html[dir="rtl"] .btn-start-now {
    flex-direction: row-reverse; /* arrow on the right */
}

html[dir="rtl"] .btn-start-now .fa-arrow-left {
    transform: scaleX(-1); /* point to the right in RTL */
}

.btn-start-now:hover {
    background-color: #0a5a92;
    transform: scale(1.02);
}

/* Slider / Hero content */
.slider {
    padding: 60px 0 80px 0;
}

.content-version {
    background-color: #FEF2F2;
    color: var(--accent-red) !important;
    border: none;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.content-version i {
    font-size: 1rem;
    color: var(--accent-red);
}

.title {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 20px 0 20px;
    color: #0F172A;
}

.title .erpscheme {
    color: var(--main-color);
    font-size: inherit;
    display: inline-block;
}

.title .smart {
    color: var(--accent-red);
}

.hero-description {
    color: #475569;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 20px 0 35px;
    max-width: 90%;
}

.btn-custom-dark {
    background-color: #0F172A;
    color: white;
    border-radius: 30px;
    padding: 14px 38px;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    transition: all 0.2s;
    margin-left: 15px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Ensure arrow icon is visible in Arabic button */
.btn-custom-dark i.fa-arrow-left {
    display: inline-block;
    font-size: 1.05em;
    line-height: 1;
    color: currentColor;
}

/* Primary CTA (same color as Start now) */
.btn-custom-primary {
    background-color: var(--main-color);
    color: #fff;
    border-radius: 30px;
    padding: 14px 38px;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    transition: all 0.2s ease;
    margin-left: 15px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 113, 188, 0.22);
}

.btn-custom-primary:hover {
    background-color: #0a5a92;
    transform: translateY(-3px);
    color: #fff;
}

.btn-custom-primary i.fa-arrow-left {
    display: inline-block;
    font-size: 1.05em;
    line-height: 1;
    color: currentColor;
}

/* One-time wiggle animation */
@keyframes wiggleOnce {
    0% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(-2px) rotate(-2deg); }
    45% { transform: translateY(-2px) rotate(2deg); }
    70% { transform: translateY(-1px) rotate(-1deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.shake-once:hover {
    animation: wiggleOnce 0.38s ease-in-out 1;
}

/* Looping attention animation (subtle) until click */
@keyframes wiggleLoop {
    0%, 74% { transform: translateY(0) rotate(0deg); }
    78% { transform: translateY(-2px) rotate(-2deg); }
    84% { transform: translateY(-2px) rotate(2deg); }
    90% { transform: translateY(-1px) rotate(-1deg); }
    96% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.shake-until-click {
    animation: wiggleLoop 1.8s ease-in-out infinite;
    transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
    .shake-once:hover {
        animation: none;
    }

    .shake-until-click {
        animation: none;
    }
}

.btn-custom-dark:hover {
    background-color: #1E293B;
    transform: translateY(-3px);
    color: white;
}

.btn-custom-light {
    background-color: white;
    color: #1E293B;
    border-radius: 30px;
    padding: 14px 32px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid #E2E8F0;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-demo {
    background: rgba(227, 30, 36, 0.08);
    border-color: rgba(227, 30, 36, 0.25);
    color: #7F1D1D;
}

.btn-demo:hover {
    background: rgba(227, 30, 36, 0.12);
    border-color: rgba(227, 30, 36, 0.4);
    transform: translateY(-3px);
}

.btn-demo i {
    color: var(--accent-red);
}

.btn-custom-light:hover {
    background-color: #F8FAFE;
    border-color: var(--main-color);
    transform: translateY(-3px);
}

/* Hero image styling */
.hero-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-img-wrapper img {
    max-width: 100%;
    border-radius: 48px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
    width: 100%;
    object-fit: cover;
}

/* responsive adjustments */
@media (max-width: 992px) {
    .title {
        font-size: 3.2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .slider {
        padding: 40px 0 60px;
    }

    .btn-custom-dark,
    .btn-custom-primary,
    .btn-custom-light {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.4rem;
    }

    .hero-description br {
        display: none;
    }

    .hero-img-wrapper {
        margin-top: 40px;
    }

    .navbar-nav {
        padding-top: 15px;
    }

    .btn-start-now {
        margin-top: 8px;
        width: fit-content;
    }
}

/* small badge & extra details matching image: "SCHEME AI INSIGHTS" appears as extra badge? 
           but we added extra subtle element to reflect "ذكية ومبتكرة" and we can also include a small AI insights chip */
.ai-badge {
    background: rgba(0, 113, 188, 0.1);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--main-color);
    margin-top: 20px;
}

/* fixing spacing for rtl buttons */
.button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

/* final touches from image content: "عرض تجريبي" , "تخصيص نظامك الآن" */
.fa-arrow-left,
.fa-play {
    transition: 0.2s;
}

.btn-custom-dark:hover .fa-arrow-left {
    transform: translateX(-5px);
}

.btn-custom-light:hover .fa-play {
    transform: scale(1.1);
}


/* ============================================================================================= */
/* ========== القسم الثاني ========== */
.features-section {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFE 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background-color: #EFF6FF;
    color: var(--main-color);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 20px;
    border-radius: 40px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* بطاقات المميزات */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 أعمدة متساوية */
    gap: 30px;
    justify-content: center;
}

.feature-card {
    background: var(--light-bg);
    border-radius: 32px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 113, 188, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px -12px rgba(0, 113, 188, 0.2);
    border-color: rgba(0, 113, 188, 0.2);
}

/* أيقونة البطاقة */
.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.card-icon i {
    font-size: 20px;
    color: var(--main-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    /* تم التعديل قليلاً للتوافق */
    font-weight: 800;
    margin-bottom: 15px;
    color: #0F172A;
}

.feature-card p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 500;
}

/* خط فاصل صغير تحت العنوان */
.card-divider {
    width: 50px;
    height: 3px;
    background: var(--main-color);
    margin: 12px 0 18px 0;
    border-radius: 3px;
}

/* استجابة للشاشات المتوسطة */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* صفين، كل صف به بطاقتين */
        gap: 25px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .feature-card {
        padding: 30px 25px;
    }
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .features-section {
        padding: 60px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        /* عمود واحد */
        gap: 20px;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .feature-card h3 {
        font-size: 1.4rem;
    }

    .card-icon {
        width: 55px;
        height: 55px;
    }

    .card-icon i {
        font-size: 28px;
    }
}

/* ================================================================ */
/* ========== شركاء النجاح ========== */
.partners-section {
    width: 100%;
    padding: 100px 0;
    background: #FFFFFF;
    overflow: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-title span {
    color: var(--main-color);
}

/* Owl Carousel Custom Styles */
.partners-carousel {
    position: relative;
}

.partners-carousel.owl-carousel {
    display: block;
}

/* Fallback: if Owl fails to init, keep items visible */
.partners-carousel.owl-carousel:not(.owl-loaded) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.partners-carousel.owl-carousel:not(.owl-loaded) .partner-item {
    margin: 0;
}

.partner-item {
    text-align: center;
    padding: 18px 25px;
    background: #F8FAFE;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #E2E8F0;
    margin: 10px;
}

.partner-item:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--main-color);
    transition: color 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* عند Hover يتحول اللون إلى الأسود */
.partner-item:hover .partner-name {
    color: #000000 !important;
}

/* تخصيص أزرار التنقل */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
}

.owl-nav button {
    pointer-events: auto;
    width: 45px !important;
    height: 45px !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 113, 188, 0.2);
    transition: all 0.3s ease;
}

.owl-nav button:hover {
    background: var(--main-color) !important;
}

.owl-nav button span {
    font-size: 28px !important;
    color: var(--main-color);
    line-height: 1;
}

.owl-nav button:hover span {
    color: white !important;
}

/* إخفاء النقاط (dots) */
.owl-dots {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .partner-name {
        font-size: 0.9rem;
    }

    .partner-item {
        padding: 12px 20px;
    }

    .owl-nav button {
        width: 35px !important;
        height: 35px !important;
    }

    .owl-nav button span {
        font-size: 22px !important;
    }
}

/* ====================================================== */
.text-dark-blue {
    color: #0d1b3e;
}

.text-primary-custom {
    color: #0070ba;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0d1b3e;
    line-height: 1.2;
}

/* الأيقونات الدائرية */
.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    flex-shrink: 0;
}

.icon-blue {
    color: #0070ba;
    background: #f0f7ff;
}

.icon-red {
    color: #e74c3c;
    background: #fef2f2;
}

.icon-green {
    color: #2ecc71;
    background: #f0fdf4;
}

.small-text {
    font-size: 0.95rem;
    max-width: 440px;
    margin-left: auto;
    /* لضمان المحاذاة لليسار في الـ RTL */
}

/* Fix paragraph alignment in English (LTR) */
html[dir="ltr"] .small-text {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

html[dir="ltr"] .features-stack .text-start {
    text-align: left !important;
}

/* البطاقة الزرقاء المميزة */
.testimonial-card {
    background: linear-gradient(145deg, #0070ba 0%, #00568f 100%);
    border-radius: 50px;
    /* انحناء زوايا مطابق للصورة */
    border: none;
    color: white;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Slider wrapper (moves the whole blue card) */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

/* Keep testimonial cards visible (avoid scroll-reveal hiding them) */
.testimonial-carousel .testimonial-card.reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* Make sure slide itself never gets hidden */
.testimonial-carousel .testimonial-slide {
    opacity: 1 !important;
    visibility: visible !important;
}

.testimonial-track {
    display: flex;
    width: 100%;
    transform: translateX(0px);
    transition: transform 0.55s ease;
    will-change: transform;
}

/* Prevent bidi mixing without forcing LTR (works for RTL/LTR) */
.testimonial-track {
    unicode-bidi: isolate;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
}

/* RTL mode: keep the blue box fixed; fade content only */
.testimonial-carousel.is-rtl .testimonial-track {
    display: block;
    width: 100% !important;
    transform: none !important;
    transition: none !important;
}

.testimonial-carousel.is-rtl .testimonial-slide {
    display: none;
    width: 100% !important;
    flex: none !important;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial-carousel.is-rtl .testimonial-slide.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-carousel.is-rtl .testimonial-slide {
        transition: none;
        transform: none;
    }
}

.testimonial-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    opacity: 0.85;
    z-index: 2;
}

.testimonial-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

.testimonial-dots .dot.is-active {
    background: rgba(255, 255, 255, 0.95);
    width: 18px;
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-track {
        transition: none;
    }
}

.quote-text {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
}

.avatar-placeholder {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
}

.avatar-placeholder img {
    border-radius: 15px;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 991px) {
    .main-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .text-end {
        text-align: center !important;
    }

    .d-flex {
        flex-direction: column-reverse;
        align-items: center !important;
    }

    .small-text {
        margin: 0 auto;
    }

    .testimonial-card {
        border-radius: 30px;
        padding: 40px 20px !important;
    }

    .quote-text {
        font-size: 1.3rem;
        text-align: center;
    }
}


/* =================================================================================== */
/* ====================================================== */
/* ========== قسم CTA - هل أنت جاهز ========== */
.cta-section {
    width: 100%;
    padding: 100px 0;
    background: white;
    text-align: center;
    position: relative;
}

.cta-section .container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.cta-content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    box-shadow: none;
}

/* إزالة جميع التأثيرات المزخرفة */
.cta-content::before,
.cta-content::after {
    display: none;
    content: none;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 40px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0F172A;
    color: #FFFFFF;
    text-decoration: none;
    padding: 16px 48px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background: #0a5a92;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 113, 188, 0.3);
}

.cta-button:hover i {
    transform: translateX(-5px);
}

/* ========== Fix arrow direction for English (LTR) ========== */
html[dir="ltr"] .btn-start-now .fa-arrow-left,
html[dir="ltr"] .btn-custom-dark .fa-arrow-left,
html[dir="ltr"] .cta-button .fa-arrow-left {
    transform: scaleX(-1);
}

html[dir="ltr"] .btn-custom-dark:hover .fa-arrow-left {
    transform: scaleX(-1) translateX(5px);
}

html[dir="ltr"] .cta-button:hover i.fa-arrow-left {
    transform: scaleX(-1) translateX(5px);
}

/* In RTL keep arrow as-is (pointing left) */
html[dir="rtl"] .btn-custom-dark .fa-arrow-left,
html[dir="rtl"] .cta-button .fa-arrow-left {
    transform: none;
}

/* Start-now icon comes after text in LTR */
html[dir="ltr"] .btn-start-now i.fa-arrow-left {
    margin-left: 0;
    margin-right: 0;
}

/* استجابة للشاشات المتوسطة */
@media (max-width: 992px) {
    .cta-section {
        padding: 70px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 14px 40px;
        font-size: 1.1rem;
    }
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
    }

    .cta-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}




/* الإعدادات العامة */
/* ====================================================== */
/* ========== Footer - تواصل معنا ========== */
.footer-section {
    background-color: #0A0F1E;
    color: #FFFFFF;
    padding: 80px 0 40px;
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .footer-section {
    direction: rtl;
}

html[dir="ltr"] .footer-section {
    direction: ltr;
}

.footer-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* العناوين */
.footer-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

/* قائمة تواصل معنا */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #CBD5E1;
    font-size: 1rem;
    font-weight: 500;
}

.contact-list li a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list li a:hover {
    color: var(--main-color);
}

.contact-list li span {
    color: #CBD5E1;
}

.contact-list li i {
    font-size: 1rem;
    width: 20px;
}

/* قائمة روابط هامة */
.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    margin-bottom: 15px;
}

.links-list li a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.links-list li a:hover {
    color: var(--main-color);
}

/* النص الوصفي */
.footer-description {
    color: #CBD5E1;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0;
}

.footer-about {
    display: block;
    max-width: 520px;
}

.footer-about {
    color: rgba(203, 213, 225, 0.92);
}

html[dir="rtl"] .footer-about {
    text-align: right;
}

html[dir="ltr"] .footer-about {
    text-align: left;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 160px;
    height: auto;
}

/* حقوق النشر */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 35px;
    margin-top: 50px;
    text-align: center;
}

.copyright-text {
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

/* استجابة للشاشات المتوسطة */
@media (max-width: 992px) {
    .footer-section {
        padding: 60px 0 30px;
    }

    .footer-title {
        margin-top: 20px;
    }

    .footer-description {
        margin-top: 20px;
        text-align: center;
    }

    .footer-logo {
        text-align: center;
    }
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 25px;
    }

    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .contact-list li {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .links-list li a {
        font-size: 0.9rem;
    }

    .footer-description {
        font-size: 0.85rem;
        text-align: center;
    }

    .copyright-text {
        font-size: 0.75rem;
    }
}


/* ====================================================== */
/* ========== الـ Responsive المحسن (نفس التصميم والألوان) ========== */

/* شاشات كبيرة جداً (Desktop كبير - 1400px فأكثر) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* شاشات كبيرة (Desktop - 1200px إلى 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 2.6rem;
    }
}

/* شاشات متوسطة (Laptop - 992px إلى 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .title {
        font-size: 3.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .quote-text {
        font-size: 1.3rem;
    }

    .testimonial-card {
        min-height: 380px;
    }

    .cta-title {
        font-size: 2.2rem;
    }
}

/* شاشات تابلت (iPad - 768px إلى 991px) */
@media (min-width: 768px) and (max-width: 991px) {

    /* الهيدر */
    .title {
        font-size: 3rem;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
    }

    .hero-description br {
        display: none;
    }

    .button-group {
        justify-content: center;
    }

    .hero-img-wrapper {
        margin-top: 40px;
    }

    /* القسم الثاني */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* قسم لماذا نحن */
    .main-title {
        font-size: 2rem;
        text-align: center;
    }

    .features-stack {
        margin-top: 30px;
    }

    .testimonial-card {
        margin-top: 40px;
        min-height: auto;
    }

    .quote-text {
        font-size: 1.2rem;
    }

    /* قسم CTA */
    .cta-title {
        font-size: 1.8rem;
    }

    /* الفوتر */
    .footer-title {
        margin-top: 30px;
    }

    .footer-description {
        text-align: center;
        margin-top: 20px;
    }

    .footer-logo {
        text-align: center;
    }
}

/* شاشات موبايل كبيرة (Mobile - 576px إلى 767px) */
@media (min-width: 576px) and (max-width: 767px) {

    /* الهيدر */
    .title {
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-description {
        font-size: 0.95rem;
        text-align: center;
        max-width: 100%;
    }

    .hero-description br {
        display: none;
    }

    .button-group {
        justify-content: center;
        gap: 12px;
    }

    .btn-custom-dark,
    .btn-custom-primary,
    .btn-custom-light {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .content-version {
        display: table;
        margin: 0 auto 20px;
    }

    .hero-img-wrapper {
        margin-top: 40px;
    }

    /* القسم الثاني */
    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .feature-card {
        text-align: center;
    }

    .card-icon {
        margin: 0 auto 25px;
    }

    .card-divider {
        margin: 12px auto 18px;
    }

    /* قسم لماذا نحن */
    .main-title {
        font-size: 1.7rem;
        text-align: center;
    }

    .features-stack {
        margin-top: 30px;
    }

    .d-flex.align-items-start {
        flex-direction: column;
        text-align: center;
    }

    .icon-circle {
        margin: 0 auto 15px;
    }

    .small-text {
        text-align: center;
        margin: 0 auto;
    }

    .testimonial-card {
        margin-top: 40px;
        min-height: auto;
    }

    .quote-text {
        font-size: 1rem;
        text-align: center;
    }

    .d-flex.align-items-center.justify-content-start {
        justify-content: center !important;
    }

    /* قسم CTA */
    .cta-title {
        font-size: 1.5rem;
        padding: 0 15px;
    }

    .cta-button {
        padding: 12px 32px;
        font-size: 0.95rem;
    }

    /* الفوتر */
    .footer-title {
        text-align: center;
        display: block;
    }

    .contact-list li,
    .links-list li {
        justify-content: center;
        text-align: center;
    }

    .footer-description {
        text-align: center;
    }

    .footer-logo {
        text-align: center;
    }
}

/* شاشات موبايل صغيرة (Small Mobile - أقل من 576px) */
@media (max-width: 575px) {

    /* الهيدر */
    .site-logo {
        height: 52px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .slider {
        padding: 22px 0 46px 0;
    }

    .title {
        font-size: 2.1rem;
        text-align: center;
        line-height: 1.25;
        margin: 14px 0 14px;
    }

    .hero-description {
        font-size: 0.98rem;
        text-align: center;
        max-width: 100%;
        color: #334155;
        line-height: 1.75;
        margin: 14px auto 22px;
    }

    .hero-description br {
        display: none;
    }

    .button-group {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-custom-dark,
    .btn-custom-primary,
    .btn-custom-light {
        justify-content: center;
        margin: 0;
        padding: 12px 22px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 320px;
    }

    .content-version {
        display: table;
        margin: 0 auto 20px;
        font-size: 0.85rem;
        padding: 8px 20px;
    }

    .hero-img-wrapper {
        margin-top: 30px;
    }

    /* القسم الثاني */
    .features-section {
        padding: 50px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .feature-card {
        padding: 25px 20px;
        text-align: center;
    }

    .card-icon {
        width: 55px;
        height: 55px;
        margin: 0 auto 20px;
    }

    .card-icon i {
        font-size: 22px;
    }

    .card-divider {
        margin: 10px auto 15px;
        width: 40px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* قسم لماذا نحن */
    .erp-wrapper {
        padding: 40px 0 !important;
    }

    .main-title {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 30px !important;
    }

    .features-stack {
        margin-top: 20px;
    }

    .d-flex.align-items-start {
        flex-direction: column;
        text-align: center;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }

    .icon-circle {
        width: 35px;
        height: 35px;
        margin: 0 auto 10px;
    }

    .icon-circle i {
        font-size: 14px;
    }

    .small-text {
        font-size: 0.85rem;
        text-align: center;
        margin: 0 auto;
    }

    .testimonial-card {
        border-radius: 40px;
        padding: 30px 20px !important;
        margin-top: 35px;
        min-height: auto;
    }

    .quote-text {
        font-size: 0.95rem;
        text-align: center;
    }

    .avatar-placeholder {
        width: 50px;
        height: 50px;
    }

    .user-meta h4 {
        font-size: 0.9rem !important;
    }

    .user-meta small {
        font-size: 0.7rem;
    }

    /* قسم الشركاء */
    .partners-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* قسم CTA */
    .cta-section {
        padding: 50px 0;
    }

    .cta-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .cta-button {
        padding: 10px 24px;
        font-size: 0.85rem;
        gap: 8px;
    }

    .cta-button i {
        font-size: 0.8rem;
    }

    /* الفوتر */
    .footer-section {
        padding: 50px 0 25px;
    }

    .footer-title {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 15px;
        display: block;
    }

    .contact-list li,
    .links-list li {
        justify-content: center;
        text-align: center;
        margin-bottom: 12px;
    }

    .contact-list li {
        gap: 8px;
        font-size: 0.85rem;
    }

    .links-list li a {
        font-size: 0.85rem;
    }

    .footer-description {
        font-size: 0.8rem;
        text-align: center;
        line-height: 1.6;
    }

    .footer-description br {
        display: none;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-width: 130px;
    }

    .footer-bottom {
        padding-top: 25px;
        margin-top: 35px;
    }

    .copyright-text {
        font-size: 0.7rem;
    }
}

/* شاشات صغيرة جداً (أقل من 375px) */
@media (max-width: 374px) {
    .site-logo {
        height: 48px;
    }

    .title {
        font-size: 1.95rem;
    }

    .cta-title {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 8px 20px;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .main-title {
        font-size: 1.3rem;
    }

    .quote-text {
        font-size: 0.85rem;
    }
}




/* ============================================================ */
/* ====================================================== */
/* ========== Modal - بناء نظامك الخاص ========== */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 20px;
}

.modal-content {
    background: #FFFFFF;
    margin: 3% auto;
    width: 1140px;
    max-width: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* رأس المودال */
.modal-header {
    background: #0F172A;
    color: #FFFFFF;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 5px 0;
}

.header-info p {
    font-size: 0.75rem;
    color: #94A3B8;
    margin: 0;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--main-color), var(--accent-red));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon i {
    font-size: 26px;
    color: white;
}

.close-btn {
    position: absolute;
    left: 20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* شريط التقدم */
.progress-container {
    height: 4px;
    background: #E2E8F0;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--main-color), var(--accent-red));
    width: 25%;
    transition: width 0.3s ease;
}

/* جسم المودال */
.modal-body {
    padding: 35px 30px;
    max-height: 500px;
    overflow-y: auto;
}

/* مجموعات الخطوات */
.step-group {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step-group.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
}

.step-subtitle {
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 25px;
}

/* شبكة الخيارات */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.options-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.option-card {
    border: 2px solid #E2E8F0;
    padding: 20px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: #FFFFFF;
}

.option-card:hover {
    border-color: var(--main-color);
    transform: translateY(-3px);
}

.option-card.active {
    border-color: var(--main-color);
    background: #EFF6FF;
}

.option-card i {
    font-size: 2rem;
    color: var(--main-color);
    margin-bottom: 12px;
    display: block;
}

.option-card h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
}

.option-card span {
    font-size: 0.75rem;
    color: #64748B;
}

.option-card.mini {
    padding: 15px;
}

.option-card.mini i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.option-card.mini h5 {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* شريط التمرير للفروع والمخازن */
.range-wrapper {
    margin-bottom: 40px;
    background: #F8FAFE;
    padding: 25px;
    border-radius: 24px;
}

.range-wrapper:last-child {
    margin-bottom: 0;
}

.range-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.range-header label {
    font-size: 1rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.range-buttons {
    display: flex;
    gap: 10px;
}

.range-btn {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 40px;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.range-btn:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: white;
}

.range-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.range-decr,
.range-incr {
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--main-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

.range-decr:hover,
.range-incr:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: white;
}

.slider-range {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: #E2E8F0;
    border-radius: 3px;
    outline: none;
}

.slider-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--main-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.range-val {
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--main-color);
}

.range-val span {
    font-size: 1.8rem;
    font-weight: 800;
}

/* خطوة جاهز للبدء */
.success-icon {
    text-align: center;
    margin-bottom: 25px;
}

.success-icon i {
    font-size: 4rem;
    color: #10B981;
}

.form-inputs {
    margin-top: 25px;
}

.form-inputs input,
.form-inputs textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 15px;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    font-size: 0.9rem;
    font-family: 'Cairo', sans-serif;
    transition: 0.3s;
    width: 50%;
}

.form-inputs input:focus,
.form-inputs textarea {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 188, 0.1);
}

/* تذييل المودال */
.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #E2E8F0;
    background: #F8FAFE;
}

.btn-secondary {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #475569;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #F1F5F9;
}

.btn-primary {
    background: var(--main-color);
    border: none;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #0a5a92;
    transform: translateY(-2px);
}

/* استجابة المودال */
@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .modal-header {
        padding: 20px;
    }

    .header-info h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 25px 20px;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .options-grid.grid-3 {
        grid-template-columns: 1fr;
    }

    .modal-footer {
        padding: 15px 20px 25px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Better mobile form layout */
    .form-inputs input,
    .form-inputs textarea,
    .field input,
    .field textarea {
        width: 100% !important;
        max-width: 100%;
    }
}



/* ============================success modal================================== */
.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.success-modal.active {
    display: flex;
}

.success-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    font-size: 60px;
    color: #22c55e;
    margin-bottom: 15px;
}

.success-box h3 {
    font-weight: 800;
    margin-bottom: 10px;
}

.success-box p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-btn {
    background: var(--main-color);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}





/*error  */
.error-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.error-modal.active {
    display: flex;
}

.error-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: scaleIn 0.3s ease;
}

.error-icon {
    font-size: 60px;
    color: #ef4444;
    margin-bottom: 15px;
}

.error-box h3 {
    font-weight: 800;
    margin-bottom: 10px;
}

.error-box p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.error-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

/* =============================================================================== */

.field {
    margin-bottom: 20px;
    text-align: center;
}

.field input,
.field textarea {
    width: 50%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.is-invalid {
    border: 1px solid #dc3545 !important;
    background-color: #fff8f8 !important;
}

.error-message {
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 5px;
    text-align: right;
}