/* ===== CSS Variables ===== */
:root {
    --primary: #7B2CBF;
    --primary-dark: #5A189A;
   --secondary: #7B2CBF;
--secondary-dark: #5A189A;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --light-purple: #F3E8FF;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-menu li a {
    padding: 8px 15px;
    font-weight: 600;
    color: var(--dark);
    border: 2px dashed transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.menu-overlay.active {
    display: block;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 85px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.85) 0%, rgba(90, 24, 154, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h4 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.img-main img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border: 6px solid var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.img-secondary img {
    width: 100%;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 158, 0, 0.3);
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--light-purple);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(123, 44, 191, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== Reviews Section ===== */
.reviews {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--light-purple);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.review-card p {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.review-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--primary);
    padding: 80px 0;
    text-align: center;
}

.cta h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: var(--secondary);
}

.cta .btn-primary:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===== Map Section ===== */
.map-section {
    width: 100%;
    height: 450px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== Footer ===== */
.footer-same {
    background: #ffffff;
    color: #000000;
    text-align: center;
    padding: 70px 20px 30px;
    font-family: 'Cairo', sans-serif;
}

.footer-same .footer-logo {
    max-width: 240px;
    margin: 0 auto 30px;
    display: block;
}

.footer-same .footer-section {
    margin-bottom: 24px;
}

.footer-same .footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #000;
}

.footer-same .footer-section p {
    font-size: 14px;
    margin: 3px 0;
    color: #222;
}

.footer-same .footer-copy {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 13px;
    color: #555;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .img-secondary {
        right: 20px;
        bottom: -30px;
    }

    .services-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h4 {
        font-size: 1.1rem;
    }

    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .about-content h2,
    .section-title h2 {
        font-size: 2rem;
    }

    .cta h3 {
        font-size: 1.4rem;
    }

    .location-btn span {
        display: none;
    }

    .location-btn {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        left: 20px;
    }
}
.btn-whatsapp {
    background: var(--primary);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.35);
}

.btn-whatsapp:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(123, 44, 191, 0.45);
}

.btn-hero-whatsapp {
    margin-top: 30px;
    background: #ffffff;
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 40px;
    font-size: 17px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.btn-hero-whatsapp:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(123, 44, 191, 0.45);
}
.btn-primary.white {
    background-color: #ffffff;  /* خلفية أبيض */
    color: var(--primary);      /* النص بنفسجي */
    border: 2px solid var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* عند Hover – يمكن تغييره إذا تريد نفس اللون */
.btn-primary.white:hover {
    background-color: #ffffff; /* يظل أبيض */
    color: var(--primary);     /* يظل بنفسجي */
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

