/* ===================================
   Page-Specific Styles
   =================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 5rem 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8rem;
    opacity: 0.9;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vm-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.vm-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.vision-card .vm-icon {
    color: #667eea;
}

.mission-card .vm-icon {
    color: #764ba2;
}

.vm-card h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.vm-card p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background: white;
}

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

.value-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--light-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Direction Section */
.direction-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.direction-content {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.direction-item {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.direction-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

body.rtl .direction-item:hover {
    transform: translateX(-10px);
}

.direction-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.3;
    min-width: 80px;
}

.direction-text h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.direction-text p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    gap: 3rem;
}

.solution-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.solution-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
}

.solution-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.solution-body {
    padding: 2rem;
}

.solution-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.solution-feature {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.solution-feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.solution-feature-text h4 {
    font-size: 1.125rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.solution-feature-text p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Sectors Detail */
.sectors-detail-section {
    padding: 5rem 0;
    background: white;
}

.sector-detail {
    background: var(--light-color);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.sector-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sector-detail-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.sector-detail-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

.sector-detail-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.sector-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.sector-feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.sector-feature-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.sector-feature-item strong {
    color: var(--dark-color);
}

/* Timeline */
.timeline-section {
    padding: 5rem 0;
    background: white;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 5px solid white;
    z-index: 1;
}

.timeline-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.status-completed {
    background: #10b981;
    color: white;
}

.status-in-progress {
    background: #f59e0b;
    color: white;
}

.status-upcoming {
    background: #6366f1;
    color: white;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content ul li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.timeline-content ul li i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

/* Form Styles */
.form-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Competitive Edge */
.edge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.edge-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

body.rtl .edge-card {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.edge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.edge-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edge-card h3 i {
    color: var(--primary-color);
}

.edge-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Contact Info Styling */
.contact-info-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 8px;
}

.contact-info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 50px;
}

.contact-info-text h4 {
    font-size: 1.125rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    color: var(--text-color);
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .content-grid,
    .vm-grid {
        grid-template-columns: 1fr;
    }

    .content-text h2,
    .section-header h2 {
        font-size: 1.75rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    body.rtl .timeline-content {
        margin-left: 0;
        margin-right: 60px;
    }

    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .direction-item {
        flex-direction: column;
        text-align: center;
    }

    .direction-number {
        min-width: auto;
    }
}

/* ===================================
   Infographic Styles
   =================================== */
.infographic-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.infographic-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-box h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Ecosystem Showcase */
.ecosystem-showcase {
    transition: all 0.3s ease;
}

.ecosystem-showcase img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ecosystem-showcase img:hover {
    transform: scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
}

.ecosystem-showcase button {
    font-family: 'Inter', sans-serif;
}

/* Modal styling enhancements */
#imageModal img {
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive for infographics */
@media (max-width: 768px) {
    .infographic-container,
    .ecosystem-showcase {
        padding: 1.5rem !important;
        border-radius: 15px !important;
    }
    
    .ecosystem-showcase h3 {
        font-size: 1.5rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .infographic-container,
    .ecosystem-showcase {
        padding: 1rem !important;
        border-radius: 12px !important;
    }
    
    .ecosystem-showcase h3 {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    .ecosystem-showcase button {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
    
    .ecosystem-showcase button span {
        display: none;
    }
    
    .ecosystem-showcase button i {
        margin: 0 !important;
    }
    
    .stat-box {
        padding: 1rem;
    }
}
