
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@900&family=Tajawal:wght@400;700&display=swap');

:root {
    --color-background: #000000;
    --color-text: #FFFFFF;
    --color-gray-dark: #121212;
    --color-gray-medium: #4B5563;
    --color-gray-light: #9CA3AF;
    --gradient-violet: linear-gradient(to right, #8B5CF6, #A78BFA);
    --gradient-orange-amber: linear-gradient(to right, #FB923C, #F59E0B);
    --gradient-pink: linear-gradient(to right, #EC4899, #F59E0B);
    --font-display: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    --border-radius-card: 24px;
    --max-width: 1280px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    direction: rtl; /* Right-to-left for Arabic */
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #F59E0B; /* A subtle hover effect */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-text);
    line-height: 0.9;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 900;
}

h3 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
}

.gradient-text {
    background: var(--gradient-orange-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-style: italic;
    transform: skew(-8deg);
    display: inline-block;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-text);
    background: var(--gradient-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-transform: uppercase;
    transform: skew(-8deg);
}

.menu-button {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
    display: block; /* Always show for simplicity in this static example */
}

/* Full-page Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.close-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 3rem;
    cursor: pointer;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.nav-links h3 {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.nav-links ul li {
    margin-bottom: 0.7rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-gray-light);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-text);
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: var(--gradient-orange-amber);
    color: var(--color-text);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid #FB923C;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(251, 146, 60, 0.1);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--color-gray-light);
}

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

.hero-images {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-images img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-images img:nth-child(1) {
    transform: rotate(-5deg);
}

.hero-images img:nth-child(2) {
    transform: rotate(3deg);
}

.hero-images img:nth-child(3) {
    transform: rotate(-2deg);
}


/* Card Styles */
.card {
    background-color: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle border */
    border-radius: var(--border-radius-card);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px); /* Glass effect */
}

.card h3 {
    margin-top: 0;
    background: var(--gradient-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


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

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-card);
    background-color: var(--color-gray-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item .icon {
    font-size: 3rem;
    background: var(--gradient-orange-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.8rem;
    color: var(--color-text);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-fill-color: unset;
}

.feature-item p {
    color: var(--color-gray-light);
}

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

.showcase-item {
    background-color: var(--color-gray-dark);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.showcase-item img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-content {
    padding: 1.5rem;
}

.showcase-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.showcase-content p {
    font-size: 0.95rem;
    color: var(--color-gray-light);
}

/* Stats Bar */
.stats-bar {
    background: var(--gradient-violet);
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: var(--color-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.stat-item p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-weight: 700;
}

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

.testimonial-card {
    background-color: var(--color-gray-dark);
    border-radius: var(--border-radius-card);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    font-style: italic;
    color: var(--color-gray-light);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-text);
}

/* FAQ Accordion */
.faq-item {
    background-color: var(--color-gray-dark);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question span {
    font-size: 1.5rem;
    color: #FB923C;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 0 1.5rem;
    color: var(--color-gray-light);
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-violet);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: var(--border-radius-card);
    margin-top: 4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.cta-banner h2 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 5vw, 4rem);
}

/* Footer */
footer {
    background-color: var(--color-gray-dark);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4rem;
}

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

.footer-column h3 {
    color: #F59E0B;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column a {
    color: var(--color-gray-light);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-gray-medium);
    font-size: 0.85rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-images img {
        width: 180px;
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }
}
