﻿/*
Theme Name: Medo Hetari AI Theme
Theme URI: https://medohetary.com/
Author: Antigravity AI
Description: A modern, AI-themed custom WordPress theme for Medo Hetari Digital Marketing Agency.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: Proprietary
Text Domain: medohetary
*/
/* Ø§Ù„Ù…ØªØºÙŠØ±Ø§Øª (Ø§Ù„ØªØµÙ…ÙŠÙ… Ø§Ù„Ù…Ø¸Ù„Ù… Ø§Ù„Ø­Ø¯ÙŠØ«) */
:root {
    --bg-dark: #06060a;
    --bg-card: rgba(255, 255, 255, 0.035);
    --border-color: rgba(255, 255, 255, 0.08);
    /* Refined professional palette â€” indigo/violet family */
    --primary: #818cf8;       /* soft indigo */
    --primary-dark: #6366f1;  /* indigo-500 for shadows */
    --secondary: #c084fc;     /* lavender-purple */
    --accent: #fb7185;        /* rose-400 â€” warm pop */
    --gold: #fbbf24;          /* amber for badges */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --font-body: 'Tajawal', sans-serif;
    --font-heading: 'Cairo', sans-serif;
    --glass-bg: rgba(10, 10, 20, 0.65);
    --glass-blur: blur(20px);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Ø¥Ø¹Ø¯Ø§Ø¯Ø§Øª Ø¹Ø§Ù…Ø© */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
    font-size: 16px;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ø§Ù„ØªØ¯Ø±Ø¬Ø§Øª Ø§Ù„Ù„ÙˆÙ†ÙŠØ© ÙˆØ§Ù„Ù†ØµÙˆØµ */
.text-gradient {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Ø§Ù„Ø£Ø²Ø±Ø§Ø± */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(129, 140, 248, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(129, 140, 248, 0.07);
}

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

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Ø®Ù„ÙÙŠØ© Ù…ØªØ­Ø±ÙƒØ© Ù…Ù† 3 Ø·Ø¨Ù‚Ø§Øª */
.background-layers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-dark); /* Layer 1 */
}

/* Layer 2: Blurred Orbs */
.orbs-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s infinite ease-in-out alternate;
}

.orb-indigo {
    width: 600px;
    height: 600px;
    background: #4f46e5; /* indigo-600 */
    opacity: 0.2;
    top: -10%;
    right: -10%;
}

.orb-purple {
    width: 500px;
    height: 500px;
    background: #9333ea; /* purple-600 */
    opacity: 0.15;
    bottom: 10%;
    left: -5%;
    animation-delay: -5s;
}

.orb-pink {
    width: 400px;
    height: 400px;
    background: #e11d48; /* rose/pink */
    opacity: 0.1;
    top: 40%;
    right: 30%;
    animation-delay: -10s;
}

/* Layer 3: Canvas Particles */
.particles-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 50px) scale(1.1); }
    100% { transform: translate(40px, -30px) scale(0.9); }
}

/* Ø§Ù„Ø´Ø±ÙŠØ· Ø§Ù„Ø¹Ù„ÙˆÙŠ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-text {
    color: var(--text-main);
}

.logo .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Ø§Ù„Ù‡ÙŠØ±Ùˆ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    z-index: 2;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(129, 140, 248, 0.12);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(129, 140, 248, 0.25);
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Glass Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mockup-card {
    width: 350px;
    animation: float 6s infinite ease-in-out;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
}

.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #27c93f; }

.mockup-body {
    text-align: center;
}

.mockup-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px var(--primary));
}

.mockup-body h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.mockup-body p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.mockup-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 80px;
    gap: 10px;
}

.bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.highlight-bar {
    background: linear-gradient(to top, var(--primary), var(--secondary));
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.4);
}

/* Ø§Ù„Ø®Ø¯Ù…Ø§Øª */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(129, 140, 248, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(129, 140, 248, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 20px;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #e2e8f0;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills-tags span {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: #cbd5e1;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover .skills-tags span {
    border-color: rgba(192, 132, 252, 0.35);
    color: #f1f5f9;
    background: rgba(129, 140, 248, 0.1);
}

/* Ø§Ù„Ø¨Ø§Ù‚Ø§Øª */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.price-card .btn {
    margin-top: auto;
}

.price-card:hover {
    border-color: rgba(255, 0, 85, 0.3);
    transform: translateY(-5px);
}

.price-card.popular {
    background: rgba(15, 12, 30, 0.85);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 50px rgba(99, 102, 241, 0.2);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: #fff;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
    white-space: nowrap;
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.price-header h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-features {
    margin-bottom: 30px;
}

.price-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.price-features li i {
    color: var(--primary);
    margin-top: 5px;
    flex-shrink: 0;
    font-size: 0.85rem;
    background: rgba(129, 140, 248, 0.12);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ø§Ù„ØªÙˆØ§ØµÙ„ */
.contact-box {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-list li i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.contact-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-card {
    text-align: center;
    padding: 40px;
    background: rgba(37, 211, 102, 0.05);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 16px;
    width: 100%;
}

.whatsapp-icon {
    font-size: 4rem;
    color: #25D366;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.4));
}

.whatsapp-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.whatsapp-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Ø§Ù„ÙÙˆØªØ± Ø§Ù„Ø§Ø­ØªØ±Ø§ÙÙŠ */
.professional-footer {
    background: rgba(6, 6, 10, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 70px 0 20px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.about-col .logo-text {
    font-size: 1.8rem;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-socials {
    margin-top: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-contact li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li i {
    color: var(--primary);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Ù„Ù…Ø§Ø°Ø§ Ù†Ø­Ù† */
.why-us {
    background: transparent;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
    border-radius: 0 14px 14px 0;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 140, 248, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.why-card:hover::after {
    opacity: 1;
}

.why-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: rgba(129, 140, 248, 0.18);
    transform: scale(1.05);
}

.why-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #e2e8f0;
}

.why-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Ø§Ù„ØªØ¬Ø§ÙˆØ¨ Ù…Ø¹ Ø§Ù„Ø´Ø§Ø´Ø§Øª */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

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

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-box {
        flex-direction: column;
    }

    .price-card.popular {
        transform: none;
    }
    
    .price-card.popular:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

