/* ==================================================
   MAYINKRISH
   ENGINEERING SERVICES PAGE
================================================== */


/* ==================================================
   HERO
================================================== */

.mk-engineering-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background:
        url("../images/engineering-services.jpg")
        center center / cover no-repeat;
    overflow: hidden;
}

.mk-engineering-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.68) 52%,
            rgba(0, 0, 0, 0.35) 100%
        );
}

.mk-engineering-hero .container {
    position: relative;
    z-index: 2;
}

.mk-engineering-hero-content {
    max-width: 760px;
    padding: 80px 0;
}

.mk-engineering-hero .mk-section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--mk-yellow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.mk-engineering-hero h1 {
    margin: 0 0 22px;
    color: var(--mk-white);
    font-size: 56px;
    line-height: 1.08;
    font-weight: 700;
}

.mk-engineering-hero h1 strong {
    display: block;
    color: var(--mk-yellow);
    font-weight: 700;
}

.mk-engineering-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.8;
}

.mk-engineering-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.mk-engineering-hero .mk-btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--mk-white);
}

.mk-engineering-hero .mk-btn-outline:hover {
    background: var(--mk-white);
    color: var(--mk-primary);
}


/* ==================================================
   INTRO
================================================== */

.mk-engineering-intro {
    padding: 90px 0;
    background: var(--mk-white);
}

.mk-engineering-intro .mk-section-label,
.mk-engineering-heading .mk-section-label,
.mk-engineering-why .mk-section-label,
.mk-common-cta .mk-section-label {
    display: block;
    margin-bottom: 12px;
    color: var(--mk-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.mk-engineering-intro h2,
.mk-engineering-why h2 {
    margin: 0 0 22px;
    color: var(--mk-black);
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.mk-engineering-intro h2 strong,
.mk-engineering-why h2 strong {
    color: var(--mk-primary);
}

.mk-engineering-intro > .container p,
.mk-engineering-intro .col-lg-6 > p {
    color: #5f6368;
    font-size: 16px;
    line-height: 1.8;
}

.mk-engineering-intro-points {
    margin-top: 28px;
}

.mk-engineering-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.mk-engineering-point > span {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--mk-yellow);
    color: var(--mk-black);
    font-size: 13px;
}

.mk-engineering-point h4 {
    margin: 0 0 4px;
    color: var(--mk-black);
    font-size: 17px;
    font-weight: 700;
}

.mk-engineering-point p {
    margin: 0;
    color: #6b7075;
    font-size: 14px;
    line-height: 1.6;
}

.mk-engineering-intro-image {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-radius: 16px;
    background: #f2f2f2;
}

.mk-engineering-intro-image img {
    width: 100%;
    height: 480px;
    display: block;
    object-fit: cover;
}

.mk-engineering-image-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 10px;
    background: var(--mk-primary);
    color: var(--mk-white);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.mk-engineering-image-badge strong {
    color: var(--mk-yellow);
    font-size: 34px;
    line-height: 1;
}

.mk-engineering-image-badge span {
    font-size: 13px;
    line-height: 1.4;
}


/* ==================================================
   SERVICES
================================================== */

.mk-engineering-services {
    padding: 90px 0;
    background: #f7f8fa;
}

.mk-engineering-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.mk-engineering-heading h2 {
    margin: 0 0 16px;
    color: var(--mk-black);
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.mk-engineering-heading h2 strong {
    color: var(--mk-primary);
}

.mk-engineering-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #666b70;
    font-size: 16px;
    line-height: 1.7;
}

.mk-engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mk-engineering-card {
    position: relative;
    min-height: 320px;
    padding: 32px 30px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: var(--mk-white);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.mk-engineering-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--mk-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.mk-engineering-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 64, 128, 0.2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.mk-engineering-card:hover::before {
    transform: scaleX(1);
}

.mk-engineering-card-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 12px;
    background: rgba(0, 64, 128, 0.08);
    color: var(--mk-primary);
    font-size: 24px;
}

.mk-engineering-card-number {
    position: absolute;
    top: 28px;
    right: 28px;
    color: #e5e7eb;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
}

.mk-engineering-card h3 {
    margin: 0 0 12px;
    color: var(--mk-black);
    font-size: 23px;
    font-weight: 700;
}

.mk-engineering-card p {
    margin: 0 0 24px;
    color: #6b7075;
    font-size: 15px;
    line-height: 1.7;
}

.mk-engineering-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mk-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.mk-engineering-card a:hover {
    gap: 13px;
}

.mk-engineering-card a i {
    font-size: 12px;
}


/* ==================================================
   WHY MAYINKRISH
================================================== */

.mk-engineering-why {
    padding: 90px 0;
    background: var(--mk-white);
}

.mk-engineering-why h2 {
    font-size: 40px;
}

.mk-engineering-why > .container .col-lg-5 > p {
    margin-bottom: 28px;
    color: #666b70;
    font-size: 16px;
    line-height: 1.8;
}

.mk-engineering-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.mk-engineering-benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    border: 1px solid #e9ebee;
    border-radius: 12px;
    background: #fafafa;
}

.mk-benefit-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--mk-yellow);
    color: var(--mk-black);
}

.mk-engineering-benefit h3 {
    margin: 0 0 7px;
    color: var(--mk-black);
    font-size: 17px;
    font-weight: 700;
}

.mk-engineering-benefit p {
    margin: 0;
    color: #6b7075;
    font-size: 13px;
    line-height: 1.6;
}


/* ==================================================
   INDUSTRIES
================================================== */

.mk-engineering-industries {
    padding: 90px 0;
    background: #f7f8fa;
}

.mk-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.mk-industry-item {
    min-height: 100px;
    display: grid;
    grid-template-columns: 38px 1fr 18px;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: var(--mk-white);
    color: var(--mk-black);
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.mk-industry-item > i:first-child {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 64, 128, 0.08);
    color: var(--mk-primary);
}

.mk-industry-item span {
    font-size: 14px;
    font-weight: 700;
}

.mk-industry-item > i:last-child {
    font-size: 11px;
    color: var(--mk-primary);
}

.mk-industry-item:hover {
    transform: translateY(-4px);
    border-color: var(--mk-primary);
    background: var(--mk-primary);
    color: var(--mk-white);
}

.mk-industry-item:hover > i:first-child {
    background: var(--mk-yellow);
    color: var(--mk-black);
}

.mk-industry-item:hover > i:last-child {
    color: var(--mk-yellow);
}


/* ==================================================
   CTA
================================================== */

.mk-common-cta {
    padding: 75px 0;
    background: var(--mk-primary);
}

.mk-common-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.mk-common-cta .mk-section-label {
    color: var(--mk-yellow);
}

.mk-common-cta h2 {
    margin: 0 0 14px;
    color: var(--mk-white);
    font-size: 40px;
    line-height: 1.15;
}

.mk-common-cta h2 strong {
    color: var(--mk-yellow);
}

.mk-common-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
}

.mk-common-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.mk-common-cta .mk-btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--mk-white);
}

.mk-common-cta .mk-btn-outline:hover {
    background: var(--mk-white);
    color: var(--mk-primary);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1199px) {

    .mk-engineering-hero h1 {
        font-size: 50px;
    }

    .mk-engineering-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 991px) {

    .mk-engineering-hero {
        min-height: 450px;
    }

    .mk-engineering-hero-content {
        padding: 70px 0;
    }

    .mk-engineering-hero h1 {
        font-size: 44px;
    }

    .mk-engineering-intro,
    .mk-engineering-services,
    .mk-engineering-why,
    .mk-engineering-industries {
        padding: 70px 0;
    }

    .mk-engineering-intro-image {
        min-height: 400px;
    }

    .mk-engineering-intro-image img {
        height: 400px;
    }

    .mk-engineering-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-common-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 767px) {

    .mk-engineering-hero {
        min-height: 500px;
    }

    .mk-engineering-hero-content {
        padding: 60px 0;
    }

    .mk-engineering-hero h1 {
        font-size: 36px;
    }

    .mk-engineering-hero p {
        font-size: 15px;
    }

    .mk-engineering-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .mk-engineering-intro h2,
    .mk-engineering-heading h2,
    .mk-engineering-why h2 {
        font-size: 32px;
    }

    .mk-engineering-grid {
        grid-template-columns: 1fr;
    }

    .mk-engineering-benefits {
        grid-template-columns: 1fr;
    }

    .mk-industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-common-cta h2 {
        font-size: 32px;
    }

}


@media (max-width: 575px) {

    .mk-engineering-intro,
    .mk-engineering-services,
    .mk-engineering-why,
    .mk-engineering-industries {
        padding: 55px 0;
    }

    .mk-engineering-hero h1 {
        font-size: 32px;
    }

    .mk-engineering-intro-image,
    .mk-engineering-intro-image img {
        height: 350px;
        min-height: 350px;
    }

    .mk-engineering-image-badge {
        left: 15px;
        bottom: 15px;
    }

    .mk-industry-grid {
        grid-template-columns: 1fr;
    }

    .mk-engineering-card {
        min-height: auto;
    }

}<strong></strong>