/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #f1c40f;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    text-align: right;
}

/* Brand Text */
.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.brand-text:hover {
    transform: scale(1.05);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    margin-right: 0;
    margin-left: 1rem;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

[dir="rtl"] .navbar-nav {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .navbar-nav .nav-item {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .navbar-toggler {
    margin-left: 0;
    margin-right: 1rem;
}

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

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

[dir="rtl"] .nav-link::after {
    right: 0;
    left: auto;
}

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

[dir="rtl"] .text-center {
    text-align: center !important;
}

[dir="rtl"] .whatsapp-button {
    right: 20px;
    left: auto;
}

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

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

[dir="rtl"] .step-number {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .animate-slide-right {
    transform: translateX(30px);
}

[dir="rtl"] .animate-slide-left {
    transform: translateX(-30px);
}

/* Form Styles */
.form-control {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.form-control:focus::placeholder {
    opacity: 0.5;
}

/* Social Links */
.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    position: relative;
    overflow: hidden;
}

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

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

footer a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(-5px);
}

/* Section Titles */
section h2 {
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

section:hover h2:after {
    width: 100px;
}

/* Contact Info */
.contact-info i {
    width: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-info p:hover i {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Print Styles */
@media print {
    .whatsapp-button {
        display: none;
    }
}

/* Testimonials */
.testimonial-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-profile img {
    border: 3px solid var(--primary-color);
    padding: 3px;
    object-fit: cover;
}

.testimonial-profile h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.stars {
    color: #ffc107;
}

.card .card-text {
    font-style: italic;
    line-height: 1.8;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Container Animations */
.container .card {
    transition: all 0.3s ease;
}

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

.container .section-title {
    animation: fadeInUp 1s ease-out;
}

.container .row {
    animation: fadeInUp 1s ease-out;
}

.container .col-md-4:nth-child(odd) {
    animation: slideInRight 1s ease-out;
}

.container .col-md-4:nth-child(even) {
    animation: slideInLeft 1s ease-out;
}

.container .btn {
    animation: pulse 2s infinite;
}

.container .icon {
    animation: float 3s ease-in-out infinite;
}

.container .testimonial-profile img {
    transition: all 0.3s ease;
}

.container .testimonial-profile img:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.container .social-links a {
    transition: all 0.3s ease;
}

.container .social-links a:hover {
    transform: translateY(-5px);
}

/* Hero Section Animations */
.hero-section h1 {
    animation: fadeInUp 1s ease-out;
}

.hero-section p {
    animation: fadeInUp 1s ease-out 0.3s;
}

.hero-section .btn {
    animation: fadeInUp 1s ease-out 0.6s;
}

/* Why Choose Us Section Animations */
#why-us .card {
    transition: all 0.3s ease;
}

#why-us .card:hover {
    transform: translateY(-10px) scale(1.02);
}

#why-us .icon {
    animation: float 3s ease-in-out infinite;
}

/* Furniture Section Animations */
#furniture .card {
    transition: all 0.3s ease;
}

#furniture .card:hover {
    transform: translateY(-10px) rotate(2deg);
}

#furniture .icon {
    animation: pulse 2s infinite;
}

/* Testimonials Section Animations */
#testimonials .card {
    transition: all 0.3s ease;
}

#testimonials .card:hover {
    transform: translateY(-10px);
}

#testimonials .stars {
    animation: pulse 2s infinite;
}

/* Contact Section Animations */
#contact .form-control {
    transition: all 0.3s ease;
}

#contact .form-control:focus {
    transform: translateY(-5px);
}

#contact .btn {
    animation: pulse 2s infinite;
}

/* Responsive Animations */
@media (max-width: 768px) {
    .container .col-md-4 {
        animation: fadeInUp 1s ease-out;
    }
    
    .container .card:hover {
        transform: translateY(-5px);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 20px;
    }
}

/* News Ticker */
.news-ticker {
    margin-top: 76px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    height: 50px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@keyframes ticker {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

[dir="rtl"] .ticker-content {
    animation: ticker-rtl 30s linear infinite;
}

@keyframes ticker-rtl {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .news-ticker {
        height: 40px;
        margin-top: 66px;
    }
    
    .ticker-item {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 576px) {
    .news-ticker {
        height: 35px;
    }
    
    .ticker-item {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    padding: 2rem 0;
    overflow: hidden;
}

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

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

.hero-slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 0 1rem;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-content .btn {
        padding: 0.7rem 1.8rem;
        font-size: 1rem;
        display: inline-block;
        width: auto;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .hero-content .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Testimonials Section */
.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

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

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.testimonial-content h5 {
    color: #333;
    font-weight: 600;
}

.testimonial-content small {
    color: #666;
}

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

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        padding: 0.7rem 1.8rem;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        gap: 0.5rem;
    }

    .hero-buttons .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #00ff88);
    margin: 0 auto;
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Process Cards */
.process-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
}

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.process-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Category Cards */
.category-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

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

.category-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.category-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 1;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-content {
    padding: 1.5rem;
    text-align: center;
    background: #fff;
}

.category-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.category-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .category-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .section-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .category-card {
        margin-bottom: 1.5rem;
    }

    .category-image {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .section-description {
        font-size: 1rem;
    }

    .category-image {
        height: 140px;
    }

    .category-content h3 {
        font-size: 1.2rem;
    }

    .category-content p {
        font-size: 0.9rem;
    }
}

/* Section Description */
.section-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
} 