:root {
    --primary-black: #0a0a0a;
    --secondary-black: #151515;
    --card-bg: #1e1e1e;
    --accent-orange: #ff6b00;
    --text-white: #ffffff;
    --text-grey: #b0b0b0;
    --font-primary: 'Cairo', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-black);
    color: var(--text-white);
    font-family: var(--font-primary);
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.btn-contact {
    border: 2px solid var(--accent-orange);
    padding: 10px 25px;
    border-radius: 50px;
    color: var(--accent-orange);
    transition: 0.3s;
}

.btn-contact:hover {
    background: var(--accent-orange);
    color: var(--text-white);
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--primary-black) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero-title .line {
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-grey);
    margin-bottom: 50px;
    font-weight: 300;
}

.cta-button {
    background-color: var(--accent-orange);
    color: var(--text-white);
    padding: 18px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
    display: inline-block;
}

.cta-button:hover {
    background-color: #ff8533;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.4);
}

/* Sections Common */
section {
    padding: 120px 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.bar {
    width: 120px;
    height: 6px;
    background-color: var(--accent-orange);
    border-radius: 3px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-grey);
    margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-item .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 1.1rem;
    color: var(--text-white);
}

/* Features Section */
.features {
    background: var(--secondary-black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background: var(--primary-black);
    overflow: hidden;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.partners-track {
    display: flex;
    width: fit-content;
    animation: scroll 20s linear infinite;
    gap: 80px;
}

.partner-logo {
    height: 60px;
    opacity: 0.5;
    transition: 0.3s;
    filter: invert(1);
}

.partner-logo:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

/* Products Section */
.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 120px;
    background: var(--card-bg);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.product-image-container {
    display: flex;
    flex-direction: column;
    height: 600px;
}

.product-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-gallery {
    display: flex;
    height: 100px;
    background: #000;
}

.thumb {
    width: 33.33%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    border-top: 2px solid transparent;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    border-top-color: var(--accent-orange);
}

.product-info {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.product-info h3 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--text-white);
}

.product-info p {
    color: var(--text-grey);
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.product-card.right .product-image-container {
    order: 2;
}

.product-card.right .product-info {
    order: 1;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-black);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '\201D';
    /* Quote icon */
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    color: rgba(255, 107, 0, 0.1);
    font-family: serif;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #333;
    /* Placeholder for avatar */
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-orange);
}

.client-details h4 {
    color: var(--text-white);
    margin-bottom: 5px;
}

.client-details span {
    color: var(--text-grey);
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-grey);
    line-height: 1.6;
    font-style: italic;
}

/* FAQ Section */
.faq {
    background-color: var(--secondary-black);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 107, 0, 0.3);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-white);
}

.toggle-icon {
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--accent-orange);
    transition: 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 20px;
    color: var(--text-grey);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    opacity: 1;
}


/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Contact Section & Footer */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.contact-details .detail {
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-details strong {
    color: var(--accent-orange);
}

.map-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 1rem;
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    transition: 0.3s;
}

.map-btn:hover {
    background: var(--accent-orange);
    color: var(--text-white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;
    background: var(--primary-black);
    border: 1px solid #333;
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    border-radius: 10px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.submit-btn {
    background: var(--accent-orange);
    border: none;
    color: var(--text-white);
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 10px;
    font-family: var(--font-primary);
}

.submit-btn:hover {
    background: #ff8533;
    transform: translateY(-2px);
}

footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid #222;
    color: var(--text-grey);
    font-size: 1rem;
    background: var(--secondary-black);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 10vw;
    }

    .about-grid,
    .product-card,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .product-image-container {
        height: 400px;
    }

    .product-card.right .product-image-container {
        order: -1;
    }

    .product-card.right .product-info {
        order: 1;
    }

    section {
        padding: 80px 20px;
    }

    .navbar {
        padding: 20px;
    }
}