/**
 * سهم اكسبريس - الصفحة الرئيسية الحديثة
 * تصميم عصري مع أنيميشن وجذاب
 */

/* ========== Navbar حديث ========== */
.navbar-modern {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--saham-primary, #3bb777);
    transition: all 0.3s ease;
}

.navbar-modern .navbar-brand {
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 0 12px;
}

.navbar-modern .nav-link-modern {
    color: var(--saham-dark) !important;
    font-weight: 500;
    padding: 0.6rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-modern .nav-link-modern:hover {
    color: var(--saham-primary) !important;
    background: rgba(0, 187, 180, 0.08);
}

.navbar-modern .nav-link-modern.active {
    color: var(--saham-primary) !important;
    background: rgba(0, 187, 180, 0.12);
}

.navbar-modern .btn-nav-login {
    background: var(--saham-gradient);
    color: white !important;
    border: none;
    border-radius: 12px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-modern .btn-nav-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--saham-shadow);
    color: white !important;
}

.navbar-modern .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-modern .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(0, 187, 180, 0.3);
}

@media (max-width: 991.98px) {
    .navbar-modern .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    .navbar-modern .nav-link-modern {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
    }
}

/* ========== متغيرات الألوان ========== */
:root {
    --saham-primary: #3bb777;
    --saham-primary-dark: #009a94;
    --saham-primary-light: #00d4cc;
    --saham-accent: #ff6b35;
    --saham-dark: #0a1628;
    --saham-gradient: linear-gradient(135deg, #3bb777 0%, #009a94 50%, #007d78 100%);
    --saham-gradient-hero: linear-gradient(135deg, rgba(0,187,180,0.95) 0%, rgba(0,122,117,0.9) 100%);
    --saham-shadow: 0 25px 50px -12px rgba(0, 187, 180, 0.25);
    --saham-card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

/* ========== Hero Section - تصميم حديث ========== */
.home-hero-modern {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--saham-dark);
}

.home-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 187, 180, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 187, 180, 0.1) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300bbb4' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

/* أنيميشن الظهور للعناصر */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    animation: heroSlideUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    animation: heroSlideUp 1s ease-out 0.2s backwards;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    animation: heroSlideUp 1s ease-out 0.1s backwards;
}

/* نموذج التتبع المحسن */
.track-form-modern {
    background: rgba(255,255,255,0.98);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--saham-card-shadow), 0 0 0 1px rgba(255,255,255,0.1);
    animation: heroSlideUp 1s ease-out 0.4s backwards;
}

.track-input-modern {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.track-input-modern:focus {
    border-color: var(--saham-primary);
    box-shadow: 0 0 0 4px rgba(0, 187, 180, 0.2);
    outline: none;
}

.track-btn-modern {
    background: var(--saham-gradient);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 187, 180, 0.4);
}

.track-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 187, 180, 0.5);
}

/* أزرار Hero */
.hero-btn-group .btn-modern {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: heroSlideUp 1s ease-out 0.5s backwards;
}

.btn-modern-outline {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    background: transparent;
}

.btn-modern-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    color: white;
}

.btn-modern-solid {
    background: var(--saham-gradient);
    color: white;
    border: none;
}

.btn-modern-solid:hover {
    transform: translateY(-2px);
    box-shadow: var(--saham-shadow);
    color: white;
}

/* أيقونات عائمة */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-shape:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.floating-shape:nth-child(3) { top: 80%; left: 20%; animation-delay: 4s; }

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(10deg); }
}

/* ========== قسم الإحصائيات ========== */
.stats-section-modern {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.stat-card-modern {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--saham-card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--saham-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.stat-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -15px rgba(0, 187, 180, 0.3);
}

.stat-card-modern:hover::before {
    transform: scaleX(1);
}

.stat-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    background: linear-gradient(135deg, rgba(0,187,180,0.15) 0%, rgba(0,187,180,0.05) 100%);
    color: var(--saham-primary);
}

.stat-number-modern {
    font-size: 2rem;
    font-weight: 700;
    color: var(--saham-dark);
}

/* ========== قسم عن سهم ========== */
.about-section-modern {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.about-content-modern h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

.about-features-list {
    list-style: none;
    padding: 0;
}

.about-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInLeft 0.6s ease forwards;
}

.about-features-list li:nth-child(1) { animation-delay: 0.1s; }
.about-features-list li:nth-child(2) { animation-delay: 0.2s; }
.about-features-list li:nth-child(3) { animation-delay: 0.3s; }
.about-features-list li:nth-child(4) { animation-delay: 0.4s; }

.about-features-list .feature-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 12px;
    background: var(--saham-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== خدماتنا - كروت حديثة ========== */
.services-section-modern {
    padding: 5rem 0;
}

.service-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--saham-card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px -15px rgba(0, 187, 180, 0.25);
}

.service-card-modern .card-img-wrap {
    overflow: hidden;
    position: relative;
    height: 200px;
}

.service-card-modern .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-modern:hover .card-img-wrap img {
    transform: scale(1.08);
}

.service-card-modern .card-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card-modern:hover .card-img-wrap::after {
    opacity: 1;
}

.service-card-modern .card-body {
    padding: 1.5rem;
}

.service-card-modern .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,187,180,0.15) 0%, rgba(0,187,180,0.05) 100%);
    color: var(--saham-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ========== قسم الوزن الحجمي ========== */
.volumetric-section-modern {
    padding: 5rem 0;
    background: var(--saham-dark);
    color: white;
}

.volumetric-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.volumetric-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: background 0.3s;
}

.volumetric-step:hover {
    background: rgba(255,255,255,0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--saham-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ========== Scroll Animations ========== */
.reveal-animation {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-animation.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== CTA Section ========== */
.cta-section-modern {
    padding: 4rem 0;
    background: var(--saham-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section-modern::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.cta-section-modern::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-phone {
    font-size: 2rem;
    font-weight: 700;
}

/* ========== تحسينات عامة ========== */
.section-title-modern {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle-modern {
    color: #64748b;
    font-size: 1.1rem;
}

/* زر اكتشف المزيد */
.btn-discover {
    background: var(--saham-gradient);
    color: white !important;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-discover:hover {
    transform: translateY(-2px);
    box-shadow: var(--saham-shadow);
    color: white !important;
}

/* ========== صفحة عن سهم - About Page ========== */
.about-page-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--saham-dark) 0%, #0d1f3c 100%);
    position: relative;
    overflow: hidden;
}

.about-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(0, 187, 180, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-page-hero .breadcrumb {
    background: transparent;
    padding: 0;
}

.about-page-hero .breadcrumb-item {
    color: rgba(255,255,255,0.7);
}

.about-page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.about-page-hero .breadcrumb-item a:hover {
    color: white;
}

.about-page-hero .breadcrumb-item.active {
    color: var(--saham-primary);
}

.about-page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.about-main-section {
    padding: 4rem 0;
}

.about-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--saham-card-shadow);
    position: relative;
}

.about-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.about-feature-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0,187,180,0.1) 0%, transparent 100%);
    border-radius: 0 16px 0 100%;
    transition: transform 0.4s ease;
}

.about-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(0, 187, 180, 0.2);
}

.about-feature-card:hover::before {
    transform: scale(1.2);
}

.about-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--saham-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-values-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.about-values-grid {
    display: grid;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: rgba(0, 187, 180, 0.3);
    box-shadow: 0 8px 25px -5px rgba(0, 187, 180, 0.1);
}

.value-item .value-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: var(--saham-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.about-cta-box {
    background: var(--saham-gradient);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-cta-box::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -80px;
    left: -80px;
}

/* ========== صفحة التواصل - Contact Page ========== */
.contact-page-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--saham-dark) 0%, #0d1f3c 100%);
    position: relative;
}

.contact-page-hero .breadcrumb {
    background: transparent;
    padding: 0;
}

.contact-page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.contact-page-hero .breadcrumb-item.active {
    color: var(--saham-primary);
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--saham-card-shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
}

.contact-form-card .form-control:focus {
    border-color: var(--saham-primary);
    box-shadow: 0 0 0 4px rgba(0, 187, 180, 0.15);
}

.contact-form-card .btn-submit {
    background: var(--saham-gradient);
    border: none;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.contact-form-card .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--saham-shadow);
    color: white;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(0,187,180,0.08) 0%, rgba(0,187,180,0.03) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0,187,180,0.2);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--saham-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-box {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.captcha-box label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.captcha-input {
    max-width: 120px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 0.5rem;
    font-size: 1.25rem;
    text-align: center;
}

.contact-map-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--saham-card-shadow);
}

/* ========== الأسئلة الشائعة - FAQ ========== */
.faq-section-modern {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.faq-accordion-modern .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faq-accordion-modern .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
    color: var(--saham-dark);
    box-shadow: none !important;
    border-radius: 14px !important;
}

.faq-accordion-modern .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(0, 187, 180, 0.1) 0%, rgba(0, 187, 180, 0.04) 100%);
    color: var(--saham-primary);
}

.faq-accordion-modern .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

.faq-accordion-modern .accordion-body {
    padding: 0 1.25rem 1.25rem;
    color: #64748b;
    line-height: 1.75;
}

.faq-accordion-modern .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(0, 187, 180, 0.2) !important;
}
