/* ===== GLOBAL ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #f5f7fb;
    color: #1e293b;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.section-space {
    padding: 100px 8%;
}

/* ===== HERO ===== */

.mechanical-hero {
    position: relative;
    height: 70vh;
    background:
        linear-gradient(rgba(7, 16, 30, 0.72),
            rgba(7, 16, 30, 0.72)),
        url("images/mechanical-banner.jpg") center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* ===== SECTION HEADER ===== */

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 2.7rem;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-header p {
    max-width: 760px;
    margin: auto;
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.9;
}

/* ===== INTRO ===== */

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.7rem;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 28px;
}

.intro-text p {
    color: #475569;
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.95;
}

.intro-image img {
    border-radius: 28px;
    height: 620px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

/* ===== EQUIPMENT SECTION ===== */

.equipment-card {
    width: 320px;

    flex-shrink: 0;

    transition: 0.35s ease;
}


/* ===== IMAGE ===== */

.equipment-image {
    width: 100%;
    height: 240px;

    border-radius: 24px;

    overflow: hidden;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: 0.4s ease;
}

.equipment-card:hover img {
    transform: scale(1.03);
}

/* ===== TEXT ===== */

.equipment-info {
    padding-top: 18px;
}

.equipment-info h3 {
    font-size: 1.25rem;
    line-height: 1.45;

    color: #0f172a;

    text-align: center;

    font-weight: 700;
}

/* ===== RESPONSIVE ===== */

@media(max-width:768px) {

    .equipment-card {
        width: 250px;
    }

    .equipment-image {
        height: 190px;
    }

    .equipment-info h3 {
        font-size: 1rem;
    }

}
/* ===== SERVICES ===== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.service-item {
    background: white;
    padding: 24px 28px;
    border-radius: 18px;
    border: 1px solid #dbe4f0;
    color: #1e293b;
    font-weight: 600;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #2563eb;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

/* ===== ENVIRONMENT ===== */

.environment-section {
    background: white;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.environment-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 36px;
    border: 1px solid #e2e8f0;
    transition: 0.3s ease;
}

.environment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.environment-card h3 {
    font-size: 1.35rem;
    color: #0f172a;
    margin-bottom: 18px;
    line-height: 1.3;
}

.environment-card p {
    color: #64748b;
    line-height: 1.9;
    font-size: 0.96rem;
}

/* ===== CTA ===== */

.mechanical-cta {
    background:
        linear-gradient(rgba(7, 16, 30, 0.88),
            rgba(7, 16, 30, 0.88)),
        url("images/mechanical-cta.jpg") center/cover no-repeat;

    padding: 120px 8%;
    text-align: center;
}

.cta-content {
    max-width: 760px;
    margin: auto;
}

.cta-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 36px;
    background: #2563eb;
    color: white;
    border-radius: 999px;

    font-weight: 600;
    font-size: 0.95rem;

    transition: 0.3s ease;
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */

@media(max-width: 1100px) {

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-image img {
        height: 500px;
    }

}

@media(max-width: 768px) {

    .section-space {
        padding: 80px 7%;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-header h2,
    .intro-text h2,
    .cta-content h2 {
        font-size: 2.1rem;
    }

    .equipment-image {
        height: 220px;
    }

    .environment-card {
        padding: 30px;
    }

}

@media(max-width: 560px) {

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 0.98rem;
    }

    .equipment-grid,
    .services-grid,
    .environment-grid {
        grid-template-columns: 1fr;
    }

    .equipment-image {
        height: 200px;
    }

}