/* CSS Variables - Görsel Kimlik Renkleri */
:root {
    --primary-color: #B25426;
    --secondary-color: #374639;
    --accent-color: #B25426;
    --text-color: #333;
    --text-light: #666;
    --light-text: #666;
    --white: #fff;
    --light-bg: #F7EDDF;
    --background-color: #f8f9fa;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --font-family: 'Fresco Arabic', 'Gotham Rounded', 'Gotham', 'SF Pro AR', 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enable text selection - Force override */
* {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    -webkit-touch-callout: default !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Force text selection on all text elements */
p, h1, h2, h3, h4, h5, h6, span, div, a, li, td, th, label, button {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    pointer-events: auto !important;
}

/* Remove any selection blocking */
::selection {
    background: rgba(178, 84, 38, 0.2) !important;
    color: inherit !important;
}

::-moz-selection {
    background: rgba(178, 84, 38, 0.2) !important;
    color: inherit !important;
}

/* Page transitions */
.page-transition {
    transition: all 0.3s ease-in-out;
}


/* Navigation smooth scrolling */
.nav-link, .mobile-nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover, .mobile-nav-link:hover {
    transform: translateY(-2px);
}


/* SPA Loading */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
    color: var(--white);
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.loading-spinner p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* SPA Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Admin Modal */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.admin-modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.admin-modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.admin-modal-content input {
    width: 100%;
    padding: 0.8rem;
    margin: 1rem 0;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.admin-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.admin-modal-actions button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-modal-actions button:first-child {
    background: var(--border-color);
    color: var(--text-color);
}

.admin-modal-actions button:last-child {
    background: var(--accent-color);
    color: var(--primary-color);
}

.admin-modal-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Video Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--border-color);
    color: var(--primary-color);
}

.modal-body {
    padding: 1.5rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1.5rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

.video-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.video-info p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Features Grid Update */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* About Page Update */
.about-mission,
.about-vision,
.about-message,
.about-values {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.about-mission h3,
.about-vision h3,
.about-message h3,
.about-values h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-mission p,
.about-vision p,
.about-message p,
.about-values p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* Hero Actions Update */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.hero-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.hero-actions .btn i {
    font-size: 1.3rem;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}

/* Custom Fonts */
@font-face {
    font-family: 'Fresco Arabic';
    src: url('./font dar/Fresco Arabic Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fresco Arabic';
    src: url('./font dar/Fresco Arabic Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('./font dar/Gotham Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('./font dar/Gotham Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Rounded';
    src: url('./font dar/Gotham Rounded Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Rounded';
    src: url('./font dar/Gotham Rounded Medium copy.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Rounded';
    src: url('./font dar/Gotham Rounded Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro AR';
    src: url('./font dar/SF Pro AR Display.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro AR';
    src: url('./font dar/SF Pro AR Display Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --primary-color: #8B4513;
    --secondary-color: #2D5016;
    --accent-color: #F5E6D3;
    --text-color: #2c2c2c;
    --text-light: #666;
    --background-color: #FEFCF8;
    --white: #ffffff;
    --black: #000000;
    --border-color: #E8D5C4;
    --shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
    --shadow-hover: 0 4px 20px rgba(139, 69, 19, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --font-family: 'Fresco Arabic', 'Gotham Rounded', 'Gotham', 'SF Pro AR', 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: none !important;
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
}

/* Smooth animations without shaking */
.smooth-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.smooth-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease-out forwards;
}

.smooth-scale {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    contain: layout;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    direction: rtl;
    text-align: right;
    font-feature-settings: "liga" 1, "kern" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    contain: layout;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Prevent horizontal scrolling and shaking */
* {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix for all containers to prevent shaking */
.container, .header, .main, .section, .card, .products-grid, .activities-grid, .library-grid, .footer, .footer-content, .product-card, .activity-card, .library-card, .header-content, .hero-actions {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
}

/* Fix for grid layouts */
.grid, .products-grid, .activities-grid, .library-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Fix for flex layouts */
.flex, .header-content, .hero-actions {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

/* Enhanced RTL/LTR Header Support */
[dir="rtl"] .header-content {
    flex-direction: row;
}

[dir="ltr"] .header-content {
    flex-direction: row;
}

[dir="rtl"] .nav-list {
    flex-direction: row;
}

[dir="ltr"] .nav-list {
    flex-direction: row;
}

[dir="rtl"] .header-actions {
    flex-direction: row;
}

[dir="ltr"] .header-actions {
    flex-direction: row;
}

/* Language-specific styling */
[lang="ar"] {
    direction: rtl;
    text-align: right;
}

[lang="tr"], [lang="en"] {
    direction: ltr;
    text-align: left;
}

/* Enhanced language-specific header styling */
[lang="ar"] .header-content {
    flex-direction: row;
}

[lang="tr"] .header-content,
[lang="en"] .header-content {
    flex-direction: row;
}

[lang="ar"] .nav-list {
    flex-direction: row;
}

[lang="tr"] .nav-list,
[lang="en"] .nav-list {
    flex-direction: row;
}

[lang="ar"] .header-actions {
    flex-direction: row;
}

[lang="tr"] .header-actions,
[lang="en"] .header-actions {
    flex-direction: row;
}

/* Page Header Styles - Improved Text Visibility */
.page-header {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

/* Products Section Styles */
.products {
    padding: 4rem 0;
    background: var(--light-bg);
    min-height: 60vh;
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-card {
    background: var(--white) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    border: 1px solid var(--border-color) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.product-content {
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-actions {
    display: flex !important;
    gap: 1rem !important;
    width: 100% !important;
    margin-top: 1rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

.btn-add-cart {
    flex: 1 !important;
    padding: 0.8rem 1.5rem !important;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    min-height: 45px !important;
    font-size: 1rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

.btn-add-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-add-cart i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .products-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .products-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(178, 84, 38, 0.7), rgba(55, 70, 57, 0.6));
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: rgba(178, 84, 38, 0.4);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    background: rgba(55, 70, 57, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: inline-block;
    margin-top: 0.5rem;
}

/* Arabic text styling */
.arabic-text {
    font-family: 'Cairo', 'Arial', sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* Turkish and English text styling */
.latin-text {
    font-family: 'Cairo', 'Arial', sans-serif;
    direction: ltr;
    text-align: left;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
}


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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    font-weight: 500;
    contain: layout;
}

.btn-primary:hover {
    background-color: #6B2C0A;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-cart {
    position: relative;
    background-color: var(--white);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    contain: layout;
}

.btn-cart:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(139, 69, 19, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
    gap: 0.75rem;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-right: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite, logoGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.logo img:hover {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 10px 25px rgba(178, 84, 38, 0.4));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 10px rgba(178, 84, 38, 0.1));
    }
    50% {
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(178, 84, 38, 0.3));
    }
}

.logo-link {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.logo-link:hover {
    text-decoration: none;
}

.nav-menu-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-menu-logo-link:hover {
    text-decoration: none;
    color: var(--accent-color);
    transform: scale(1.05);
}

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

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(139, 69, 19, 0.1);
    border-color: rgba(139, 69, 19, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #ffffff !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.nav-link.active:hover {
    color: #ffffff !important;
    background-color: var(--primary-color);
}

.nav-link.active::after {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    contain: layout;
}

/* RTL/LTR Direction Support */
[dir="rtl"] .header-content {
    flex-direction: row;
}

[dir="ltr"] .header-content {
    flex-direction: row;
}

[dir="rtl"] .nav-list {
    flex-direction: row;
}

[dir="ltr"] .nav-list {
    flex-direction: row;
}

[dir="rtl"] .header-actions {
    flex-direction: row;
}

[dir="ltr"] .header-actions {
    flex-direction: row;
}

.language-selector {
    position: relative;
    contain: layout;
}

.language-toggle {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(178, 84, 38, 0.1);
    font-size: 1.2rem;
    color: var(--primary-color);
}

.language-toggle:hover {
    border-color: var(--primary-color);
    background-color: rgba(178, 84, 38, 0.05);
    box-shadow: 0 4px 8px rgba(178, 84, 38, 0.15);
    transform: translateY(-1px);
}

.language-toggle:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(178, 84, 38, 0.1);
}

.language-dropdown-new {
    position: fixed;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    z-index: 999999;
    overflow: hidden;
    animation: dropdownFadeIn 0.3s ease;
}

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

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: rgba(178, 84, 38, 0.05);
    color: var(--primary-color);
}

.flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mobile Language Selector */
@media (max-width: 768px) {
    .language-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .language-dropdown {
        min-width: 160px;
        z-index: 99999;
    }
    
    .language-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .flag-icon {
        width: 20px;
        height: 15px;
    }
}

/* Cart Button */
.cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cart-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(178, 84, 38, 0.1);
}

.cart-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(178, 84, 38, 0.2);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(178, 84, 38, 0.1);
    color: var(--primary-color);
}

/* Main Content */
.main {
    margin-top: 70px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
    opacity: 1;
    display: block;
}

/* Sections and Cards - No Animations */
.section {
    opacity: 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
    display: block;
}

.card {
    opacity: 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
    display: block;
}

/* Button Animations */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    box-shadow: var(--shadow-hover);
}

/* Page Header */
.page-header {
    position: relative;
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(178, 84, 38, 0.8), rgba(55, 70, 57, 0.6));
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Logo Link */
.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo a:hover {
    color: inherit;
}

/* Values List */
.values-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
}

.values-list li i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

/* Team Section */
.team-section {
    margin-top: 4rem;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-light);
    font-style: italic;
}

/* Contact Page Styles */
.contact-form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

.contact-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.3);
}

.contact-form-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-header h2 {
        font-size: 1.5rem;
    }
}

.map-link,
.phone-link,
.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.map-link:hover,
.phone-link:hover,
.email-link:hover {
    color: var(--secondary-color);
}

.contact-item p {
    margin-bottom: 0.5rem;
}

/* Section Actions */
.section-actions {
    text-align: center;
    margin-top: 2rem;
}

.about-actions {
    margin-top: 1.5rem;
}

/* Button Link Styles */
a.btn {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

a.btn:hover {
    text-decoration: none;
    color: inherit;
}

/* Modal Styles */
.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal[style*="display: none"] {
    display: none !important;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: slideInUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: #ff4444 !important;
    border: 3px solid var(--white) !important;
    font-size: 2rem !important;
    cursor: pointer !important;
    color: var(--white) !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem !important;
    border-radius: 50% !important;
    width: 70px !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-weight: bold !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    z-index: 1000000 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.modal-close:hover {
    background: #ff6666 !important;
    color: var(--white) !important;
    transform: scale(1.2) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
}

.modal-close:focus {
    outline: 3px solid #ff4444 !important;
    outline-offset: 2px !important;
}

.modal-close:active {
    background: #ff2222 !important;
    transform: scale(0.95) !important;
}

.modal-body {
    margin-bottom: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.video-container {
    text-align: center;
    padding: 2rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
}

.video-container p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutDown {
    from { 
        opacity: 1;
        transform: translateY(0);
    }
    to { 
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Hero Section - Hidden */
.hero {
    display: none !important;
}

/* Hero Intro Section */
.hero-intro {
    position: relative;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #F7EDDF 0%, #ffffff 50%, #F7EDDF 100%);
    overflow: visible;
    margin: 0;
    border-bottom: 3px solid var(--primary-color);
}

@media (max-width: 768px) {
    .hero-intro {
        padding-top: 1.5rem;
    }
}

.hero-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(178, 84, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(55, 70, 57, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-intro-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-intro-content {
        flex-direction: column;
    }
}

.hero-intro-logo {
    position: relative;
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: heroIntroLogoAnimation 1s ease-out 0s both, logoFloat 3s ease-in-out 1s infinite;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.hero-intro-logo-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 8px 20px rgba(178, 84, 38, 0.3));
    animation: logoGlow 3s ease-in-out 1s infinite;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

@keyframes heroIntroLogoAnimation {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-20deg);
    }
    60% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Fallback - ensure content is visible even if animations don't load */
.hero-intro-text,
.hero-intro-actions,
.hero-intro-logo {
    visibility: visible;
}

.hero-intro-text h1,
.hero-intro-text p {
    display: block;
    opacity: 1 !important;
}

.hero-intro-actions .btn {
    display: inline-flex;
    opacity: 1 !important;
}

.hero-intro-logo-img:hover {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 12px 30px rgba(178, 84, 38, 0.5));
}

.hero-intro-text {
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-intro-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(178, 84, 38, 0.1);
    opacity: 1;
    transform: translateY(0);
    animation: heroIntroTitleAnimation 1s ease-out 0.2s both;
}

.hero-intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
    transform: translateY(0);
    animation: heroIntroSubtitleAnimation 1s ease-out 0.6s both;
}

@keyframes heroIntroTitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroIntroSubtitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    100% {
        opacity: 0.9;
        transform: translateY(0) scale(1);
    }
}

.hero-intro-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.hero-intro-actions .btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 35px;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-intro-actions .btn:nth-child(1) {
    animation: heroIntroButtonAnimation 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s both;
}

.hero-intro-actions .btn:nth-child(2) {
    animation: heroIntroButtonAnimation 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.2s both;
}

.hero-intro-actions .btn:nth-child(3) {
    animation: heroIntroButtonAnimation 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.4s both;
}

@keyframes heroIntroButtonAnimation {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9) rotateX(90deg);
    }
    60% {
        transform: translateY(-10px) scale(1.05) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.hero-intro-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-intro-actions .btn:hover::before {
    left: 100%;
}

.hero-intro-actions .btn:hover {
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.4);
    transform: translateY(-8px) scale(1.08);
}

.hero-intro-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #6B2C0A);
    color: var(--white);
    border: none;
}

.hero-intro-actions .btn-primary:hover {
    background: linear-gradient(135deg, #6B2C0A, var(--primary-color));
}

.hero-intro-actions .btn-outline {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
}

.hero-intro-actions .btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.4);
}

/* Modern Background with Animated Shapes */
.hero-background-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: shapeFloat 20s ease-in-out infinite;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(178, 84, 38, 0.2));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), rgba(139, 69, 19, 0.2));
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.hero-shape-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(55, 70, 57, 0.2));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

.hero-shape-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(107, 68, 35, 0.2));
    top: 20%;
    right: 10%;
    animation-delay: 15s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.45;
    }
}

/* Glassmorphism Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
    pointer-events: none;
}

/* Hero Logo */
.hero-logo {
    position: relative;
    z-index: 3;
    margin-bottom: 1rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.hero-logo-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: logoGlow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 15px 40px rgba(255, 255, 255, 0.4));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
    }
    50% {
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin: 0 auto;
    background: transparent !important;
    gap: 2rem;
}

.hero-text {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    position: relative;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    animation: heroTitleAnimation 1s ease-out both;
    transform-origin: center;
}

.hero-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    animation: heroSubtitleAnimation 1.2s ease-out 0.3s both;
}

@keyframes heroTitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
    opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroSubtitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Hero Pattern Background - Modern Grid */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    background-size: 50px 50px, 50px 50px, 300px 300px, 400px 400px;
    pointer-events: none;
    animation: patternMove 25s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
        opacity: 0.15;
    }
    50% {
        transform: translate(25px, 25px);
        opacity: 0.2;
    }
    100% {
        transform: translate(0, 0);
        opacity: 0.15;
    }
}

.hero-background {
    display: none;
}

.hero-background img,
.hero-image {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(178, 84, 38, 0.7), rgba(55, 70, 57, 0.5));
    z-index: 2;
}


/* Hero Actions Section - Now integrated into hero */
.hero-actions-section {
    display: none;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-actions .btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 35px;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 220px;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform-origin: center;
}

.hero-actions .btn:nth-child(1) {
    animation: buttonSlideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s both;
}

.hero-actions .btn:nth-child(2) {
    animation: buttonSlideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s both;
}

.hero-actions .btn:nth-child(3) {
    animation: buttonSlideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.7s both;
}

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotateX(90deg);
    }
    60% {
        transform: translateY(-10px) scale(1.05) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.hero-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-actions .btn:hover::before {
    left: 100%;
}

.hero-actions .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
    z-index: 0;
}

.hero-actions .btn:hover::after {
    width: 300px;
    height: 300px;
}

.hero-actions .btn:hover {
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.5);
    transform: translateY(-8px) scale(1.08);
    animation: buttonPulse 0.6s ease-out;
}

@keyframes buttonPulse {
    0% {
        transform: translateY(-8px) scale(1.08);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
    100% {
        transform: translateY(-8px) scale(1.08);
    }
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #6B2C0A);
    color: var(--white);
    border: none;
}

.hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #6B2C0A, var(--primary-color));
}

.hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
}

.hero-actions .btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

/* Features Section */
.features {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #ffffff 0%, #F7EDDF 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23B25426" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    text-align: center;
    padding: 3rem 2.5rem;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(178, 84, 38, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(178, 84, 38, 0.05), rgba(55, 70, 57, 0.05));
    transition: left 0.5s ease;
    z-index: 1;
}

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(178, 84, 38, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(178, 84, 38, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(178, 84, 38, 0.4);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: var(--text-color);
}

/* Preview Sections */
.products-preview,
.activities-preview,
.library-preview {
    padding: 5rem 0;
}

.products-preview {
    background-color: var(--accent-color);
}

.activities-preview {
    background-color: var(--white);
}

.library-preview {
    background-color: var(--accent-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.section-header .btn {
    margin-top: 1rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtitle {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.6 !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section - Modern Design with Brand Colors */
.about {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    min-height: 100vh;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    margin-bottom: 4rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(178, 84, 38, 0.2);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.about-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.about-hero .hero-text {
    padding: 3rem;
    color: var(--white);
}

.about-hero .hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--white);
}

.about-hero .hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    margin: 0;
    color: var(--white);
}

.about-hero .hero-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

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

.about-hero:hover .hero-image img {
    transform: scale(1.05);
}

/* About Hero Card */
.about-hero-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
    margin-bottom: 3rem;
    overflow: hidden;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.about-hero-card .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 400px;
}

.about-hero-card .hero-text {
    padding: 3rem;
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero-card .hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--primary-color);
}

.about-hero-card .hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    margin: 0;
    color: var(--text-light);
}

.about-hero-card .hero-image {
    height: 400px;
    overflow: hidden;
}

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

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

/* MVP Cards (Mission, Vision, Values) */
.mvp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mvp-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(178, 84, 38, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
}

.mvp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(178, 84, 38, 0.2);
    border-color: var(--primary-color);
}

.card-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, var(--light-bg), var(--light-bg));
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}

.card-content {
    padding: 1.5rem 2rem 2rem;
}

.card-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Services Section */
.services-section {
    margin-bottom: 4rem;
}

.section-title-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(178, 84, 38, 0.1);
    margin-bottom: 3rem;
    border: 2px solid var(--light-bg);
}

.section-title-card h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(178, 84, 38, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(178, 84, 38, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Team Section */
.team-section {
    margin-bottom: 2rem;
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(178, 84, 38, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(178, 84, 38, 0.2);
    border-color: var(--primary-color);
}

.member-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.member-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.member-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about {
        padding: 2rem 0;
    }
    
    .about-hero-card .hero-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .about-hero-card .hero-text {
        padding: 2rem;
        order: 2;
    }
    
    .about-hero-card .hero-text h2 {
        font-size: 2rem;
    }
    
    .about-hero-card     .hero-image {
        height: 250px;
        order: 1;
    }
    
    .hero-content {
        position: relative;
        height: auto;
        padding: 2rem 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .mvp-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .team-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .section-title-card {
        padding: 2rem;
    }
    
    .section-title-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero-card .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .about-hero-card .hero-text {
        padding: 1.5rem;
    }
    
    .about-hero-card     .hero-image {
        height: 200px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .mvp-card {
        margin: 0 1rem;
    }
    
    .card-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .card-content {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .service-card,
    .team-card {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .section-title-card {
        margin: 0 1rem 2rem;
        padding: 1.5rem;
    }
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: var(--background-color);
    contain: layout;
    overflow: hidden;
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    contain: layout;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 500;
    contain: layout;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    contain: layout;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-add-cart {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    font-weight: 500;
}

.btn-add-cart:hover {
    background-color: #1e3a21;
}

/* Activities Section */
.activities {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Activities Tabs Container */
.activities-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.activities-tabs {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
    position: relative;
    overflow: hidden;
}

.activities-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border: none;
    background: transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 200px;
    text-align: left;
}

.tab-btn:hover {
    background: rgba(139, 69, 19, 0.05);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    transform: translateY(-3px);
}

.tab-btn.active:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.4);
}

.tab-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.tab-btn.active .tab-icon {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tab-btn.active .tab-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tab-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
    line-height: 1.2;
}

.tab-btn.active .tab-title {
    color: var(--white);
    font-weight: 800;
}

.tab-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    line-height: 1.2;
    opacity: 0.8;
}

.tab-btn.active .tab-subtitle {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

/* Tab Animation */
.tab-btn {
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .activities-tabs {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .tab-btn {
        min-width: auto;
        width: 100%;
        padding: 1.25rem 1.5rem;
    }
    
    .tab-icon {
        width: 40px;
        height: 40px;
    }
    
    .tab-icon i {
        font-size: 1.25rem;
    }
    
    .tab-title {
        font-size: 1rem;
    }
    
    .tab-subtitle {
        font-size: 0.8rem;
    }
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
}

.activity-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    contain: layout;
}

.activity-card:hover {
    box-shadow: var(--shadow-hover);
}

.activity-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-content {
    padding: 1.5rem;
}

.activity-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.activity-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.activity-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Library Section */
.library {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Library Search & Filter */
.library-search-filter {
    margin-bottom: 3rem;
}

.library-search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
    max-width: 500px;
    width: 100%;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within .search-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-family);
}

.search-input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.search-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.search-btn i {
    color: var(--white);
    font-size: 1rem;
}

/* Library Categories */
.library-categories-container {
    text-align: center;
    margin-bottom: 2rem;
}

.categories-header {
    margin-bottom: 2rem;
}

.categories-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.categories-header p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.library-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid rgba(139, 69, 19, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
}

.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    transform: translateY(-3px);
}

.category-btn.active:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.4);
}

.category-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(139, 69, 19, 0.1);
}

.category-btn.active .category-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-icon i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-btn.active .category-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.category-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-btn.active .category-text {
    color: var(--white);
    font-weight: 700;
}

/* Category Button Animation */
.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

/* Mobile Design Improvements */
@media (max-width: 768px) {
    /* Mobile Header */
    .header {
        padding: 0.75rem 1rem;
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .header-actions {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }
    
    /* Mobile Language Selector */
    .language-selector {
        position: relative;
        z-index: 1001;
    }
    
    .language-select {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-radius: 25px;
        border: 2px solid var(--primary-color);
        background: var(--white);
        color: var(--primary-color);
        font-weight: 600;
        min-width: 120px;
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238B4513' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.5rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        padding-right: 2.5rem;
    }
    
    .language-select:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10002 !important;
        position: relative;
    }
    
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        z-index: 10001 !important;
        transition: left 0.3s ease, right 0.3s ease;
        overflow-y: auto;
        padding: 1.5rem 1.5rem 2rem 1.5rem;
        visibility: visible;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    /* RTL Support for Mobile Menu */
    html[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
    }
    
    html[dir="rtl"] .nav-menu.active {
        left: auto !important;
        right: 0 !important;
    }
    
    .nav-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    }
    
    .nav-menu-logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .nav-menu-logo img {
        width: 40px;
        height: 40px;
    }
    
    .nav-menu-logo h3 {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin: 0;
    }
    
    .nav-menu-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: background 0.3s ease;
    }
    
    .nav-menu-close:hover {
        background: rgba(139, 69, 19, 0.1);
    }
    
    .nav-menu-items {
        list-style: none;
        padding: 0;
        margin: 0;
        margin-top: 2rem;
        padding-top: 1rem;
    }
    
    .nav-menu-items li:first-child {
        margin-top: 0;
        padding-top: 0.75rem;
    }
    
    .nav-menu-items li {
        margin-bottom: 0.5rem;
    }
    
    .nav-menu-items a {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        text-decoration: none;
        color: var(--text-color);
        border-radius: 12px;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .nav-menu-items a:hover,
    .nav-menu-items a.active {
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        color: var(--white);
        transform: translateX(5px);
    }
    
    .nav-menu-items a i {
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }
    
    /* Mobile Action Buttons */
    .nav-menu-actions {
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(139, 69, 19, 0.1);
    }
    
    .nav-menu-actions .btn {
        width: 100%;
        margin-bottom: 1rem;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }
    
    /* Mobile Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000 !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Mobile Hero Section */
    .hero {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Mobile Cards */
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Mobile Footer */
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul {
        gap: 0.75rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* Mobile Library Search */
    .search-wrapper {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .library-categories {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .category-btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }
    
    .categories-header h3 {
        font-size: 1.5rem;
    }
    
    .categories-header p {
        font-size: 0.9rem;
    }
    
    /* Mobile Activities Tabs */
    .activities-tabs {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .tab-btn {
        min-width: auto;
        width: 100%;
        padding: 1.25rem 1.5rem;
    }
    
    .tab-icon {
        width: 40px;
        height: 40px;
    }
    
    .tab-icon i {
        font-size: 1.25rem;
    }
    
    .tab-title {
        font-size: 1rem;
    }
    
    .tab-subtitle {
        font-size: 0.8rem;
    }
    
    /* Mobile Contact Cards */
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-card-icon i {
        font-size: 1.5rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card p {
        font-size: 0.9rem;
    }
    
    .contact-card-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Mobile Map */
    .map-container iframe {
        height: 300px;
    }
    
    /* Mobile Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
    }
    
    .cart-header {
        padding: 1rem;
    }
    
    .cart-items {
        padding: 1rem;
    }
    
    .cart-footer {
        padding: 1rem;
    }
    
    /* Mobile Admin Panel */
    .admin-panel-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    
    .donation-actions .btn {
        width: 100%;
        padding: 1rem;
    }
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
}

.library-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    contain: layout;
}

.library-card:hover {
    box-shadow: var(--shadow-hover);
}

.library-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.library-content {
    padding: 1.5rem;
}

.library-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.library-author {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.library-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-download {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.btn-download:hover {
    background-color: #b8941f;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
}

.contact-card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-card-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-card-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Telefon numaraları her zaman soldan sağa görünsün */
.contact-card-content p[dir="ltr"],
.contact-card p[dir="ltr"],
.contact-card-content p:has-text("+90"),
.contact-card p:has-text("+90") {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: isolate !important;
    display: inline-block;
}

/* Telefon numarası için özel stil */
.contact-card-content p[dir="ltr"] {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: isolate !important;
    display: block !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
}

.contact-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.contact-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
    color: var(--white);
}

.working-hours p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Map Section */
.map-section {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.map-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.map-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.map-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}


/* Contact Responsive Design */
@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .contact-card-icon i {
        font-size: 1.5rem;
    }
    
    .contact-card-content h3 {
        font-size: 1.25rem;
    }
    
    .map-section {
        padding: 2rem 1.5rem;
    }
    
    .map-header h2 {
        font-size: 2rem;
    }
    
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin: 0;
}

.footer-logo p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1 !important;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
}

/* Sosyal medya section'ı için özel hizalama */
.footer-section:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* RTL için sosyal medya section hizalaması */
[dir="rtl"] .footer-section:last-child {
    align-items: center;
    text-align: center;
}

/* LTR için sosyal medya section hizalaması */
[dir="ltr"] .footer-section:last-child {
    align-items: center;
    text-align: center;
}

.footer-section h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 2px solid transparent;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
    border-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

/* WhatsApp specific styling */
.social-link[href*="whatsapp"]:hover {
    background-color: #25D366;
}

/* Instagram specific styling */
.social-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

/* Facebook specific styling */
.social-link[href*="facebook"]:hover {
    background-color: #1877F2;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9) !important;
    opacity: 1 !important;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}


/* Enhanced Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--white), var(--light-bg));
    z-index: 10001;
    padding: 1.5rem;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.mobile-nav.open {
    display: block;
    animation: slideInRight 0.3s ease;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2);
}

.mobile-logo h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
}

.mobile-logo p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.mobile-nav-close {
    background: var(--primary-color);
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 0.5rem;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mobile-nav-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.mobile-nav-list a:hover::before {
    left: 100%;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.mobile-nav-list a i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Mobile Navigation Actions */
.mobile-nav-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}


.mobile-nav-actions .language-toggle {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    width: 100%;
    height: auto;
    padding: 1rem;
    font-size: 1rem;
    border-radius: var(--border-radius);
}

.mobile-nav-actions .language-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Mobile Navigation Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Hero Intro */
@media (max-width: 768px) {
    .hero-intro {
        padding: 1.5rem 1rem 2rem 1rem !important;
        min-height: auto !important;
        margin-top: 0 !important;
        overflow: visible !important;
    }
    
    .hero-intro-content {
        gap: 1rem !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    
    .hero-intro-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2.5rem 0 0.75rem 0 !important;
        margin: 0 !important;
        order: 1;
        overflow: visible !important;
        min-height: 160px !important;
    }
    
    .hero-intro-logo-img {
        width: 140px !important;
        height: 140px !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }
    
    .hero-intro-text {
        padding: 0 0.5rem !important;
        width: 100% !important;
        order: 2;
        margin-bottom: 0.5rem !important;
        margin-top: 0.5rem !important;
    }
    
    .hero-intro-text h1 {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-intro-text p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0 !important;
    }
    
    .hero-intro-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 !important;
        order: 3;
        margin-top: 0.5rem !important;
    }
    
    .hero-intro-actions .btn:nth-child(1) {
        animation: heroIntroButtonAnimation 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s both;
    }
    
    .hero-intro-actions .btn:nth-child(2) {
        animation: heroIntroButtonAnimation 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.15s both;
    }
    
    .hero-intro-actions .btn:nth-child(3) {
        animation: heroIntroButtonAnimation 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.3s both;
    }
    
    .hero-intro-actions .btn {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-intro {
        padding: 1.5rem 0.75rem 1.75rem 0.75rem !important;
        overflow: visible !important;
    }
    
    .hero-intro-content {
        gap: 0.75rem !important;
        overflow: visible !important;
    }
    
    .hero-intro-logo {
        padding: 2.5rem 0 0.75rem 0 !important;
        order: 1 !important;
        overflow: visible !important;
        min-height: 150px !important;
    }
    
    .hero-intro-logo-img {
        width: 120px !important;
        height: 120px !important;
        overflow: visible !important;
    }
    
    .hero-intro-text {
        margin-bottom: 0.25rem !important;
        margin-top: 0.25rem !important;
        order: 2 !important;
    }
    
    .hero-intro-text h1 {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-intro-text p {
        font-size: 0.95rem !important;
        margin-bottom: 0 !important;
    }
    
    .hero-intro-actions {
        margin-top: 0.25rem !important;
        gap: 0.75rem !important;
    }
}

/* Touch and Gesture Support */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Touch-friendly buttons */
.btn, .nav-link, .mobile-nav-link, .language-toggle, .cart-btn {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

/* Smooth scrolling for mobile */
html {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Prevent zoom on input focus */
input, textarea, select {
    font-size: 16px;
}

/* Enhanced Mobile Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.8rem 0;
        gap: 1.5rem;
    }
    
    .logo img {
        width: 100px;
        height: 100px;
    }
    
    .nav-list {
        gap: 0.3rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .header-actions {
        gap: 0.8rem;
    }
    
    .cart-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .language-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .hero {
        height: 75vh;
        min-height: 450px;
    }
    
    .hero-actions-section {
        padding: 3.5rem 0;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .features h2 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2.5rem 2rem;
    }
    
    .hero-actions {
        gap: 1.5rem;
    }
    
    .hero-actions .btn {
        min-width: 200px;
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .library-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Navigation */
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 1.3rem;
        padding: 0.4rem;
    }
    
    /* Header */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }
    
    .header-content {
        padding: 0.5rem 0;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo img {
        width: 90px;
        height: 90px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    /* Header Actions */
    .header-actions {
        gap: 0.5rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
    
    .cart-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: auto;
        border-radius: 20px;
    }
    
    .cart-btn i {
        font-size: 1rem;
    }
    
    .language-selector select {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 15px;
        min-height: 36px;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 0.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10000;
    }
    
    .nav-toggle span {
        width: 24px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 3px;
        transition: all 0.3s ease;
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Main Content */
    .main {
        margin-top: 70px;
    }
    
    /* Hide hero section on mobile */
    .hero {
        display: none !important;
    }
    
    .hero-text {
        padding: 2rem 1rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    
    .features {
        padding: 3rem 0;
    }
    
    .features h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    /* Remove any gap between hero and actions */
    .hero + .hero-actions-section {
        margin-top: 0;
    }
    
    .hero-actions {
        margin-top: 1.5rem;
        gap: 1rem;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: center;
    }
    
    /* Features Section */
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .feature-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Page Headers */
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* About Section */
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about-image img {
        height: 250px;
        width: 100%;
        object-fit: cover;
    }
    
    /* Products Section */
    .products {
        padding: 3rem 0;
    }
    
    .products-filter {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        width: 100%;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 1.2rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    /* Activities Section */
    .activities {
        padding: 3rem 0;
    }
    
    .activities-tabs {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .activity-card {
        width: 100%;
    }
    
    .activity-image {
        height: 180px;
    }
    
    .activity-content {
        padding: 1.2rem;
    }
    
    .activity-title {
        font-size: 1.1rem;
    }
    
    .activity-description {
        font-size: 0.85rem;
    }
    
    /* Library Section */
    .library {
        padding: 3rem 0;
    }
    
    .library-search {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .search-input {
        width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .search-btn {
        width: 100%;
        padding: 0.8rem;
    }
    
    .library-categories {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .category-btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }
    
    .library-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .library-card {
        width: 100%;
    }
    
    .library-image {
        height: 180px;
    }
    
    .library-content {
        padding: 1.2rem;
    }
    
    .library-title {
        font-size: 1rem;
    }
    
    .library-author {
        font-size: 0.8rem;
    }
    
    .library-description {
        font-size: 0.8rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    /* Admin Panel */
    .admin-panel-btn {
        bottom: 1rem;
        left: 1rem;
        width: 50px;
        height: 50px;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .modal-close {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
    
    /* Language Dropdown */
    .language-dropdown {
        min-width: 160px;
        z-index: 99999;
    }
    
    .language-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .flag-icon {
        width: 20px;
        height: 15px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    /* Header */
    .header-content {
        padding: 0.5rem 0;
        gap: 0.6rem;
    }
    
    .logo img {
        width: 80px;
        height: 80px;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text p {
        font-size: 0.7rem;
    }
    
    /* Header Actions */
    .cart-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .language-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Main Content */
    .main {
        margin-top: 70px;
    }
    
    /* Hero Section */
    .hero {
        min-height: 300px !important;
        padding: 2rem 1rem !important;
    }
    
    .hero-text h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-text p {
        font-size: 0.95rem !important;
    }
    
    .hero-background {
        display: none !important;
    }
    
    .hero-background img,
    .hero-image {
        display: none !important;
    }
    
    /* Mobile hero overlay for better text readability */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(178, 84, 38, 0.3), rgba(55, 70, 57, 0.2));
        z-index: 1;
    }
    
    /* Mobile hero professional styling */
    .hero {
        border-radius: 0 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
        border: none !important;
    }
    
    .hero-actions {
        margin-top: 1.5rem;
        gap: 0.75rem;
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        min-width: auto;
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Typography */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.4rem;
        font-size: 0.95rem;
    }
    
    /* Features */
    .features {
        padding: 2.5rem 0;
    }
    
    .features-grid {
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .feature-card i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* About */
    .about {
        padding: 2.5rem 0;
    }
    
    .about-text h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .about-image img {
        height: 200px;
    }
    
    /* Products */
    .products {
        padding: 2.5rem 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 0.8rem;
    }
    
    /* Activities */
    .activities {
        padding: 2.5rem 0;
    }
    
    .activities-grid {
        gap: 1.2rem;
    }
    
    .activity-image {
        height: 160px;
    }
    
    .activity-content {
        padding: 1rem;
    }
    
    .activity-title {
        font-size: 1rem;
    }
    
    .activity-description {
        font-size: 0.8rem;
    }
    
    /* Library */
    .library {
        padding: 2.5rem 0;
    }
    
    .library-grid {
        gap: 1.2rem;
    }
    
    .library-image {
        height: 160px;
    }
    
    .library-content {
        padding: 1rem;
    }
    
    .library-title {
        font-size: 0.95rem;
    }
    
    .library-author {
        font-size: 0.75rem;
    }
    
    .library-description {
        font-size: 0.75rem;
    }
    
    /* Contact */
    .contact {
        padding: 2.5rem 0;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo img {
        width: 35px;
        height: 35px;
    }
    
    .footer-logo h3 {
        font-size: 1.2rem;
    }
    
    .footer-logo p {
        font-size: 0.8rem;
    }
    
    /* Modal */
    .modal-content {
        width: 98%;
        margin: 0.5rem;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0.8rem;
    }
    
    .modal-close {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
    }
    
    /* Language Dropdown */
    .language-dropdown {
        min-width: 140px;
    }
    
    .language-option {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .flag-icon {
        width: 18px;
        height: 14px;
    }
    
    /* Admin Panel */
    .admin-panel-btn {
        bottom: 0.8rem;
        left: 0.8rem;
        width: 45px;
        height: 45px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-card {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .header-content {
        padding: 0.5rem 0;
        gap: 0.6rem;
    }
    
    .logo img {
        width: 70px;
        height: 70px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text p {
        font-size: 0.65rem;
    }
    
    .cart-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .language-toggle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .main {
        margin-top: 60px;
    }
    
    .hero-actions {
        margin-top: 1rem;
        gap: 0.75rem;
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        min-width: auto;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-card i {
        font-size: 1.8rem;
    }
    
    .feature-card h3 {
        font-size: 0.95rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 99%;
        margin: 0.25rem;
    }
    
    .modal-close {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .language-dropdown {
        min-width: 120px;
    }
    
    .language-option {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .flag-icon {
        width: 16px;
        height: 12px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Prevent loading class from affecting hero section */
.hero.loading,
.hero.loaded,
.hero.smooth-fade-in {
    opacity: 1 !important;
    background: linear-gradient(135deg, #B25426 0%, #8B4513 50%, #374639 100%) !important;
}

/* Force hero background to always show gradient */
.hero {
    background: linear-gradient(135deg, #B25426 0%, #8B4513 50%, #374639 100%) !important;
    background-image: none !important;
    background-color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Enhanced RTL Support */
[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-content {
    flex-direction: row;
}

[dir="rtl"] .nav-list {
    flex-direction: row;
}

[dir="rtl"] .header-actions {
    flex-direction: row;
}

[dir="rtl"] .logo {
    flex-direction: row;
}

[dir="rtl"] .features-grid {
    text-align: right;
}

[dir="rtl"] .feature-card {
    text-align: right;
}

[dir="rtl"] .container {
    text-align: right;
}

/* Enhanced LTR Support */
[dir="ltr"] .hero-actions {
    flex-direction: row;
}

[dir="ltr"] .contact-item {
    flex-direction: row;
}

[dir="ltr"] .social-links {
    flex-direction: row;
}

[dir="ltr"] .header-content {
    flex-direction: row;
}

[dir="ltr"] .nav-list {
    flex-direction: row;
}

[dir="ltr"] .header-actions {
    flex-direction: row;
}

[dir="ltr"] .logo {
    flex-direction: row;
}

[dir="ltr"] .features-grid {
    text-align: left;
}

[dir="ltr"] .feature-card {
    text-align: left;
}

[dir="ltr"] .container {
    text-align: left;
}

/* Body direction support */
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

/* Contact Map */
.contact-map {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-map h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-container {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
}

.map-info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.map-info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map-info-item p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

/* Main Content */
.main {
    margin-top: 70px;
    opacity: 1;
    display: block;
}

/* Fix Page Shaking */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Remove all transitions and animations that cause shaking */
* {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

/* Fix specific elements that cause shaking */
.container, .header, .main, .section, .card, .grid, .products-grid, .activities-grid, .library-grid {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: layout;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cart-sidebar,
    
    .main {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Donate Modal Styles */
.donate-info {
    text-align: center;
    margin-bottom: 2rem;
}

.donate-info h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.donate-info p {
    color: var(--text-light);
    line-height: 1.6;
}

.donate-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.donate-amount h5,
.donate-methods h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.amount-btn:hover,
.amount-btn.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.custom-amount {
    margin-top: 1rem;
}

.custom-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.payment-btn:hover,
.payment-btn.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

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

/* Mobile responsive for donate modal */
@media (max-width: 768px) {
    .donate-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-options {
        gap: 0.75rem;
    }
    
    .payment-btn {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 999999 !important;
}

/* Language Dropdown Styles */
.language-dropdown {
    position: fixed !important;
    top: 80px !important;
    right: 20px !important;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    min-width: 220px;
    z-index: 999999 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.3s ease;
    margin-top: 0;
    overflow: hidden;
    display: block !important;
}

.language-dropdown.show {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: dropdownSlide 0.3s ease;
}

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

.language-option {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: right;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.language-option:hover {
    background: linear-gradient(135deg, var(--light-bg), #f0f0f0);
    color: var(--primary-color);
    transform: translateX(-5px);
}

.language-option.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(178, 84, 38, 0.3);
}

.language-option .fas.fa-check {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.language-option.active .fas.fa-check {
    color: var(--white);
    transform: scale(1.1);
}

.language-option:last-child {
    border-bottom: none;
}

/* RTL/LTR Support */
[dir="rtl"] .language-dropdown {
    right: 0;
    left: auto;
}

[dir="ltr"] .language-dropdown {
    left: 0;
    right: auto;
}

[dir="rtl"] .language-option {
    text-align: right;
}

[dir="ltr"] .language-option {
    text-align: left;
}

/* Language Select Styling */
.language-select {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.language-select:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.language-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(178, 84, 38, 0.3);
}

.language-select option {
    background: white;
    color: var(--text-color);
    padding: 8px 12px;
    font-size: 14px;
}

/* Language Menu */
.language-menu {
    position: fixed !important;
    top: 80px !important;
    right: 20px !important;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 999999 !important;
    min-width: 150px;
    margin-top: 0;
}

.language-menu button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: right;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
}

.language-menu button:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.language-menu button:last-child {
    border-bottom: none;
}

/* Feature Cards as Links */
a.feature-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

a.feature-card:hover {
    text-decoration: none;
    transform: translateY(-5px);
}

a.feature-card h3,
a.feature-card p {
    color: inherit;
}

/* RTL/LTR Language Support - Ultra Enhanced */
html[dir="rtl"] {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] {
    direction: ltr !important;
    text-align: left !important;
}

/* Force RTL/LTR on body and all elements */
html[dir="rtl"] body,
html[dir="rtl"] * {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] body,
html[dir="ltr"] * {
    direction: ltr !important;
    text-align: left !important;
}

/* Force RTL/LTR on specific elements */
html[dir="rtl"] .header-content,
html[dir="rtl"] .nav-list,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .language-selector,
html[dir="rtl"] .cart-btn {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .header-content,
html[dir="ltr"] .nav-list,
html[dir="ltr"] .header-actions,
html[dir="ltr"] .language-selector,
html[dir="ltr"] .cart-btn {
    direction: ltr !important;
    text-align: left !important;
}

/* Ultra-strong header RTL/LTR rules */
html[dir="rtl"] .header {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .header {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .header .container {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .header .container {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .header .header-content {
    flex-direction: row-reverse !important;
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .header .header-content {
    flex-direction: row !important;
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .header .nav {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .header .nav {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .header .nav-list {
    flex-direction: row !important;
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .header .nav-list {
    flex-direction: row !important;
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .header .header-actions {
    flex-direction: row-reverse !important;
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .header .header-actions {
    flex-direction: row !important;
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .header .language-selector {
    direction: rtl !important;
    text-align: right !important;
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

html[dir="ltr"] .header .language-selector {
    direction: ltr !important;
    text-align: left !important;
    margin-right: 1rem !important;
    margin-left: 0 !important;
}


html[dir="rtl"] .header .cart-btn {
    direction: rtl !important;
    text-align: right !important;
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

html[dir="ltr"] .header .cart-btn {
    direction: ltr !important;
    text-align: left !important;
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

/* ===== HEADER - EN BASİT ===== */
.header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.header .logo img {
    height: 100px;
}

.header .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.75rem;
}

.header .nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem;
}

.header .nav-link.active {
    color: #ffffff !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.header .nav-link.active:hover {
    color: #ffffff !important;
}

.header .nav-link:hover {
    color: var(--primary-color);
}

.header .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

/* RTL */
html[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-list {
    flex-direction: row;
}

html[dir="rtl"] .header-actions {
    flex-direction: row-reverse;
}

/* Contact Link Styles */
.contact-link {
    display: flex;
    align-items: center;
}

.contact-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Force Arabic text direction on all header elements */
html[dir="rtl"] .header * {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .header * {
    direction: ltr !important;
    text-align: left !important;
}

/* Arabic header specific spacing - REVERSE */
html[dir="rtl"] .header .nav-list li {
    margin-left: 1.5rem !important;
    margin-right: 0 !important;
}

html[dir="ltr"] .header .nav-list li {
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .header .nav-list li:first-child {
    margin-left: 0 !important;
}

html[dir="ltr"] .header .nav-list li:first-child {
    margin-right: 0 !important;
}

/* Arabic header button spacing - REVERSE */
html[dir="rtl"] .header .header-actions > * {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

html[dir="ltr"] .header .header-actions > * {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .header .header-actions > *:first-child {
    margin-left: 0 !important;
}

html[dir="ltr"] .header .header-actions > *:first-child {
    margin-right: 0 !important;
}

/* RTL Specific Styles - Enhanced - REVERSE */
html[dir="rtl"] .header-content {
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .nav-list {
    flex-direction: row !important;
}

html[dir="rtl"] .header-actions {
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .language-selector {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}


html[dir="rtl"] .cart-btn {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

/* LTR Specific Styles - Enhanced */
html[dir="ltr"] .header-content {
    flex-direction: row !important;
}

html[dir="ltr"] .nav-list {
    flex-direction: row !important;
}

html[dir="ltr"] .header-actions {
    flex-direction: row !important;
}

html[dir="ltr"] .language-selector {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}


html[dir="ltr"] .cart-btn {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

/* Force text alignment for all text elements */
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] p, html[dir="rtl"] span, html[dir="rtl"] div, html[dir="rtl"] a, html[dir="rtl"] li {
    text-align: right !important;
}

html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3, html[dir="ltr"] h4, html[dir="ltr"] h5, html[dir="ltr"] h6,
html[dir="ltr"] p, html[dir="ltr"] span, html[dir="ltr"] div, html[dir="ltr"] a, html[dir="ltr"] li {
    text-align: left !important;
}

/* Mobile Navigation - Hide on Desktop */
.nav-toggle,
.nav-menu,
.nav-overlay {
    display: none !important;
}

/* Show Mobile Navigation on Mobile Devices */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-menu,
    .nav-overlay {
        display: block !important;
    }
    
    /* Hide desktop navigation on mobile */
    .nav {
        display: none !important;
    }
}

