﻿/* ================= COMMON ================= */
.acc-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: "Poppins", sans-serif;
}

.acc-section-header {
    margin-bottom: 50px;
}

    .acc-section-header.center {
        text-align: center;
    }

    .acc-section-header h2 {
        color: black;
        font-size: 34px;
        font-weight: 700;
    }

/* ================= ACCOUNTING BANNER ================= */
.accounting-banner {
    height:580px;
    background: linear-gradient(135deg, rgba(0,35,75,0.85), rgba(0,120,200,0.55));
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

    /* SUBTLE PATTERN OVERLAY */
    .accounting-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(255,255,255,0.08), transparent 60%);
        pointer-events: none;
    }

/* GRID LAYOUT */
.banner-grid {
    margin-top:20px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

/* LEFT CONTENT */
.banner-content h2 {
    font-size: 37px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}

.banner-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
}

.account-btn-primary {
    background: #fff;
    color: #0f4c81;
    display: inline-block;
    margin-top: 28px;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
}

/* RIGHT IMAGE */
.banner-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .banner-image img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35));
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .banner-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-content p {
        margin: 0 auto;
    }

    .banner-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .accounting-banner {
        padding: 80px 0;
        height:700px;
    }

    .banner-content h2 {
        font-size: 25px;
    }

    .banner-content p {
        font-size: 15px;
    }
    .banner-image {
        margin-top: 24px;
    }

        .banner-image img {
            max-height: 240px; /* 🔥 keeps image contained */
            object-fit: cover;
        }
}




/* ================= OVERVIEW ================= */
.accounting-overview {
    margin-top: 1px;
    padding: 90px 0;
    background: #ffffff;
}

.acc-overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* CONTENT */
.acc-overview-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

/* GAIN SECTION */
.acc-gain-section {
    margin-top: 30px;
}

    .acc-gain-section h4 {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 16px;
        color: #0f172a;
    }

/* TICK LIST */
.acc-gain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .acc-gain-list li {
        position: relative;
        padding-left: 34px;
        margin-bottom: 14px;
        font-size: 16px;
        color: #374151;
        line-height: 1.6;
    }

        /* TICK ICON */
        .acc-gain-list li::before {
            content: "✔";
            position: absolute;
            left: 0;
            top: 2px;
            font-size: 14px;
            color: #16a34a;
            background: rgba(22, 163, 74, 0.12);
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

/* IMAGE */
.acc-overview-image {
    display: flex;
    justify-content: center;
}

    .acc-overview-image img {
        margin-left: 100px;
        max-width: 120%;
        height: 450px;
        border-radius: 18px;
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .acc-overview-grid {
        grid-template-columns: 1fr;
    }

    .acc-overview-image {
        margin-top: 40px;
    }
}


/* ================= ACCOUNTING SERVICES ================= */
.accounting-services {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.acc-section-header h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #111827;
}

/* GRID */
.acc-services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

/* CARD */
.acc-service-item {
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 34px;
    position: relative;
    box-shadow: 0 18px 40px rgb(66 127 219 / 21%);
    transition: all 0.45s ease;
    overflow: hidden;
    will-change: transform;
    z-index: 1;
}

}

.acc-service-item:hover {
    z-index: 10; /* pulls only this card above others */
}


/* GRADIENT OVERLAY */
.acc-service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    opacity: 0;
    transition: opacity 0.45s ease;
}

/* ICON */
.acc-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(37,99,235,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

    .acc-service-icon i {
        font-size: 26px;
        color: #2563eb;
    }

/* TITLE */
.acc-service-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

/* DETAILS (EXPAND AREA) */
.acc-service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    position: relative;
    z-index: 1;
}

    /* LIST */
    .acc-service-details ul {
        list-style: none;
        padding: 10px 0 0;
    }

    .acc-service-details li {
        font-size: 16px;
        color: #4b5563;
        line-height: 1.7;
        padding-left: 26px;
        margin-bottom: 10px;
        position: relative;
    }

        /* TICK */
        .acc-service-details li::before {
            content: "✔";
            position: absolute;
            left: 0;
            top: 2px;
            font-size: 13px;
            color: #16a34a;
        }

/* HOVER EFFECT */
.acc-service-item:not(:hover) {
    transition: opacity 0.35s ease, filter 0.35s ease;
}

.acc-services-list:hover .acc-service-item:not(:hover) {
    opacity: 0.55;
    filter: blur(0.2px);
}


.acc-service-item:hover {
    transform: translateY(-14px);
    box-shadow: 0 40px 90px rgba(37,99,235,0.18);
}

    .acc-service-item:hover::before {
        opacity: 0.05;
    }

    .acc-service-item:hover .acc-service-icon {
        background: #2563eb;
    }

        .acc-service-item:hover .acc-service-icon i {
            color: #ffffff;
        }

    .acc-service-item:hover .acc-service-details {
        max-height: 300px;
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .acc-services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= ACCOUNTING SERVICES – MOBILE STACK FIX ================= */

@media (max-width: 640px) {

    .acc-services-list:hover .acc-service-item:not(:hover) {
        opacity: 1;
        filter: none;
    }

    .acc-services-list {
        grid-template-columns: 1fr; /* ONE CARD PER ROW */
        gap: 24px;
    }

    .acc-service-item {
        width: 100%;
    }

        /* FIRST CARD ACTIVE BY DEFAULT */
        
        .acc-service-item:first-child {
            transform: translateY(-8px);
            box-shadow: 0 30px 70px rgba(37,99,235,0.18);
        }
            .acc-service-item:first-child::before {
                opacity: 0.05;
            }
            .acc-service-item:first-child .acc-service-icon {
                background: #2563eb;
            }

                .acc-service-item:first-child .acc-service-icon i {
                    color: #ffffff;
                }

            .acc-service-item:first-child .acc-service-details {
                max-height: 300px;
            }
}





/* ================= BENEFITS ================= */
.accounting-benefits {
    margin-top: -60px;
    padding: 90px 0;
    background: #ffffff;
}

.acc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.benefit-box {
    padding: 26px;
    border-left: 5px solid #2563eb;
    background: #f9fafb;
    border-radius: 14px;
}


/* ================= MAIN SECTION ================= */
.accounting-industries {
    margin-top: -100px;
    padding: 0 0 100px;
}

/* GRID LAYOUT */
.acc-industries-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* LEFT CONTENT */
.acc-industries-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.acc-industries-content p {
    font-size: 17px;
    color: #64748b;
    line-height: 1.7;
    max-width: 480px;
}

/* RIGHT ORBIT ALIGNMENT FIX */
.industries-orbit {
    margin: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .acc-industries-layout {
        margin-top:100px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .acc-industries-content p {
        margin: 0 auto;
    }

    .industries-orbit {
        margin-top: 60px;
    }
}


.industries-orbit {
    position: relative;
    width: 520px;
    height: 520px;
    margin: 90px auto 0;
}

/* Center */
.orbit-center {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 30px 80px rgba(37,99,235,0.5);
}

/* Orbit items */
.orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.35s ease;
}

    .orbit-item i {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #2563eb;
        box-shadow: 0 10px 30px rgba(0,0,0,0.18);
        transition: all 0.35s ease;
    }

    .orbit-item span {
        font-size: 14.5px;
        font-weight: 600;
        color: #0f172a;
        text-align: center;
        max-width: 120px;
    }

    /* Hover */
    .orbit-item:hover i {
        background: #2563eb;
        color: #ffffff;
        transform: scale(1.15);
    }

/* Positions */
.pos1 {
    top: 27px;
    left: 52%;
    transform: translateX(-50%);
}

.pos2 {
    top: 21%;
    right: 4px;
}

.pos3 {
    bottom: 18%;
    right: 14px;
}

.pos4 {
    bottom: -5px;
    left: 54%;
    transform: translateX(-50%);
}

.pos5 {
    bottom: 10%;
    left: 83px;
}

.pos6 {
    top: 11%;
    left: 36px;
}

.pos7 {
    top: 56%;
    left: -8px;
    transform: translateY(-50%);
}

/* Responsive */
@media (max-width: 768px) {
    .industries-orbit {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .orbit-center {
        position: static;
        margin: 0 auto 40px;
    }

    .orbit-item {
        position: static;
    }
}
/* ================= RESPONSIVE (MOBILE REWORK) ================= */

/* ================= MOBILE: CLEAN INDUSTRY LAYOUT ================= */
/* ================= HIDE ACCOUNTING EXPERTISE BUTTON ON MOBILE ================= */
@media (max-width: 768px) {

    .orbit-center {
        display: none;
    }
}


@media (max-width: 768px) {

    .industries-orbit {
        width: 100%;
        height: auto;
        margin: 50px auto 0;
        padding: 0 16px;
        display: block;
    }

    /* Header card */
    .orbit-center {
        position: static;
        width: 100%;
        height: auto;
        padding: 28px 20px;
        border-radius: 20px;
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 32px;
        box-shadow: 0 20px 45px rgba(37,99,235,0.35);
    }

    /* Industry grid */
    .orbit-items-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .orbit-item {
        position: static;
        background: #ffffff;
        border-radius: 16px;
        padding: 18px 14px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.08);
        text-align: center;
    }

        .orbit-item i {
            width: 46px;
            height: 46px;
            font-size: 20px;
            margin-bottom: 6px;
        }

        .orbit-item span {
            font-size: 13.5px;
            font-weight: 600;
            line-height: 1.4;
            max-width: 100%;
        }
}
/* ================= INDUSTRIES – MOBILE ALIGNMENT FIX ================= */
@media (max-width: 768px) {

    .orbit-items-wrapper {
        display: grid;
        grid-template-columns: 1fr; /* ONE ITEM PER ROW */
        gap: 18px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .orbit-item {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

        /* Safety reset for leftover desktop positioning */
        .orbit-item,
        .orbit-item i {
            left: auto !important;
            right: auto !important;
            top: auto !important;
            bottom: auto !important;
            transform: none !important;
        }
}


/* Extra small phones */
@media (max-width: 420px) {
    .orbit-items-wrapper {
        grid-template-columns: 1fr;
    }
}



/* ==================== FAQ STYLE 2 (ISOLATED) ==================== */

.faq2-wrapper {
    background: linear-gradient(180deg, #eef9fb 0%, #f7feff 100%);
    padding: 80px 20px;
    font-family: "Poppins", sans-serif;
    color: #222;
}

.faq2-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq2-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

.faq2-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq2-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

    .faq2-item:hover {
        background: #fafafa;
    }

.faq2-title {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px 0;
}

    .faq2-title::before {
        content: "›";
        font-size: 26px;
        font-weight: 600;
        color: #806666;
        transition: transform 0.3s ease;
    }

    .faq2-title h3 {
        font-size: 18px;
        font-weight: 500;
        margin: 0;
    }

/* Expand arrow */
.faq2-item.faq2-expanded .faq2-title::before {
    transform: rotate(90deg);
}

.faq2-content {
    max-height: 0;
    overflow: hidden;
    padding-left: 38px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

    .faq2-content p {
        margin: 15px 0;
        color: #555;
    }

/* Expanded state */
.faq2-item.faq2-expanded .faq2-content {
    padding-top: 8px;
    padding-bottom: 16px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1118px) {
    .faq2-list {
        margin: 0 40px;
    }
}

@media (max-width: 768px) {
    .faq2-list {
        margin: 0 20px;
    }
}

@media (max-width: 300px) {
    .faq2-list {
        margin: 0 10px;
    }

    .faq2-title {
        flex-direction: column;
        align-items: flex-start;
    }

        .faq2-title h3 {
            font-size: 15px;
        }
}
