/* Consultancy Page */

.consultancy-hero-section {
    position: relative;
    min-height: 88vh;
    margin-top: -80px;
    overflow: hidden;
}

.consultancy-hero-bg,
.consultancy-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.consultancy-hero-bg img {
    object-fit: cover;
}

.consultancy-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(1, 75, 111, 0.8), rgba(23, 156, 216, 0.65));
}

.consultancy-intro-section {
    padding-top: 70px;
}

.consultancy-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0;
    margin-left: clamp(1rem, 4vw, 3rem);
    padding-top: clamp(9rem, 14vw, 12rem);
    color: #fff;
}

.consultancy-hero-content h1 {
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 8px;
}

.consultancy-hero-content p {
    font-size: 1rem;
    line-height: 1.75;
}

.service-block {
    padding: 90px 0;
    background: #fff;
}

.service-block.alt {
    background: #f8fafc;
}

.service-grid {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.service-grid.single-col {
    grid-template-columns: 1fr;
    max-width: 1100px;
}

.service-text h1 {
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
    color: #000;
}

.service-text h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: #000;
    margin-bottom: 8px;
}

.service-text h3 {
    color: #179cd8;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.service-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.service-text ul {
    margin-top: 10px;
    padding-left: 20px;
    color: #444;
}

.service-text li {
    margin-bottom: 6px;
}

.service-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mobile-flow-heading {
    display: none;
}

.industries-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 24px;
}

.faq-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e6eef3;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 18px 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-weight: 700;
    color: #123f5a;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 0 20px 18px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .service-grid {
        grid-template-columns: 1fr;
        padding: 0 25px;
    }
    .industries-list {
        grid-template-columns: 1fr;
    }

    .faq-wrapper {
        padding: 0 25px;
    }
}

@media (max-width: 767.98px) {
    /* Mobile full-width layout with consistent 10px side inset */
    body.page-consultancy .consultancy-hero-section > .container-fluid,
    body.page-consultancy .service-block .container-fluid,
    body.page-consultancy .faq-section .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.page-consultancy .service-grid,
    body.page-consultancy .faq-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .consultancy-hero-overlay {
        background: linear-gradient(135deg, rgba(1, 75, 111, 0.82) 0%, rgba(23, 156, 216, 0.72) 100%) !important;
    }

    .mobile-flow-grid {
        display: flex;
        flex-direction: column;
    }

    .mobile-flow-grid .mobile-flow-heading {
        display: block;
        order: 1;
        margin-bottom: 14px;
    }

    .mobile-flow-grid .service-image {
        order: 2;
    }

    .mobile-flow-grid .service-text {
        order: 3;
    }

    .mobile-flow-grid .service-text > h1,
    .mobile-flow-grid .service-text > h2 {
        display: none;
    }

    .service-image img {
        min-height: 300px;
    }
}
