@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;900&display=swap');

:root {
    --bs-body-font-family: 'Cairo', sans-serif;
    --bs-success: #10B981;
    --bs-success-rgb: 16, 185, 129;
    --bs-primary: #0EA5E9;
    --bs-primary-rgb: 14, 165, 233;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;

}

/* Header */
.header-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: var(--bs-success);
}

/* Hero Section */
.hero-title {
    background: -webkit-linear-gradient(right, #111827, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, #e5e7eb 1px, transparent 1px),
        linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
    background-size: 2rem 2rem;
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, transparent, black);
}
.hero-gradient-bg {
    position: absolute;
    inset: 0;
    z-index: -10;
    background-image: linear-gradient(to bottom right, white, white, rgba(16, 185, 129, 0.1));
}
.blur-circle-1, .blur-circle-2, .blur-circle-features-1, .blur-circle-features-2 {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    z-index: -10;
}
.blur-circle-1 { top: 0; right: 0; width: 18rem; height: 18rem; background-color: rgba(16, 185, 129, 0.1); }
.blur-circle-2 { bottom: 0; left: 0; width: 18rem; height: 18rem; background-color: rgba(14, 165, 233, 0.1); }
.hero-image-container {
    transition: transform 0.5s ease;
}
.hero-image-container:hover {
    transform: scale(1.03);
}
.bg-gradient-to-top {
    background-image: linear-gradient(to top, white, rgba(255, 255, 255, 0.5), transparent);
}

/* General Styles & Utilities */
.gradient-text {
    background: -webkit-linear-gradient(right, var(--bs-success), var(--bs-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text-success {
    background: -webkit-linear-gradient(right, #10b981, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.07) !important;
}

/* Features Section */
.feature-icon-box { width: 3.5rem; height: 3.5rem; }
.blur-circle-features-1 { bottom: -1rem; left: -1rem; width: 12rem; height: 12rem; background-color: rgba(14, 165, 233, 0.15); }
.blur-circle-features-2 { top: -1rem; right: -1rem; width: 12rem; height: 12rem; background-color: rgba(16, 185, 129, 0.15); }

/* AI Tabs Section */
.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
    color: var(--bs-success);
    border-bottom-color: var(--bs-success);
}

/* Benefits Section */
.bg-success-gradient {
    background-image: linear-gradient(to bottom right, var(--bs-success), var(--bs-primary));
}
.btn-benefit {
    background-color: white;
    border: 1px solid var(--bs-border-color);
    transition: all 0.3s ease;
}
.btn-benefit .icon-wrapper {
    background-color: #f3f4f6;
    transition: all 0.3s ease;
}
.btn-benefit .icon-wrapper i {
    color: #6b7280;
    transition: all 0.3s ease;
}
.btn-benefit:hover {
    background-color: #f9fafb;
}
.btn-benefit.active {
    background-color: var(--bs-success-subtle);
    border-color: var(--bs-success);
}
.btn-benefit.active .icon-wrapper {
    background-color: rgba(var(--bs-success-rgb), 0.2);
}
.btn-benefit.active .icon-wrapper i {
    color: var(--bs-success);
}

/* More Features Section */
.icon-box-feature {
    width: 3.5rem; height: 3.5rem;
    display: flex; align-items: center; justify-content: center;
}

/* Exclusive Features Section */
.icon-box-exclusive {
    width: 5rem; height: 5rem;
    display: inline-flex; align-items: center; justify-content: center;
}

/* API Integration Section */
.icon-box-api {
    width: 5rem; height: 5rem;
    display: inline-flex; align-items: center; justify-content: center;
}

/* CTA Section */
.cta-circle-1, .cta-circle-2 {
    position: absolute;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
}
.cta-circle-1 { top: 0; right: 0; width: 8rem; height: 8rem; transform: translate(25%, -50%); }
.cta-circle-2 { bottom: 0; left: 0; width: 12rem; height: 12rem; transform: translate(-25%, 50%); }

/* Pricing Section */
.form-switch .form-check-input {
    width: 3.5em;
    height: 1.75em;
    cursor: pointer;
}
.form-switch .form-check-input:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
}
.accordion-button:not(.collapsed) {
    color: var(--bs-body-color);
    background-color: var(--bs-light-bg-subtle);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}
.accordion-item {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--bs-border-color);
}
.accordion-item:first-of-type { border-top: 1px solid var(--bs-border-color); }

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    overflow: hidden;
}
.floating-whatsapp i {
    font-size: 1.75rem;
    transition: opacity 0.2s;
}
.floating-whatsapp .whatsapp-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    margin-left: 0;
}
.floating-whatsapp:hover {
    background-color: #128C7E;
    width: 240px;
}
.floating-whatsapp:hover .whatsapp-text {
    max-width: 200px;
    margin-left: 0.75rem;/* --- START OF FILE style2.css --- */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;900&display=swap');

:root {
    --bs-body-font-family: 'Cairo', sans-serif;
    --bs-success: #10B981;
    --bs-success-rgb: 16, 185, 129;
    --bs-primary: #0EA5E9;
    --bs-primary-rgb: 14, 165, 233;
    
    /* متغيرات ألوان الواتساب للموكب */
    --whatsapp-header: #008069;
    --whatsapp-bg: #efe7dd;
    --whatsapp-sent: #d9fdd3;
    --whatsapp-received: #ffffff;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    overflow-x: hidden; /* لمنع ظهور شريط تمرير عرضي بسبب العناصر الجانبية */
}

/* =========================================
   1. Header & Navbar
   ========================================= */
.header-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: var(--bs-success);
}

/* =========================================
   2. Hero Section & Background Effects
   ========================================= */
.hero-title {
    background: -webkit-linear-gradient(right, #111827, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Blobs (الفقاعات الملونة في الخلفية) */
.wc-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px); /* ضبابية عالية لدمج الألوان */
    z-index: -1;
    opacity: 0.5;
    animation: float-blob 8s ease-in-out infinite alternate;
}

.blob-lg { width: 25rem; height: 25rem; }
.blob-md { width: 18rem; height: 18rem; }
.blob-sm { width: 12rem; height: 12rem; }

.wc-c1 { background-color: rgba(16, 185, 129, 0.25); } /* أخضر */
.wc-c2 { background-color: rgba(14, 165, 233, 0.25); } /* أزرق */
.wc-c3 { background-color: rgba(139, 92, 246, 0.25); } /* بنفسجي */

@keyframes float-blob {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, -20px); }
}

/* Grid Background */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, #e5e7eb 1px, transparent 1px),
        linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
    background-size: 2rem 2rem;
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, transparent, black);
    pointer-events: none;
}


/* =========================================
   4. General Styles & Utilities
   ========================================= */
.gradient-text {
    background: -webkit-linear-gradient(right, var(--bs-success), var(--bs-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text-success {
    background: -webkit-linear-gradient(right, #10b981, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.07) !important;
}

/* =========================================
   5. Features Section
   ========================================= */
.feature-icon-box { width: 3.5rem; height: 3.5rem; }
.blur-circle-features-1 { 
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    z-index: -10;
    bottom: -1rem; left: -1rem; width: 12rem; height: 12rem; background-color: rgba(14, 165, 233, 0.15); 
}
.blur-circle-features-2 { 
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    z-index: -10;
    top: -1rem; right: -1rem; width: 12rem; height: 12rem; background-color: rgba(16, 185, 129, 0.15); 
}

#features .col-lg-6.position-relative {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#features img.img-fluid {
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

/* =========================================
   6. AI Tabs Section
   ========================================= */
.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
    color: var(--bs-success);
    border-bottom-color: var(--bs-success);
}

/* =========================================
   7. Benefits Section
   ========================================= */
.bg-success-gradient {
    background-image: linear-gradient(to bottom right, var(--bs-success), var(--bs-primary));
}
.btn-benefit {
    background-color: white;
    border: 1px solid var(--bs-border-color);
    transition: all 0.3s ease;
}
.btn-benefit .icon-wrapper {
    background-color: #f3f4f6;
    transition: all 0.3s ease;
}
.btn-benefit .icon-wrapper i {
    color: #6b7280;
    transition: all 0.3s ease;
}
.btn-benefit:hover {
    background-color: #f9fafb;
}
.btn-benefit.active {
    background-color: var(--bs-success-subtle);
    border-color: var(--bs-success);
}
.btn-benefit.active .icon-wrapper {
    background-color: rgba(var(--bs-success-rgb), 0.2);
}
.btn-benefit.active .icon-wrapper i {
    color: var(--bs-success);
}

/* =========================================
   8. Icons & Extra Sections
   ========================================= */
.icon-box-feature {
    width: 3.5rem; height: 3.5rem;
    display: flex; align-items: center; justify-content: center;
}
.icon-box-exclusive {
    width: 5rem; height: 5rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.icon-box-api {
    width: 5rem; height: 5rem;
    display: inline-flex; align-items: center; justify-content: center;
}

/* CTA Section Circles */
.cta-circle-1, .cta-circle-2 {
    position: absolute;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
}
.cta-circle-1 { top: 0; right: 0; width: 8rem; height: 8rem; transform: translate(25%, -50%); }
.cta-circle-2 { bottom: 0; left: 0; width: 12rem; height: 12rem; transform: translate(-25%, 50%); }

/* =========================================
   9. Pricing Section
   ========================================= */
.form-switch .form-check-input {
    width: 3.5em;
    height: 1.75em;
    cursor: pointer;
}
.form-switch .form-check-input:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

/* =========================================
   10. FAQ Section
   ========================================= */
.accordion-button {
    font-weight: 600;
}
.accordion-button:not(.collapsed) {
    color: var(--bs-body-color);
    background-color: var(--bs-light-bg-subtle);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}
.accordion-item {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--bs-border-color);
}
.accordion-item:first-of-type { border-top: 1px solid var(--bs-border-color); }

/* =========================================
   11. Floating WhatsApp Button
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    overflow: hidden;
}
.floating-whatsapp i {
    font-size: 1.75rem;
    transition: opacity 0.2s;
}
.floating-whatsapp .whatsapp-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    margin-left: 0;
}
.floating-whatsapp:hover {
    background-color: #128C7E;
    width: 240px;
}
.floating-whatsapp:hover .whatsapp-text {
    max-width: 200px;
    margin-left: 0.75rem;
}

/* =========================================
   12. Animations
   ========================================= */
.animated-section {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animated-section.visible {
    opacity: 1;
    transform: translateY(0);
}
}

/* Animation Section */
.animated-section {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animated-section.visible {
    opacity: 1;
    transform: translateY(0);
}

#features .col-lg-6.position-relative {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#features img.img-fluid {
  width: 100%;
  max-width: 480px; /* أقصى عرض للصورة */
  height: auto;
  max-height: 400px; /* أقصى ارتفاع */
  object-fit: contain; /* أو cover لو حاب تملى المساحة */
}
