.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(139, 69, 19, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background-color: rgba(42, 42, 42, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--palestine-black);
    text-decoration: none;
}

.logo .flag {
    font-size: 1.5rem;
}

.logo-text {
    background: linear-gradient(90deg, var(--palestine-black), var(--palestine-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--palestine-red), var(--palestine-olive));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--palestine-red);
}

.cart-link {
    position: relative;
}

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

.nav-extra {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-btn,
.lang-btn {
    background-color: var(--bg-tertiary);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.theme-btn:hover,
.lang-btn:hover {
    background-color: var(--palestine-olive);
    color: white;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    --hero-primary: var(--hero-gradient-start);
    --hero-secondary: var(--hero-gradient-end);

    --hero-glow: 0 0 20px rgba(0, 0, 0, 0.25);
    --hero-glow-hover: 0 0 35px rgba(0, 0, 0, 0.4);

    --hero-text: var(--text-color);
}




.hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg,
            rgba(250, 248, 245, 0.9) 0%,
            rgba(245, 241, 234, 0.9) 100%),
        url('https://images.unsplash.com/photo-1582139329536-e7284fece509?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg,
            rgba(26, 26, 26, 0.9) 0%,
            rgba(42, 42, 42, 0.9) 100%),
        url('https://images.unsplash.com/photo-1582139329536-e7284fece509?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

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

.olive-branch {
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 20 Q60 10 70 20 Q80 30 70 40 Q60 50 50 40 Q40 30 30 20 Q40 10 50 20' fill='%23556B2F' opacity='0.2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.olive-branch.left {
    top: -50px;
    left: -50px;
    transform: rotate(-15deg);
}

.olive-branch.right {
    bottom: -50px;
    right: -50px;
    transform: rotate(195deg);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;

    background: linear-gradient(90deg,
            var(--hero-gradient-start),
            var(--hero-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.hero-title .arabic-text {
    font-size: 2rem;
    color: var(--hero-primary);
    margin-bottom: 10px;
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--hero-text);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}


.hero i {
    color: var(--hero-primary);
}


.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hero-primary);
    font-family: 'Cairo', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    background: linear-gradient(135deg,
            rgba(250, 248, 245, 0.9) 0%,
            rgba(245, 241, 234, 0.9) 100%),
        var(--slide-image);
}

[data-theme="dark"] .slide {
    background: linear-gradient(135deg,
            rgba(26, 26, 26, 0.9) 0%,
            rgba(42, 42, 42, 0.9) 100%),
        var(--slide-image);
}

.slide.active {
    opacity: 1;
}

.hero .btn-primary {
    background: linear-gradient(135deg,
            var(--hero-primary),
            var(--hero-secondary));
    border: none;

    box-shadow:
        0 6px 20px color-mix(in srgb, var(--hero-primary) 40%, transparent);
}

.hero .btn-primary:hover {
    box-shadow:
        0 10px 35px color-mix(in srgb, var(--hero-primary) 60%, transparent);
}

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

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


.hero-slider .slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 20;
}

.hero-slider .slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--palestine-red);
    color: var(--palestine-red);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hero-slider .slider-btn:hover {
    background-color: var(--palestine-red);
    color: white;
    transform: scale(1.1);
}

.hero-slider .slider-dots {
    display: flex;
    gap: 10px;
}

.hero-slider .slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider .slider-dot.active {
    background-color: var(--palestine-red);
    transform: scale(1.2);
}

/* Update hero section to remove background image */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.keffiyeh-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.pattern-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23556B2F' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.layer-1 {
    animation: float 6s ease-in-out infinite;
}

.layer-2 {
    animation: float 8s ease-in-out infinite reverse;
    opacity: 0.3;
}

.layer-3 {
    animation: float 10s ease-in-out infinite;
    opacity: 0.2;
}


.floating-shirt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 150px;
    color: var(--palestine-white);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}

.tatreez-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20,50 Q30,30 50,30 Q70,30 80,50 Q70,70 50,70 Q30,70 20,50' fill='%23CE1126' opacity='0.8'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.palestine-symbols {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.symbol {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 120px;
}

[data-theme="dark"] .symbol {
    background-color: rgba(42, 42, 42, 0.9);
}

.symbol:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.symbol i {
    font-size: 2rem;
    color: var(--palestine-olive);
}

.key-symbol i {
    color: var(--palestine-gold);
}

.handala-symbol i {
    color: var(--palestine-black);
}

.symbol span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

/* Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.collection-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.collection-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.collection-info {
    padding: 25px;
}

.collection-info h3 {
    margin-bottom: 10px;
    color: var(--palestine-earth);
}

.collection-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Tradition Modern Section */
.tradition-modern {
    background-color: var(--bg-secondary);
}

.tradition-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tradition-card,
.modern-card,
.custom-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tradition-card::before,
.modern-card::before,
.custom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.tradition-card::before {
    background: linear-gradient(90deg, var(--palestine-olive), var(--palestine-green));
}

.modern-card::before {
    background: linear-gradient(90deg, var(--palestine-red), var(--palestine-gold));
}

.custom-card::before {
    background: linear-gradient(90deg, var(--palestine-black), var(--palestine-red));
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    color: var(--palestine-olive);
    transition: var(--transition);
}

.tradition-card:hover .card-icon {
    background-color: var(--palestine-olive);
    color: white;
}

.modern-card:hover .card-icon {
    background-color: var(--palestine-red);
    color: white;
}

.custom-card:hover .card-icon {
    background-color: var(--palestine-black);
    color: white;
}

.tradition-card h3,
.modern-card h3,
.custom-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tradition-card p,
.modern-card p,
.custom-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Best Sellers */
.best-sellers {
    background-color: var(--bg-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--palestine-red);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wishlist-btn,
.quick-view {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.wishlist-btn:hover,
.quick-view:hover {
    background-color: white;
    color: var(--palestine-red);
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: var(--palestine-red);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--palestine-red);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.product-rating i {
    color: #fbbf24;
}

.product-rating span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

.color-dot.active {
    border-color: var(--palestine-red);
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--palestine-olive);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.text-center {
    text-align: center;
}

/* Our Story */
.our-story {
    background-color: var(--bg-secondary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.frame-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--palestine-olive);
    border-radius: 25px;
    pointer-events: none;
}

.story-content .section-title {
    margin-bottom: 20px;
    text-align: left;
}

.story-content .section-title::after {
    left: 0;
    transform: none;
}

.story-arabic {
    font-size: 1.5rem;
    color: var(--palestine-olive);
    margin-bottom: 25px;
    font-weight: 600;
}

.story-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.story-values {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.value {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.value i {
    color: var(--palestine-red);
    font-size: 1.2rem;
}

.value span {
    font-weight: 600;
    color: var(--text-color);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-color);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--palestine-olive);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    color: var(--palestine-red);
    font-size: 2rem;
    font-family: serif;
}

.testimonial-author {
    font-weight: 700;
    color: var(--palestine-earth);
    margin-bottom: 5px;
}

.testimonial-location {
    color: var(--palestine-olive);
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--palestine-red);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--palestine-black), var(--palestine-red));
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--palestine-black);
    color: white;
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    font-family: 'Cairo', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo .flag {
    font-size: 1.8rem;
}

.footer-brand .arabic-text {
    color: var(--palestine-sand);
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

.social-link:hover {
    background-color: var(--palestine-red);
    transform: translateY(-5px);
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--palestine-red);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--palestine-red);
    transform: translateX(5px);
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--palestine-red);
    margin-top: 3px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom .arabic-text {
    color: var(--palestine-sand);
    font-weight: 600;
    margin-left: 10px;
}

.footer-extra {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-extra a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-extra a:hover {
    color: var(--palestine-red);
}

.hero h1::after {
    background: linear-gradient(90deg,
            var(--hero-primary),
            var(--hero-secondary));
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-content .section-title {
        text-align: center;
    }

    .story-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-list.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title .arabic-text {
        font-size: 1.5rem;
    }

    .hero-visual {
        height: 400px;
    }

    .palestine-symbols {
        position: relative;
        margin-top: 30px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .tradition-modern-grid {
        grid-template-columns: 1fr;
    }

    .story-values {
        flex-direction: column;
    }

    .footer-extra {
        flex-direction: column;
        gap: 10px;
    }
}


/* Testimonials Horizontal Slider */
.testimonials-container {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.testimonials-page {
    flex: 0 0 100%;
    display: flex;
    gap: 30px;
    padding: 20px 10px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonials-page.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--palestine-olive);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.testimonial-btn:hover:not(:disabled) {
    background-color: var(--palestine-red);
    transform: scale(1.1);
}

.testimonial-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.testimonial-pagination {
    display: flex;
    gap: 10px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-dot.active {
    background-color: var(--palestine-red);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonials-container {
        padding: 0 30px;
    }

    .testimonials-page {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-card {
        min-height: 300px;
    }
}

/* Hero Slider Fixes */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.hero-slider .slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-slider .slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--palestine-red);
    color: var(--palestine-red);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hero-slider .slider-btn:hover {
    background-color: var(--palestine-red);
    color: white;
    transform: scale(1.1);
}

.hero-slider .slider-dots {
    display: flex;
    gap: 10px;
}

.hero-slider .slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider .slider-dot.active {
    background-color: var(--palestine-red);
    transform: scale(1.2);
}

/* Fix hero section z-index issues */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    z-index: 1;
}

/* Fix overlapping issues */
.navbar {
    z-index: 1000;
}

/* Ensure hero content is above slider */
.hero-content,
.hero-visual {
    position: relative;
    z-index: 2;
}

/* Improve arrow visibility */
.slider-arrow {
    opacity: 1 !important;
    visibility: visible !important;
}


@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Pagination Controls */
.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 30px;
}

.pagination-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--palestine-olive);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--palestine-red);
    transform: scale(1.1);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 10px;
}

.page-number {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--bg-tertiary);
    color: var(--text-color);
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.page-number:hover {
    background-color: var(--palestine-olive);
    color: white;
}

.page-number.active {
    background-color: var(--palestine-red);
    color: white;
    transform: scale(1.1);
}

/* Fix for hero slider arrow buttons on mobile */
@media (max-width: 768px) {
    .slider-arrow {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        z-index: 10000 !important;
    }

    .arrow-left {
        left: 10px !important;
    }

    .arrow-right {
        right: 10px !important;
    }

    /* Increase touch target area */
    .slider-arrow::after {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        z-index: -1;
    }
}

/* Ensure arrow buttons are above all content */
.slider-arrow {
    z-index: 10000 !important;
    pointer-events: auto !important;
}