@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap");

/*<!-- Custom CSS -->*/

/* General Styles */
:root {
    --primary-color: var(--bs-primary);
    --secondary-color: #1f3777;
    --primary-dark: #5649c0;
    --accent-color: #00cec9;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --gray-color: #dfe6e9;
    --success-color: #00b894;
    --danger-color: #d63031;
    --warning-color: #fdcb6e;
    --info-color: #0984e3;
    --text-color: #666;
    --light-bg: #f9f9f9;
    --text-primary: #f15524;
    --secondary-color: #2c3e50;
    --accent-color: #f8f9fa;
    --text-dark: #2c3e50;
    --gradient-bg: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
}

body {
    font-family: 'Cairo', sans-serif;
}

/*
.bg-primary-color {
    background-color: #1f3777 !important;
}
*/

.wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar {
    background-image: url('../img/bg-home.jpg');
    background-size: auto;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* padding: 18px 0; */
    position: relative;
    overflow: hidden;
    height: 40px;
    line-height: 40px;
}


.top-bar .contact-item i {
    background-color: rgba(241, 85, 36, 0.1);
    padding: 24px;
    transition: all 0.3s ease;
}

.top-bar .contact-item:hover i {
    background: #f15524;
    color: #ffffff !important
}

.logo-container {
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateX(5px);
}

header .logo-img {
    height: 70px !important;
}

.top-bar .contact-item {
    display: flex;
    align-items: center;
    margin-left: 30px;
    position: relative;
    padding: 8px 0;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 20px;
    margin-left: 10px;
    text-shadow: 0 2px 5px rgba(0, 168, 255, 0.2);
}

.contact-content {
    display: flex;
    flex-direction: column;
}

.contact-label {
    margin-bottom: 2px;
}

.contact-value {
    font-size: 22px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.top-bar .contact-item a {
    font-weight: bold;
}

.top-bar .contact-item:hover .contact-value {
    color: var(--primary-color);
    transform: translateX(-3px);
}

/* الهيدر الأساسي */
header.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* تأثير أكثر نعومة */
    transform: translateZ(0);
    /* تحسين الأداء */
    will-change: transform, height;
    /* تحسين الأداء */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);

    background-image: url('../img/bg-home.jpg');
    background-size: auto;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* padding: 18px 0; */
    /* لون الخلفية */
}
.navbar-mobile{
    position: sticky;
    top: 0;
    z-index: 1020;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* تأثير أكثر نعومة */
    transform: translateZ(0);
    /* تحسين الأداء */
    will-change: transform, height;
    /* تحسين الأداء */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);

    background-image: url('../img/bg-home.jpg');
    background-size: auto;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* padding: 18px 0; */
    /* لون الخلفية */
}
/* حالة التقلص */
header.shrink {
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    /* أكثر عتامة عند التقلص */
}

/* الشعار */
.navbar-brand img {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* يجعل التحجيم يبدأ من اليسار */
}

header.shrink .navbar-brand img {
    height: 50px;
}

/* عناصر القائمة */
.nav-link {
    padding: 0.5rem 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

header.shrink .nav-link {
    padding: 0.3rem 0.8rem;
}

.header-social-icons a {
    font-size: 20px;
    color: #ffffff;
    padding: 17px;
    margin: 0px;
}

.header-social-icons a:hover {
    background: var(--secondary-color) !important;
}

.header-social-icons a.facebook {
    background-color: #3b5998;
}

.header-social-icons a.twitter {
    background-color: #070707;
}

.header-social-icons a.request-service {
    background-color: #f15524;
    padding: 17px 34px;
}

/* الأزرار */
.btn {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button,
input,
optgroup,
select,
textarea {
    border: 1px solid #ddd;
    padding-left: 10px;
    padding-right: 10px;
}

.section-header .divider {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto;
}

/* Language Switcher */
.language-switcher {
    font-size: 0.875rem;
}

/* Language Switcher in Navbar */
.navbar .dropdown-menu {
    min-width: 196px;
}

.navbar .language-option {
    padding: 0.25rem 1rem;
    cursor: pointer;
}

a:-webkit-any-link:focus-visible,
:focus-visible {
    outline-offset: 0;
}

.dropdown-item.active,
.dropdown-item:active {
    background: none;
    border: none;
    outline-offset: 0;
}

.navbar .language-option.active {
    background-color: var(--bs-primary);
    color: white;
}

.navbar .language-option.active:hover {
    background-color: var(--bs-primary);
    color: white;
}

/* ========== تصميم الهيدر الجديد ========== */
.navbar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    transition: all 0.3s ease;
    /*    background: #ffffff*/
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand h2 {
    font-size: 2.5rem;
}

span#cartCount {
    left: -5px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -13px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #000000;
    font-weight: 500;
    padding: 20px 15px;
    position: relative;
    transition: all 0.3s ease;
    line-height: 52px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
li.current-menu-item > a {
    color: var(--bs-primary);
    font-weight: 600;
}

/* أزرار الهيدر */
.navbar .btn-outline-light {
    border-color: #d0cece;
    color: #555;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.navbar .btn-outline-light:hover {
    background-color: var(--bs-primary);
    color: white;
    box-shadow: 0 4px 8px rgba(108, 92, 231, 0.2);
}

.navbar .btn-primary {
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* زر اللغة الجديد */
#currentLanguage {
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar .dropdown-toggle::after {
    margin-right: 5px;
}

/* تأثيرات الـ hover على قائمة اللغة */
.navbar .dropdown-item {
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 2px 5px;
    width: auto;
}

.navbar .dropdown-item:hover {
    color: var(--bs-primary);
}

/* تأثيرات الحركة عند التمرير */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    animation: fadeInDown 0.5s ease-out;
}

.navbar-mobile .header-item {
    margin: 0 5px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.navbar-mobile span#cartCount {
    width: 16px;
    height: 16px;
    font-size: 12px;
}

.offcanvas .language-option.active {
    background-color: var(--primary-color);
    color: white;
}

.offcanvas .language-option.active:hover {
    background-color: var(--primary-dark);
}

.navbar-mobile .header-item a {
    color: #000000
}

.navbar-mobile .header-item a span {
    color: #ffffff
}

/* Dropdown Menu Items */
.dropdown-item.language-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-item.language-option::after {
    content: "";
    width: 20px;
    text-align: right;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* ارتفاع ثابت للسلايدر */
.carousel-item {
    height: 700px; /* بدل 100vh */
    position: relative;
}

/* الصورة تملأ المساحة */
.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.2s ease-out;
}

.carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    flex-direction: column;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
}

.icon-box i {
    font-size: 2em;
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.badge {
    font-weight: 500;
    padding: 5px 10px;
}

.star-rating {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.price-content {
    gap: 10px;
}

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: right 0.3s ease;
    overflow: scroll;
    bottom: 0;
    padding-bottom: 30px;
    max-width: 100%;
}

.cart-sidebar.show {
    right: 0;
}

.cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-color);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-remove {
    color: var(--danger-color);
    background: none;
    border: none;
    cursor: pointer;
}

/* Dark Mode Styles */

.dropdown-item.active,
.dropdown-item:active {
    color: inherit;
}


.bg-primary {
    background-color: var(--primary-dark) !important;
}

/* إضافة فترات تأخير مخصصة */
.animate__delay-0_5s {
    animation-delay: 0.5s;
}

.animate__delay-1_5s {
    animation-delay: 1.5s;
}

.animate__delay-2_5s {
    animation-delay: 2.5s;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 999;
    line-height: 58px;
    align-items: center;
    justify-content: center;
}

/* تأثيرات الحركة */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(108, 92, 231, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* تأثيرات ظهور العناصر */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smart Status Bar */
.smart-status-bar {
    background-color: var(--dark-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--primary-color);
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

.smart-status-bar .status-item {
    display: flex;
    align-items: center;
}

.smart-status-bar i {
    color: var(--primary-color);
}

.payment-methods svg {
    fill: #c9c7c7;
    height: 30px;
    margin: 0 5px;
    border: 1px solid #7b7777;
    padding: 3px 5px;
    border-radius: 5px;
    cursor: pointer
}

.payment-methods img {
    height: revert-layer;
}

/* Smart Control Panel */
.control-card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.control-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.control-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.control-slider {
    max-width: 200px;
    margin: 0 auto;
}

/* Smart Offers */
.smart-offers {
    position: relative;
    overflow: hidden;
}

.smart-offers ul {
    margin: 0;
    padding: 0;
}

.smart-offers {
    /* تدرج أزرق */
    position: relative;
    overflow: hidden;
}

.smart-offers::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'><path fill='%23ffffff' fill-opacity='0.15' d='M0,160L48,160C96,160,192,160,288,144C384,128,480,96,576,101.3C672,107,768,149,864,154.7C960,160,1056,128,1152,106.7C1248,85,1344,75,1392,69.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'/></svg>") no-repeat top center;
    background-size: cover;
    z-index: 0;
}

.smart-offers .container {
    position: relative;
    z-index: 1;
}


.offer-image {
    position: relative;
    /*    animation: float 6s ease-in-out infinite;*/
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.smart-offers li {
    font-size: 1.1rem;
}

.smart-offers .fa-check-circle {
    color: #00ff9d;
}

/* Smart Alerts */
.alert-container {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 1100;
}

.smart-alert {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    animation: slideIn 0.5s ease-out;
    max-width: 350px;
    background: #ffffff
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}


.alert-close {
    background: none;
    border: none;
    margin-left: 15px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.alert-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* Additional Animations */
@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Floating Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Glow Effect */
.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(108, 92, 231, 0.5);
    }

    to {
        box-shadow: 0 0 20px rgba(108, 92, 231, 0.8);
    }
}

/* Hover Effects */
.btn-hover-grow {
    transition: all 0.3s ease;
}

.btn-hover-grow:hover {
    transform: scale(1.05);
}


/* Whatsapp Styles */

.whatsapp-wrapper {
    position: fixed;
    bottom: 30px;
    /* الزر على اليسار */
    z-index: 999;
    display: flex;
    align-items: center;
    /* لجعل الشريط يظهر يمين الزر */
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    font-size: 32px;
    transition: all 0.3s ease;
}

.whatsapp-label {
    background-color: #25D366;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 30px;
    margin-right: 10px;
    white-space: nowrap;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(10px);
    /* يظهر من اليمين */
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.whatsapp-wrapper:hover .whatsapp-label {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* AI Assistant Styles */
.ai-assistant {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.ai-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.ai-btn:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.ai-chat-header {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #f9f9f9;
}

.ai-message {
    display: flex;
    margin-bottom: 15px;
}

.ai-response {
    flex-direction: row;
}

.ai-avatar {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-text {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ai-chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    background: #f00;
}

.ai-chat-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
}

.ai-chat-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
}

/*smart-control-panel*/
/* Overlay Styles */
.glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 0, 0.1);
    box-shadow: inset 0 0 100px rgba(255, 200, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

.temp-glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 150, 255, 0.1);
    box-shadow: inset 0 0 100px rgba(0, 150, 255, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

.cloud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1000;
}

.position-relative {
    position: relative;
}

.z-index-1 {
    z-index: 1;
}

/* Control Panel Styles */
.control-card {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.control-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Slider Styles */
.brightness-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
}

.brightness-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

/* Active States */
.glow-active {
    opacity: 1 !important;
    animation: pulse-glow 2s infinite alternate;
}

.temp-glow-active {
    opacity: 1 !important;
    animation: pulse-temp-glow 2s infinite alternate;
}

.cloud-active {
    opacity: 0.7 !important;
}

/* Animations */
@keyframes pulse-glow {
    0% {
        box-shadow: inset 0 0 100px rgba(255, 200, 0, 0.3);
    }

    100% {
        box-shadow: inset 0 0 150px rgba(255, 200, 0, 0.5);
    }
}

@keyframes pulse-temp-glow {
    0% {
        box-shadow: inset 0 0 100px rgba(0, 150, 255, 0.3);
    }

    100% {
        box-shadow: inset 0 0 150px rgba(0, 150, 255, 0.5);
    }
}

/* Dashboard Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.dashboard-card {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 15px 20px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body {
    padding: 20px;
}

.device {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.device:last-child {
    border-bottom: none;
}

.device-info {
    display: flex;
    align-items: center;
}

.device-info i {
    width: 30px;
    height: 30px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--primary-color);
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Energy Card */
.energy-card .card-body {
    padding: 0;
}

.energy-chart {
    height: 150px;
    padding: 15px;
}

.energy-stats {
    display: flex;
    border-top: 1px solid #eee;
}

.stat {
    flex: 1;
    padding: 15px;
    text-align: center;
}

.stat:first-child {
    border-right: 1px solid #eee;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

/* Smart Scenes Styles */
.scene-card {
    /*            background: white;*/
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: #ffffff
}

.scene-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.scene-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.scene-icon.morning {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.scene-icon.away {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.scene-icon.night {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.scene-icon.party {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
}

.scene-card h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: #000000;
}

.scene-card p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Scene Notification */
.scene-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    display: flex;
    align-items: center;
    z-index: 1050;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.scene-notification i {
    margin-right: 10px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Security Monitor Styles */
.security-camera {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.camera-live {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
}

.camera-live img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.camera-timestamp {
    font-family: monospace;
    font-size: 0.9rem;
}

.camera-list {
    display: flex;
    padding: 10px;
    overflow-x: auto;
}

.camera-thumb {
    min-width: 100px;
    margin-right: 10px;
    text-align: center;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.camera-thumb.active {
    opacity: 1;
    transform: translateY(-5px);
}

.camera-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.camera-thumb span {
    display: block;
    font-size: 0.7rem;
    margin-top: 5px;
}

.security-events {
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-list {
    max-height: 300px;
    overflow-y: auto;
}

.event-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.event-item:last-child {
    border-bottom: none;
}

.event-icon {
    width: 40px;
    height: 40px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.event-details {
    flex: 1;
}

.event-title {
    font-weight: 500;
    margin-bottom: 3px;
}

.event-time {
    font-size: 0.8rem;
    color: #777;
}

/* تأثيرات الحركة */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/*mission-section*/

.mission-section {
    padding: 100px 0 20px;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.title-accent {
    color: var(--primary-color);
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* Tabs Navigation */
.mission-tabs {
    margin-bottom: 16px;
    padding: 0;
}

.mission-tabs .nav-link {
    color: #555;
    font-weight: 600;
    font-size: 18px;
    padding: 15px 25px;
    border: none;
    background: transparent;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0dfde;
}

.mission-tabs .nav-link.active {
    color: var(--bs-primary);
    border-top: 1px solid #e0dfde;
    border-right: 1px solid #e0dfde;
    border-left: 1px solid #e0dfde;
    border-bottom: 0px;
}

/*
.mission-tabs .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}
*/

.mission-tabs .nav-link:hover {
    color: var(--bs-primary);
}

/* Tab Content */
.tab-pane {
    padding: 30px 0;
}

/* About Tab */
.mission-section .about-image {
    position: relative;
    box-shadow: -10px 10px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
}

.mission-section .about-image:before {
    content: '';
    position: absolute;
    top: 20px;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: -1;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 15px 30px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.about-image:hover .image-caption {
    box-shadow: 0 10px 30px rgba(241, 85, 36, 0.3);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    padding-left: 50px;
}

.feature-list i {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-list li:hover i {
    background: var(--primary-color);
    color: white;
}

/* Strategy Tab */
.strategy-box {
    padding: 50px 30px;
    border: 6px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.strategy-box:hover {
    background: rgba(241, 85, 36, 0.1);
}

.strategy-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
}

.strategy-title {
    margin-bottom: 25px;
    font-weight: 700;
}

/* Location Tab */
.location-map {
    width: 95%;
    min-height: 400px;
}

.office-list {
    list-style: none;
    padding: 0;
}

.office-list li {
    margin-bottom: 20px;
    padding-left: 60px;
    position: relative;
}

.office-list i {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.office-list li:hover i {
    background: var(--secondary-color);
}

.office-name {
    font-weight: 700;
    display: block;
}

.office-address {
    font-size: 16px;
}

/*Star services-section*/

.services-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,20"/></svg>');
    background-size: cover;
}

.services-content {
    position: relative;
    z-index: 2;
}

.service-card {
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.services-page .about-section h2.section-title {
    color: #ffffff
}

.services-page .about-section .section-subtitle {
    color: #ebe2df;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.services-page .about-section {
    padding: 80px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--primary-color);
}

.pricing-section {
    padding: 80px 0;
}

.pricing-card {
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.pricing-card:hover,
.pricing-card.featured {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.pricing-card.featured {
    background: var(--gradient-bg);
    color: white;
}

.pricing-card.featured .price {
    color: white;
}

.pricing-card a {
    color: #ffffff;
}

.pricing-card.featured a {
    background: #ff5a00;
    border: 1px solid #e99595;
}

.pricing-section .pricing-card .price {
    font-size: 3rem !important;
    font-weight: 700;
    color: var(--primary-color);
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.btn-primary-custom {
    background: var(--gradient-bg);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.cta-section {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0;
    position: relative;
    background-image: url('../img/footer-bg.jpg');
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.partners-section {
    padding: 60px 0;
}

.partner-logo {
    height: 80px;
    width: 120px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.services-page .stats-counter {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
}

/*Add this CSS to your style section*/

/* Special Services Styles */
.special-service-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.special-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-split-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-split-box.reverse {
    flex-direction: column-reverse;
}

.split-image {
    height: 200px;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.special-service-card:hover .split-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.content-inner {
    width: 100%;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.service-content p {
    line-height: 1.6;
    margin-bottom: 0;
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-gradient {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*Our Featured Projects*/

.project-card {
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.Projects {
    padding: 100px 0;
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*About Us - Smart Home Solutions*/

.about-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    min-height: 600px;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.stats-section {
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.service-item {
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.team-section {
    background: url('../img/parallax-pr.jpg');
    color: white;
}

.team-member {
    text-align: center;
    margin-bottom: 3rem;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    margin: 0 auto 2rem;
    display: block;
    transition: all 0.3s ease;
}

.team-member:hover .team-photo {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.team-position {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
}

.projects-showcase {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.project-counter {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-us-page .about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.about-us-page .about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: -1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: -2s;
}

.floating-elements::after {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: -4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}






/*Stats Section*/
.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 20px;
    margin: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    cursor: pointer
}


.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Icon animation */
.stat-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Title animation */
.stats-title {
    text-align: center;
    color: #000;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-card {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*scenes-section*/

/* Base Styles */
.scenes-section {
    background: #e9e8e8;
    transition: background 0.5s ease;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.wavy-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
}

.wave-white {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    animation: wave-animation 15s linear infinite;
}

.wave-white-secondary {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 200%;
    height: 90%;
    animation: wave-animation 12s linear infinite reverse;
    opacity: 0.7;
}

/* Active Button Style */
.scene-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Bubbles Design */
.bubbles-container {
    /*        position: absolute;*/
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.1);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.bubble-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation: float-bubble 15s ease-in-out infinite;
}

.bubble-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 80%;
    animation: float-bubble 12s ease-in-out infinite 2s;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 30%;
    animation: float-bubble 18s ease-in-out infinite 1s;
}

.bubble-4 {
    width: 60px;
    height: 60px;
    top: 70%;
    left: 20%;
    animation: float-bubble 10s ease-in-out infinite 3s;
}

.bubble-5 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 70%;
    animation: float-bubble 14s ease-in-out infinite 4s;
}

/* Scene Cards */
.scene-card {
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.hover-transform:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.scene-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.scene-icon.morning {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.scene-icon.away {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.scene-icon.night {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.scene-icon.party {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
}

/* Animations */
@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes float-bubble {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) translateX(10px) rotate(5deg);
    }

    50% {
        transform: translateY(10px) translateX(-15px) rotate(-5deg);
    }

    75% {
        transform: translateY(-15px) translateX(5px) rotate(3deg);
    }
}

/* Responsive Adjustments */


.scenes-section .section-header .divider {
    background: #ffffff;
}

/* المساعد الذكي */

.ai-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-chat-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    max-height: 70vh;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    background: #ffffff
}

/* CSS - أضف هذه الأنماط */

.alert-icon {
    font-size: 1.5rem;
    color: #28a745;
}

.page-template-page-about .welcome-to .section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 3px;
    left: 0
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: .5rem !important;
}

footer ul li a {
    color: #ffffff;
}

.cart-header {
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.allRightsReserved {
    font-size: 1.10rem !important;
}

/*Product gallery*/
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
    width: 100%;
}

.product-gallery img {
    object-fit: contain;
    background: #fff;
}

.main-image {
    height: 500px;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: var(--primary) !important;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
}

.badge-offer {
    top: 15px;
    right: 15px;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid var(--primary);
    color: var(--primary);
    font-weight: bold;
}

.rating-star {
    color: #ffc107;
    font-size: 18px;
}

.related-item {
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-img {
    height: 200px;
    object-fit: cover;
}

.related-price {
    color: var(--primary);
}

.post-tags a {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: var(--bs-border-radius);
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-badge-border-radius);
}

#comments .comment h5 {
    font-size: 13px
}

#comments ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* زر القائمة المخصص */
.custom-menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    border: 1px solid #ddd;
}

.custom-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.offcanvas-header {
    border-bottom: 1px solid #ddd;
    justify-content: space-between;
}

.offcanvas-header .btn-close {
    margin-right: 0;
    margin-left: auto;
}

.alert-icon {
    margin-right: 15px;
    margin-left: 0;
}

.about-image:before {
    left: -20px;
    right: auto;
}

.about-image:before {
    left: -20px;
    right: auto;
}

.social-icons a {
    margin-right: 10px;
    margin-left: 0;
}

.alert-close {
    margin-left: 15px;
    margin-right: 0;
}

.ai-chat-input button {
    margin-left: 10px;
    margin-right: 0;
}

.ai-avatar {
    margin-right: 10px;
    margin-left: 0;
}

.payment-methods img {
    margin-left: .5rem;
    margin-right: 0;
}

.form-floating > label {
    left: 0;
}

.smart-status-bar i {
    margin-right: 8px;
    margin-left: 0;
}

.page-template-page-about .welcome-to .section-title:after {
    left: 0;
    right: auto;
}