/* =========================================
   GENERAL SETTINGS
========================================= */

.consultancy-page {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #222222;
    overflow-x: hidden;
}

.consultancy-page *,
.consultancy-page *::before,
.consultancy-page *::after {
    box-sizing: border-box;
}

.consultancy-page main {
    margin: 0;
    padding: 0;
}


/* =========================================
   FIXED HEADER
========================================= */

.consultancy-page #mainHeader {
    position: fixed !important;

    top: 12px;
    left: 50%;

    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 1600px;

    margin: 0;

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);

    z-index: 1050;

    transition: box-shadow 0.3s ease;
}

.consultancy-page #mainHeader.scrolled {
    background: #ffffff;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}


/* =========================================
   BANNER SECTION
========================================= */

.consultancy-banner {
    position: relative;

    width: 100%;
    height: 420px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #dddddd;
}


/* =========================================
   FULL WIDTH BANNER IMAGE
========================================= */

.consultancy-page .consultancy-banner-image {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    max-width: none !important;

    height: 100% !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    z-index: 0;
}

.consultancy-page .consultancy-banner-image img {
    position: absolute !important;

    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: 100% !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none;
    border-radius: 0;

    transform: none !important;
}


/* =========================================
   BANNER OVERLAY
========================================= */

.consultancy-banner-overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.15);

    z-index: 1;
}


/* =========================================
   BANNER CONTENT
========================================= */

.consultancy-banner-container {
    position: relative;

    width: 100%;

    padding: 80px 30px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    z-index: 2;
}


/* =========================================
   BREADCRUMB
========================================= */

.consultancy-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    font-size: 14px;
    font-weight: 500;

    color: #ffffff;

    animation: consultancyFadeRight 1s ease both;
}

.consultancy-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.3s ease;
}

.consultancy-breadcrumb a:hover {
    color: #ffb800;
}

.consultancy-breadcrumb i {
    font-size: 13px;

    color: #ffffff;
}

.consultancy-breadcrumb span {
    color: #ffffff;
}


/* =========================================
   BANNER TITLE
========================================= */

.consultancy-banner-title {
    margin: 0;

    font-size: 34px;
    font-weight: 600;
    line-height: 1.4;

    color: #ffffff;

    text-align: right;

    animation: consultancyFadeLeft 1s ease both;
}


/* =========================================
   MAIN CONTENT SECTION
========================================= */

.consultancy-content {
    width: 100%;

    padding: 30px 60px 25px;

    background: #ffffff;
}

.consultancy-content-container {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;
}


/* =========================================
   MAIN TITLE
========================================= */

.consultancy-main-title {
    margin: 0 0 25px;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.4;

    text-align: center;

    color: #222222;
}


/* =========================================
   INTRODUCTION
========================================= */

.consultancy-introduction {
    margin: 0 0 22px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;

    color: #222222;
}


/* =========================================
   SERVICES AND IMAGE GRID
========================================= */

.consultancy-services-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 40px;

    margin-bottom: 20px;
}


/* =========================================
   SERVICES LIST
========================================= */

.consultancy-services {
    width: 100%;
}

.consultancy-services-list {
    list-style: none;

    margin: 0;
    padding: 0;
}

.consultancy-services-list li {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 10px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;

    color: #995000;

    transition: transform 0.3s ease;
}

.consultancy-services-list li:last-child {
    margin-bottom: 0;
}

.consultancy-services-list li i {
    flex-shrink: 0;

    margin-top: 3px;

    font-size: 22px;

    color: #000000;
}

.consultancy-services-list li:hover {
    transform: translateX(5px);
}


/* =========================================
   RIGHT SIDE CONSULTANCY IMAGE
========================================= */

.consultancy-image-container {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.consultancy-main-image {
    display: block;

    width: 100%;
    max-width: 500px;

    height: auto;

    aspect-ratio: 5 / 3;

    object-fit: cover;
    object-position: center;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);

    transition: transform 0.4s ease,
                box-shadow 0.4s ease;
}

.consultancy-main-image:hover {
    transform: scale(1.02);

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.30);
}


/* =========================================
   DESCRIPTION
========================================= */

.consultancy-description {
    width: 100%;

    margin-top: 20px;
}

.consultancy-description p {
    margin: 0 0 18px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;

    text-align: justify;

    color: #222222;
}

.consultancy-description p:last-child {
    margin-bottom: 0;
}

.consultancy-description strong {
    font-weight: 600;
}


/* =========================================
   CONNECT WITH US SECTION
========================================= */

.consultancy-connect {
    width: 100%;

    padding: 15px 10px;

    background: #f0f0f2;
}

.consultancy-connect-container {
    width: 100%;

    display: grid;

    grid-template-columns: 2fr 1fr;

    align-items: center;

    gap: 15px;
}

.consultancy-connect-container p {
    margin: 0;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;

    color: #222222;
}

.consultancy-connect-btn {
    justify-self: start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 10px 16px;

    background: #000000;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 4px;

    transition: background 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

.consultancy-connect-btn:hover {
    background: #ffb800;
    color: #111111;

    transform: translateY(-2px);
}


/* =========================================
   SCROLL REVEAL ANIMATIONS
========================================= */

.consultancy-reveal.animate-reveal {
    opacity: 0;

    transform: translateY(35px);

    transition: opacity 0.9s ease,
                transform 0.9s ease;
}

.consultancy-reveal-left.animate-reveal {
    opacity: 0;

    transform: translateX(-40px);

    transition: opacity 0.9s ease,
                transform 0.9s ease;
}

.consultancy-reveal-right.animate-reveal {
    opacity: 0;

    transform: translateX(40px);

    transition: opacity 0.9s ease,
                transform 0.9s ease;
}

.consultancy-reveal.animate-reveal.visible,
.consultancy-reveal-left.animate-reveal.visible,
.consultancy-reveal-right.animate-reveal.visible {
    opacity: 1;

    transform: translate(0, 0);
}


/* =========================================
   BANNER ANIMATIONS
========================================= */

@keyframes consultancyFadeRight {

    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

@keyframes consultancyFadeLeft {

    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    .consultancy-page #mainHeader {
        top: 10px;

        width: calc(100% - 30px);

        border-radius: 18px;
    }

    .consultancy-banner {
        height: 380px;
    }

    .consultancy-banner-title {
        font-size: 30px;
    }

    .consultancy-content {
        padding: 30px 35px;
    }

    .consultancy-main-title {
        font-size: 32px;
    }

    .consultancy-services-grid {
        gap: 25px;
    }

    .consultancy-services-list li {
        font-size: 15px;
    }

    .consultancy-description p {
        font-size: 15px;
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .consultancy-page #mainHeader {
        top: 8px;

        width: calc(100% - 20px);

        border-radius: 15px;
    }

    .consultancy-banner {
        height: 350px;
    }

    .consultancy-banner-container {
        padding: 70px 20px 0;

        flex-direction: column-reverse;

        justify-content: center;

        gap: 15px;
    }

    .consultancy-banner-title {
        font-size: 28px;

        text-align: center;
    }

    .consultancy-breadcrumb {
        font-size: 12px;

        justify-content: center;

        gap: 10px;
    }

    .consultancy-content {
        padding: 30px 20px;
    }

    .consultancy-main-title {
        font-size: 28px;

        margin-bottom: 20px;
    }

    .consultancy-introduction {
        font-size: 15px;

        text-align: justify;
    }

    .consultancy-services-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .consultancy-services-list li {
        font-size: 15px;
    }

    .consultancy-services-list li i {
        font-size: 20px;
    }

    .consultancy-image-container {
        justify-content: center;
    }

    .consultancy-main-image {
        max-width: 100%;
    }

    .consultancy-description p {
        font-size: 15px;

        line-height: 1.8;
    }

    .consultancy-connect {
        padding: 20px 15px;
    }

    .consultancy-connect-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .consultancy-connect-container p {
        font-size: 14px;
    }

    .consultancy-connect-btn {
        justify-self: center;
    }

}


/* =========================================
   SMALL MOBILE RESPONSIVE
========================================= */

@media (max-width: 480px) {

    .consultancy-page #mainHeader {
        top: 5px;

        width: calc(100% - 16px);

        border-radius: 12px;
    }

    .consultancy-banner {
        height: 300px;
    }

    .consultancy-banner-title {
        font-size: 24px;
    }

    .consultancy-breadcrumb {
        font-size: 11px;
    }

    .consultancy-main-title {
        font-size: 25px;
    }

    .consultancy-content {
        padding: 25px 15px;
    }

    .consultancy-services-list li {
        font-size: 14px;
    }

    .consultancy-introduction,
    .consultancy-description p {
        font-size: 14px;
    }

    .consultancy-connect-container p {
        font-size: 13px;
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

.consultancy-page main a:focus-visible {
    outline: 3px solid #ffb800;

    outline-offset: 4px;
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .consultancy-breadcrumb,
    .consultancy-banner-title {
        animation: none;
    }

    .consultancy-reveal.animate-reveal,
    .consultancy-reveal-left.animate-reveal,
    .consultancy-reveal-right.animate-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }

    .consultancy-page #mainHeader,
    .consultancy-main-image,
    .consultancy-services-list li,
    .consultancy-connect-btn,
    .consultancy-breadcrumb a {
        transition: none;
    }

}