/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #191C24;
    color: white;
    overflow-x: hidden;
}

/* Navigation */
.crypto-nav {
    background: #191C24;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
    transition: all 0.3s ease;
}

.crypto-logo {
    /* background: white; */
    color: #0B1426;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #EB1616 !important;
}

.btn-primary {
    background: #EB1616;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #EB1616;
    transform: translateY(-1px);
}

/* Navbar Mobile Responsive */
@media (max-width: 991.98px) {
    .crypto-nav {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        padding: 0.25rem 0;
    }

    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.4rem 0.6rem;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Hero Section */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #E2E8F0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 2rem;
}

.hero-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #94A3B8;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: #60A5FA;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.hero-features {
    margin-bottom: 2.5rem;
    align-items: center;
}

@media (max-width:768px) {
    .hero-features {
        /* Center the container as a block, but let items align naturally */
        width: fit-content !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 auto !important;
        /* Centers the block */
        padding: 0 15px !important;

        /* Align items to Start: Left in LTR, Right in RTL */
        align-items: flex-start !important;
    }

    .feature-item {
        width: 100% !important;
        justify-content: flex-start !important;
        /* Align icon/text to start */
        text-align: start !important;
    }

    .feature-item span {
        text-align: start !important;
    }

    /* Explicit RTL overrides to ensure correct behavior */
    [dir="rtl"] .hero-features {
        align-items: flex-start !important;
        /* Flex-start in RTL is Right, which matches design */
        text-align: right !important;
    }

    [dir="rtl"] .feature-item {
        justify-content: flex-start !important;
        /* Icon starts on right */
        text-align: right !important;
    }

    [dir="rtl"] .feature-item span {
        text-align: right !important;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #cbd5e1;
    /* رمادي فاتح */
}

.feature-icon {
    width: 20px;
    height: 20px;
    background-color: #EB1616;
    /* أزرق */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 12px;
    color: white;
}

.text-primary {
    color: #EB1616 !important;
}

.btn-cta {
    background: #EB1616;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-cta:hover {
    background: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

/* Phone Mockup */
.phone-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1E293B, #0F172A);
    border-radius: 3rem;
    padding: 1.5rem;
    border: 4px solid #334155;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.floating-phone {
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {

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

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

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

    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.phone-screen {
    background: linear-gradient(145deg, #1E293B, #0F172A);
    border-radius: 2.5rem;
    height: 100%;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.phone-dots {
    display: flex;
    gap: 4px;
}

.phone-dots span {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.phone-title {
    font-size: 12px;
    color: #94A3B8;
}

.phone-icons {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #94A3B8;
}

.phone-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 14px;
    font-weight: 600;
    padding: 0 0 8px 0;
    position: relative;
}

.tab-btn.active {
    color: #60A5FA;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #60A5FA;
}

.phone-balance {
    text-align: center;
    margin-bottom: 2rem;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.2rem;
    color: #94A3B8;
}

.balance-change {
    color: #10B981;
    font-size: 14px;
    font-weight: 600;
}

.phone-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.action-btn {
    text-align: center;
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: bold;
    font-size: 14px;
}

.action-icon.buy {
    background: #60A5FA;
}

.action-icon.sell {
    background: #10B981;
}

.action-icon.deposit {
    background: #8B5CF6;
}

.action-icon.pay {
    background: #F59E0B;
}

.action-btn span {
    font-size: 12px;
    color: #94A3B8;
}

.phone-favorites h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.crypto-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.crypto-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.crypto-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.crypto-icon.btc {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.crypto-icon.eth {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.crypto-icon.cro {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

.crypto-icon.sol {
    background: linear-gradient(135deg, #10B981, #059669);
}

.crypto-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.crypto-symbol {
    font-size: 12px;
    color: #94A3B8;
}

.crypto-price {
    text-align: right;
}

.price {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.change {
    font-size: 12px;
    font-weight: 600;
}

.change.positive {
    color: #10B981;
}

.change.negative {
    color: #EF4444;
}

.crypto-chart {
    width: 60px;
    height: 30px;
}

.phone-bottom-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.phone-bottom-nav i {
    font-size: 20px;
    color: #94A3B8;
}

.phone-bottom-nav i.active {
    color: #60A5FA;
}

.mobile {
    width: 220px;
    height: 440px;
}

/*   .phone-container {
        transform-origin: 50% 0px;
        transition: transform 0.2s ease-out; 
    }*/
@media (min-width:768px) {
    .mobile {
        width: 300px;
        height: 600px;
    }

    .hero-features {

        margin-left: 10px !important;
    }
}

@media (min-width:1128px) {
    .mobile {
        width: 470px;
        height: 940px;
    }
}

/* Background Effects */
.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-effect-1 {
    position: absolute;
    top: 25%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

.bg-effect-2 {
    position: absolute;
    bottom: 25%;
    left: 25%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Promotional Cards */
.promo-section {
    padding: 5rem 0;
}

/* Service Promo Cards */
.service-promo-card {
    background: linear-gradient(180deg,
            rgba(235, 22, 22, 0.05) 0%,
            rgba(235, 22, 22, 0.15) 50%,
            rgba(139, 0, 0, 0.25) 100%);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(235, 22, 22, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(235, 22, 22, 0.4);
    border-color: rgba(235, 22, 22, 0.5);
}

.service-promo-card.dual-invest {
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.1) 0%,
            rgba(30, 41, 59, 0.2) 50%,
            rgba(51, 65, 85, 0.3) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.service-promo-card.dual-invest:hover {
    box-shadow: 0 12px 40px rgba(148, 163, 184, 0.3);
    border-color: rgba(148, 163, 184, 0.4);
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
    background: #000;
}

.service-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.service-promo-card:hover .service-banner-image {
    transform: scale(1.1);
    filter: brightness(1);
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            transparent 40%,
            rgba(235, 22, 22, 0.1) 70%,
            rgba(235, 22, 22, 0.3) 85%,
            rgba(25, 28, 36, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.service-promo-card.dual-invest .service-image-overlay {
    background: linear-gradient(to bottom,
            transparent 0%,
            transparent 40%,
            rgba(96, 165, 250, 0.1) 70%,
            rgba(96, 165, 250, 0.2) 85%,
            rgba(15, 23, 42, 0.95) 100%);
}

.promo-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
}

.promo-label {
    font-size: 11px;
    color: #93C5FD;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.service-promo-card.dual-invest .promo-label {
    color: #60a5fa;
}

.service-promo-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #ffffff;
}

.service-description-wrapper {
    flex: 1;
    margin-bottom: 1.5rem;
}

.service-promo-card p,
.service-short-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.service-full-desc {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.95rem;
    animation: fadeIn 0.4s ease-in-out;
}

.service-full-desc p {
    margin-bottom: 1rem;
}

.service-full-desc p:last-child {
    margin-bottom: 0;
}

.service-promo-card.expanded {
    min-height: auto;
    transition: min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-promo-card.expanded .promo-content {
    padding-bottom: 2.5rem;
}

.service-promo-card.expanded .service-image-wrapper {
    height: 180px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.btn-toggle-desc .toggle-icon {
    transition: transform 0.3s ease;
}

.service-promo-card.expanded .btn-toggle-desc .toggle-icon {
    transform: rotate(180deg);
}

.btn-promo {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    align-self: flex-start;
}

.btn-promo:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-promo-dark {
    background: rgba(96, 165, 250, 0.25);
    color: white;
    border: 1px solid rgba(96, 165, 250, 0.4);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    align-self: flex-start;
}

.btn-promo-dark:hover {
    background: rgba(96, 165, 250, 0.35);
    border-color: rgba(96, 165, 250, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.service-promo-card small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    display: block;
    margin-top: 0.75rem;
    opacity: 0.8;
}

.promo-bg-effect {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.service-promo-card:hover .promo-bg-effect {
    opacity: 0.5;
    transform: scale(1.2);
}

.service-promo-card.dual-invest .promo-bg-effect {
    background: radial-gradient(circle, rgba(148, 163, 184, 0.2), transparent);
}

.dual-invest-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.invest-circle {
    width: 128px;
    height: 128px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invest-inner {
    width: 64px;
    height: 64px;
    background: #1E293B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #F59E0B;
}

.join-banner {
    background: white;
    color: #0B1426;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.join-content {
    font-size: 1.125rem;
}

.join-content strong {
    color: #1E40AF;
    font-weight: 700;
}

/* Crypto Prices Section */
.prices-section {
    padding: 5rem 0;
}

.section-label {
    font-size: 12px;
    color: #60A5FA;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prices-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 15px;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.crypto-prices-list {
    margin-top: 3rem;
}

.crypto-price-item {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.crypto-price-item:hover {
    background: rgba(30, 41, 59, 0.5);
    transform: translateY(-2px);
}

.crypto-icon-large {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 1rem;
}

.crypto-icon-large.btc {
    background: linear-gradient(135deg, #EB1616, #8b0000);
}

.crypto-icon-large.eth {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.crypto-icon-large.xrp {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

.crypto-icon-large.sol {
    background: linear-gradient(135deg, #10B981, #059669);
}

.crypto-icon-large.cro {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

.crypto-name-large {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.crypto-symbol-large {
    font-size: 14px;
    color: #94A3B8;
}

.crypto-price-item small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.crypto-price-large {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.crypto-change-large {
    font-weight: 600;
}

.crypto-change-large.positive {
    color: #10B981;
}

.crypto-change-large.negative {
    color: #EF4444;
}

.crypto-market-cap {
    font-size: 14px;
    color: #94A3B8;
}

.crypto-chart-large {
    width: 96px;
    height: 48px;
}

.btn-trade {
    background: #EB1616;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-trade:hover {
    background: #a20000;
    transform: translateY(-1px);
}

/* DeFi Section / Feedback Section */
.defi-section {
    background: linear-gradient(135deg, rgba(25, 28, 36, 0.95), rgba(30, 41, 59, 0.98));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.defi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(235, 22, 22, 0.1), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(148, 163, 184, 0.1), transparent 50%);
    pointer-events: none;
}

.defi-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

/* Feedback Cards */
.feedback-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.5rem;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feedback-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EB1616, #8b0000);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(235, 22, 22, 0.3);
    border-color: rgba(235, 22, 22, 0.4);
}

.feedback-card:hover::before {
    opacity: 1;
}

.feedback-header {
    margin-bottom: 1rem;
}

/* Feedback Image Top (Rectangular) */
.feedback-image-top {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 1.5rem 1.5rem 0 0;
    background: rgba(30, 41, 59, 0.5);
    transition: all 0.3s ease;
}

.feedback-image-top:hover {
    transform: scale(1.02);
}

.feedback-image-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feedback-image-top:hover img {
    transform: scale(1.1);
}

.feedback-image-top.feedback-placeholder {
    background: linear-gradient(135deg, rgba(235, 22, 22, 0.2), rgba(139, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-image-top.feedback-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.image-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(235, 22, 22, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.feedback-image-top:hover .image-overlay-icon {
    opacity: 1;
}

.image-overlay-icon i {
    color: white;
    font-size: 1.2rem;
}

.feedback-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 200px;
}

/* Feedback Image Modal */
.feedback-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feedback-image-modal.show {
    opacity: 1;
    pointer-events: all;
}

.feedback-modal-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.feedback-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalZoomIn 0.3s ease;
}

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

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

.feedback-modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.feedback-modal-caption {
    margin-top: 1rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.feedback-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(235, 22, 22, 0.9);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.feedback-modal-close:hover {
    background: #EB1616;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(235, 22, 22, 0.5);
}

/* Feedback Slider */
.feedback-slider-container {
    position: relative;
    padding: 0 60px;
    margin: 0 auto;
}

.feedback-slider-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 1rem;
    width: 100%;
    max-width: 100%;
}

.feedback-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    gap: 0;
    width: auto;
    min-width: 100%;
    transform: translateX(0%);
}

.feedback-slide {
    flex: 0 0 calc(100% / 3);
    padding: 0 1rem;
    box-sizing: border-box;
    min-width: 0;
    flex-shrink: 0;
    width: calc(100% / 3);
    max-width: calc(100% / 3);
}

.feedback-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(235, 22, 22, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.feedback-slider-btn:hover {
    background: #EB1616;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(235, 22, 22, 0.5);
}

.feedback-prev {
    left: 0;
}

.feedback-next {
    right: 0;
}

.feedback-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.feedback-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-dot.active {
    background: #EB1616;
    width: 32px;
    border-radius: 6px;
}

.feedback-dot:hover {
    background: rgba(235, 22, 22, 0.6);
}

.feedback-slider-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 1rem;
    width: 100%;
    max-width: 100%;
}

.feedback-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* will-change: transform; - Removed to prevent iOS crash due to large memory allocation */
    gap: 0;
    width: 100%;
    transform: translateX(0px);
}

.feedback-slide {
    flex: 0 0 33.333333%;
    padding: 0 0.75rem;
    box-sizing: border-box;
    min-width: 0;
    flex-shrink: 0;
}

.feedback-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(235, 22, 22, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.feedback-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.feedback-slider-btn:hover {
    background: #EB1616;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(235, 22, 22, 0.5);
}

.feedback-prev {
    left: 0;
}

.feedback-next {
    right: 0;
}

.feedback-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.feedback-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-dot.active {
    background: #EB1616;
    width: 32px;
    border-radius: 6px;
}

.feedback-dot:hover {
    background: rgba(235, 22, 22, 0.6);
}

/* Responsive Feedback Slider */
@media (max-width: 992px) {
    .feedback-slide {
        flex: 0 0 50%;
    }

    .feedback-slider-container {
        padding: 0 50px;
    }
}

@media (max-width: 576px) {
    .feedback-slide {
        flex: 0 0 100%;
    }

    .feedback-slider-container {
        padding: 0 40px;
    }

    .feedback-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .feedback-image-top {
        height: 180px;
    }

    .feedback-image-top.feedback-placeholder i {
        font-size: 2.5rem;
    }

    .feedback-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.feedback-user-info {
    flex: 1;
}

.feedback-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feedback-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.feedback-content {
    flex: 1;
    margin-bottom: 1rem;
    min-height: 60px;
    max-height: 150px;
    overflow-y: auto;
}

.feedback-content::-webkit-scrollbar {
    width: 4px;
}

.feedback-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.feedback-content::-webkit-scrollbar-thumb {
    background: rgba(235, 22, 22, 0.5);
    border-radius: 2px;
}

.feedback-content::-webkit-scrollbar-thumb:hover {
    background: rgba(235, 22, 22, 0.7);
}

.feedback-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feedback-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: auto;
}

.feedback-rating i {
    color: #F59E0B;
    font-size: 0.875rem;
}

.defi-features {
    margin-bottom: 2rem;
}

.defi-features p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.defi-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-primary {
    border: 2px solid #1E40AF;
    color: #1E40AF;
    background: transparent;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #1E40AF;
    color: white;
    transform: translateY(-2px);
}

.defi-phone-container {
    display: flex;
    justify-content: center;
}

.defi-phone {
    width: 320px;
    height: 600px;
}

.defi-balance {
    text-align: center;
    margin-bottom: 2rem;
}

.defi-balance .balance-amount {
    color: white;
}

.defi-balance .balance-change {
    color: #10B981;
}

.defi-assets {
    color: white;
}

.section-title {
    font-size: 14px;
    color: #60A5FA;
    font-weight: 600;
    margin-bottom: 1rem;
}

.asset-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.asset-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.asset-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.asset-icon.btc {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.asset-icon.eth {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.asset-icon.sol {
    background: linear-gradient(135deg, #10B981, #059669);
}

.asset-icon.arb {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

.asset-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.asset-symbol {
    font-size: 14px;
    color: #94A3B8;
}

.asset-amount {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* Vision Section */
.vision-section {
    padding: 5rem 0;
}

.vision-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.vision-logo {
    margin: 3rem 0;
}

.crypto-hexagon {
    width: 192px;
    height: 192px;
    margin: 0 auto;
    position: relative;
}

.hexagon-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EB1616, #2c0407);
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s ease-in-out infinite;
}

.crypto-symbol {
    font-size: 3rem;
    color: white;
}

.vision-stat {
    margin-bottom: 2rem;
}

.stat-label {
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #60A5FA;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
        transform: scale(0.9);
    }

    .service-promo-card {
        margin-bottom: 1rem;
        min-height: 380px;
    }

    .service-image-wrapper {
        height: auto;
        min-height: 0;
        aspect-ratio: unset;
    }

    /* موبايل: إلغاء object-fit: cover وإظهار الصورة كاملة */
    .service-image-wrapper .service-banner-image,
    .promo-section .service-banner-image {
        width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: contain !important;
        object-position: center;
        background: #0f172a;
    }

    .service-promo-card.expanded .service-image-wrapper {
        height: auto;
        min-height: 0;
        aspect-ratio: unset;
    }

    .service-promo-card h3 {
        font-size: 1.5rem;
    }

    .promo-content {
        padding: 1.5rem;
    }

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

    .join-banner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .crypto-price-item .row>div {
        margin-bottom: 1rem;
    }

    .defi-buttons {
        justify-content: center;
    }

    .vision-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .prices-section h2 {
        font-size: 1.5rem;
        padding: 0 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }
    
    .prices-section .text-center {
        padding: 0 10px;
    }

    .defi-section h2 {
        font-size: 2rem;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
        transform: scale(0.8);
    }

    .service-promo-card {
        min-height: 360px;
    }

    .service-image-wrapper {
        height: auto;
        min-height: 0;
        aspect-ratio: unset;
    }

    /* موبايل صغير: إلغاء object-fit: cover */
    .service-image-wrapper .service-banner-image,
    .promo-section .service-banner-image {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain !important;
        object-position: center;
        background: #0f172a;
    }

    .service-promo-card.expanded .service-image-wrapper {
        height: auto;
        min-height: 0;
        aspect-ratio: unset;
    }

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

    .promo-content {
        padding: 1.25rem;
    }

    .promo-label {
        font-size: 10px;
    }

    .service-promo-card p {
        font-size: 0.875rem;
    }

    .feedback-card {
        padding: 1.5rem;
    }

    .feedback-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .feedback-name {
        font-size: 1rem;
    }

    .feedback-image,
    .feedback-avatar {
        width: 50px;
        height: 50px;
    }
}

.stat-value,
.balance-amount,
.asset-amount {
    transition: all 0.3s ease;
}



html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    /* يمنع أي سكرول أفقي */
}

.hero-section {
    position: relative;
    overflow: hidden;
    /* يمنع الخلفيات أو الموبايل من الخروج */
}

.hero-section .container {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.mobileScreen {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    perspective: 1000px;
    /* needed for 3D depth */
    overflow: hidden;
}

/* Stars Background - only behind phone */
.phone-container {
    position: relative;
}

.stars-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: transparent;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.stars-background::before,
.stars-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 40%, white, transparent),
        radial-gradient(1px 1px at 33% 60%, white, transparent),
        radial-gradient(1px 1px at 55% 80%, white, transparent),
        radial-gradient(2px 2px at 10% 90%, white, transparent),
        radial-gradient(1px 1px at 70% 20%, white, transparent),
        radial-gradient(2px 2px at 40% 10%, white, transparent),
        radial-gradient(1px 1px at 15% 50%, white, transparent),
        radial-gradient(2px 2px at 75% 60%, white, transparent),
        radial-gradient(1px 1px at 25% 80%, white, transparent),
        radial-gradient(1px 1px at 85% 70%, white, transparent),
        radial-gradient(2px 2px at 5% 40%, white, transparent),
        radial-gradient(1px 1px at 95% 30%, white, transparent),
        radial-gradient(1px 1px at 45% 90%, white, transparent),
        radial-gradient(2px 2px at 65% 15%, white, transparent),
        radial-gradient(1px 1px at 35% 25%, white, transparent),
        radial-gradient(1px 1px at 50% 5%, white, transparent);
    background-size: 200% 200%;
    background-repeat: repeat;
    opacity: 0.8;
    animation: twinkle 3s ease-in-out infinite alternate;
}

.stars-background::after {
    animation-delay: 1.5s;
    opacity: 0.6;
    background-size: 150% 150%;
}

@keyframes twinkle {
    0% {
        opacity: 0.4;
        transform: translateY(0);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.6;
        transform: translateY(-10px);
    }
}

.phone-container {
    transform-origin: center center;
    transform-style: preserve-3d;
    will-change: transform;
    /* No transition - JS controls rotation frame-by-frame for smooth scroll-based animation */
    opacity: 1;
    filter: brightness(1.1);
    position: relative;
    z-index: 1;
}

.bg-effect-1,
.bg-effect-2 {
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

/* نعدل الموبايل */
.mobile {
    display: block;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    opacity: 1;
    position: relative;
    z-index: 2;
}

/* Services Section */
.services-section {
    background-color: #191C24;
    padding: 80px 0;
}

.service-card {
    background: linear-gradient(135deg, rgba(235, 22, 22, 0.1), rgba(65, 4, 4, 0.1));
    border: 1px solid rgba(235, 22, 22, 0.2);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(235, 22, 22, 0.3);
    border-color: rgba(235, 22, 22, 0.5);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    background: rgba(25, 28, 36, 0.8);
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #E2E8F0;
    margin-bottom: 1rem;
}

.service-description {
    color: #94A3B8;
    line-height: 1.6;
    font-size: 1rem;
}

.service-description p {
    margin-bottom: 0.5rem;
}

.service-stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(235, 22, 22, 0.2);
}

.stat-item {
    padding: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #EB1616;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* RTL Support for Arabic */
[dir="rtl"] .service-card {
    text-align: right;
}

[dir="rtl"] .service-stats .row {
    direction: rtl;
}

/* Responsive Services */
@media (max-width: 768px) {
    .service-title {
        font-size: 1.5rem;
    }

    .service-image {
        height: 200px;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

/* Fixed Social Media Sidebar */
.fixed-social-sidebar {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.fixed-social-sidebar.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-icons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.social-icon-item {
    width: 45px;
    height: 45px;
    background: rgba(235, 22, 22, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(235, 22, 22, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-icon-item:hover {
    background: #EB1616;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(235, 22, 22, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icon-item i {
    transition: transform 0.3s ease;
}

.social-icon-item:hover i {
    transform: scale(1.2);
}

/* RTL Support for Social Sidebar */
[dir="rtl"] .fixed-social-sidebar {
    left: auto;
    right: 30px;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #EB1616;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(235, 22, 22, 0.4);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    /* iOS Safari fixes */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
    text-decoration: none;
    outline: none;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background-color: #c71414;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(235, 22, 22, 0.6);
}

.scroll-to-top-btn i {
    font-size: 1.2rem;
}

[dir="rtl"] .scroll-to-top-btn {
    right: auto;
    left: 30px;
}

@media (max-width: 768px) {
    .fixed-social-sidebar {
        display: none !important; /* Hide social links on mobile */
    }
    
    .social-icon-item {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    [dir="rtl"] .scroll-to-top-btn {
        left: 20px;
    }

    .scroll-to-top-btn i {
        font-size: 1rem;
    }
}

/* Video Modal Overlay */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.video-modal-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-play-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.start-video-btn {
    background: #EB1616;
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(235, 22, 22, 0.4);
}

.start-video-btn:hover {
    background: #c71414;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(235, 22, 22, 0.6);
}

.start-video-btn i {
    font-size: 1.5rem;
}

.intro-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.intro-video::-webkit-media-controls-play-button,
.intro-video::-webkit-media-controls-timeline,
.intro-video::-webkit-media-controls-current-time-display,
.intro-video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

@media (max-width: 768px) {
    .video-modal-container {
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .video-wrapper {
        width: 100%;
        height: 100%;
    }

    .start-video-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .start-video-btn i {
        font-size: 1.2rem;
    }

    .intro-video {
        object-fit: contain;
    }
}