/* ============================================
   eg1x.com - Modern White & Blue Theme
   Professional, Clean, SEO-Friendly Design
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    background: #ffffff;
    color: #2c3e50;
    line-height: 1.8;
    font-size: 16px;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d2137 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.site-header .site-branding {
    display: none;
}

.site-header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 5px;
}

.site-header nav a,
.site-header .menu-item a {
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.site-header nav a:hover,
.site-header .menu-item a:hover {
    background: rgba(66, 165, 245, 0.2);
    color: #42a5f5 !important;
}

.site-header .current-menu-item a {
    background: #1565C0;
    color: #fff !important;
}

/* ===== HERO SECTION ===== */
.elementor-section.hero-section,
.elementor-element [data-settings*="hero"] {
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d2137 100%) !important;
}

/* ===== ELEMENTOR OVERRIDES ===== */
.elementor-page .elementor-section {
    padding: 60px 0;
}

.elementor-heading-title {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 800 !important;
}

/* ===== DOWNLOAD BUTTONS ===== */
.cta-btn,
a.cta-btn,
.elementor-button,
a.dl-btn {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #43A047 0%, #2E7D32 100%);
    color: #ffffff !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(67, 160, 71, 0.4);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.cta-btn:hover,
a.cta-btn:hover,
.elementor-button:hover,
a.dl-btn:hover {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 160, 71, 0.5);
    color: #ffffff !important;
}

/* Promo Code Button */
.promo-btn,
a.promo-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #FF8F00 0%, #F57C00 100%);
    color: #ffffff !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 143, 0, 0.4);
    border: 2px dashed #FFE082;
}

.promo-btn:hover,
a.promo-btn:hover {
    background: linear-gradient(135deg, #F57C00 0%, #E65100 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 143, 0, 0.5);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(21, 101, 192, 0.12);
    border-color: #1565C0;
}

.feature-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    color: #1565C0;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.7;
}

/* ===== STEPS SECTION ===== */
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: #f8fbff;
    border-radius: 16px;
    margin-bottom: 20px;
    border-right: 4px solid #1565C0;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: #eef5ff;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.08);
}

.step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.step-content h3 {
    color: #1565C0;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: #5a6c7d;
    font-size: 15px;
    line-height: 1.7;
}

/* ===== SPECS TABLE ===== */
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    margin: 30px 0;
}

.specs-table thead th {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: #fff;
    padding: 18px 25px;
    font-weight: 700;
    font-size: 16px;
    text-align: right;
}

.specs-table tbody tr {
    transition: background 0.2s;
}

.specs-table tbody tr:nth-child(even) {
    background: #f8fbff;
}

.specs-table tbody tr:hover {
    background: #eef5ff;
}

.specs-table td {
    padding: 14px 25px;
    border-bottom: 1px solid #e8eef5;
    font-size: 15px;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #1565C0;
    width: 35%;
}

/* ===== FAQ SECTION ===== */
.faq-item {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #1565C0;
    box-shadow: 0 2px 10px rgba(21, 101, 192, 0.08);
}

.faq-question {
    padding: 20px 25px;
    font-weight: 700;
    font-size: 16px;
    color: #1a2a4a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    color: #1565C0;
}

.faq-answer {
    padding: 0 25px 20px;
    color: #5a6c7d;
    font-size: 15px;
    line-height: 1.8;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: #1565C0;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1565C0, #42a5f5);
    border-radius: 2px;
}

/* ===== RELATED POSTS ===== */
.related-posts-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8fbff;
    border-radius: 16px;
    border: 1px solid #e8eef5;
}

.related-posts-section h3 {
    color: #1565C0;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.related-card {
    display: block;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    border: 1px solid #e8eef5;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.related-card:hover {
    border-color: #1565C0;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.12);
    color: #1565C0;
    transform: translateY(-2px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d2137 100%);
    padding: 60px 30px;
    text-align: center;
    border-radius: 20px;
    margin: 40px 0;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    color: #b0bec5;
    font-size: 16px;
    margin-bottom: 25px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0a1628;
    color: #b0bec5;
    padding: 40px 20px 20px;
    text-align: center;
    font-size: 14px;
}

.site-footer a {
    color: #42a5f5;
    text-decoration: none;
}

.site-footer a:hover {
    color: #90caf9;
}

/* ===== BLOG / ARTICLES ===== */
.hentry,
article.post {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.hentry:hover,
article.post:hover {
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.08);
    border-color: #bbdefb;
}

.entry-title,
.entry-title a {
    color: #1565C0 !important;
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
}

.entry-title a:hover {
    color: #0D47A1 !important;
}

.entry-content {
    color: #3a4a5c;
    line-height: 2;
    font-size: 16px;
}

.entry-content h2 {
    color: #1565C0;
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}

.entry-content h3 {
    color: #1a2a4a;
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 12px;
}

.entry-content p {
    margin-bottom: 16px;
}

.entry-content a {
    color: #1565C0;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.entry-content a:hover {
    border-bottom-color: #1565C0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .site-header nav {
        gap: 3px;
    }
    .site-header nav a,
    .site-header .menu-item a {
        padding: 8px 12px;
        font-size: 12px;
    }
    .elementor-page .elementor-section {
        padding: 40px 15px;
    }
    .section-title h2 {
        font-size: 24px;
    }
    .feature-card {
        padding: 25px 20px;
    }
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .specs-table td,
    .specs-table th {
        padding: 10px 15px;
        font-size: 13px;
    }
    .cta-btn, a.cta-btn, .elementor-button, a.dl-btn {
        padding: 14px 35px;
        font-size: 16px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-header nav a,
    .site-header .menu-item a {
        padding: 6px 10px;
        font-size: 11px;
    }
    .section-title h2 {
        font-size: 20px;
    }
}

/* ===== ADMIN BAR FIX ===== */
#wpadminbar {
    direction: ltr;
}

/* ===== ELEMENTOR WIDGET STYLES ===== */
.elementor-widget-text-editor {
    font-family: 'Cairo', sans-serif;
}

.elementor-tab-title {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
}

.elementor-tab-content {
    font-family: 'Cairo', sans-serif !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #5a6c7d;
}

.breadcrumb a {
    color: #1565C0;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.elementor-section {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #1565C0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #0D47A1; }
