﻿/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #fafafa;
    scroll-behavior: smooth;
}

/* ===== HERO SECTION ===== */
.accounting-hero {
    background: url('https://images.unsplash.com/photo-1554224154-22dec7ec8818?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .accounting-hero .overlay {
        background: rgba(0, 0, 0, 0.6);
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.hero-content {
    text-align: center;
    color: #fff;
    animation: fadeInUp 1s ease-out;
    padding: 0 20px;
}

.accounting-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #ffcc00;
}

.accounting-hero p {
    font-size: 1.2rem;
}

/* ===== SERVICES SECTION ===== */
.accounting-services {
    text-align: center;
    padding: 60px 10%;
    background-color: #fff;
}

    .accounting-services h2 {
        font-size: 2rem;
        color: #2c3e50;
        margin-bottom: 40px;
        position: relative;
    }

        .accounting-services h2::after {
            content: '';
            width: 80px;
            height: 4px;
            background: #f4b400;
            display: block;
            margin: 10px auto 0;
            border-radius: 2px;
        }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ===== SERVICE CARD ===== */
.service-card {
    background: #f9fafc;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    text-align: center;
    overflow: hidden;
    position: relative;
}

    .service-card a {
        display: block;
        overflow: hidden;
        border-radius: 12px;
    }

    .service-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 12px;
        transition: transform 0.5s ease, filter 0.4s ease;
    }

    /* Zoom + brightness effect on hover */
    .service-card:hover img {
        transform: scale(1.08);
        filter: brightness(1.1);
    }

    /* Lift and glow on hover */
    .service-card:hover {
        background: #eef5ff;
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .service-card h3 {
        font-size: 1.3rem;
        color: #003366;
        margin-bottom: 10px;
        transition: color 0.3s ease;
    }

    .service-card:hover h3 {
        color: #0059b3;
    }

    .service-card p {
        font-size: 0.95rem;
        color: #555;
    }

/* ===== CTA SECTION ===== */
.accounting-cta {
    text-align: center;
    background: linear-gradient(135deg, #003366, #0059b3);
    color: #fff;
    padding: 60px 20px;
}

    .accounting-cta h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .accounting-cta p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

.call-btn {
    background: #f4b400;
    color: #003366;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

    .call-btn:hover {
        background: #ffe45e;
    }

/* ===== LIGHTBOX ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .accounting-hero h1 {
        font-size: 2.2rem;
    }

    .accounting-hero p {
        font-size: 1rem;
    }
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .accounting-services {
        padding: 40px 5%;
    }

        .accounting-services h2 {
            font-size: 1.6rem;
            margin-bottom: 25px;
        }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-top: 10px;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    /* Disable hover animation on mobile */
    .service-card:hover img {
        transform: none;
        filter: none;
    }

    .service-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
}

@media (max-width: 576px) {
    .accounting-hero {
        height: 55vh;
    }

        .accounting-hero h1 {
            font-size: 1.8rem;
        }

        .accounting-hero p {
            font-size: 0.9rem;
        }

    .accounting-cta p {
        font-size: 0.95rem;
    }

    .call-btn {
        font-size: 0.9rem;
        padding: 10px 22px;
    }

    .service-card img {
        height: 180px;
    }
}
