/* إعادة تصميم لمطابقة الموقع الأصلي */

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

/* Enhanced Typography with Cairo Font */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

/* Global Enhancements */
:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --secondary-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --accent-gradient: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-light: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-medium: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-heavy: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --primary: #6366f1;
    --secondary: #64748b;
    --dark: #0f172a;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

.nav-brand a {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
}

.nav-menu a {
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

.slide-text h1 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
}

.slide-text h2 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

input,
textarea,
select {
    font-family: 'Cairo', sans-serif;
}

.footer-section h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

body {
    font-family: 'Cairo', 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
}

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

/* Header Styles */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled,
body:not(.home-page) .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
}

.header.scrolled .nav-brand a,
body:not(.home-page) .header .nav-brand a {
    color: var(--dark);
}

.nav-brand i {
    margin-left: 10px;
    font-size: 2.2rem;
    background: white;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: var(--primary-gradient);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    gap: 8px;
}

.header.scrolled .nav-menu a,
body:not(.home-page) .header .nav-menu a {
    color: #475569;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
}

.header.scrolled .nav-menu a:hover,
body:not(.home-page) .header .nav-menu a:hover,
.header.scrolled .nav-menu a.active,
body:not(.home-page) .header .nav-menu a.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-menu i {
    margin-left: 8px;
    font-size: 1.1rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    margin-top: 5px;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: #333 !important;
    padding: 10px 20px !important;
    display: block;
    transition: background 0.3s;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    transform: none;
}

/* Modern Dynamic Slider Styles */
.dynamic-slider {
    position: relative;
    height: 75vh;
    min-height: 600px;
    background: var(--dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.dynamic-slider .slider-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dynamic-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dynamic-slider .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.dynamic-slider .slide-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    filter: brightness(0.35) saturate(1.2);
    transform: scale(1.2);
    transition: transform 12s cubic-bezier(0.1, 0, 0.9, 1);
}

.dynamic-slider .slide-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 2;
}

.dynamic-slider .slide.active .slide-bg-image {
    transform: scale(1.05);
}

/* Glassmorphism Slide Content */
.dynamic-slider .slide-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    color: white;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: perspective(1000px) rotateX(10deg) translateY(50px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
}

.dynamic-slider .slide.active .slide-content {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

.dynamic-slider .slide-text h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.2));
}

.dynamic-slider .slide-text h2 {
    font-size: clamp(1.4rem, 3.5vw, 2.4rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: #e2e8f0;
    opacity: 0.9;
}

.dynamic-slider .slide-description {
    font-size: 1.3rem;
    margin-bottom: 45px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: #cbd5e1;
}

.dynamic-slider .btn-slide-primary {
    position: relative;
    background: var(--primary-gradient);
    color: white !important;
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.6);
    overflow: hidden;
}

.dynamic-slider .btn-slide-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.dynamic-slider .btn-slide-primary:hover::after {
    left: 140%;
}

.dynamic-slider .btn-slide-primary:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.7);
}

/* Improved Navigation */
.dynamic-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.dynamic-slider .slider-nav:hover {
    background: var(--primary);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5);
}

.dynamic-slider .slider-nav.prev {
    right: 40px;
}

.dynamic-slider .slider-nav.next {
    left: 40px;
}

/* Dots Styling */
.dynamic-slider .slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dynamic-slider .slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.dynamic-slider .slider-dots .dot.active {
    width: 35px;
    background: var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}

@media (max-width: 768px) {
    .dynamic-slider .slide-content {
        padding: 30px 20px;
        margin: 0 20px;
        background: rgba(15, 23, 42, 0.5);
    }

    .dynamic-slider .slider-nav {
        display: none;
    }
}

.dynamic-slider .slider-dots .dot.active,
.dynamic-slider .slider-dots .dot:hover {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .dynamic-slider {
        min-height: 500px;
    }

    .dynamic-slider .slider-container {
        height: 500px;
    }

    .dynamic-slider .slide-text h1 {
        font-size: 2.5rem;
        color: white !important;
    }

    .dynamic-slider .slide-text h2 {
        font-size: 1.5rem;
        color: white !important;
    }

    .dynamic-slider .slide-description {
        font-size: 1rem;
        color: white !important;
    }

    .dynamic-slider .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .dynamic-slider .slider-nav.prev {
        right: 10px;
    }

    .dynamic-slider .slider-nav.next {
        left: 10px;
    }
}


/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.slider-nav.prev {
    right: 20px;
}

.slider-nav.next {
    left: 20px;
}

/* Dots Indicator */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dynamic-slider {
        height: 70vh;
        min-height: 500px;
    }

    .slide-text h1 {
        font-size: 2.5rem;
    }

    .slide-text h2 {
        font-size: 1.5rem;
    }

    .slide-description {
        font-size: 1.1rem;
    }

    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slider-nav.prev {
        right: 15px;
    }

    .slider-nav.next {
        left: 15px;
    }

    .slide-content {
        padding: 20px;
    }
}

/* Featured Apps Section */
.featured-apps {
    padding: 80px 0;
    background: #f8f9fa;
}

.featured-apps .section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.featured-apps .section-header h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-apps .section-header h2 i {
    color: #667eea;
}

.featured-apps .section-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    flex: 1;
    text-align: center;
}

.featured-apps .view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-apps .view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.app-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.1);
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-card .app-icon {
    transition: var(--transition);
}

.app-card:hover .app-icon {
    transform: scale(1.05);
}

.app-card .app-icon {
    margin-bottom: 20px;
}

.app-card .app-icon img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

.app-card .app-icon i {
    font-size: 4rem;
    color: #667eea;
}

.app-card .app-info h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.app-card .app-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.app-card .app-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.app-card .app-rating {
    color: #ffc107;
}

.app-card .app-downloads {
    color: #28a745;
}

.app-card .app-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.app-card .btn {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-card .btn-primary {
    background: #007bff;
    color: white;
}

.app-card .btn-success {
    background: #28a745;
    color: white;
}

/* Latest News Section */
.latest-news {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.latest-news .section-header {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.section-header h2 i {
    color: var(--primary);
    margin-left: 15px;
}

.latest-news .view-all-btn {
    padding: 12px 30px;
    background: var(--secondary-gradient);
    color: var(--primary);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.latest-news .view-all-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
}

.news-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
}

.news-card .news-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-card .news-content {
    padding: 30px;
}

.news-card .news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-card .news-category {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 16px;
    border-radius: 50px;
}

.news-card .news-date {
    color: var(--secondary);
}

.news-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card h3 a:hover {
    color: var(--primary);
}

.news-card p {
    color: var(--secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.news-card .read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.news-card .read-more:hover {
    gap: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.testimonials-header h2 {
    color: #333;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonials-header h2 i {
    color: #667eea;
}

.add-testimonial-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-testimonial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 18px;
}

.testimonial-content p {
    color: #555;
    line-height: 1.7;
    font-style: italic;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.testimonial-author i {
    font-size: 3rem;
    color: #667eea;
}

.testimonial-author h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 14px;
}

.view-all-testimonials {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #667eea;
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 0;
    display: block;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 15px;
    color: #bdc3c7;
    font-size: 1.3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: white;
    background: #667eea;
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    width: 20px;
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #34495e;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

/* Enhanced Visual Effects */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Improved Buttons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Enhanced Cards Animation */
.feature-card,
.news-card,
.app-card {
    transition: var(--transition);
}

.feature-card:hover,
.news-card:hover,
.app-card:hover {
    animation: gentle-pulse 0.6s ease-in-out;
}

@keyframes gentle-pulse {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Global Page Offset to fix Fixed Header Overlap */
.questions-explorer-page,
.download-center,
.profile-page,
.apps-page {
    padding-top: 180px !important;
    background-color: #f8fafc;
}

.explorer-header,
.center-hero {
    padding: 50px 40px !important;
    border-radius: var(--border-radius-lg) !important;
    margin-bottom: 40px !important;
    position: relative;
    box-shadow: var(--shadow-medium);
}

/* Premium Filter Styling */
.glass-card {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--border-radius-md) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    padding: 25px !important;
}

.select2-container--bootstrap-5 .select2-selection {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 50px !important;
    line-height: 50px !important;
    background-color: #f8fafc !important;
}

.search-input:focus,
.category-select:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Enhanced Hover Effects for Interactive Elements */
.filter-btn,
.search-btn,
.btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.filter-btn:hover,
.search-btn:hover,
.btn:hover {
    transform: translateY(-2px);
}

.filter-btn:active,
.search-btn:active,
.btn:active {
    transform: translateY(0);
}

/* Improved Typography Hierarchy */
.section-header h2 {
    position: relative;
    display: inline-block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 30px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 80px;
    height: 6px;
    background: var(--primary-gradient);
    border-radius: 10px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.features-section h2 i {
    color: #667eea;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 40px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card i {
    font-size: 3.5rem;
    color: #667eea;
    margin-bottom: 25px;
    display: block;
}

.feature-card h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-card ul {
    list-style: none;
    text-align: right;
}

.feature-card ul li {
    color: #555;
    margin-bottom: 8px;
    padding-right: 20px;
    position: relative;
}

.feature-card ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #28a745;
    font-weight: bold;
}

/* Dashboard Preview Section */
.dashboard-preview {
    padding: 80px 0;
    background: white;
}

.dashboard-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.dashboard-preview h2 i {
    color: #667eea;
}

.dashboard-preview>.container>p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
}

.dashboard-card:hover::before {
    transform: rotate(45deg) translate(-50%, -50%);
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.dashboard-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 2;
}

.dashboard-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.dashboard-card p {
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.benefits-section h2 i {
    color: #667eea;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 25px;
    transition: var(--transition);
    border-right: 5px solid transparent;
}

.benefit-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-medium);
    border-right-color: #667eea;
}

.benefit-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.benefit-content h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.benefit-content p {
    color: #666;
    line-height: 1.6;
}

/* How it Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.how-it-works h2 i {
    color: #667eea;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(100% + 20px);
    width: 40px;
    height: 2px;
    background: #667eea;
    z-index: 1;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.step-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Core Features Section */
.core-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.core-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.core-features h2 i {
    color: #fff;
}

.core-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.core-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.core-feature:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-header i {
    font-size: 2.5rem;
}

.feature-header h3 {
    font-size: 1.4rem;
}

.feature-details p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.feature-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-points .point {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Quick Registration Section */
.quick-registration {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.registration-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.registration-card h2 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.registration-card h2 i {
    color: #667eea;
}

.registration-card>p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.quick-form {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.quick-form input {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.quick-form input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.form-actions .btn {
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.trust-item i {
    color: #28a745;
    font-size: 16px;
}

/* Hero Section for Default */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hero-text h1 i {
    font-size: 3rem;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item i {
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.hero-buttons .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid white;
}

.hero-buttons .btn-secondary:hover {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    .dynamic-slider {
        min-height: 500px;
    }

    .dynamic-slider .slider-container {
        height: 500px;
    }

    .dynamic-slider .slide-text h1 {
        font-size: 2.5rem;
    }

    .dynamic-slider .slide-text h2 {
        font-size: 1.5rem;
    }

    .dynamic-slider .slide-description {
        font-size: 1rem;
    }

    .dynamic-slider .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .dynamic-slider .slider-nav.prev {
        right: 10px;
    }

    .dynamic-slider .slider-nav.next {
        left: 10px;
    }

    /* تحسين الكارت للجوال بدون !important */
    .news-card,
    .app-card {
        transform: translateY(0);
    }

    .news-card:hover,
    .app-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-medium);
    }

    /* Mobile adjustments for new sections */
    .features-section,
    .dashboard-preview,
    .benefits-section,
    .how-it-works,
    .core-features,
    .quick-registration {
        padding: 60px 0;
    }

    .features-section h2,
    .dashboard-preview h2,
    .benefits-section h2,
    .how-it-works h2,
    .core-features h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .features-grid,
    .dashboard-features,
    .core-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step::after {
        display: none;
    }

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

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

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

    .registration-card {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-actions {
        flex-direction: column;
    }

    .trust-indicators {
        gap: 20px;
    }

    /* تخصيص كروت لوحة التحكم للجوال */
    .dashboard-card {
        color: white !important;
    }

    .dashboard-card h3 {
        color: white !important;
    }

    .dashboard-card p {
        color: white !important;
        opacity: 0.9;
    }

    .dashboard-card i {
        color: white !important;
        -webkit-text-fill-color: white !important;
    }

    /* تخصيص المميزات الأساسية للجوال */
    .core-features h2 {
        color: white !important;
    }

    .core-feature h3 {
        color: white !important;
    }

    .core-feature p {
        color: white !important;
        opacity: 0.9;
    }

    .core-feature i {
        color: white !important;
        -webkit-text-fill-color: white !important;
    }

    .feature-points .point {
        color: white !important;
    }

    /* تحسين التنقل للجوال */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transition: right 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 20px 0;
    }

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

    .nav-menu li {
        margin: 0;
        width: 100%;
    }

    .nav-menu a {
        color: #333;
        padding: 15px 25px;
        border-radius: 0;
        width: 100%;
        border-bottom: 1px solid #eee;
        justify-content: flex-start;
    }

    .nav-menu a:hover {
        background-color: #f8f9fa;
        transform: none;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    /* Mobile adjustments for new sections */
    .features-section,
    .dashboard-preview,
    .benefits-section,
    .how-it-works,
    .core-features,
    .quick-registration {
        padding: 60px 0;
    }

    .features-section h2,
    .dashboard-preview h2,
    .benefits-section h2,
    .how-it-works h2,
    .core-features h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .features-grid,
    .dashboard-features,
    .core-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

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

    .registration-card {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-actions {
        flex-direction: column;
    }

    .trust-indicators {
        gap: 20px;
    }
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* Page Loading Animation */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.scroll-to-top:hover {
    background: #5a6fd8;
    transform: translateY(-3px);
}

.scroll-to-top.show {
    display: flex;
}

/* Section visibility animations */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print styles */
@media print {

    .header,
    .main-footer,
    .quick-registration,
    .scroll-to-top,
    .mobile-menu-btn {
        display: none !important;
    }

    .dynamic-slider,
    .hero {
        background: white !important;
        color: black !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}