/* ===========================
   CSS Variables - Brand Colors
   =========================== */
:root {
    /* Brand Colors from Logo */
    --primary-orange: #F5A623;
    --primary-yellow: #FDB913;
    --primary-purple: #8B2E8F;
    --primary-magenta: #C4299B;
    
    /* Gradient Variations */
    --gradient-main: linear-gradient(135deg, #F5A623 0%, #FDB913 50%, #C4299B 100%);
    --gradient-purple: linear-gradient(135deg, #8B2E8F 0%, #C4299B 100%);
    --gradient-orange: linear-gradient(135deg, #F5A623 0%, #FDB913 100%);
    
    /* Neutral Colors */
    --dark-bg: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
    
    /* Spacing */
    --section-padding: 100px;
    --container-padding: 20px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    font-family: 'Cairo', sans-serif;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-main);
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

.brand-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(245, 166, 35, 0.5);
}

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

.btn-secondary:hover {
    background: var(--gradient-orange);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 42px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ===========================
   Header & Navigation
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
}

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

.nav-cta {
    margin-left: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-orange);
    margin: 3px 0;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(139, 46, 143, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(245, 166, 35, 0.3) 0%, transparent 50%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-purple);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    filter: blur(100px);
    opacity: 0.5;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-orange);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    filter: blur(100px);
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-orange);
    animation: bounce 2s infinite;
}

/* ===========================
   Section Header
   =========================== */
.section-header {
    margin-bottom: 4rem;
}

/* ===========================
   About Section
   =========================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--dark-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--dark-tertiary);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===========================
   Strategy Section
   =========================== */
.strategy {
    padding: var(--section-padding) 0;
    background: var(--dark-bg);
    position: relative;
}

.strategy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(196, 41, 155, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.strategy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.strategy-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.strategy-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.strategy-visual {
    position: relative;
    height: 400px;
}

.strategy-circles {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 3rem;
    background: var(--dark-tertiary);
    border: 3px solid var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: float 3s ease-in-out infinite;
}

.circle span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.circle-1 {
    top: 0;
    left: 10%;
    background: var(--gradient-orange);
}

.circle-2 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: var(--gradient-purple);
    animation-delay: 1s;
}

.circle-3 {
    bottom: 0;
    left: 10%;
    background: var(--gradient-main);
    animation-delay: 2s;
}

/* ===========================
   Services Section
   =========================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--dark-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--dark-tertiary);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.service-card:hover::before {
    left: 0;
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-magenta);
    box-shadow: 0 15px 40px rgba(196, 41, 155, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-purple);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ===========================
   Workshops Section
   =========================== */
.workshops {
    padding: var(--section-padding) 0;
    background: var(--dark-bg);
}

.workshops-content {
    max-width: 1000px;
    margin: 0 auto;
}

.workshop-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.workshop-feature {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--dark-tertiary);
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.workshop-feature:hover {
    border-color: var(--primary-yellow);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(253, 185, 19, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--gradient-orange);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-yellow);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.workshop-cta-box {
    background: var(--gradient-main);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(245, 166, 35, 0.3);
}

.workshop-cta-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.workshop-cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--dark-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--dark-tertiary);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: translateX(10px);
    background: var(--dark-bg);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-orange);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 10px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary-orange);
}

.contact-item p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-tertiary);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--gradient-main);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--dark-tertiary);
    padding: 3rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--dark-bg);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select option {
    background: var(--dark-bg);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--dark-tertiary);
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-tertiary);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    background: var(--gradient-main);
    transform: translateY(-5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact p {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact i {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-tertiary);
    color: var(--text-muted);
}

.footer-bottom i {
    color: var(--primary-magenta);
}

/* ===========================
   Back to Top Button
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-main);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.6);
}

/* ===========================
   Floating WhatsApp Button
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: whatsappPulse 2s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
    animation: none;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 40px rgba(37, 211, 102, 0.8);
        transform: scale(1.05);
    }
}

.whatsapp-cta {
    animation: fadeIn 1s ease;
}

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

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 70px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .strategy-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .strategy-visual {
        height: 300px;
    }
    
    .circle {
        width: 140px;
        height: 140px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 0;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-cta {
        margin: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-text h2 {
        font-size: 2rem;
    }
    
    .workshop-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .workshop-feature:hover {
        transform: translateY(-10px);
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social,
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .about-card,
    .service-card {
        padding: 2rem;
    }
    
    .workshop-cta-box {
        padding: 2rem;
    }
    
    .workshop-cta-box h3 {
        font-size: 1.8rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        bottom: 80px;
        right: 20px;
    }
    
    .whatsapp-cta {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}