:root {
    --primary-color: #4ABCB3;
    --secondary-color: #7F34C1;
    --primary-light: #7DD4CC;
    --primary-dark: #2A8A82;
    --secondary-light: #A78BC8;
    --secondary-dark: #5A2B8A;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    --gradient-mixed: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

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


body {
    font-family: 'Alexandria', 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Navbar Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(74, 188, 179, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

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

.vat-notice {
    font-size: 0.65rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Footer Styles */
footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 0 1rem 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.footer-links ul {
    list-style: none;
    text-align: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    text-align: center;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0;
    text-align: center;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    min-width: 200px;
}

.final-cta-section .btn-primary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--white);
}

.final-cta-section .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.final-cta-section .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.final-cta-section .btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--gradient-primary);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.7;
}

/* About Hero Section - Same background as main hero */
#about-hero.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.7;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 188, 179, 0.3);
    z-index: 2;
}

.animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 45%;
}

.wave1 {
    animation: wave 20s linear infinite;
    z-index: 1;
    opacity: 0.3;
    animation-delay: 0s;
    bottom: 0;
}

.wave2 {
    animation: wave 15s linear infinite;
    z-index: 2;
    opacity: 0.2;
    animation-delay: -5s;
    bottom: -20%;
}

.wave3 {
    animation: wave 30s linear infinite;
    z-index: 3;
    opacity: 0.1;
    animation-delay: -2s;
    bottom: -40%;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.light-beam {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: beam 10s infinite;
}

@keyframes beam {
    0% {
        transform: rotate(45deg) translateY(0%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translateY(100%);
        opacity: 0;
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 10%
    );
    background-size: 3vmin 3vmin;
    animation: particles 4s linear infinite;
}

@keyframes particles {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem auto;
    max-width: 800px;
    opacity: 0.9;
    text-align: center;
}

.hero-tagline {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 2rem 0;
    text-align: center;
    width: 100%;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2.5rem 0;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.hero-section .btn-primary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--white);
}

.hero-section .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-section .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.hero-section .btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-title-main {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-tagline {
        font-size: 1.4rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Section Transitions */
.section-divider {
    position: relative;
    height: 100px;
    margin-top: 0;
    margin-bottom: -50px;
    z-index: 1;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 100%);
    pointer-events: none;
}

.wave-divider {
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Features Section */
.features-section {
    background: #ffffff;
    position: relative;
    padding: 100px 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
    box-shadow: none;
}

/* Products Section */
.products-section {
    background: linear-gradient(180deg, #ffffff 0%, rgba(74, 188, 179, 0.08) 100%);
    position: relative;
    padding: 50px 0;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(74, 188, 179, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.products-section .container {
    position: relative;
    z-index: 1;
}

/* Smart Solutions Section */
.smart-solutions-section {
    background: var(--gradient-secondary);
    position: relative;
    padding: 50px 0;
}

/* Payment Methods Section */
.payment-methods-section {
    background: linear-gradient(180deg, var(--secondary-color-light) 0%, #ffffff 100%);
    position: relative;
    padding: 50px 0;
}

/* Final CTA Section */
.final-cta-section {
    background: var(--gradient-mixed);
    position: relative;
    padding: 50px 0;
    color: var(--white);
}

/* Update section patterns to be more subtle */
.features-section::before,
.products-section::before,
.smart-solutions-section::before,
.payment-methods-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply;
}

.features-section::before {
    background: url('images/p1.png') center/cover;
}

.products-section::before {
    background: url('images/p2.png') center/cover;
}

.smart-solutions-section::before {
    background: url('images/p3.png') center/cover;
}

.payment-methods-section::before {
    background: radial-gradient(circle at 50% 50%, var(--secondary-color) 0%, transparent 70%);
}

.section-title {
    color: var(--secondary-color);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(127, 52, 193, 0.1);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.section-subtitle-white {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.section-title-white {
    color: var(--white) !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-mixed);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 20px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::after {
    opacity: 0.05;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    text-align: center;
    width: 100%;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.feature-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    width: 100%;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.product-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

/* Logo below each product title */
.product-logo {
    width: 120px;
    height: auto;
    margin: 0.5rem auto 0.5rem;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

.product-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0;
    min-height: 140px; /* توحيد ارتفاع منطقة الشعار لضبط بداية النص */
    text-align: center; /* توسيط المحتوى */
}

.product-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--white);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    transition: transform 0.4s ease;
}

/* Logo when used inside the header next to the icon */
.product-header .product-logo {
    width: auto;
    max-width: 160px;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
    display: block; /* تأكيد التوسيط */
}

/* تأكد من اتساق الفراغ قبل النص الوصفي */
.product-description {
    margin-top: 0.75rem;
    min-height: 150px; /* توحيد مساحة الوصف لكي يبدأ قسم المميزات في نفس المستوى */
}

/* تقليل الارتفاع على الشاشات الصغيرة لتفادي المساحات الفارغة */
@media (max-width: 992px) {
    .product-description {
        min-height: 120px;
    }
}
@media (max-width: 768px) {
    .product-description {
        min-height: 0;
    }
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-header h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
    text-align: center;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.product-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: right;
}

.product-features {
    margin-top: 0;
}

.product-features h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: right;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.product-features ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0;
    color: var(--text-color);
    text-align: right;
}

.product-features li i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.product-image-wrapper {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    margin: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 85%;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* تخصيص حجم الصورة الثالثة */
.product-card:nth-child(3) .product-image {
    width: 65%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solution-image {
    display: none;
}

.payment-image {
    display: none;
}

/* تعديل المسافات في الشاشات المتحركة */
@media (max-width: 768px) {
    .product-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .product-content {
        gap: 1rem;
    }

    .product-header {
        gap: 1rem;
    }

    .product-features ul {
        gap: 0.6rem;
    }

    .product-image {
        width: 90%;
    }
    
    .product-card:nth-child(3) .product-image {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .product-image {
        max-width: 100%;
        margin: 1.5rem auto;
    }
}

/* Mobile Menu Styles */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.menu-overlay.active {
    display: block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        padding: 4rem 2rem 2rem;
        flex-direction: column;
        transition: right 0.3s ease;
        z-index: 999;
        display: flex;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links li {
        margin: 0.5rem 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
    }
}

/* التكيف مع أحجام الشاشات المختلفة */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 1rem;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .feature-card {
        max-width: none;
        margin: 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
}

/* Mission Slides Styles */
.mission-slide {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-mixed);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-mixed);
    color: var(--white);
    font-size: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.mission-content {
    flex: 1;
}

.mission-content h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.mission-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

/* Values Grid Styles */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(74, 188, 179, 0.1) 0%, rgba(127, 52, 193, 0.1) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 188, 179, 0.2);
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(74, 188, 179, 0.15) 0%, rgba(127, 52, 193, 0.15) 100%);
}

.value-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.value-item span {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

/* Responsive Design for Mission Slides */
@media (max-width: 768px) {
    .mission-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .mission-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .mission-content h3 {
        font-size: 1.5rem;
    }
    
    .mission-content p {
        font-size: 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-item {
        padding: 0.8rem;
    }
    
    .value-item i {
        font-size: 1.2rem;
    }
    
    .value-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .mission-slide {
        margin-bottom: 3rem;
    }
    
    .mission-card {
        padding: 1.5rem;
    }
    
    .mission-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .mission-content h3 {
        font-size: 1.3rem;
    }
}

/* إعادة باقي الأنماط كما كانت */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.solution-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    font-size: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.solution-content {
    flex: 1;
}

.solution-content h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.solution-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.payment-methods-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.payment-method {
    flex: 0 1 calc(16.666% - 2rem);
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.payment-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.payment-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.payment-method:hover .payment-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.payment-method span {
    display: block;
    text-align: center;
    width: 100%;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.gift-card-feature {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 30px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.gift-card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.gift-icon {
    font-size: 3rem;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.gift-card-feature p {
    font-size: 1.4rem;
    margin: 0;
    color: var(--white);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Packages Page Styles */
.packages-hero {
    background: var(--gradient-mixed);
    padding: 120px 0 80px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.packages-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.packages-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Alexandria', sans-serif;
}

.packages-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-toggle-section {
    padding: 40px 0;
    background: var(--light-bg);
}

.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}

.toggle-label-switch:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-input:checked + .toggle-label-switch {
    background-color: var(--primary-color);
}

.toggle-input:checked + .toggle-label-switch:before {
    transform: translateX(25px);
}

.discount-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.packages-section {
    padding: 80px 0;
    background: var(--white);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-package {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.featured-package:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
}

.package-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Alexandria', sans-serif;
    word-wrap: break-word;
    hyphens: auto;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Alexandria', sans-serif;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
}

.period {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.7;
}

.package-description {
    margin-bottom: 2rem;
    text-align: center;
}

.package-description p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
    word-wrap: break-word;
    hyphens: auto;
}

.package-features {
    margin-bottom: 2.5rem;
}

.package-features ul {
    list-style: none;
    padding: 0;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.5;
    word-wrap: break-word;
    hyphens: auto;
}

.package-features li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.package-cta {
    text-align: center;
}

.packages-faq {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.faq-item {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item h3.active::after {
    transform: rotate(45deg);
}

.faq-item h3:hover {
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.packages-cta {
    padding: 80px 0;
    background: var(--gradient-mixed);
    color: var(--white);
    text-align: center;
}

.packages-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Alexandria', sans-serif;
}

.packages-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.packages-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.packages-cta .btn-primary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--white);
}

.packages-cta .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.packages-cta .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.packages-cta .btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-methods-section,
    .final-cta-section {
        padding: 60px 0;
    }

    .payment-methods-row {
        gap: 1rem;
    }

    .payment-method {
        flex: 0 1 calc(50% - 1rem);
        min-width: 120px;
        padding: 1.5rem;
    }

    .payment-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .gift-card-feature {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
    }

    .gift-card-feature p {
        font-size: 1.2rem;
    }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.cta-description {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.cta-tagline {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    text-align: center;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Partners Section Styles */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(74, 188, 179, 0.05) 0%, rgba(127, 52, 193, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234ABCB3' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.partners-section .container {
    position: relative;
    z-index: 2;
}

.section-description {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.partner-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: none;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    margin: 0;
}

.partner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.6s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    border-radius: 0;
    transform: scale(0.95);
}

.partner-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.partner-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 188, 179, 0.18) 0%, rgba(127, 52, 193, 0.18) 100%);
    z-index: 3;
    pointer-events: none;
    border-radius: 0;
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 188, 179, 0.9) 0%, rgba(127, 52, 193, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
    z-index: 4;
}

.partner-card:hover .partner-overlay {
    opacity: 1;
}

.partner-hover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-hover-content {
    transform: translateY(0);
}

.partner-hover-content i {
    font-size: 2rem;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.partner-hover-content span {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.partner-info {
    padding: 1.5rem;
    text-align: center;
    background: var(--white);
    position: relative;
}

.partner-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-mixed);
    border-radius: 2px;
}

.partner-info h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.partner-card:hover .partner-info h3 {
    color: var(--primary-color);
}

.partner-info p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.partner-card:hover .partner-info p {
    color: var(--primary-color);
}

/* تحسين عرض الصور للشاشات المختلفة */
@media (max-width: 768px) {
    .partner-image-wrapper {
        height: 180px;
    }
    
    .partner-image {
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .partner-image-wrapper {
        height: 160px;
    }
}

/* Responsive Design for Partners Section */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .partner-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .partner-image-wrapper {
        height: 180px;
    }
    
    .partner-image {
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partner-image-wrapper {
        height: 160px;
    }
    
    .partner-info {
        padding: 1rem;
    }
    
    .partner-info h3 {
        font-size: 1.2rem;
    }
    
    .partner-info p {
        font-size: 0.95rem;
    }
}

.partners-catchy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: linear-gradient(90deg, rgba(74,188,179,0.10) 0%, rgba(127,52,193,0.10) 100%);
    border-radius: 2rem;
    padding: 1.2rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 24px 0 rgba(74,188,179,0.07);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    animation: catchyFadeIn 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.catchy-icon {
    background: var(--gradient-mixed);
    color: #fff;
    border-radius: 50%;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 2px 8px rgba(127,52,193,0.12);
    margin-left: 0.5rem;
    animation: catchyPulse 2s infinite;
    transform: rotate(50deg);
}

.catchy-number {
    display: inline-block;
    background: var(--gradient-mixed);
    color: #fff;
    border-radius: 1.5rem;
    padding: 0.2em 0.9em;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0.3em;
    box-shadow: 0 2px 8px rgba(127,52,193,0.10);
    letter-spacing: 1px;
    animation: catchyPulse 2s infinite;
}

@keyframes catchyPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes catchyFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .partners-catchy {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem;
        gap: 0.7rem;
    }
    .catchy-icon {
        width: 3rem;
        height: 3rem;
        font-size: 2rem;
        margin-left: 0;
        margin-bottom: 0.5rem;
        transform: rotate(50deg);
    }
    .catchy-number {
        font-size: 1em;
        padding: 0.1em 0.7em;
    }
}

/* Statistics Section */
.statistics-section {
    background: linear-gradient(135deg, rgba(74, 188, 179, 0.05) 0%, rgba(127, 52, 193, 0.05) 100%);
    position: relative;
    padding: 80px 0;
    text-align: center;
}

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

.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(74, 188, 179, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 188, 179, 0.15);
}

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

.stat-content {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: 'Alexandria', 'Alexandria', sans-serif;
    text-align: center;
    display: block;
    width: 100%;
    direction: ltr;
    text-align-last: center;
    margin-left: auto;
    transition: all 0.3s ease;
    position: relative;
}

.stat-number.animating {
    color: var(--primary-color);
    transform: scale(1.05);
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.stat-number.animating::after {
    width: 100%;
    margin-right: auto;
    text-indent: 0;
    unicode-bidi: bidi-override;
}

.stat-label {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

.stat-title {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Alexandria', 'Tajawal', sans-serif;
}

/* Responsive Design for Statistics */
@media (max-width: 768px) {
    .statistics-section {
        padding: 60px 0;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    /* Packages Mobile Styles */
    .packages-hero {
        padding: 100px 0 60px;
    }
    
    .packages-hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .packages-hero-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        padding: 0 1rem;
    }
    
    .pricing-toggle-section {
        padding: 30px 0;
    }
    
    .pricing-toggle-wrapper {
        padding: 0.8rem 1.5rem;
        max-width: 350px;
        gap: 0.8rem;
    }
    
    .toggle-label {
        font-size: 1rem;
    }
    
    .packages-section {
        padding: 60px 0;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .package-card {
        padding: 1.5rem 1rem;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .featured-package {
        transform: none;
        margin-top: 0;
    }
    
    .featured-package:hover {
        transform: translateY(-5px);
    }
    
    .popular-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .package-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .package-price {
        margin-bottom: 1.5rem;
    }
    
    .price-amount {
        font-size: 2.2rem;
    }
    
    .currency {
        font-size: 1rem;
    }
    
    .period {
        font-size: 0.9rem;
    }
    
    .package-description {
        margin-bottom: 1.5rem;
    }
    
    .package-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .package-features {
        margin-bottom: 2rem;
    }
    
    .package-features li {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
        gap: 0.8rem;
    }
    
    .package-features li i {
        font-size: 1rem;
        margin-top: 0.1rem;
    }
    
    .package-cta .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .packages-faq {
        padding: 60px 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .faq-item {
        padding: 1.5rem 1rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .faq-item p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .packages-cta {
        padding: 60px 0;
    }
    
    .packages-cta h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        padding: 0 1rem;
    }
    
    .packages-cta p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .packages-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .packages-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .packages-hero-content h1 {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }
    
    .packages-hero-content p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .pricing-toggle-wrapper {
        padding: 0.6rem 1rem;
        max-width: 300px;
        gap: 0.6rem;
    }
    
    .toggle-label {
        font-size: 0.9rem;
    }
    
    .packages-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .package-card {
        padding: 1.2rem 0.8rem;
    }
    
    .package-title {
        font-size: 1.4rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .package-description p {
        font-size: 0.95rem;
    }
    
    .package-features li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .package-cta .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .packages-cta h2 {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }
    
    .packages-cta p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .packages-cta .btn {
        max-width: 250px;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Ensure proper text wrapping and prevent overflow */
.package-card {
    overflow-wrap: break-word;
    word-break: break-word;
}

.package-features li {
    overflow-wrap: break-word;
    word-break: break-word;
}

.package-description p {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .toggle-label-switch {
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .faq-item h3 {
        min-height: 44px;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
}