/**
 * Homepage Specific Styles - Global Service
 */

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: var(--text-4xl) !important;
    }

    .hero-subtitle {
        font-size: var(--text-lg) !important;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    /* Stats responsive */
    .hero-stats-container {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg);
    }

    /* Two column sections */
    .grid[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* Service Card Animation on Load */
.service-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Feature Card Hover */
.feature-card {
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

/* Brand Logo Card */
.brand-card {
    transition: all var(--transition-base);
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(64, 84, 178, 0.15);
    border-color: var(--color-primary) !important;
}

/* Counter animation */
.stat-number {
    font-size: var(--text-6xl);
    font-weight: 900;
    color: white;
    display: block;
    line-height: 1;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: var(--text-lg);
    margin-top: var(--space-sm);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Footer link hover */
footer a:hover {
    color: white !important;
}

footer a[style*="border-radius: 50%"]:hover {
    background: var(--color-primary) !important;
}
