/* Apps specific styles with navy-blue/purple color scheme */
.apps-hero {
    background: var(--gradient-bg);
    padding: 6rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.apps-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(139, 92, 246, 0.4) 50%, rgba(30, 58, 138, 0.3) 100%);
}

.apps-hero-content {
    position: relative;
    z-index: 10;
}

.apps-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 700;
}

.apps-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.4;
}

.apps-grid {
    padding: 4rem 0;
    background: rgba(30, 58, 138, 0.1);
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    transition: var(--transition-normal);
    overflow: hidden;
}

.category-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: white;
    transition: var(--transition-normal);
}

.card-header:hover {
    background: rgba(255, 255, 255, 0.95);
}

.card-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.card-header h2 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.expand-icon {
    font-size: 1.5rem;
    color: #1e3a8a;
    transition: var(--transition-normal);
}

.category-card.expanded .expand-icon {
    color: #10b981;
}

.card-content {
    padding: 0 2rem 1.5rem;
    cursor: pointer;
}

.card-content p {
    color: white;
    margin: 0;
}

.card-expanded {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: white;
}

.app-list {
    padding: 2rem;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #8b5cf6 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.app-item:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #1e3a8a 100%);
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.app-item:last-child {
    margin-bottom: 0;
}

.app-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.app-icon img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.app-info {
    flex: 1;
}

.app-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.app-info p {
    color: white;
    margin: 0;
}

.app-action {
    flex-shrink: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition-normal);
    font-weight: 500;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    color: #a78bfa;
}

/* Animation keyframes */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .apps-hero {
        padding: 5rem 0 1.5rem;
    }
    
    .card-header {
        padding: 1rem 1.5rem;
    }
    
    .card-content {
        padding: 0 1.5rem 1rem;
    }
    
    .app-list {
        padding: 1.5rem;
    }
    
    .app-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .app-info {
        text-align: center;
    }
}

/* Professional Footer Styles */
.footer {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(139, 92, 246, 0.9) 50%, rgba(30, 58, 138, 0.95) 100%);
    color: var(--text-primary);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: left;
    align-self: flex-start;
}

.footer-section h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #a78bfa;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.2);
}

.social-link .icon {
    width: 24px;
    height: 24px;
    fill: var(--text-secondary);
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.social-link:hover .icon {
    fill: #a78bfa;
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: #a78bfa;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
