
:root {
    /* وضع Light (الافتراضي الجديد) */
    --primary-gradient: linear-gradient(90deg, #2A9FE2, #683FC9);
    --secondary-gradient: linear-gradient(45deg, #2A9FE2, #C946C9);
    --dark-blue: #f5f7fa;
    --light-blue: #ffffff;
    --text-light: #333333;
    --text-dark: #333333;
    --overlay-color: rgba(245, 247, 250, 0.95);
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #ffffff;
    --footer-bottom-bg: #f5f7fa;
    --input-bg: rgba(0, 0, 0, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-bg: rgba(0, 0, 0, 0.05);
    --border-color: rgba(0, 0, 0, 0.1);
    --scrollbar-track: #f5f7fa;
}

/* وضع Dark */
.dark-mode {
    --primary-gradient: linear-gradient(90deg, #2A9FE2, #683FC9);
    --secondary-gradient: linear-gradient(45deg, #2A9FE2, #C946C9);
    --dark-blue: #12172c;
    --light-blue: #1a2138;
    --text-light: #d1d5db;
    --text-dark: #333333;
    --overlay-color: rgba(18, 23, 44, 0.363);
    --card-bg: #1a2138;
    --nav-bg: rgba(18, 23, 44, 0.95);
    --footer-bg: #1a2138;
    --footer-bottom-bg: #12172c;
    --input-bg: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --hover-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.15);
    --scrollbar-track: #12172c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--dark-blue);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* جعل الوضع الفاتح هو الافتراضي */
body.light-mode {
    background-color: var(--dark-blue);
    color: var(--text-light);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-gradient);
    border-radius: 10px;
}

/* Animation classes */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    transition: all 0.4s ease;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar-logo {
    height: 60px;
}

.navbar-logo img {
    height: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s;
}

.nav-links a.active {
    color: #9900ff;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #9900ff, #3795bd);
}

.nav-links a:not(.active):hover {
    color: #9900ff;
}

.nav-links a:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9900ff, #3795bd);
    transition: width 0.3s ease;
}

.nav-links a:not(.active):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: var(--hover-bg);
}

/* تحسينات متقدمة لحقل البحث */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 400px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--input-bg);
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    width: 100%;
    backdrop-filter: blur(10px);
}

.search-box:focus-within {
    background: rgba(0, 0, 0, 0.1);
    border-color: #9900ff;
    box-shadow: 0 0 0 3px rgba(153, 0, 255, 0.25),
                0 5px 20px rgba(153, 0, 255, 0.2);
    transform: translateY(-2px);
}

.dark-mode .search-box:focus-within {
    background: rgba(255, 255, 255, 0.15);
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 8px 12px;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    flex: 1;
}

.search-box input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.dark-mode .search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.search-btn:hover {
    color: #9900ff;
    background: var(--hover-bg);
    transform: scale(1.1);
}

/* زر تسجيل الدخول المحسن (للأجهزة الكبيرة) */
.back-btn-nav {
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(42, 159, 226, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.back-btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 25px;
}

.back-btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 159, 226, 0.4);
}

.back-btn-nav:hover::before {
    opacity: 1;
}

.back-btn-nav:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(42, 159, 226, 0.3);
}

.back-btn-nav i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.back-btn-nav:hover i {
    transform: translateX(3px);
}

/* Dropdown styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 220px;
    box-shadow: 0 15px 35px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    margin-top: 15px;
    border: 1px solid var(--border-color);
    transform: translateY(-10px);
}

.nav-links > li {
    position: relative;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    padding: 10px 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.dropdown-menu a:hover {
    color: #9900ff;
    background: rgba(153, 0, 255, 0.1);
    padding-left: 30px;
}

.dropdown-menu a:hover::before {
    transform: translateX(0);
}

.nav-links > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* تحسينات للجوال - حقل البحث المتنقل */
.mobile-search-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 15px;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    z-index: 998;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-search-container.active {
    display: flex;
}


.mobile-search-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--input-bg);
    border: none;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-search-btn:hover {
    background: var(--hover-bg);
    transform: scale(1.05);
}

.mobile-search-btn.active {
    background: var(--primary-gradient);
    color: white;
}

/* Mobile styles - محسن للهواتف */
@media (max-width: 992px) {
    .navbar {
        padding: 12px 0;
        height: 70px;
        box-sizing: border-box;
    }
    
    .navbar.scrolled {
        padding: 8px 0;
    }
    
    .nav-container {
        flex-wrap: wrap;
        padding: 0 15px;
        gap: 10px;
    }
    
    .navbar-logo {
        order: 1;
        height: 50px;
    }
    
    .language-selector {
        order: 3;
        margin-right: 10px;
    }
    
    .mobile-menu-btn {
        order: 4;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-search-btn {
        order: 2;
        display: flex;
        margin-left: auto;
        margin-right: 15px;
    }
    
    .search-container {
        display: none !important;
    }
    
    .mobile-search-container {
        display: none;
    }
    
    .mobile-search-container.active {
        display: flex;
    }
    
    .search-box {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 10px 20px;
        border-radius: 25px;
        background: var(--input-bg);
        border: 1px solid var(--border-color);
    }
    
    .search-box input {
        font-size: 1rem;
        padding: 10px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--nav-bg);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px 20px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links > li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0;
    }
    
    .nav-links a {
        padding: 18px 0;
        display: block;
        font-size: 1.1rem;
        font-weight: 500;
        position: relative;
    }
    
    .dropdown-toggle {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 100%;
        background: transparent;
        border: none;
        color: var(--text-light);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .dropdown-toggle::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.9rem;
        transition: transform 0.3s;
    }
    
    .nav-links > li.has-dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        background: var(--card-bg);
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        margin-top: 0;
        width: 100%;
        border: none;
        border-radius: 0;
        transform: none;
    }
    
    .nav-links > li.active .dropdown-menu {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .dropdown-menu a {
        padding: 14px 20px;
        font-size: 1rem;
        text-align: left;
        background: var(--hover-bg);
        margin: 2px 0;
        border-radius: 8px;
    }
    
    .dropdown-menu a:hover {
        padding-left: 25px;
    }
    
    .nav-links::-webkit-scrollbar {
        width: 4px;
    }
    .nav-links::-webkit-scrollbar-track {
        background: transparent;
    }
    .nav-links::-webkit-scrollbar-thumb {
        background: var(--primary-gradient);
        border-radius: 2px;
    }
}

@media (min-width: 993px) {
    .mobile-search-btn {
        display: none !important;
    }
    
    .mobile-search-container {
        display: none !important;
    }
    
    .search-container {
        display: flex !important;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--secondary-gradient);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(153, 0, 255, 0.3);
    transition: all 0.3s;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(153, 0, 255, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 30px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Theme Toggle Styles */
.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.theme-toggle-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.theme-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #FFA726, #FF9800);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* Default state: Light Mode (checked) */
.theme-toggle input:checked + .toggle-slider {
    background: var(--secondary-gradient);
}

.theme-toggle input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.toggle-icons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    pointer-events: none;
    color: white;
    font-size: 14px;
}

/* Footer Styles */
.site-footer {
    background: var(--footer-bg);
    color: var(--text-light);
    padding: 60px 0 0;
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--text-light);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-gradient);
}

.footer-section p, .footer-section li {
    color: var(--text-light);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #9900ff;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--input-bg);
    color: var(--text-light);
    transition: all 0.3s;
    text-decoration: none !important; /* إزالة الخط السفلي */
        outline: none !important; /* إزالة الخط الخارجي عند التركيز */
}

.footer-social a:hover {
    background: var(--secondary-gradient);
    transform: translateY(-5px);
}

.footer-bottom {
    background: var(--footer-bottom-bg);
    padding: 30px 20px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #9900ff;
}

/* Theme Toggle Footer Section */
.theme-footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.theme-footer-section h3 {
    margin-bottom: 15px;
}

.theme-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-light);
    opacity: 0.8;
}

.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    max-width: 85%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(10px);
    background: var(--card-bg);
    border: 1px solid rgba(153, 0, 255, 0.3);
    box-shadow: 0 5px 20px rgba(153, 0, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.notification.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(55, 149, 189, 0.9));
    border: 1px solid rgba(76, 175, 80, 0.5);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.notification.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.9), rgba(153, 0, 255, 0.7));
    border: 1px solid rgba(244, 67, 54, 0.5);
    box-shadow: 0 5px 20px rgba(244, 67, 54, 0.3);
}

.notification::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
}

.notification.success::before {
    content: '\f058';
}

.notification.error::before {
    content: '\f057';
}

@media (max-width: 768px) {
    .notification {
        padding: 12px 20px;
        font-size: 14px;
        bottom: 30px;
        max-width: 90%;
    }
    
    .notification::before {
        font-size: 16px;
    }
}

/* تحسين أنماط تبديل اللغة */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 15px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    min-width: 80px;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.current-lang:hover {
    background: var(--hover-bg);
    border-color: #9900ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.current-lang.active-lang {
    background: var(--overlay-color);
    border-color: transparent;
}

.current-lang img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.current-lang span {
    font-size: 0.9rem;
    font-weight: 600;
}

.current-lang i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown.active .current-lang i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 120px;
    box-shadow: 0 10px 25px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    margin-top: 10px;
    border: 1px solid var(--border-color);
}

.lang-dropdown.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-option:hover {
    background: rgba(153, 0, 255, 0.2);
    color: #9900ff;
    padding-left: 20px;
}

.lang-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-option span {
    font-weight: 500;
}

/* Small Element Loader */
.element-loader {
    position: fixed;
    top: 13%;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

@media (max-width: 768px) {
    .element-loader {
        left: 50%;
    }
}

.element-loader img {
    width: 60px;
    height: 60px;
}

@media (max-width: 768px) {
    .element-loader img {
        width: 40px;
        height: 40px;
    }
}

.element-loader.active {
    display: flex;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 992px) {
    body {
        padding-top: 0;
    }

    .contact-hero {
        margin-top: 70px;
    }
}

.text-muted {
    background: #d1d5db;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.0rem;
}

.payment-methods {
    width: 80%;
    height: auto;
}

@media (max-width: 767px) {
    .payment-methods {
        width: 50%;
        height: auto;
    }
}

.af1 {
    height: 50vh;
}

@media (max-width: 992px) {
    .search-container {
        order: 5;
        width: 100%;
        margin-top: 0;
        justify-content: center;
        display: none;
    }
    
    .search-box {
        width: 100%;
        max-width: 500px;
    }
    
    .search-box input {
        width: 100%;
        font-size: 1rem;
    }
    
    .language-selector {
        order: 3;
        margin-right: 10px;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        order: 4;
    }
    
    .mobile-search-btn {
        order: 2;
    }
}

/* Theme Indicator */
.theme-indicator {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-gradient);
    color: white;
    font-size: 20px;
    z-index: 98;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-indicator:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .theme-indicator {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

