/* ===== CSS RESET & VARIABLES ===== */
:root {
    --white: #ffffff;
    --white-soft: #f8f9fa;
    --white-warm: #fefefe;
    --gray-ultralight: #f5f7fa;
    --gray-light: #e9ecef;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --black: #000000;
    --black-light: #2a2a2a;
    --black-medium: #1a1a1a;
    
    --gold-primary: #d4af37;
    --gold-secondary: #f4e4a6;
    --gold-dark: #b8941f;
    --gold-light: #fdf6e3;
    
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.18);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --container-max: 1400px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--gray-dark);
    background: var(--white);
    overflow-x: hidden;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== HIDE LOADER ===== */
.page-loader {
    display: none;
}

/* ===== TYPOGRAPHY ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== LAYOUT & CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== HEADER STYLES - TRANSPARENT WITH COLOR CHANGE ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition-slow);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Logo - Changes color when scrolled */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.8rem;
    transition: var(--transition);
}

.logo-text {
    color: var(--white);
    transition: var(--transition);
}

.header.scrolled .logo-text {
    color: var(--black);
}

.logo-subtitle {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-right: 0.2rem;
    transition: var(--transition);
}

.header.scrolled .logo-subtitle {
    color: var(--gold-dark);
}

.logo:hover {
    transform: translateY(-2px);
}

/* Hamburger Menu - Changes color when scrolled */
.hamburger-menu {
    background: none;
    border: none;
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.header.scrolled .hamburger-menu span {
    background: var(--black);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--gold-primary);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
    background: var(--gold-primary);
}

/* Desktop Navigation - Changes color when scrolled */
.desktop-nav {
    display: none;
    gap: 2.5rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
}

.header.scrolled .desktop-nav a {
    color: var(--gray-dark);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--gold-primary);
}

.desktop-nav a:hover::after {
    width: 100%;
}
/* ===== MOBILE NAVIGATION - FIXED ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.mobile-nav.active {
    right: 0;
    visibility: visible;
}

.nav-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white-soft);
}

.nav-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
}

.close-nav {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-medium);
    cursor: pointer;
    transition: var(--transition);
}

.close-nav:hover {
    color: var(--gold-primary);
    transform: rotate(90deg);
}

.nav-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    text-decoration: none;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item i {
    width: 20px;
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.nav-item:hover {
    color: var(--gold-primary);
    transform: translateX(-5px);
}

.nav-divider {
    height: 1px;
    background: var(--gray-light);
    margin: 1rem 0;
}

/* ===== SEARCH OVERLAY - FIXED ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-50px);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-light);
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.close-search {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-medium);
    cursor: pointer;
    transition: var(--transition);
}

.close-search:hover {
    color: var(--gold-primary);
    transform: rotate(90deg);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--white-soft);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-light);
}

.search-box i {
    color: var(--gray-medium);
    margin: 0 1rem;
    font-size: 1.1rem;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--gray-dark);
    outline: none;
}

.search-input::placeholder {
    color: var(--gray-medium);
}

.search-btn {
    background: var(--gold-primary);
    color: var(--black);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--gold-secondary);
    transform: translateY(-2px);
}

.suggestions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: var(--white-soft);
    color: var(--gray-medium);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.tag:hover {
    background: var(--gold-primary);
    color: var(--black);
    transform: translateY(-2px);
}

/* ===== OVERLAY BACKGROUND ===== */
.overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay-background.active {
    opacity: 1;
    visibility: visible;
}

/* Header Icons - Changes color when scrolled */
.header-icons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.header-icons button {
    background: none;
    border: none;
    color: var(--black);
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
}

.header.scrolled .header-icons button {
    color: var(--black);
}

.header-icons button:hover {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.header-icons button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--gold-primary);
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0;
}

.header-icons button:hover::before {
    width: 40px;
    height: 40px;
    opacity: 0.1;
}
/* ===== HERO SECTION - DARK THEME (ENHANCED) ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%, 
        rgba(20, 20, 20, 0.85) 50%,
        rgba(0, 0, 0, 0.75) 100%
    ), url('https://images.unsplash.com/photo-1515377905703-c4788e51af15?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat fixed;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(212, 175, 55, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeIn 1.2s ease-out 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-badge i {
    color: var(--gold-primary);
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-title {
    font-size: clamp(2.2rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.title-line {
    display: block;
}

.highlight {
    color: var(--gold-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.92;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-description strong {
    color: var(--gold-primary);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: var(--black);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}/* ===== HERO FEATURES MOBILE (RTL OPTIMIZED) ===== */
.hero-features-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.feature-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.feature-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-mobile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-mobile:hover::before,
.feature-mobile:hover::after {
    opacity: 1;
}

.feature-mobile:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.4);
}

.feature-mobile i {
    font-size: 2.2rem;
    color: var(--gold-primary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
    z-index: 1;
}

.feature-mobile:hover i {
    transform: scale(1.2) rotate(-5deg);
}

.feature-mobile span {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    color: var(--white);
    z-index: 1;
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}
/* ===== TESTIMONIALS SECTION - MODERN DESIGN ===== */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.3;
}

/* Decorative Background Elements */
.testimonials::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.testimonials .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.testimonials .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.testimonials .section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Testimonial Card */
.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Quote Icon Background */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.testimonial-card:hover::after {
    opacity: 1;
}

/* Testimonial Content */
.testimonial-content {
    position: relative;
    z-index: 1;
}

/* Stars Rating */
.testimonial-card .stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.testimonial-card .stars i {
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    text-align: right;
    direction: rtl;
    font-weight: 400;
    position: relative;
}

/* Testimonial Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Author Avatar */
.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #C9A52A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 3px solid #ffffff;
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1) rotate(5deg);
}

/* Author Info */
.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: right;
    direction: rtl;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.author-info span {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.author-info span::before {
    content: '📍';
    font-size: 0.85rem;
}
/* ===== FOOTER SECTION - MODERN DESIGN ===== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #ffffff;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

/* Decorative Background */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.5;
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

/* Footer Section */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section:first-child {
    grid-column: span 1;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #C9A52A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 1.2rem;
    color: var(--gold-primary);
    font-weight: 600;
}

/* Footer Description */
.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    text-align: right;
    direction: rtl;
}

/* Social Links */
.social-links,
.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a,
.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.social-links a:hover,
.social-link:hover {
    background: var(--gold-primary);
    color: #1a1a1a;
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-primary);
}

/* =====================================================
   Contact Page Styles
   ===================================================== */

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 70vh;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
}

/* Contact Cards */
.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
}

.contact-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: right;
    position: relative;
    padding-bottom: 1rem;
}

.contact-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    border-radius: 2px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: translateX(-5px);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--gold-primary);
    min-width: 40px;
    text-align: center;
    margin-top: 4px;
}

.contact-item div {
    flex: 1;
    text-align: right;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold-primary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    text-align: right;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form button {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #f0d875 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    align-self: flex-start;
    min-width: 200px;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f0d875 0%, var(--gold-primary) 100%);
}

.contact-form button:active {
    transform: translateY(-1px);
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .contact {
        padding: 4rem 1.5rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-card h2 {
        font-size: 1.6rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .contact {
        padding: 3rem 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        padding: 1.2rem;
        gap: 1rem;
    }

    .contact-item i {
        font-size: 1.5rem;
        min-width: 35px;
    }

    .contact-item strong {
        font-size: 1rem;
    }

    .contact-form button {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* Footer Section Title */
.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    text-align: right;
    direction: rtl;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li {
    text-align: right;
    direction: rtl;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 1rem;
}

.footer-links a::before {
    content: '◀';
    position: absolute;
    right: 0;
    font-size: 0.6rem;
    color: var(--gold-primary);
    opacity: 0;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-right: 1.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    direction: rtl;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--gold-primary);
    color: #1a1a1a;
    transform: scale(1.1);
}

.contact-item span {
    flex: 1;
    text-align: right;
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Payment Methods */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-payments span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-methods i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.payment-methods i:hover {
    color: var(--gold-primary);
    transform: translateY(-3px);
}

/* Footer Copyright */
.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== TABLET BREAKPOINT ===== */
@media (max-width: 1024px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .footer-section:first-child {
        grid-column: span 2;
    }
}

/* ===== MOBILE BREAKPOINT ===== */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer::after {
        width: 400px;
        height: 400px;
        right: -20%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem 2.5rem;
    }
    
    .footer-section:first-child {
        grid-column: span 1;
        text-align: center;
    }
    
    /* Logo Center on Mobile */
    .footer-logo {
        justify-content: center;
        margin-bottom: 1.2rem;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-subtitle {
        font-size: 1.1rem;
    }
    
    /* Description Center on Mobile */
    .footer-description {
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Social Links Center on Mobile */
    .footer-social {
        justify-content: center;
    }
    
    /* Section Titles */
    .footer-section h3 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1.2rem;
        padding-bottom: 0.6rem;
    }
    
    .footer-section h3::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    /* Links Center on Mobile */
    .footer-links {
        align-items: center;
        gap: 0.7rem;
    }
    
    .footer-links li {
        text-align: center;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        justify-content: center;
    }
    
    /* Contact Info */
    .contact-info {
        gap: 1rem;
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-item span {
        text-align: center;
        font-size: 0.9rem;
    }
    
    /* Footer Bottom */
    .footer-bottom {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-payments {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .footer-payments span {
        font-size: 0.85rem;
    }
    
    .payment-methods {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .payment-methods i {
        font-size: 1.8rem;
    }
    
    .footer-copyright {
        text-align: center;
        width: 100%;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 0;
    }
    
    .footer-content {
        gap: 2rem;
        padding: 0 0.8rem 2rem;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .logo-subtitle {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .contact-item i {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .contact-item span {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0.8rem;
    }
    
    .payment-methods {
        gap: 1.2rem;
    }
    
    .payment-methods i {
        font-size: 1.6rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out both;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .footer-section,
    .social-link,
    .footer-links a,
    .contact-item i,
    .payment-methods i {
        animation: none;
        transition: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .social-link:active {
        transform: scale(0.95);
    }
    
    .footer-links a:active {
        color: var(--gold-primary);
    }
    
    .contact-item:active i {
        transform: scale(1.05);
    }
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] .footer-description,
[dir="rtl"] .footer-section h3,
[dir="rtl"] .footer-links li,
[dir="rtl"] .contact-item {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .footer-links a::before {
    right: 0;
    left: auto;
}

@media (max-width: 768px) {
    [dir="rtl"] .footer-description,
    [dir="rtl"] .footer-section h3 {
        text-align: center;
    }
}
.product-photo {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* ===== WHATSAPP FLOATING BUTTON - MODERN DESIGN ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 35px rgba(37, 211, 102, 0.6),
                    0 0 0 10px rgba(37, 211, 102, 0.1),
                    0 0 0 20px rgba(37, 211, 102, 0.05);
    }
}

/* Ripple Effect Background */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
    pointer-events: none;
}

@keyframes ripple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

/* Icon Styling */
.whatsapp-float i {
    position: relative;
    z-index: 2;
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* Hover Effect */
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover i {
    animation: none;
    transform: scale(1.1);
}

/* Active/Click Effect */
.whatsapp-float:active {
    transform: translateY(-2px) scale(1.05);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 1;
    direction: rtl;
}

/* Tooltip Arrow */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #1a1a1a;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* Show Tooltip on Hover */
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Badge/Notification Dot (Optional) */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: #ff4444;
    border-radius: 50%;
    border: 3px solid #ffffff;
    animation: blink 1.5s ease-in-out infinite;
    z-index: 3;
    display: none; /* Remove this line to show notification dot */
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.9);
    }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 25px;
        right: 20px;
        border-width: 2px;
    }
    
    /* Tooltip - Hide on Mobile or Show Above */
    .whatsapp-tooltip {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        bottom: 80px;
        top: auto;
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .whatsapp-tooltip::after {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: -8px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #1a1a1a;
        border-bottom: none;
    }
    
    .whatsapp-float:hover .whatsapp-tooltip {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 15px;
    }
    
    /* Always show tooltip on mobile tap (optional) */
    .whatsapp-float:active .whatsapp-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-float i,
    .whatsapp-float::before,
    .whatsapp-tooltip {
        animation: none !important;
        transition: none !important;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .whatsapp-float {
        animation: none; /* Stop pulse on touch devices */
    }
    
    .whatsapp-float:active {
        transform: scale(0.95);
    }
    
    /* Show tooltip on tap */
    .whatsapp-float:focus .whatsapp-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== ALTERNATIVE STYLES (Uncomment to use) ===== */

/* Square Style 
.whatsapp-float {
    border-radius: 15px;
}
*/

/* Minimal Style (No animations)
.whatsapp-float {
    animation: none;
}
.whatsapp-float::before {
    display: none;
}
.whatsapp-float i {
    animation: none;
}
*/

/* Small Button
.whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}
*/

/* Left Side Position
.whatsapp-float {
    right: auto;
    left: 30px;
}
.whatsapp-tooltip {
    right: auto;
    left: 80px;
}
.whatsapp-tooltip::after {
    right: auto;
    left: -8px;
    border-left: none;
    border-right: 8px solid #1a1a1a;
}
*/

/* ===== ADDITIONAL STATES ===== */

/* When chat is open (add class .chat-open to button) */
.whatsapp-float.chat-open {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.whatsapp-float.chat-open i::before {
    content: '\f00d'; /* X icon when chat is open */
}

/* Offline State (add class .offline to button) */
.whatsapp-float.offline {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    box-shadow: 0 6px 25px rgba(149, 165, 166, 0.4);
    cursor: not-allowed;
    pointer-events: none;
}

.whatsapp-float.offline::before {
    display: none;
}

/* ===== PRINT STYLES ===== */
@media print {
    .whatsapp-float {
        display: none;
    }
}
/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonials .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .testimonials .section-title::after {
        width: 50px;
        height: 3px;
        bottom: -8px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .testimonial-card::before {
        font-size: 100px;
        top: -15px;
        right: 15px;
    }
    
    .testimonial-card .stars {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-author {
        padding-top: 1.2rem;
    }
    
    .author-avatar {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        border-width: 2px;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials .section-header {
        margin-bottom: 2.5rem;
    }
    
    .testimonials-grid {
        gap: 1.2rem;
        padding: 0 0.8rem;
    }
    
    .testimonial-card {
        padding: 1.8rem 1.2rem;
        border-radius: 18px;
    }
    
    .testimonial-card::before {
        font-size: 80px;
        top: -10px;
        right: 10px;
    }
    
    .testimonial-card .stars {
        font-size: 0.95rem;
        gap: 3px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
}

/* ===== TABLET (2 COLUMNS) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

/* ===== LARGE DESKTOP (3 COLUMNS) ===== */
@media (min-width: 1025px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out both;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .author-avatar {
        animation: none;
        transition: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .testimonial-card:active {
        transform: scale(0.98);
    }
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] .testimonial-text {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .author-info {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .testimonial-card::before {
    right: 20px;
    left: auto;
}

/* ===== HOVER EFFECTS FOR DESKTOP ===== */
@media (min-width: 769px) {
    .testimonial-card {
        cursor: default;
    }
    
    .testimonial-card:hover .stars i {
        animation: starPulse 0.6s ease-in-out;
    }
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Additional Polish */
.testimonial-card:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #fffef9 100%);
}

.testimonial-card:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #fffdf5 100%);
}

.testimonial-card:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #fffef9 100%);
}

/* ===== DESKTOP FEATURES (Keep existing if needed) ===== */
.hero-features {
    display: none; /* Hide on mobile, show on desktop if you have both versions */
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (min-width: 769px) {
    .hero-features-mobile {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }
    
    .feature-mobile {
        padding: 2rem 1.2rem;
        min-height: 140px;
    }
    
    .feature-mobile i {
        font-size: 2.8rem;
    }
    
    .feature-mobile span {
        font-size: 1rem;
    }
    
    /* Show desktop features if you want different version */
    .hero-features {
        display: grid;
    }
    
    .hero-features-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-features-mobile {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        padding: 0 0.8rem;
    }
    
    .feature-mobile {
        padding: 1.3rem 0.6rem;
        min-height: 110px;
        border-radius: 12px;
    }
    
    .feature-mobile i {
        font-size: 2rem;
    }
    
    .feature-mobile span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-features-mobile {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        padding: 0 0.5rem;
    }
    
    .feature-mobile {
        padding: 1.2rem 0.5rem;
        min-height: 100px;
        border-radius: 10px;
    }
    
    .feature-mobile i {
        font-size: 1.8rem;
    }
    
    .feature-mobile span {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .hero-features-mobile {
        gap: 0.5rem;
    }
    
    .feature-mobile {
        padding: 1rem 0.4rem;
        min-height: 90px;
    }
    
    .feature-mobile i {
        font-size: 1.6rem;
    }
    
    .feature-mobile span {
        font-size: 0.7rem;
    }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-features-mobile {
        animation: none;
    }
    
    .feature-mobile,
    .feature-mobile i,
    .feature-mobile::before,
    .feature-mobile::after {
        transition: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .feature-mobile:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.12);
    }
}

/* RTL Support Enhancement */
[dir="rtl"] .feature-mobile span {
    font-family: 'Cairo', 'Tajawal', 'Dubai', sans-serif;
    letter-spacing: 0;
}

/* Smooth loading animation for each feature */
.feature-mobile:nth-child(1) {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.feature-mobile:nth-child(2) {
    animation: fadeInUp 1s ease-out 1s both;
}

.feature-mobile:nth-child(3) {
    animation: fadeInUp 1s ease-out 1.1s both;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .hero {
        min-height: 100svh; /* Better mobile viewport */
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .hero-content {
        padding: 6rem 1.25rem 3rem;
    }
    
    .hero-badge {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        margin-bottom: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-actions {
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .feature {
        padding: 1.5rem 1rem;
    }
    
    .feature i {
        font-size: 2rem;
    }
    
    .feature span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 5rem 1rem 2.5rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    .feature {
        padding: 1.3rem 1rem;
    }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-badge,
    .hero-title,
    .hero-description,
    .hero-actions,
    .hero-features {
        animation: none;
    }
    
    .btn,
    .feature,
    .feature i {
        transition: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.98);
    }
    
    .feature:active {
        transform: translateY(-4px);
    }
}

/* ===== PRODUCTS SECTION - MOBILE-FIRST REDESIGN ===== */
.products-section {
    padding: 4rem 0;
    background: #fafafa;
    position: relative;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 90%;
    margin: 1.2rem auto 0;
}

/* ===== MOBILE FIRST - Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Product Card - Mobile Optimized */
.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.product-card:active {
    transform: scale(0.98);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gold-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bestseller { background: linear-gradient(135deg, #D4AF37, #C9A52A); }
.badge.discount { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.badge.new { background: linear-gradient(135deg, #27ae60, #229954); }
.badge.natural { background: linear-gradient(135deg, #27ae60, #1e8449); }
.badge.premium { background: linear-gradient(135deg, #D4AF37, #e74c3c); }

/* Product Image Section */
.product-image {
    height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 3rem;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    z-index: 2;
}

/* Product Actions - Always Visible on Mobile */
.product-actions {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.action-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.action-btn:active {
    transform: scale(0.9);
    background: var(--gold-primary);
    color: #ffffff;
}

/* Product Info Section */
.product-info {
    padding: 1.5rem;
}





/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.stars {
    color: var(--gold-primary);
    font-size: 1rem;
    display: flex;
    gap: 3px;
}

.rating-count {
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: -0.5px;
}

.original-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

/* Products CTA */
.products-cta {
    grid-column: 1 / -1; /* span full row inside the grid */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    padding: 0 1rem;
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: auto;
    max-width: 400px;
    justify-content: center;
}

.btn-outline:active {
    transform: scale(0.98);
    background: var(--gold-primary);
    color: #1a1a1a;
}

/* ===== SMALL MOBILE (Below 400px) ===== */
@media (max-width: 400px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .products-grid {
        gap: 1.2rem;
        padding: 0 0.8rem;
    }
    
    .product-image {
        height: 240px;
    }
    
    .image-placeholder {
        width: 85px;
        height: 85px;
        font-size: 2.5rem;
    }
    
    .product-actions {
        gap: 0.8rem;
        bottom: 1rem;
    }
    
    .action-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .product-info {
        padding: 1.2rem;
    }
    
    .product-title {
        font-size: 1.05rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .current-price {
        font-size: 1.4rem;
    }
}

/* ===== TABLET - 2 Columns (600px+) ===== */
@media (min-width: 600px) {
    .products-section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        max-width: 600px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
        padding: 0 1.5rem;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
    }
    
    .product-image {
        height: 260px;
    }
    
    .image-placeholder {
        width: 95px;
        height: 95px;
        font-size: 2.8rem;
    }
    
    .product-actions {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
        transition: all 0.3s ease;
    }
    
    .product-card:hover .product-actions {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    
    .action-btn:hover {
        background: var(--gold-primary);
        color: #ffffff;
        transform: scale(1.1);
    }
    
    .product-info {
        padding: 1.6rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-description {
        font-size: 0.88rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .btn-outline:hover {
        background: var(--gold-primary);
        color: #1a1a1a;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    }
}

/* ===== DESKTOP - 3 Columns (900px+) ===== */
@media (min-width: 900px) {
    .products-section {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1200px;
    }
    
    .product-image {
        height: 280px;
    }
}

/* ===== LARGE DESKTOP - 4 Columns (1200px+) ===== */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        max-width: 1400px;
    }
    
    .product-image {
        height: 280px;
    }
    
    .image-placeholder {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* RTL Support */
[dir="rtl"] .product-title,
[dir="rtl"] .product-description {
    text-align: right;
}

[dir="rtl"] .product-badges {
    right: auto;
    left: 1rem;
}
/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */
@media (max-width: 767px) {
    .hero-content {
        padding: 8rem 1rem 4rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1.1rem 2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature {
        padding: 1.2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-scroll {
        gap: 1.5rem;
        padding: 0.5rem 0.5rem 1.5rem;
    }
    
    .product-card {
        min-width: 280px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .hamburger-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--white-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}