/* Additional styles for specific pages and components */

/* About Us Styles */
.company-overview {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary) 50%, var(--color-bg-dark) 100%);
}

.stats-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.stat-box {
    text-align: center;
    padding: var(--space-md);
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition-medium);
}

.stat-box:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.stat-box .stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--space-xs);
}

.stat-box .stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Core Technologies */
.core-technologies {
    background: var(--color-bg-dark);
    padding: var(--space-xl) 0;
}

.tech-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.tech-features {
    list-style: none;
    margin: var(--space-md) 0;
}

.tech-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
    font-size: 0.95rem;
}

.tech-features i {
    color: var(--color-success);
    font-size: 0.8rem;
    width: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.spec-value {
    color: var(--color-accent);
    font-weight: 600;
    font-family: var(--font-primary);
}

/* Solutions Timeline */
.solutions-timeline {
    position: relative;
    padding-left: var(--space-lg);
}

.solutions-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent), var(--color-success));
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-card);
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-left: -22px;
}

.timeline-content {
    background: var(--color-bg-card);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
}

.timeline-content h3 {
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.timeline-content ul {
    list-style: none;
    margin-top: var(--space-sm);
}

.timeline-content li {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

/* Mission & Values */
.mission-values {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: var(--space-xl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.value-card {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
}

.value-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-success));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--color-text-dark);
    font-size: 2rem;
}

.value-card h3 {
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

/* News Page Styles */
.news-filter {
    background: var(--color-primary);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-controls {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-xs) var(--space-md);
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent);
    color: var(--color-text-dark);
    border-color: var(--color-accent);
}

.news-section {
    padding: var(--space-xl) 0;
}

.news-header {
    margin-bottom: var(--space-sm);
}

.news-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
}

.news-source {
    color: var(--color-accent);
    font-weight: 600;
}

.news-category {
    background: rgba(0, 212, 255, 0.2);
    color: var(--color-accent);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.news-time {
    color: var(--color-text-muted);
}

.news-title a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-title a:hover {
    color: var(--color-accent);
}

.news-excerpt {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.news-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-sm);
}

.news-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: space-between;
}

/* RSS Sources */
.rss-sources {
    background: var(--color-primary);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.source-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.source-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--color-accent);
}

.source-item i {
    color: var(--color-accent);
    width: 20px;
    text-align: center;
}

.sources-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sources-note i {
    color: var(--color-accent);
    margin-right: var(--space-xs);
}

/* Press Page Styles */
.press-section {
    padding: var(--space-xl) 0;
}

.press-article {
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
}

.press-header {
    margin-bottom: var(--space-md);
}

.press-meta {
    margin-bottom: var(--space-sm);
}

.press-date {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.press-title {
    color: var(--color-accent);
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.press-image {
    margin: var(--space-md) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.press-image img {
    width: 100%;
    height: auto;
    display: block;
}

.press-summary {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-light);
    background: rgba(0, 212, 255, 0.1);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
    margin-bottom: var(--space-md);
}

.press-body {
    line-height: 1.7;
    color: var(--color-text-muted);
}

.press-body h3 {
    color: var(--color-accent);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.press-body ul,
.press-body ol {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.press-body li {
    margin-bottom: var(--space-xs);
}

.press-footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.press-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Solution Icons - Replace images with Font Awesome icons */
.solution-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border-radius: var(--radius-md);
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.solution-icon-container:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 255, 136, 0.2) 100%);
    border-color: var(--color-accent);
    transform: scale(1.02);
}

.solution-icon {
    font-size: 4rem;
    color: var(--color-accent);
    animation: iconFloat 3s ease-in-out infinite alternate;
}

.solution-icon-container:hover .solution-icon {
    color: var(--color-success);
    transform: scale(1.1);
}

@keyframes iconFloat {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* Icon-specific animations */
.fa-satellite-dish {
    animation: radarRotate 4s ease-in-out infinite;
}

.fa-comments {
    animation: messagesPulse 2s ease-in-out infinite;
}

.fa-code {
    animation: codeFlicker 3s ease-in-out infinite;
}

@keyframes radarRotate {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(15deg); }
}
}

@keyframes messagesPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes codeFlicker {
    0%, 90%, 100% { opacity: 0.8; }
    95% { opacity: 1; }
}

/* Footer Contact CTA styling */
.contact-cta {
    margin-top: var(--space-md);
    text-align: center;
}

.contact-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Logo visibility fix */
.logo-png,
.hero-logo-png,
.sidebar-logo {
    /* Ensure logo is always visible */
    filter: 
        brightness(0) 
        saturate(100%) 
        invert(48%) 
        sepia(96%) 
        saturate(2618%) 
        hue-rotate(158deg) 
        brightness(104%) 
        contrast(101%)
        drop-shadow(0 0 8px rgba(0, 212, 255, 0.4)) !important;
    
    transition: all 0.3s ease;
    opacity: 1 !important; /* Force visibility */
}

/* Make sure the logo is not hidden by any other styles */
.nav-logo .logo-png,
.hero-logo .hero-logo-png,
.sidebar-header .sidebar-logo {
    display: block !important;
    visibility: visible !important;
}

/* Responsive Design for Additional Styles */
@media (max-width: 768px) {
    .stats-display {
        grid-template-columns: 1fr;
    }
    
    .tech-card.featured {
        grid-column: span 1;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-icon {
        margin: 0 auto var(--space-sm);
    }
    
    .solutions-timeline::before {
        display: none;
    }
    
    .solution-icon {
        font-size: 3rem; /* Smaller on mobile */
    }
}

@media (max-width: 480px) {
    .press-title {
        font-size: 1.4rem;
    }
    
    .stat-box .stat-number {
        font-size: 1.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .solution-icon {
        font-size: 2.5rem; /* Even smaller on small mobile */
    }
}