/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #333;
    --background-color: #fff;
    --light-bg: #f5f7fa;
    --border-color: #e5e7eb;
    --accent-color: #4f46e5;
    --card-bg: #fff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --footer-bg: #1a1f36;
    --heading-color: #111;
    --border-rgb: 229, 231, 235;
}

/* Dark Mode Variables */
.dark-mode {
    --text-color: #e5e7eb;
    --background-color: #111827;
    --light-bg: #1f2937;
    --border-color: #374151;
    --card-bg: #1f2937;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --footer-bg: #111827;
    --heading-color: #f3f4f6;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 70px;
    height: 70px;
    border: 4px solid rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    position: relative;
}

.loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 4px solid transparent;
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 0.8s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    background-color: var(--background-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style-type: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Header & Navigation */
header {
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.1));
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

nav {
    padding: 20px 0;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--heading-color);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.app-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.6s both;
}

.animated-btn {
    position: relative;
    overflow: hidden;
}

.animated-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
    transition: transform 0.6s ease;
}

.animated-btn:hover::after {
    transform: translate(-50%, -50%) rotate(45deg) translateY(-70%);
}

.btn-app {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-app:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.app-stats {
    display: flex;
    gap: 30px;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 500px;
}

.main-mockup {
    max-width: 100%;
    max-height: 500px;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.5;
}

.circle-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    top: 10%;
    left: 0;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    bottom: 10%;
    right: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.floating-element {
    position: absolute;
    background-color: var(--card-bg);
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.badge-element {
    top: 30%;
    right: 10%;
    animation: float 5s ease-in-out 1s infinite;
}

.feature-element {
    bottom: 25%;
    left: 10%;
    animation: float 7s ease-in-out 0.5s infinite;
}

.floating-element i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.floating-element span {
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
}

/* Features Section */
#features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    opacity: 0.8;
}

/* App Screens Section - Advanced 3D Version */
#app-screens {
    padding: 120px 0 150px;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.3d-perspective {
    perspective: 1000px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -10px auto 40px;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

.curved-bg {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--light-bg);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    transform: scaleX(1.5);
}

.screens-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.screen-tab {
    background: none;
    border: none;
    padding: 12px 25px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0.7;
}

.screen-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.screen-tab:hover {
    opacity: 1;
}

.screen-tab.active {
    background-color: rgba(37, 99, 235, 0.1);
    opacity: 1;
}

.screen-tab.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.screen-display-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    padding: 60px 0;
}

.screen-carousel-3d {
    position: relative;
    height: 600px;
    width: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.screen-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateX(100px) rotateY(-20deg);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    visibility: hidden;
}

.screen-item.active {
    opacity: 1;
    transform: translateX(0) rotateY(0);
    visibility: visible;
    z-index: 2;
}

.screen-info {
    flex: 1;
    padding: 30px;
    max-width: 450px;
}

.screen-name {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
}

.screen-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.screen-desc {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
}

.screen-features {
    list-style: none;
}

.screen-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.screen-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

.phone-frame-3d {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    background: #111;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 10px #333,
        0 0 3px 15px rgba(255, 255, 255, 0.05) inset;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    transform: rotateY(-5deg) rotateX(5deg);
}

.screen-item.active .phone-frame-3d {
    animation: phoneFloat 6s ease-in-out infinite;
}

.phone-frame-3d:hover {
    transform: rotateY(0) rotateX(0);
}

.phone-header {
    height: 30px;
    width: 100%;
    background: #000;
    position: relative;
    z-index: 3;
}

.phone-notch {
    position: absolute;
    width: 150px;
    height: 25px;
    background: #000;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.phone-screen {
    height: calc(100% - 60px);
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.phone-home-button {
    position: absolute;
    bottom: 10px;
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    z-index: 3;
}

.screen-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0) 20%, 
        rgba(255, 255, 255, 0.1) 30%, 
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 4;
}

.screen-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.screen-prev,
.screen-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.screen-prev:hover,
.screen-next:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.screen-indicators {
    display: flex;
    gap: 8px;
}

.screen-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.screen-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.screen-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: ripple 1.5s infinite;
}

.device-switch {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.device-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    color: var(--text-color);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.device-btn.active {
    opacity: 1;
    border-bottom: 2px solid var(--primary-color);
}

.device-btn:hover {
    opacity: 1;
}

.app-cta {
    text-align: center;
    margin-top: 60px;
}

.app-cta p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Animation for phone floating effect */
@keyframes phoneFloat {
    0% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-3deg) rotateX(3deg) translateY(-15px); }
    100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
}

@keyframes ripple {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

/* Tablet mode styles */
.phone-frame-3d.tablet-mode {
    width: 450px;
    height: 600px;
    border-radius: 20px;
}

.screen-item[data-device="tablet"] .phone-home-button {
    display: none;
}

/* Responsive styles for app screens */
@media screen and (max-width: 1024px) {
    .screen-item {
        flex-direction: column;
        gap: 40px;
    }
    
    .screen-info {
        text-align: center;
        order: 2;
        max-width: 100%;
    }
    
    .screen-name::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .screen-features li {
        justify-content: center;
    }
    
    .phone-frame-3d {
        width: 250px;
        height: 500px;
    }
    
    .phone-frame-3d.tablet-mode {
        width: 380px;
        height: 500px;
    }
}

@media screen and (max-width: 768px) {
    .screens-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        gap: 5px;
    }
    
    .screen-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .phone-frame-3d {
        width: 220px;
        height: 440px;
    }
    
    .phone-frame-3d.tablet-mode {
        width: 320px;
        height: 440px;
    }
    
    .screen-carousel-3d {
        height: 700px;
    }
}

/* Testimonials Section */
#testimonials {
    padding: 100px 0;
    background-color: var(--background-color);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.testimonial {
    flex: 1 1 300px;
    max-width: 500px;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 10px;
    position: relative;
    transition: background-color 0.3s ease;
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: 0.1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-info p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Newsletter Section */
#newsletter {
    padding: 100px 0;
    background: url('../images/newsletter-bg.jpg') center/cover no-repeat fixed;
    position: relative;
    color: white;
}

#newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 31, 54, 0.85);
}

.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.form-group-inline {
    display: flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.form-group-inline input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
}

.form-group-inline .submit-btn {
    padding: 15px 30px;
    border-radius: 0;
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.form-check input {
    width: 18px;
    height: 18px;
}

.form-check a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Blog Section */
#blog {
    padding: 100px 0;
    background-color: var(--background-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--heading-color);
}

.blog-content p {
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    font-size: 0.85rem;
}

.blog-meta span {
    opacity: 0.7;
}

.blog-meta i {
    margin-left: 5px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Contact Form Section */
#contact-form {
    padding: 100px 0;
    background-color: var(--light-bg);
    transition: background-color 0.3s ease;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item p {
    opacity: 0.8;
}

.contact-form {
    flex: 1 1 500px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: background-color 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Form validation */
.has-error input,
.has-error textarea,
.error-input {
    border-color: #e53e3e !important;
    background-color: rgba(229, 62, 62, 0.05);
}

.error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 5px;
}

.success-message {
    text-align: center;
    color: #38a169;
    font-size: 1.1rem;
    padding: 20px;
    background-color: rgba(56, 161, 105, 0.1);
    border-radius: 8px;
    margin: 20px 0;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 80px 0 30px;
    transition: background-color 0.3s ease;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1 1 250px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1 1 200px;
}

footer h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

footer ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer ul a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

footer ul a:hover {
    opacity: 1;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero .container,
    #download .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .app-buttons {
        justify-content: center;
    }

    .step {
        flex-direction: column;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .step-number {
        margin: 0 auto 20px;
    }

    .step-content {
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 20px;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    footer h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Utilities Bar */
.utilities-bar {
    background-color: var(--light-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.utilities-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher button {
    background: none;
    border: none;
    padding: 5px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.language-switcher button.active {
    opacity: 1;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.language-switcher button:hover {
    opacity: 1;
}

.utilities-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    position: relative;
}

.theme-btn {
    width: 60px;
    height: 30px;
    background-color: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    cursor: pointer;
    position: relative;
}

.theme-btn i {
    font-size: 0.8rem;
    color: var(--text-color);
}

.toggle-ball {
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: var(--primary-color);
    border-radius: 50%;
    right: 4px;
    transition: transform 0.3s ease;
}

.dark-mode .toggle-ball {
    transform: translateX(-30px);
}

.social-media-header {
    display: flex;
    gap: 15px;
}

.social-media-header a {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-media-header a:hover {
    opacity: 1;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 400px;
    background-color: var(--card-bg);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-radius: 10px;
    padding: 20px;
    z-index: 100;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.accept-cookies {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.accept-cookies:hover {
    background-color: var(--secondary-color);
}

.cookie-policy {
    color: var(--text-color);
    text-decoration: underline;
    display: inline-block;
    padding: 8px 0;
    font-size: 0.9rem;
}

/* Multi-Device Experience Section */
.multi-device-experience {
    padding: 130px 0;
    position: relative;
    background-color: var(--light-bg);
    overflow: hidden;
}

.multi-device-experience::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0) 70%);
    z-index: 0;
}

.multi-device-experience .container {
    position: relative;
    z-index: 1;
}

/* Platform Features */
.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.platform-feature {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.platform-feature::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.platform-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.platform-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.1));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    position: relative;
    overflow: hidden;
}

.platform-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(79, 70, 229, 0.3));
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.platform-feature:hover .platform-icon::after {
    transform: scale(1);
}

.platform-feature h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.platform-feature p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Devices Showcase */
.devices-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin: 60px 0;
    justify-content: space-between;
    align-items: center;
}

.device-slider-container {
    flex: 1 1 600px;
    position: relative;
    height: 500px;
}

.device-mockups {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
}

.device {
    position: absolute;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.device.smartphone {
    width: 200px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateZ(30px);
    z-index: 3;
}

.device.tablet {
    width: 300px;
    height: 400px;
    left: 20%;
    top: 50%;
    transform: translate(-50%, -50%) rotateY(-15deg) translateZ(-30px);
    z-index: 2;
    opacity: 0.8;
}

.device.smartwatch {
    width: 120px;
    height: 180px;
    left: 75%;
    top: 50%;
    transform: translate(-50%, -50%) rotateY(15deg) translateZ(-20px);
    z-index: 1;
    opacity: 0.9;
}

.device-frame {
    width: 100%;
    height: 100%;
    background-color: #111;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 10px solid #333;
}

.device-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.device.smartphone .device-frame {
    border-width: 10px;
    border-radius: 30px;
}

.device.tablet .device-frame {
    border-width: 15px;
    border-radius: 20px;
}

.device.smartwatch .device-frame {
    border-width: 8px;
    border-radius: 50%;
    height: 65%;
}

.device.smartwatch .device-band {
    width: 60%;
    height: 40%;
    background-color: #444;
    margin: -5px auto 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.device-stripe,
.device-header,
.device-sensors,
.device-btns,
.device-power {
    position: absolute;
    background-color: #222;
}

.device-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(15px);
    z-index: 0;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.lines-svg {
    width: 100%;
    height: 100%;
}

.line-path {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 10;
    opacity: 0.3;
    animation: dash 10s linear infinite;
}

.line2 {
    stroke-dasharray: 15;
    animation-duration: 15s;
    animation-direction: reverse;
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

/* Devices Info */
.devices-info {
    flex: 1 1 400px;
}

.device-info-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.device-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.device-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.device-tab:hover {
    opacity: 1;
}

.device-tab.active {
    opacity: 1;
}

.device-tab.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.device-tab i {
    font-size: 1.2rem;
}

.device-details {
    position: relative;
}

.device-detail {
    display: none;
    animation: fadeIn 0.5s ease;
}

.device-detail.active {
    display: block;
}

.device-detail h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.device-detail p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
}

.device-features-list {
    list-style: none;
}

.device-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.device-features-list li i {
    color: var(--primary-color);
}

/* OS Support */
.os-support {
    text-align: center;
    margin: 50px 0;
}

.os-support h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.os-icons {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.os-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.os-icon:hover {
    transform: scale(1.1);
}

.os-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.os-icon span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Cross Platform CTA */
.cross-platform-cta {
    margin-top: 60px;
    text-align: center;
}

.cross-platform-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cp-stat {
    flex: 1;
    min-width: 120px;
}

.cp-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.cp-stat-number span {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-left: 5px;
}

.cp-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-btn:hover {
    transform: translateY(-5px);
}

.cta-btn:hover::before {
    opacity: 1;
}

.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.5);
    animation: pulse 2s ease-out infinite;
    z-index: -2;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0.1;
    }
    50% {
        opacity: 0.1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover .btn-icon {
    transform: translateY(3px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles for multi-device section */
@media screen and (max-width: 992px) {
    .device-slider-container {
        height: 400px;
    }

    .device.smartphone {
        width: 150px;
        height: 300px;
    }

    .device.tablet {
        width: 220px;
        height: 300px;
    }

    .device.smartwatch {
        width: 100px;
        height: 150px;
    }
}

@media screen and (max-width: 768px) {
    .multi-device-experience {
        padding: 80px 0;
    }
    
    .devices-showcase {
        flex-direction: column;
        gap: 50px;
    }
    
    .device-slider-container {
        flex: 0 0 350px;
        width: 100%;
        order: 1;
    }
    
    .devices-info {
        flex: 0 0 100%;
        order: 2;
        text-align: center;
    }

    .device-info-tabs {
        justify-content: center;
    }
    
    .device-features-list li {
        justify-content: center;
    }

    .os-icons {
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .device-slider-container {
        height: 300px;
    }

    .device.smartphone {
        width: 120px;
        height: 240px;
    }

    .device.tablet {
        width: 180px;
        height: 240px;
    }

    .device.smartwatch {
        width: 80px;
        height: 120px;
    }

    .cp-stat-number {
        font-size: 2rem;
    }
}

/* Interactive Process Section - How it Works */
.interactive-process {
    position: relative;
    padding: 120px 0;
    background-color: var(--background-color);
    overflow: hidden;
}

.top-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.1));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.section-subtitle {
    max-width: 600px;
    margin: -10px auto 0;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

.process-diagram {
    position: relative;
    margin-bottom: 60px;
}

.process-line {
    position: absolute;
    top: 60px;
    right: 30px;
    width: 2px;
    height: calc(100% - 60px);
    background-color: var(--border-color);
    z-index: 1;
}

.process-line-progress {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 25%;
    background-color: var(--primary-color);
    transition: height 0.5s ease;
}

.steps-container {
    position: relative;
    z-index: 2;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.process-step.active {
    opacity: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    background-color: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.process-step.active .step-circle {
    background-color: var(--primary-color);
}

.step-number {
    position: absolute;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.process-step.active .step-number {
    transform: translateY(-30px);
    opacity: 0;
}

.step-icon {
    color: white;
    font-size: 1.3rem;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.process-step.active .step-icon {
    transform: translateY(0);
    opacity: 1;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.step-content p {
    margin-bottom: 15px;
    opacity: 0.8;
    line-height: 1.6;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.step-image {
    display: none;
    width: 250px;
    height: 250px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px var(--shadow-color);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.step-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.3));
    pointer-events: none;
}

.process-step:hover .step-image img {
    transform: scale(1.1);
}

.process-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.process-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.process-nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.process-dots {
    display: flex;
    gap: 8px;
}

.process-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.process-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.process-cta {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.process-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.process-cta p {
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-primary:hover i {
    transform: translateX(-5px);
}

/* Success Stories Section - Testimonials */
.success-stories {
    background-color: var(--light-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-display {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonials-slider {
    position: relative;
    min-height: 300px;
    margin-bottom: 40px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 15px 30px var(--shadow-color);
    padding: 30px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    visibility: hidden;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.testimonial-content {
    position: relative;
    margin-bottom: 30px;
}

.quote-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.2;
}

.rating {
    margin-bottom: 15px;
    color: #FFD700;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    position: relative;
    width: 60px;
    height: 60px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.7rem;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.author-title {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    color: var(--text-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.author-social a:hover {
    opacity: 1;
}

.testimonial-brand {
    height: 40px;
}

.testimonial-brand img {
    height: 100%;
    width: auto;
}

.testimonials-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-arrows {
    display: flex;
    gap: 15px;
}

.testimonial-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.testimonial-arrow:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.testimonials-metrics {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.metric {
    flex: 1;
    min-width: 100px;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.metric-number span {
    font-size: 1.2rem;
    opacity: 0.8;
}

.metric-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* App Download Section */
.app-download {
    padding: 120px 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.download-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(37, 99, 235, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    pointer-events: none;
}

.download-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.download-content {
    flex: 1;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.download-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
    line-height: 1.6;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.feature-text {
    font-size: 1.05rem;
}

.app-buttons.animated {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-app.btn-google,
.btn-app.btn-apple {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.btn-app.btn-google:hover,
.btn-app.btn-apple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
    border-color: var(--primary-color);
}

.btn-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-tagline {
    font-size: 0.8rem;
    opacity: 0.7;
}

.btn-store {
    font-size: 1.2rem;
    font-weight: 600;
}

.download-qr {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.qr-code {
    width: 100px;
    height: 100px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    background: #111;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 12px solid #333;
    transform: perspective(800px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(800px) rotateY(0);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screen-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0) 20%);
    pointer-events: none;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background-color: #111;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    z-index: 10;
}

.phone-shadow {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    filter: blur(10px);
    border-radius: 50%;
    z-index: -1;
}

.download-badges {
    position: absolute;
    top: 20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.download-badge i {
    font-size: 1rem;
}

.download-steps {
    text-align: center;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.download-steps h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.steps-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 150px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.step-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.step-text p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.7;
}

/* Responsive styles for process section */
@media screen and (min-width: 992px) {
    .step-image {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .process-step {
        flex-direction: column;
    }

    .process-line {
        display: none;
    }

    .download-wrapper {
        flex-direction: column-reverse;
    }

    .download-content, .download-image {
        text-align: center;
    }

    .download-features {
        align-items: center;
    }

    .app-buttons.animated {
        justify-content: center;
    }

    .download-qr {
        justify-content: center;
    }

    .download-badges {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }

    .steps-list {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

@media screen and (max-width: 576px) {
    .testimonial-author {
        flex-wrap: wrap;
    }

    .testimonial-brand {
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}

/* Subscribe Newsletter Section */
.subscribe-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(79, 70, 229, 0.08));
    overflow: hidden;
}

.newsletter-wave {
    position: absolute;
    width: 100%;
    height: 150px;
    overflow: hidden;
    z-index: 1;
}

.top-wave {
    top: 0;
    left: 0;
}

.bottom-wave {
    bottom: 0;
    left: 0;
    transform: rotate(180deg);
}

.newsletter-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(37, 99, 235, 0.15) 2px, transparent 2px);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
    animation: particleFloat 20s infinite linear;
}

@keyframes particleFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.newsletter-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.newsletter-content {
    flex: 1;
    max-width: 600px;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.newsletter-content h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
    color: var(--text-color);
}

.newsletter-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--card-bg);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--border-rgb), 0.1);
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.benefit-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(79, 70, 229, 0.15));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.benefit-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-floating {
    display: flex;
    box-shadow: 0 10px 25px var(--shadow-color);
    border-radius: 50px;
    overflow: hidden;
    background-color: var(--card-bg);
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid rgba(var(--border-rgb), 0.15);
    transition: all 0.3s ease;
}

.form-floating:focus-within {
    box-shadow: 0 12px 30px var(--shadow-color);
    border-color: var(--primary-color);
}

.email-input-group {
    flex: 1;
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.form-floating:focus-within .input-icon {
    opacity: 1;
}

.form-floating input {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    background-color: transparent;
    color: var(--text-color);
}

.form-floating input:focus {
    outline: none;
}

.pulsating-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.pulsating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
}

.pulsating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.85;
}

.form-check a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-check a:hover {
    color: var(--accent-color);
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.newsletter-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    background-color: var(--card-bg);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid rgba(var(--border-rgb), 0.1);
}

.stat-item {
    text-align: center;
    padding: 0 15px;
}

.counter-small {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    color: var(--text-color);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

.newsletter-image {
    flex: 1;
    position: relative;
    max-width: 400px;
}

.floating-device {
    position: relative;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate3d(0, 1, 0, 0deg);
    }
    50% {
        transform: translateY(-15px) rotate3d(0, 1, 0, 3deg);
    }
    100% {
        transform: translateY(0px) rotate3d(0, 1, 0, 0deg);
    }
}

.device-notification {
    position: absolute;
    top: -80px;
    right: -30px;
    width: 280px;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    z-index: 2;
    animation: notification-pop 0.5s ease-out, float 7s ease-in-out 0.2s infinite;
    border: 1px solid rgba(var(--border-rgb), 0.1);
    transform: translateZ(20px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.device-notification.show-notification {
    opacity: 1;
}

@keyframes notification-pop {
    0% {
        transform: scale(0.8) translateY(20px) translateZ(20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0) translateZ(20px);
        opacity: 1;
    }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(var(--border-rgb), 0.1);
}

.notification-logo {
    height: 25px;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    background-color: rgba(var(--border-rgb), 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.notification-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.notification-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.device-mockup {
    width: 100%;
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
    position: relative;
    transform: translateZ(-10px);
    border: 1px solid rgba(var(--border-rgb), 0.15);
}

.device-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.device-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.device-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

/* Latest Articles Section */
.latest-articles {
    padding: 120px 0;
    background-color: var(--background-color);
    position: relative;
}

.blog-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.blog-card.featured {
    border: 2px solid var(--primary-color);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #FFD700;
    color: #333;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.read-more-overlay {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more-overlay {
    transform: translateY(0);
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
}

.blog-date, .blog-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--heading-color);
}

.blog-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    flex: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.blog-tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-stats {
    display: flex;
    gap: 30px;
}

.btn-outline-gradient {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    z-index: 1;
    overflow: hidden;
}

.btn-outline-gradient::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    z-index: -2;
    border-radius: 50px;
}

.btn-outline-gradient::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: var(--card-bg);
    border-radius: 50px;
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-outline-gradient:hover::after {
    opacity: 0.85;
}

.blog-subscribe {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-subscribe:hover {
    transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 120px 0;
    background-color: var(--light-bg);
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.contact-info {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-map {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    animation: pin-bounce 2s infinite;
}

@keyframes pin-bounce {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -65%);
    }
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.1));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.direction-link, .availability, .response-time, .support-rating {
    font-size: 0.8rem;
    opacity: 0.7;
    display: block;
}

.direction-link {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.contact-social {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.contact-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    text-align: center;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.linkedin {
    background-color: #0077b5;
}

.contact-form-container {
    flex: 1 1 500px;
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.form-header p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.animated-form .form-group {
    margin-bottom: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1 1 calc(50% - 10px);
    margin-bottom: 0;
}

.input-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0.7;
}

.textarea-wrapper .input-icon {
    top: 20px;
    transform: none;
}

.animated-form input,
.animated-form textarea,
.animated-form select {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    background-color: transparent;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.animated-form input:focus,
.animated-form textarea:focus,
.animated-form select:focus {
    outline: none;
}

.animated-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.form-check input {
    width: 18px;
    height: 18px;
}

.gradient-btn {
    position: relative;
    width: 100%;
    padding: 14px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gradient-btn:hover {
    transform: translateY(-3px);
}

.gradient-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.gradient-btn:hover::before {
    opacity: 1;
}

.gradient-btn span, .gradient-btn i {
    position: relative;
    z-index: 1;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gradient-btn.loading .btn-loader {
    animation: spin 1s linear infinite;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gradient-btn.loading span, .gradient-btn.loading i {
    opacity: 0;
}

.form-message {
    display: none;
    text-align: center;
    padding: 30px 0;
}

.message-success, .message-error {
    display: none;
}

.form-message i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.message-success i {
    color: #38a169;
}

.message-error i {
    color: #e53e3e;
}

.form-message h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.form-message p {
    opacity: 0.8;
}

.contact-faq {
    margin-top: 80px;
}

.contact-faq h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--heading-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--heading-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

.faq-answer p {
    margin: 0;
    opacity: 0.8;
    line-height: 1.6;
}

/* Main Footer */
.main-footer {
    position: relative;
    background-color: var(--footer-bg, #1e293b);
    color: rgba(255, 255, 255, 0.9);
    padding: 120px 0 30px;
    overflow: hidden;
}

/* تعديل لتحسين وضوح النصوص في الوضع المظلم */
.dark-mode .main-footer {
    background-color: #0f172a;
    color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
    line-height: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    flex: 1 1 300px;
}

.footer-logo {
    margin-bottom: 20px;
    position: relative;
}

.footer-logo img {
    height: 50px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.footer-brand p {
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 25px;
    font-size: 1rem;
    max-width: 90%;
    color: rgba(255, 255, 255, 0.95);
}

.app-badges {
    display: flex;
    gap: 15px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-badge:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-links {
    flex: 1 1 200px;
}

.main-footer h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: white;
    font-weight: 600;
}

.main-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.main-footer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.main-footer ul a {
    color: rgba(255, 255, 255, 0.85);
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.main-footer ul a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.main-footer ul a:hover {
    color: white;
    opacity: 1;
    transform: translateX(-5px);
}

.main-footer ul a:hover i {
    transform: translateX(-3px);
    color: var(--primary-color);
}

.footer-contact {
    flex: 1 1 250px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact .contact-item i {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact .contact-item:hover i {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
}

.copyright {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-methods span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.payment-icons {
    display: flex;
    gap: 12px;
}

.payment-icons i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    color: white;
    transform: translateY(-3px);
}

/* تحسينات للاستجابة */
@media screen and (max-width: 992px) {
    .newsletter-wrapper {
        flex-direction: column;
    }
    
    .newsletter-content {
        max-width: 100%;
        text-align: center;
    }
    
    .newsletter-content h2::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .newsletter-benefits {
        justify-content: center;
    }
    
    .newsletter-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-row .form-group {
        flex: 1 1 100%;
    }
}

@media screen and (max-width: 768px) {
    .blog-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        justify-content: flex-start;
    }
    
    .filter-btn {
        padding: 8px 15px;
        white-space: nowrap;
    }
    
    .blog-pagination {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-social, .contact-form-container {
        width: 100%;
    }
    
    .app-badges {
        justify-content: center;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .main-footer h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-contact .contact-item {
        justify-content: center;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .newsletter-stats {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .device-notification {
        width: 220px;
        top: -60px;
        right: -15px;
    }
    
    .notification-header {
        padding-bottom: 5px;
        margin-bottom: 5px;
    }
    
    .notification-content h4 {
        font-size: 1rem;
    }
    
    .notification-content p {
        font-size: 0.85rem;
    }
    
    .blog-card {
        min-height: auto;
    }
    
    .blog-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 10px;
    }
}

/* تنسيقات لإشعارات النشرة الإخبارية */
.form-floating.active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.25);
}

.input-error {
    color: #e53935;
    font-size: 0.85rem;
    margin-top: 8px;
    padding-right: 45px;
    display: block;
    font-weight: 500;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

input.has-error {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.1);
}

.newsletter-success {
    background-color: rgba(46, 175, 109, 0.1);
    border: 1px solid rgba(46, 175, 109, 0.3);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 40px;
    height: 40px;
    background-color: #2eaf6d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
}

.newsletter-success p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
    font-size: 1rem;
}

.newsletter-success p strong {
    font-weight: 600;
    color: #2eaf6d;
}

/* تحسينات للنشرة الإخبارية */
.device-notification {
    transform: translateZ(20px) scale(1);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    backface-visibility: hidden;
}

.device-notification.show-notification {
    opacity: 1;
}

.device-notification:hover {
    transform: translateZ(30px) scale(1.03);
}

.floating-device {
    position: relative;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* تحسينات للفوتر */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.copyright {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 0 5px rgba(var(--primary-rgb), 0.2);
} 