/* Custom styles for FCT - extends base styles */

/* Additional homepage enhancements */
.hero-card {
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

/* Service cards enhancements */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.05), transparent);
    transition: right 0.5s;
}

.service-card:hover::after {
    right: 100%;
}

/* Enhanced button styles */
.btn-cta-primary:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-cta-secondary:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Logo styling enhancements */
.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Mobile optimizations */
@media (max-width: 576px) {
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
    }
    
    .service-icon {
        font-size: 2rem !important;
    }
    
    .service-title {
        font-size: 1.25rem !important;
    }
    
    .service-description {
        font-size: 1rem !important;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .service-card {
        background: #2d3748;
        color: #e2e8f0;
        border-color: #4a5568;
    }
    
    .service-description {
        color: #cbd5e0;
    }
    
    .service-features li {
        color: #a0aec0;
    }
}

/* Print styles */
@media print {
    .header,
    .cta,
    footer {
        display: none;
    }
    
    .service-card {
        break-inside: avoid;
        margin-bottom: 1rem;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
