/* إعدادات عامة وتصفير الهوامش */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
}

/* =========================================
   القسم العلوي للهيدر
   ========================================= */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-header {
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 60px;
}

.logo-text h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: #004d40;
}

.logo-text span {
    font-size: 16px;
    font-weight: 600;
    color: #ffb300;
    letter-spacing: 1px;
}

.search-area {
    flex: 1;
    max-width: 600px;
}

.search-form {
    display: flex;
    border: 2px solid #004d40;
    border-radius: 8px;
    overflow: hidden;
    height: 45px;
}

.search-select {
    border: none;
    background-color: #f1f1f1;
    padding: 0 15px;
    font-weight: 600;
    color: #333;
    outline: none;
    border-inline-end: 1px solid #ccc;
    cursor: pointer;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 0 15px;
    outline: none;
    font-size: 15px;
}

.search-form button {
    background-color: #004d40;
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.search-form button:hover {
    background-color: #00332a;
}

.user-area {
    min-width: 150px;
    text-align: end;
}

.welcome-text, .login-btn {
    font-size: 16px;
    font-weight: 600;
    color: #004d40;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.login-btn {
    background-color: #004d40;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    transition: 0.3s;
}

.login-btn:hover {
    background-color: #ffb300;
    color: #004d40;
}

/* =========================================
   القسم السفلي (القوائم)
   ========================================= */
.bottom-header {
    background-color: #004d40;
    color: #ffffff;
}

.bottom-header-container {
    display: flex;
    align-items: center;
    height: 50px;
}

.menu-toggle-btn {
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0 15px;
    border-inline-end: 1px solid rgba(255,255,255,0.2);
    height: 100%;
    transition: 0.3s;
}

.menu-toggle-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.horizontal-nav {
    flex: 1;
}

.horizontal-nav ul {
    display: flex;
    align-items: center;
    height: 100%;
}

.horizontal-nav ul li a {
    display: block;
    padding: 0 20px;
    font-weight: 600;
    line-height: 50px;
    transition: 0.3s;
}

.horizontal-nav ul li a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffb300;
}

/* =========================================
   شريط الأخبار
   ========================================= */
.news-ticker-container {
    background-color: #ffffff;
    border-bottom: 2px solid #ffb300;
    height: 40px;
    overflow: hidden;
}

.ticker-flex {
    display: flex;
    align-items: center;
    height: 100%;
}

.ticker-title {
    background-color: #ffb300;
    color: #004d40;
    font-weight: 700;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    z-index: 2;
}

.ticker-content {
    flex: 1;
    display: flex;
    align-items: center;
    color: #555;
    font-weight: 600;
}

.news-item {
    margin-inline-end: 30px;
}

/* =========================================
   القائمة الجانبية (Sidebar)
   ========================================= */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    z-index: 999;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

html[dir="ltr"] .sidebar {
    right: auto;
    left: -300px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
html[dir="ltr"] .sidebar.active {
    left: 0;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #004d40;
    color: #fff;
}

.sidebar-header h3 {
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.sidebar-menu {
    padding: 10px 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #333;
    font-weight: 600;
    border-bottom: 1px solid #f1f1f1;
    transition: 0.2s;
}

.sidebar-menu li a:hover {
    background-color: #f9f9f9;
    color: #004d40;
    padding-inline-start: 25px;
}

.sidebar-menu hr {
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #eeeeee;
}

.text-danger {
    color: #e74c3c !important;
}

/* =========================================
   تنسيقات الصفحة الرئيسية
   ========================================= */
.welcome-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 40px auto;
    gap: 15px;
}

.welcome-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.welcome-title {
    font-size: 32px;
    color: #004d40;
    font-weight: 800;
}

.main-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.services-column {
    flex: 3;
}

.section-title {
    font-size: 24px;
    color: #004d40;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffb300;
    display: inline-block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #004d40;
}

.service-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 3px solid #ffb300;
}

.service-card h4 {
    padding: 15px;
    text-align: center;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.service-card:hover h4 {
    color: #004d40;
}

.ads-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ad-space {
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    border-radius: 10px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.ad-space:hover {
    background-color: #e2e6ea;
    border-color: #adb5bd;
}

/* =========================================
   تنسيقات الصفحات الداخلية المشتركة المعرض النظيف
   ========================================= */
.page-header {
    background-color: #004d40;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
    border-bottom: 5px solid #ffb300;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: #d1d1d1;
}

.gallery-section {
    margin-bottom: 80px;
}

.new-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.new-gallery-card {
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

.new-gallery-card .image-wrapper {
    width: 100%;
    border-radius: 10px; 
    overflow: hidden;
    aspect-ratio: 4/3; 
    background-color: #f1f1f1;
}

.new-gallery-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.new-gallery-card:hover .image-wrapper img {
    transform: scale(1.05); 
}

.new-gallery-card .card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 4px;
}

.new-gallery-card .card-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* الزرار العائم الثابت */
.floating-book-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #ffb300;
    color: #004d40;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(255, 179, 0, 0.4);
    z-index: 999;
    transition: 0.3s;
    animation: pulse 2s infinite;
}

html[dir="ltr"] .floating-book-btn {
    right: auto;
    left: 40px;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 179, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 179, 0, 0); }
}

/* =========================================
   تنسيق القائمة المنسدلة المتعددة المخصصة (Multi-Select)
   ========================================= */
.custom-multiselect {
    position: relative;
    width: 100%;
}

.custom-multiselect .select-box {
    width: 100%;
    padding: 15px;
    background-color: #f9fbfd;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #777;
    user-select: none;
    transition: 0.3s;
}

.custom-multiselect .select-box:hover {
    border-color: #004d40;
}

.custom-multiselect .checkboxes-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 10;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    margin-top: 5px;
}

.custom-multiselect .checkboxes-list.show {
    display: flex;
}

.custom-multiselect .checkboxes-list label {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #444;
    transition: 0.2s;
    width: 100%;
    margin: 0;
}

.custom-multiselect .checkboxes-list label:hover {
    background-color: #eaf4ff;
    color: #004085;
}

.custom-multiselect .checkboxes-list input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #004d40;
}

/* =========================================
   تنسيقات السلة وإتمام الشراء والأتمتة والفورمات المشتركة
   ========================================= */
.auth-section, .booking-section, .cart-section, .checkout-section { margin-bottom: 80px; }
.auth-box { background-color: #ffffff; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-top: 5px solid #004d40; width: 100%; max-width: 500px; }
.auth-box h2 { color: #004d40; margin-bottom: 30px; font-size: 26px; text-align: center; }
.auth-form .form-group { margin-bottom: 20px; }
.auth-form label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; }
.auth-form input, .auth-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; transition: 0.3s; background-color: #f9fbfd; }
.auth-form input:focus, .auth-form textarea:focus { border-color: #004d40; outline: none; box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.1); }
.submit-btn { background-color: #004d40; color: #fff; border: none; padding: 15px 30px; border-radius: 8px; font-size: 18px; font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 10px; width: 100%; justify-content: center; }
.submit-btn:hover { background-color: #ffb300; color: #004d40; }
.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; text-align: center; }
.alert-danger { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.fee-notice { background-color: #fff3cd; border-right: 5px solid #ffc107; color: #856404; padding: 20px; border-radius: 8px; display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-weight: 700; font-size: 16px; }
html[dir="ltr"] .fee-notice { border-right: none; border-left: 5px solid #ffc107; }
.cart-table-container { background: #fff; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); overflow-x: auto; margin-bottom: 30px; }
.cart-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.cart-table th { background-color: #004d40; color: #fff; padding: 15px; text-align: right; }
html[dir="ltr"] .cart-table th { text-align: left; }
.cart-table td { padding: 15px; border-bottom: 1px solid #eee; vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 15px; font-weight: 700; color: #333; }
.cart-item-info img { width: 50px; height: 70px; object-fit: cover; border-radius: 5px; }
.btn-remove { background-color: #ffeaea; color: #d32f2f; padding: 8px 15px; border-radius: 5px; font-size: 14px; font-weight: bold; transition: 0.3s; display: inline-block; }
.btn-remove:hover { background-color: #d32f2f; color: #fff; }
.cart-summary { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); max-width: 400px; margin-right: auto; text-align: center; }
html[dir="ltr"] .cart-summary { margin-right: 0; margin-left: auto; }
.cart-summary h3 span { color: #004d40; font-weight: 800; font-size: 28px; display: block; margin-top: 10px; }
.automation-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 80px; }
.automation-card { background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; }
.automation-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); border-color: #004d40; }
.automation-card img { width: 100%; height: 180px; object-fit: cover; border-bottom: 3px solid #ffb300; }
.auto-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.auto-content h3 { color: #004d40; font-size: 18px; margin-bottom: 10px; }
.auto-content p { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.auto-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eee; padding-top: 15px; }
.auto-footer .price { font-size: 20px; font-weight: 800; color: #333; }
.auto-footer .btn-cart { background-color: #ffb300; color: #004d40; border: none; padding: 8px 15px; border-radius: 5px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.auto-footer .btn-cart:hover { background-color: #004d40; color: #ffb300; }

/* =========================================
   تنسيقات الصفحات النصية (من نحن، الخصوصية، الشروط)
   ========================================= */
.info-page-wrapper {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 80px;
    border: 1px solid #eee;
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.info-page-wrapper h2 {
    color: #004d40;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 800;
}

.info-page-wrapper h3 {
    color: #004d40;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    border-right: 4px solid #ffb300;
    padding-right: 10px;
}

html[dir="ltr"] .info-page-wrapper h3 {
    border-right: none;
    border-left: 4px solid #ffb300;
    padding-right: 0;
    padding-left: 10px;
}

.info-page-wrapper p {
    margin-bottom: 15px;
}

.info-page-wrapper ul {
    list-style-type: disc;
    padding-right: 20px;
    margin-bottom: 20px;
}

html[dir="ltr"] .info-page-wrapper ul {
    padding-right: 0;
    padding-left: 20px;
}

.info-page-wrapper li {
    margin-bottom: 10px;
}

/* =========================================
   تنسيقات قسم الرؤية والرسالة (من نحن)
   ========================================= */
.vision-mission-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.vm-card {
    flex: 1;
    min-width: 250px;
    background: #f9fbfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #004d40;
}

.vm-card i {
    font-size: 40px;
    color: #ffb300;
    margin-bottom: 20px;
}

.vm-card h3 {
    color: #004d40;
    font-size: 22px;
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

/* =========================================
   تنسيقات صفحة تواصل معنا (Contact Us)
   ========================================= */
.contact-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}

.contact-info-col {
    flex: 1;
    min-width: 300px;
    background: #004d40;
    color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-col h3 {
    color: #ffb300;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-info-col p {
    color: #d1d1d1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item i {
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #ffb300;
    font-size: 20px;
}

.contact-info-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact-info-text span {
    color: #d1d1d1;
    font-size: 14px;
    direction: ltr;
    display: inline-block;
}

.contact-form-col {
    flex: 2;
    min-width: 300px;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* =========================================
   تنسيقات التجاوب (Responsive)
   ========================================= */
@media (max-width: 1200px) {
    .new-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .main-layout { flex-direction: column; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { flex-direction: column; }
    .new-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .top-header-container { flex-direction: column; }
    .search-area { width: 100%; }
    .new-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .new-gallery-grid { grid-template-columns: 1fr; }
    .floating-book-btn { bottom: 20px; right: 20px; font-size: 15px; padding: 12px 20px; }
}

/* =========================================
   الفوتر (Footer)
   ========================================= */
.main-footer { background-color: #004d40; color: #ffffff; padding-top: 60px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-col h3 { color: #ffb300; font-size: 20px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; right: 0; width: 50px; height: 3px; background-color: #ffb300; }
html[dir="ltr"] .footer-col h3::after { right: auto; left: 0; }
.footer-logo h2 { font-size: 28px; font-weight: 800; color: #ffffff; line-height: 1; }
.footer-logo span { color: #ffb300; font-size: 16px; letter-spacing: 1px; }
.footer-desc { margin: 20px 0; color: #d1d1d1; line-height: 1.8; font-size: 15px; }
.social-links h4 { margin-bottom: 15px; color: #ffffff; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; background-color: rgba(255, 255, 255, 0.1); color: #ffffff; border-radius: 5px; margin-inline-end: 10px; transition: 0.3s; }
.social-icon:hover { background-color: #ffb300; color: #004d40; transform: translateY(-3px); }
.links-col ul li { margin-bottom: 12px; }
.links-col ul li a { color: #d1d1d1; transition: 0.3s; display: flex; align-items: center; gap: 10px; }
.links-col ul li a:hover { color: #ffb300; padding-inline-start: 10px; }
.newsletter-col p { color: #d1d1d1; margin-bottom: 20px; line-height: 1.6; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { padding: 12px 15px; border: none; border-radius: 5px; outline: none; font-family: 'Cairo', sans-serif; }
.newsletter-form button { background-color: #ffb300; color: #004d40; border: none; padding: 12px; border-radius: 5px; font-weight: 700; cursor: pointer; font-family: 'Cairo', sans-serif; font-size: 16px; transition: 0.3s; }
.newsletter-form button:hover { background-color: #e09e00; }
.footer-bottom { background-color: #00332a; padding: 20px 0; text-align: center; }
.footer-bottom p { color: #d1d1d1; font-size: 15px; }

/* =========================================
   تنسيقات باقات التسويق الإلكتروني (Pricing Tables)
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.pricing-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #eee;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: 0.4s;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #004d40;
}

.pricing-card.vip-card {
    border: 2px solid #ffb300;
    box-shadow: 0 10px 30px rgba(255, 179, 0, 0.15);
    transform: scale(1.02);
}

.pricing-card.vip-card:hover {
    transform: scale(1.02) translateY(-10px);
}

.pricing-card h2 {
    color: #004d40;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -40px;
    background: #ffb300;
    color: #004d40;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

html[dir="ltr"] .ribbon {
    right: auto;
    left: -40px;
    transform: rotate(-45deg);
}

.price-box {
    margin: 20px 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

.old-price {
    color: #a0a0a0;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.new-price {
    color: #004d40;
    font-size: 45px;
    font-weight: 900;
    line-height: 1;
}

.new-price span {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.features-list {
    text-align: right;
    margin-bottom: 30px;
    flex-grow: 1;
}

html[dir="ltr"] .features-list {
    text-align: left;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.features-list li i.fa-check {
    color: #28a745;
    font-size: 18px;
}

.features-list li i.fa-xmark {
    color: #dc3545;
    font-size: 18px;
    opacity: 0.6;
}

.features-list li.disabled {
    color: #a0a0a0;
    text-decoration: line-through;
}

.features-list .limit-badge {
    background: #eaf4ff;
    color: #005cbf;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    margin-right: auto;
}

html[dir="ltr"] .features-list .limit-badge {
    margin-right: 0;
    margin-left: auto;
}

.wa-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #25d366;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 18px;
    transition: 0.3s;
    margin-top: auto;
}

.wa-btn:hover {
    background: #128c7e;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* =========================================
   تنسيقات التسويق العقاري (Real Estate)
   ========================================= */
.re-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.re-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.re-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border-color: #004d40;
}

.re-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
}

.re-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.re-badge {
    position: absolute;
    padding: 6px 12px;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.type-badge {
    top: 15px;
    right: 15px;
    background-color: rgba(0, 77, 64, 0.9);
}

html[dir="ltr"] .type-badge {
    right: auto;
    left: 15px;
}

.list-badge {
    top: 15px;
    left: 15px;
}

html[dir="ltr"] .list-badge {
    left: auto;
    right: 15px;
}

.re-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.re-title {
    color: #333;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.4;
}

.re-price {
    font-size: 24px;
    font-weight: 900;
    color: #004d40;
    margin-bottom: 15px;
}

.re-price span {
    font-size: 14px;
    color: #777;
}

.re-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.re-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-details span i {
    color: #ffb300;
}

/* =========================================
   تنسيقات لوحة السوشيال ميديا (SMM Panel)
   ========================================= */
.balance-card {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.balance-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.balance-info i {
    font-size: 45px;
    opacity: 0.8;
}

.balance-info span {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 600;
}

.balance-info h3 {
    font-size: 35px;
    font-weight: 900;
    margin-top: 5px;
}

.balance-info h3 span {
    font-size: 16px;
    font-weight: 600;
}

.btn-charge {
    background: #ffb300;
    color: #000;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    transition: 0.3s;
}

.btn-charge:hover {
    background: #fff;
    color: #2c3e50;
    transform: translateY(-3px);
}

.platform-selector {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.platform-option {
    flex: 1;
    min-width: 100px;
}

.platform-option input[type="radio"] {
    display: none;
}

.platform-content {
    background: #f9fbfd;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    color: #666;
}

.platform-content i {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.platform-content span {
    font-weight: 700;
    font-size: 14px;
}

.platform-option input[type="radio"]:checked + .platform-content {
    border-color: #3498db;
    background: #eaf4ff;
    color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.smm-details-box {
    background: #eaf4ff;
    border-right: 4px solid #3498db;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #004085;
}

html[dir="ltr"] .smm-details-box {
    border-right: none;
    border-left: 4px solid #3498db;
}

.smm-details-box p {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.total-charge-box {
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0;
}

.total-charge-box span {
    color: #ffb300;
    font-size: 30px;
    font-weight: 900;
}

/* =========================================
   تصميم لوحة السوشيال ميديا الاحترافية (SMM Panel)
   ========================================= */
.smm-dashboard-header {
    background-color: #1a252f;
    padding: 40px 0;
    border-bottom: 4px solid #3498db;
}

.smm-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.smm-title-area h1 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.smm-title-area p {
    color: #95a5a6;
    font-size: 16px;
}

/* المحفظة العلوية */
.smm-wallet-area {
    background-color: #2980b9;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.wallet-box {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    border-inline-end: 1px solid rgba(255,255,255,0.2);
    padding-inline-end: 20px;
}

.wallet-details span {
    font-size: 13px;
    opacity: 0.9;
    display: block;
    margin-bottom: 5px;
}

.wallet-details strong {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.wallet-details small {
    font-size: 14px;
    font-weight: normal;
}

.wallet-icon i {
    font-size: 35px;
    opacity: 0.8;
}

.btn-charge-top {
    background-color: #ffb300;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-charge-top:hover {
    background-color: #fff;
    color: #2980b9;
}

/* عناوين الأقسام الداخلية */
.section-title-smm {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 800;
    border-right: 5px solid #3498db;
    padding-right: 10px;
}
html[dir="ltr"] .section-title-smm { border-right: none; border-left: 5px solid #3498db; padding-left: 10px; }

/* =========================================
   شبكة كروت المنصات (Brands Grid) - التصميم المصغر
   ========================================= */
.brand-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.brand-card-label {
    cursor: pointer;
    display: block;
}

.brand-card-label input[type="radio"] {
    display: none;
}

.brand-card-inner {
    border-radius: 8px;
    padding: 12px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

/* الألوان الرسمية للمنصات */
.brand-facebook { background: #1877F2; }
.brand-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.brand-tiktok { background: #333333; }
.brand-youtube { background: #FF0000; }
.brand-x-twitter { background: #14171A; }
.brand-telegram { background: #0088cc; }
.brand-snapchat { background: #FFFC00; color: #000 !important; }
.brand-linkedin { background: #0A66C2; }
.brand-pinterest { background: #E60023; }

.brand-card-inner i {
    font-size: 18px;
    margin: 0;
}

.brand-card-inner h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.check-circle {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 900;
    opacity: 0;
    transform: scale(0);
    transition: 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

html[dir="ltr"] .check-circle {
    right: auto;
    left: -6px;
}

.brand-card-label input[type="radio"]:checked + .brand-card-inner {
    transform: scale(0.95);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.4), 0 5px 12px rgba(0,0,0,0.2);
}

.brand-card-label input[type="radio"]:checked + .brand-card-inner .check-circle {
    opacity: 1;
    transform: scale(1);
}

/* =========================================
   تنسيقات الخدمات الهندسية (Premium Design)
   ========================================= */
.premium-eng-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.premium-eng-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #ffb300;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.premium-eng-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 77, 64, 0.15);
    border-bottom-color: #004d40;
}

.premium-eng-icon {
    width: 80px;
    height: 80px;
    background: #f4f6f9;
    color: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin-bottom: 20px;
    transition: 0.4s ease;
    border: 2px dashed #ddd;
}

.premium-eng-card:hover .premium-eng-icon {
    background: #004d40;
    color: #ffb300;
    transform: scale(1.1) rotate(5deg);
    border-style: solid;
    border-color: #ffb300;
}

.premium-eng-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0;
    transition: 0.3s;
}

.premium-eng-card:hover h3 {
    color: #004d40;
}

@media (max-width: 992px) {
    .premium-eng-grid { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
}
@media (max-width: 576px) {
    .premium-eng-grid { grid-template-columns: 1fr; margin-top: -20px; }
    .premium-eng-icon { width: 70px; height: 70px; font-size: 30px; }
    .premium-eng-card h3 { font-size: 18px; }
}

/* =========================================
   تنسيقات متجر موسوعة الشامل (Amazon Style)
   ========================================= */
.amazon-store-layout {
    display: table;
    width: 100%;
    margin-top: 20px;
}

.amazon-sidebar-column {
    display: table-cell;
    width: 23%;
    vertical-align: top;
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.amazon-sidebar-column h3 {
    font-size: 18px;
    color: #004d40;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ffb300;
    font-weight: 800;
}

.amazon-cats-list li {
    margin-bottom: 8px;
}

.amazon-cats-list li a {
    display: block;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    color: #444;
    transition: all 0.2s ease;
}

.amazon-cats-list li a:hover, .amazon-cats-list li a.active {
    background-color: #eaf4ff;
    color: #004d40;
    padding-inline-start: 20px;
}

.amazon-products-column {
    display: table-cell;
    width: 77%;
    vertical-align: top;
    padding-inline-start: 25px;
}

.amazon-grid-wrapper {
    font-size: 0;
    text-align: right;
}

html[dir="ltr"] .amazon-grid-wrapper { text-align: left; }

.amazon-product-card {
    display: inline-block;
    width: 31.33%;
    margin: 1%;
    vertical-align: top;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}

.amazon-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #004d40;
}

.amazon-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #cc2366;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
}

html[dir="ltr"] .amazon-discount-badge { right: auto; left: 12px; }

.amazon-product-card .img-container {
    width: 100%;
    height: 200px;
    background-color: #fcfcfc;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amazon-product-card .img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.amazon-product-card:hover .img-container img {
    transform: scale(1.05);
}

.card-body-details {
    padding: 20px;
}

.card-body-details h4 {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-desc-short {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
    margin-bottom: 12px;
}

.stock-status {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-status.in-stock { color: #28a745; }
.stock-status.out-of-stock { color: #dc3545; }

.amazon-price-row {
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.amazon-price-row .current-price {
    font-size: 24px;
    font-weight: 900;
    color: #004d40;
}

.amazon-price-row .current-price small {
    font-size: 13px;
    font-weight: 600;
}

.amazon-price-row .old-slashed-price {
    font-size: 14px;
    color: #999;
    font-weight: 600;
}

.amazon-add-btn {
    width: 100%;
    background-color: #ffb300;
    color: #004d40;
    border: 1px solid #e09e00;
    padding: 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.amazon-add-btn:hover {
    background-color: #004d40;
    color: #ffb300;
    border-color: #00332a;
}

.disabled-btn {
    background-color: #eee !important;
    color: #999 !important;
    border-color: #ddd !important;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .amazon-store-layout, .amazon-sidebar-column, .amazon-products-column { display: block; width: 100%; }
    .amazon-sidebar-column { margin-bottom: 30px; }
    .amazon-products-column { padding-inline-start: 0; }
    .amazon-product-card { width: 48%; }
}

@media (max-width: 576px) {
    .amazon-product-card { width: 100%; margin: 0 0 20px 0; }
}
/* =========================================
   تنسيقات أكاديمية موسوعة (Academy LMS)
   ========================================= */
.academy-stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    direction: rtl;
}

.aca-stage-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    border-bottom: 4px solid #2ecc71;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aca-stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.15);
    border-color: #2ecc71;
}

.aca-icon-box {
    width: 90px;
    height: 90px;
    background: #f8fdfa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 20px;
    transition: 0.3s;
    border: 2px dashed #2ecc71;
}

.aca-stage-card:hover .aca-icon-box {
    background: #2ecc71;
    color: #fff;
    border-style: solid;
    transform: rotate(10deg) scale(1.1);
}

.aca-stage-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
}

.aca-btn-link {
    background: #f1f1f1;
    color: #555;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aca-stage-card:hover .aca-btn-link {
    background: #2c3e50;
    color: #ffb300;
}