/* ==========================================================================
   1. CSS Reset and Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #04b57a;
    --primary-dark: #1d4ed8;
    --secondary-color: #1d4ed8;
    --accent-color: #06b6d4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. Typography & Common Elements
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

.btn-block {
    width: 100%;

}

.btn-block a{
    text-decoration: none;
    color: var(--bg-white);
}


/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 15px 0;
}

.navbar {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switcher {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 120px;
    display: none;
    z-index: 100;
}

.language-switcher:hover .language-dropdown {
    display: block;
}

.language-option {
    display: block;
    padding: 10px 15px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.language-option:hover {
    background-color: var(--bg-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(4, 181, 122, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==========================================================================
   5. Hero Section - WiFi Animation
   ========================================================================== */

.hero-visual {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate(-30%, -50%);
    z-index: 1;
}

.wifi-animation {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WiFi Signal Design */
.wifi-signal {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wifi-arc {
    position: absolute;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: wifi-pulse 2s infinite;
}

.arc-1 {
    width: 180px;
    height: 180px;
    border-width: 4px;
    animation-delay: 0s;
}

.arc-2 {
    width: 120px;
    height: 120px;
    border-width: 3px;
    animation-delay: 0.3s;
}

.arc-3 {
    width: 60px;
    height: 60px;
    border-width: 2px;
    animation-delay: 0.6s;
}

.wifi-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 20px rgba(4, 181, 122, 0.8);
    animation: dot-pulse 2s infinite;
}

@keyframes wifi-pulse {
    0% {
        opacity: 0.1;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.1;
        transform: scale(0.95);
    }
}

@keyframes dot-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(4, 181, 122, 0.8);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(4, 181, 122, 1);
    }
}

/* WiFi Waves Effect */
.wifi-waves {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
}

.wave-1 {
    width: 100px;
    height: 100px;
    animation: wave-expand 3s infinite linear;
}

.wave-2 {
    width: 200px;
    height: 200px;
    animation: wave-expand 3s infinite linear 0.5s;
}

.wave-3 {
    width: 300px;
    height: 300px;
    animation: wave-expand 3s infinite linear 1s;
}

@keyframes wave-expand {
    0% {
        width: 50px;
        height: 50px;
        opacity: 0.8;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* Data Flow Animation */
.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
}

.particle-1 {
    top: 40%;
    left: 30%;
    animation: data-flow-1 4s infinite linear;
}

.particle-2 {
    top: 60%;
    left: 25%;
    animation: data-flow-2 3.5s infinite linear 0.5s;
}

.particle-3 {
    top: 50%;
    left: 35%;
    animation: data-flow-3 4.5s infinite linear 1s;
}

@keyframes data-flow-1 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -50px);
        opacity: 0;
    }
}

@keyframes data-flow-2 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translate(120px, -30px);
        opacity: 0;
    }
}

@keyframes data-flow-3 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translate(90px, -70px);
        opacity: 0;
    }
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    height: 2px;
    opacity: 0.3;
}

.line-1 {
    top: 45%;
    left: 0;
    width: 100px;
    animation: line-flow 3s infinite linear;
}

.line-2 {
    top: 55%;
    left: 0;
    width: 150px;
    animation: line-flow 3s infinite linear 0.3s;
}

.line-3 {
    top: 50%;
    left: 0;
    width: 120px;
    animation: line-flow 3s infinite linear 0.6s;
}

@keyframes line-flow {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(200px);
        opacity: 0;
    }
}

/* Responsive Design for WiFi Animation */
@media (max-width: 992px) {
    .hero-visual {
        left: 5%;
        transform: translate(0, -50%);
    }

    .wifi-animation {
        width: 300px;
        height: 300px;
    }

    .wifi-signal {
        width: 150px;
        height: 150px;
    }

    .arc-1 {
        width: 135px;
        height: 135px;
    }

    .arc-2 {
        width: 90px;
        height: 90px;
    }

    .arc-3 {
        width: 45px;
        height: 45px;
    }

    .wifi-waves {
        width: 300px;
        height: 300px;
    }

    .wave-3 {
        animation: wave-expand-mobile 3s infinite linear 1s;
    }

    @keyframes wave-expand-mobile {
        0% {
            width: 50px;
            height: 50px;
            opacity: 0.8;
        }
        100% {
            width: 300px;
            height: 300px;
            opacity: 0;
        }
    }
}

@media (max-width: 768px) {
    .hero-visual {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin: 40px auto;
        display: flex;
        justify-content: center;
    }

    .wifi-animation {
        width: 250px;
        height: 250px;
    }

    .wifi-signal {
        width: 120px;
        height: 120px;
    }

    .arc-1 {
        width: 108px;
        height: 108px;
    }

    .arc-2 {
        width: 72px;
        height: 72px;
    }

    .arc-3 {
        width: 36px;
        height: 36px;
    }

    .wifi-waves {
        width: 250px;
        height: 250px;
    }

    .wave-3 {
        animation: wave-expand-small 3s infinite linear 1s;
    }

    @keyframes wave-expand-small {
        0% {
            width: 40px;
            height: 40px;
            opacity: 0.8;
        }
        100% {
            width: 250px;
            height: 250px;
            opacity: 0;
        }
    }
}

@media (max-width: 480px) {
    .wifi-animation {
        width: 200px;
        height: 200px;
    }

    .wifi-signal {
        width: 100px;
        height: 100px;
    }

    .arc-1 {
        width: 90px;
        height: 90px;
    }

    .arc-2 {
        width: 60px;
        height: 60px;
    }

    .arc-3 {
        width: 30px;
        height: 30px;
    }

    .wifi-dot {
        width: 8px;
        height: 8px;
    }

    .wifi-waves {
        width: 200px;
        height: 200px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ==========================================================================
   6. About Section
   ========================================================================== */
.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}


.about-card-header{
    gap: 10px;
    align-items: center;
    text-align: center;
    display: flex;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.about-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-description {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ==========================================================================
   7. Services Section
   ========================================================================== */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 28px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-features i {
    color: var(--primary-color);
}

/* ==========================================================================
   8. Pricing Section
   ========================================================================== */
.pricing {
    background-color: white;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.pricing-tab {
    padding: 12px 30px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-tab.active,
.pricing-tab:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    display: none;
}

.pricing-grid.active {
    display: grid;
}

.package-card {
    height: 100%;
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    justify-content: space-between;
}

.package-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 20px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
}

.package-header {
    margin-bottom: 25px;
}

.package-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.package-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.package-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-period {
    color: var(--text-secondary);
    margin-right: 5px;
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.package-features i {
    color: var(--primary-color);
}


/* Table Container */
.packages-table-container {
    margin-top: 80px;
    overflow: hidden;
}

.table-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* Table Wrapper for Desktop */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background: white;
}

/* Main Table */
.packages-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.packages-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    position: sticky;
    top: 0;
}

.packages-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    font-size: 14px;
}

.packages-table tr:nth-child(even) {
    background-color: rgba(4, 181, 122, 0.05);
}

.packages-table tr:hover {
    background-color: rgba(4, 181, 122, 0.1);
}

/* Highlight unlimited packages */
.packages-table tr .unlimited {
    color: var(--primary-color);
    font-weight: 600;
}

/* Cards for Mobile */
.packages-cards {
    display: none;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.package-mobile-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.package-mobile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.package-mobile-card.unlimited {
    border-left: 4px solid var(--primary-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.package-number {
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.package-category {
    background: rgba(4, 181, 122, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.card-row:last-child {
    border-bottom: none;
}

.card-label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.card-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    direction: ltr;
}

.card-value.unlimited {
    color: var(--primary-color);
    font-weight: 700;
}

.card-value.price {
    color: #2ecc71;
    font-weight: 700;
    font-size: 16px;
}

/* Responsive Table */
@media (max-width: 992px) {
    .packages-table {
        font-size: 13px;
    }

    .packages-table th,
    .packages-table td {
        padding: 10px 8px;
    }
}

/* On Mobile - Hide Table and Show Cards */
@media (max-width: 768px) {
    .table-wrapper {
        display: none;
    }

    .packages-cards {
        display: grid;
    }

    .table-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .table-title {
        font-size: 1.4rem;
    }

    .package-mobile-card {
        padding: 15px;
    }

    .card-content {
        gap: 10px;
    }

    .card-row {
        padding: 6px 0;
    }

    .card-label {
        font-size: 12px;
    }

    .card-value {
        font-size: 13px;
    }
}

/* ==========================================================================
   9. Testimonials Section (تحديث - بدون سلايدر)
   ========================================================================== */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 40px 40px 0;
    border-style: solid;
    border-color: var(--primary-color) transparent;
    border-radius: 0 0 0 10px;
    z-index: 1;
}

.testimonial-card::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 2;
}

.testimonial-content {
    position: relative;
    z-index: 3;
}

.testimonial-rating {
    direction: ltr;
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(4, 181, 122, 0.05), rgba(4, 140, 108, 0.05));
    border-radius: var(--radius-lg);
    border-right: 4px solid var(--primary-color);
}

.testimonial-text::before {
    content: "❝";
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -15px;
    right: 15px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.author-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

.testimonial-date {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

/* ==========================================================================
   10. FAQ Section
   ========================================================================== */
.faq {
    background-color: white;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--bg-light);
    border: none;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.faq-question:hover {
    background-color: rgba(4, 181, 122, 0.1);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-cta {
    text-align: center;
}

.faq-cta-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* ==========================================================================
   11. Contact Section
   ========================================================================== */
.contact {
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
}

.contact-form-container,
.contact-info-container {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-title,
.contact-info-title,
.working-hours-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 181, 122, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius-md);
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(4, 181, 122, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-subtitle {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-text {
    direction: ltr;
    color: var(--text-secondary);
}

.working-hours-card {
    background: linear-gradient(135deg, rgba(4, 181, 122, 0.1), rgba(4, 140, 108, 0.1));
    border-radius: var(--radius-xl);
    padding: 30px;
    margin-top: 30px;
    border: 1px solid rgba(4, 181, 122, 0.2);
}

.working-hours-list {
    list-style: none;
}

.working-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(4, 181, 122, 0.1);
}

.working-hours-list li:last-child {
    border-bottom: none;
}

.day {
    color: var(--text-primary);
    font-weight: 600;
}

.hours {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

.footer-bottom a {
    text-decoration: none;
}

.copyright {
    color: #9ca3af;
    font-size: 14px;
}

/* ==========================================================================
   13. Mobile Menu
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: white;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-title {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-nav {
    list-style: none;
    padding: 20px;
    flex-grow: 1;
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   14. Responsive Styles
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .services-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 50px;
        text-align: center;
    }



    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .pricing-grid,
    .contact-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 20px;
    }
}


@media (max-width: 480px) {
    .packages-cards {
        gap: 15px;
    }

    .package-mobile-card {
        padding: 12px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .package-number {
        order: 2;
    }

    .package-category {
        order: 1;
    }
}

@media (max-width: 360px) {
    .card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .card-label {
        width: 100%;
        text-align: right;
    }

    .card-value {
        width: 100%;
        text-align: right;
        direction: rtl;
    }
}



@media (hover: none) and (pointer: coarse) {
    .package-mobile-card {
        cursor: pointer;
    }

    .package-mobile-card:active {
        transform: scale(0.98);
    }
}


@media (max-width: 768px) {
    .table-wrapper {
        display: none;
    }


    .packages-cards {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .package-mobile-card {
        width: 100%;
        box-sizing: border-box;
    }
}



/* ==========================================================================
   15. WhatsApp Floating Button
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    animation: float-whatsapp 3s ease-in-out infinite;
}

@keyframes float-whatsapp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon:active {
    transform: scale(0.95);
}

/* Animation for the icon */
.whatsapp-icon i {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Pulsing effect */
.whatsapp-pulse {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius-md);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 3;
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.whatsapp-link:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Sparkle effect */
.whatsapp-sparkle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.whatsapp-sparkle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            to bottom right,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 45%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 55%,
            transparent 70%
    );
    transform: rotate(45deg);
    animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* WhatsApp chat notification */
.whatsapp-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF4757;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: notification 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes notification {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        animation: float-whatsapp-mobile 3s ease-in-out infinite;
    }

    @keyframes float-whatsapp-mobile {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-5px);
        }
    }

    .whatsapp-icon {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .whatsapp-pulse {
        width: 70px;
        height: 70px;
    }

    .whatsapp-tooltip {
        display: none; /* إخفاء التلميح على الهواتف */
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }

    .whatsapp-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .whatsapp-pulse {
        width: 65px;
        height: 65px;
    }
}

/* Accessibility improvements */
.whatsapp-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 50%;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .whatsapp-tooltip {
        background: rgba(255, 255, 255, 0.9);
        color: var(--text-primary);
    }

    .whatsapp-tooltip::before {
        border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
    }
}