/*
* PLAN CODE - Main Stylesheet
* Version: 1.0
*/

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

:root {
    --primary-color: #6f42c1;
    --primary-dark: #5a32a3;
    --primary-light: #8c68d6;
    --secondary-color: #20c997;
    --dark-color: #111;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --bg-dark: #121212;
    --bg-light: #ffffff;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: 'Cairo', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    direction: rtl;
    transition: var(--transition);
    scroll-behavior: smooth;
}

body.dark-mode {
    color: var(--text-light);
    background-color: var(--bg-dark);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.dark-mode .section-header h2 {
    color: var(--primary-light);
}

.section-header h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
}

.dark-mode .section-header p {
    color: #adb5bd;
}

.bg-gradient {
    background: linear-gradient(135deg, rgba(15, 15, 15, 1) 0%, rgba(44, 20, 79, 1) 100%);
    color: var(--text-light);
}

/* Buttons & Forms */
.btn {
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, 
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    color: var(--light-color);
    border-color: var(--light-color);
}

.btn-outline-light:hover, 
.btn-outline-light:focus {
    background-color: var(--light-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

.dark-mode .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
    border-color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Language & Theme Switchers */
.language-switcher,
.theme-switcher {
    position: fixed;
    z-index: 99000;
}

.language-switcher {
    top: 20px;
    right: 20px;
    display: flex;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 5px;
}

.language-switcher button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
}

.language-switcher button.active {
    background-color: var(--primary-color);
    color: white;
}

.theme-switcher {
    top: 20px;
    left: 20px;
}

.theme-switcher button {
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-switcher button:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

body:not(.dark-mode) #dark-icon {
    display: none;
}

body.dark-mode #light-icon {
    display: none;
}

/***************** 
 * Navigation 
 *****************/
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}


/* تعديل موضع زر التوجيه ليكون دائمًا على اليمين في الشاشات الصغيرة */
.navbar-toggler {
    margin-left: 0;
    /*margin-right: auto;*/
    position: relative;
    right: 15px;
}


/* إعادة تعريف موضع اللوجو ليكون دائمًا على اليسار */
.navbar-brand {
    margin-right: 0;
    margin-left: auto;
    position: absolute;
    left: 38px;
    top: 50%;
    transform: translateY(-50%);
}


.navbar-brand img.logo {
    height: 50px;
}


/* تعديلات للشاشات المتوسطة والكبيرة */


/* تعديلات للتأكد من عدم تأثر الموضع باتجاه اللغة */
html[dir="ltr"] .navbar-brand,
html[dir="rtl"] .navbar-brand {
    right: auto;
}

html[dir="ltr"] .navbar-toggler,
html[dir="rtl"] .navbar-toggler {
    left: auto;
}

/* تعديلات إضافية للشاشات الصغيرة */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1030;
        background-color: var(--bg-dark);
        padding: 15px;
        border-radius: 0 0 10px 10px;
    }
    
    /* تأكيد أن القائمة المنسدلة تظهر بشكل صحيح */
    .navbar-nav {
        width: 100%;
    }
}




.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 1rem;
    left: 1rem;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    transform: scaleX(1);
}

/***************** 
 * Hero Section 
 *****************/
.hero-section {
    height: 105vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    background-color: var(--bg-dark);
    overflow: hidden;
    z-index: 1;
    color: white;
    padding-top: 80px;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(70, 28, 128, 0.8) 100%);
    z-index: -1;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.typed-text {
    color: var(--primary-light);
}

.hero-image {
    position: relative;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

/***************** 
 * Services Section 
 *****************/
.service-card {
    background-color: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.dark-mode .service-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background-color: rgba(111, 66, 193, 0.1);
    border-radius: 50%;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover:before {
    transform: scale(5);
}

.service-icon {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    background-color: rgba(111, 66, 193, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.dark-mode .service-icon {
    background-color: rgba(111, 66, 193, 0.2);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.dark-mode .service-card h3 {
    color: var(--text-light);
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.dark-mode .service-card p {
    color: #adb5bd;
}

/***************** 
 * Products Section 
 *****************/
.products-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active, 
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay a {
    margin: 0 5px;
}

.product-body {
    padding: 1.5rem;
}

.product-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: white;
}

.product-price {
    margin-bottom: 1rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
}

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

/***************** 
 * Courses Section 
 *****************/
.course-card {
    background-color: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.dark-mode .course-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-body {
    padding: 1.5rem;
}

.course-meta {
    display: flex;
    margin-bottom: 1rem;
}

.course-meta span {
    margin-right: 1rem;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.dark-mode .course-meta span {
    color: #adb5bd;
}

.course-meta i {
    margin-left: 5px;
}

.course-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.dark-mode .course-body h3 {
    color: var(--text-light);
}

.course-body p {
    color: var(--gray-color);
    margin-bottom: 1.25rem;
}

.dark-mode .course-body p {
    color: #adb5bd;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.dark-mode .course-price {
    color: var(--primary-light);
}

/***************** 
 * Community Section 
 *****************/
.community-feature {
    display: flex;
    margin-bottom: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
}

.community-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
}

.feature-list {
    margin-bottom: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.feature-list li i {
    color: var(--primary-light);
    margin-left: 0.5rem;
}

.demo-chat {
    margin-top: 3rem;
}

.chat-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: 1rem;
}

.chat-info h4 {
    margin-bottom: 0.25rem;
    color: white;
    font-size: 1rem;
}

.chat-info span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.chat-body {
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.message {
    display: flex;
    margin-bottom: 1rem;
    flex-direction: column;
}

.message.bot {
    align-items: flex-start;
}

.message.user {
    align-items: flex-end;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    max-width: 80%;
    margin-bottom: 0.25rem;
}

.message.bot .message-content {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-top-left-radius: 0;
}

.message.user .message-content {
    background-color: var(--primary-color);
    color: white;
    border-top-right-radius: 0;
}

.message-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.chat-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quick-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.quick-btn:hover {
    background-color: var(--primary-color);
}

.chat-input {
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.chat-input input:focus {
    outline: none;
}

.chat-input button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    background-color: var(--primary-dark);
}

/***************** 
 * About Section 
 *****************/
.about-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.dark-mode .about-content h3 {
    color: var(--primary-light);
}

.about-content p {
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.dark-mode .about-content p {
    color: #adb5bd;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.dark-mode .stat-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin: 5px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.dark-mode .stat-number {
    color: var(--primary-light);
}

.stat-title {
    color: var(--gray-color);
    font-weight: 500;
}

.dark-mode .stat-title {
    color: #adb5bd;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: var(--bg-light);
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.dark-mode .feature-item {
    background-color: rgba(255, 255, 255, 0.05);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    color: var(--primary-color);
    margin-left: 0.5rem;
    font-size: 1.25rem;
}

.dark-mode .feature-item i {
    color: var(--primary-light);
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image:after {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    z-index: -1;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/***************** 
 * Contact Section 
 *****************/
.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.5rem;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

/***************** 
 * Footer 
 *****************/
.footer {
    background-color: var(--dark-color);
    color: white;
    position: relative;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: none;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--primary-color);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/***************** 
 * Chatbot 
 *****************/
.chat-bot {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.chat-bot-button {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.chat-bot-button:hover {
    transform: scale(1.1);
}

.chat-bot-popup {
    position: absolute;
    bottom: 65px;
    left: 0;
    min-width: 320px;
    background-color: var(--bg-dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
}

.chat-bot-popup.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
}

.chat-title {
    display: flex;
    align-items: center;
}

.chat-title i {
    margin-left: 0.5rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
}

.chat-messages {
    height: 36vh;
    overflow-y: auto;
    padding: 1rem;
}

.chat-quick-replies {
    padding: 0 0.3rem 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-reply-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.quick-reply-btn:hover {
    background-color: var(--primary-color);
}

.chat-input-container {
    display: flex;
    padding: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 30px;
    margin-left: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.chat-input:focus {
    outline: none;
}

.chat-send {
    background-color: var(--primary-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/***************** 
 * Back to Top 
 *****************/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: var(--transition);
    text-align: center;
}

.notification.active {
    transform: translateX(-50%) translateY(0);
}

/***************** 
 * Responsive 
 *****************/
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 80px 0;
    }
    
    .hero-section {
        height: 100vh;
        padding: 120px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    .hero-image .img-fluid {
        max-height: 45vh;
    }
    .about-image {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .community-feature {
        flex-direction: column;
    }
    
    .feature-icon {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .products-filter {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .chat-bot-popup {
        width: 300px;
    }
}