/* =========================================
   SERVICES PAGE STYLES (css/services.css)
   ========================================= */

/* Page Header Styles */
/* Now Global in style.css */

/* Staggered List Animation */
.animated-list li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

/* When parent has reveal-visible, trigger children */
.reveal-item.reveal-visible .animated-list li {
    opacity: 1;
    transform: translateX(0);
}

.reveal-item.reveal-visible .animated-list li:nth-child(1) {
    transition-delay: 0.2s;
}

.reveal-item.reveal-visible .animated-list li:nth-child(2) {
    transition-delay: 0.3s;
}

.reveal-item.reveal-visible .animated-list li:nth-child(3) {
    transition-delay: 0.4s;
}

.reveal-item.reveal-visible .animated-list li:nth-child(4) {
    transition-delay: 0.5s;
}

/* Service Images */
.service-img {
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    /* Fast transform for smooth tilt */
    will-change: transform;
    cursor: pointer;
}

.service-img:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
    z-index: 10;
}

.services-grid {
    padding-top: 40px;
    /* Add spacing back */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--color-white);
    padding: 40px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.cta-section {
    text-align: center;
    background-color: var(--color-bg-secondary);
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}


.menu-toggle {
    width: 26px;
    height: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    height: 2px;
    width: 100%;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
}

/* ACTIVE STATE */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* Show only on mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}