/* Services Section Responsive Styles */

/* Large Devices (1024px and below) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services {
        padding: 4rem 0;
    }
}

/* Medium Devices (768px and below) */
@media (max-width: 768px) {
    .services {
        padding: 3rem 0;
    }

    .services .container {
        padding: 0 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 0;
        transform: none !important;
    }

    .service-card-inner {
        padding: 1.5rem;
        background: rgba(28, 40, 65, 0.95);
        border: 1px solid var(--service-gold);
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .icon-wrapper i {
        font-size: 1.75rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin: 0.75rem 0;
    }

    .service-features li {
        font-size: 0.95rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }

    .service-features li:last-child {
        border-bottom: none;
    }

    .service-card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* Maintain military precision in mobile */
    .service-card-inner::before {
        opacity: 0.98;
    }

    .service-features li::before {
        font-size: 1rem;
        margin-right: 0.75rem;
    }
}

/* Small Devices (576px and below) */
@media (max-width: 576px) {
    .services {
        padding: 2rem 0;
    }

    .services .container {
        padding: 0 0.75rem;
    }

    .service-card-inner {
        padding: 1.25rem;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 1.25rem;
    }

    .icon-wrapper i {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin: 0.5rem 0;
    }

    .service-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    /* Progressive loading for mobile */
    .service-card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s ease 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; }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
