/**
 * Manufacturing Page Styles
 * KMS Technologies
 * Matching about-us design system: dark navy + gold accents
 */

/* ===================================================================
   MANUFACTURING HERO SECTION
   =================================================================== */
.mfg-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../homeSlider/large-scale-industrial-steel-structure-erection-india.webp") center center / cover no-repeat;
    overflow: hidden;
}

.mfg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(26, 26, 46, 0.92) 0%,
            rgba(22, 33, 62, 0.85) 100%);
    z-index: 1;
}

.mfg-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px 60px;
    max-width: 850px;
}

.mfg-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mfg-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* ===================================================================
   SHARED SECTION COMPONENTS
   =================================================================== */
.mfg-section {
    padding: 50px 0;
}

.mfg-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mfg-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    text-align: center;
}

.mfg-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 2px;
    margin: 12px auto 0;
}

.mfg-section-desc {
    text-align: center;
    font-size: 1.02rem;
    line-height: 1.85;
    color: #4b5563;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

/* Alternating section backgrounds */
.mfg-section--alt {
    background: linear-gradient(135deg, #f7f7f8 0%, #f4fafd 100%);
}

.mfg-section--white {
    background: #ffffff;
}

/* ===================================================================
   OVERVIEW SECTION (Two-column)
   =================================================================== */
.mfg-overview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mfg-overview-text {
    text-align: justify;
}

.mfg-overview-text p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #2d3748;
    margin-bottom: 1.25rem;
}

.mfg-overview-text p:last-of-type {
    margin-bottom: 2rem;
}

.mfg-overview-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mfg-overview-image::after {
    content: "";
    position: absolute;
    top: 15px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    z-index: -1;
}

.mfg-overview-image-placeholder {
    color: rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 2rem;
}

.mfg-overview-image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.mfg-overview-image-placeholder p {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ===================================================================
   BULLET LIST SECTIONS (Strategic Location, QC, Safety, Env)
   =================================================================== */
.mfg-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.mfg-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #2d3748;
}

.mfg-bullet-list li:last-child {
    border-bottom: none;
}

.mfg-check-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 3px;
}

/* ===================================================================
   FEATURE CARDS (3-col support cards)
   =================================================================== */
.mfg-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mfg-feature-card {
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.mfg-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.mfg-feature-card--green {
    background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
}

.mfg-feature-card--amber {
    background: linear-gradient(145deg, #fffbeb 0%, #ffffff 100%);
}

.mfg-feature-card--blue {
    background: linear-gradient(145deg, #eff6ff 0%, #ffffff 100%);
}

.mfg-feature-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #ffd700;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.2);
}

.mfg-feature-card-icon svg {
    width: 24px;
    height: 24px;
}

.mfg-feature-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.mfg-feature-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #6b7280;
    margin: 0;
}

/* ===================================================================
   COMPONENT GRID (Product Capabilities)
   =================================================================== */
.mfg-component-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.mfg-component-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(26, 26, 46, 0.06);
    transition: all 0.3s ease;
}

.mfg-component-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.mfg-component-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a1a2e, #252a48);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
}

.mfg-component-icon svg {
    width: 20px;
    height: 20px;
}

.mfg-component-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
}

/* ===================================================================
   FABRICATION PROCESS GRID
   =================================================================== */
.mfg-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mfg-process-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 26px;
    border: 1px solid rgba(26, 26, 46, 0.06);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.mfg-process-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #f59e0b, #d97706);
    border-radius: 0 0 2px 2px;
    transition: height 0.4s ease;
}

.mfg-process-card:hover::before {
    height: 100%;
}

.mfg-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(245, 158, 11, 0.15);
}

.mfg-process-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    margin-bottom: 18px;
    box-shadow: 0 6px 15px rgba(26, 26, 46, 0.2);
    transition: all 0.3s ease;
}

.mfg-process-card:hover .mfg-process-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a1a2e;
    transform: scale(1.05);
}

.mfg-process-icon svg {
    width: 26px;
    height: 26px;
}

.mfg-process-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.mfg-process-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

/* ===================================================================
   TWO-COLUMN INFO SECTION (Engineering Integration)
   =================================================================== */
.mfg-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.mfg-two-col-text {
    text-align: justify;
}

.mfg-two-col-text p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.mfg-two-col-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mfg-benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(26, 26, 46, 0.06);
    transition: all 0.3s ease;
}

.mfg-benefit-item:hover {
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateX(4px);
}

.mfg-benefit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
}

.mfg-benefit-icon svg {
    width: 20px;
    height: 20px;
}

.mfg-benefit-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.4;
}

/* ===================================================================
   APPLICATION GRID
   =================================================================== */
.mfg-app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.mfg-app-card {
    text-align: center;
    padding: 28px 16px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(26, 26, 46, 0.06);
    transition: all 0.3s ease;
}

.mfg-app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-color: rgba(245, 158, 11, 0.2);
}

.mfg-app-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #252a48);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.15);
    transition: all 0.3s ease;
}

.mfg-app-card:hover .mfg-app-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a1a2e;
    transform: scale(1.1) rotate(5deg);
}

.mfg-app-icon svg {
    width: 24px;
    height: 24px;
}

.mfg-app-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
}

/* ===================================================================
   CLIENT BENEFITS SECTION
   =================================================================== */
.mfg-client-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.mfg-client-card {
    text-align: center;
    padding: 30px 18px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(26, 26, 46, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mfg-client-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    transition: width 0.3s ease;
    border-radius: 2px 2px 0 0;
}

.mfg-client-card:hover::after {
    width: 60%;
}

.mfg-client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.mfg-client-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.15);
    transition: all 0.3s ease;
}

.mfg-client-card:hover .mfg-client-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a1a2e;
}

.mfg-client-icon svg {
    width: 24px;
    height: 24px;
}

.mfg-client-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
    line-height: 1.4;
}

.mfg-client-card p {
    font-size: 0.83rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* ===================================================================
   CTA BANNER (reuse about-us pattern)
   =================================================================== */
.mfg-cta-banner {
    position: relative;
    background: linear-gradient(135deg, #043352, #0b1138);
    overflow: hidden;
}

.mfg-cta-banner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.mfg-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    gap: 20px;
}

.mfg-cta-text {
    flex: 1;
}

.mfg-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}

.mfg-cta-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.mfg-cta-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffd700;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.25);
}

.mfg-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

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

/* Tablet */
@media (max-width: 991.98px) {
    .mfg-hero {
        min-height: 360px;
    }

    .mfg-hero-title {
        font-size: 2.25rem;
    }

    .mfg-section-title {
        font-size: 1.75rem;
    }

    .mfg-overview-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mfg-overview-image {
        min-height: 250px;
    }

    .mfg-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mfg-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .mfg-feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .mfg-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .mfg-hero {
        min-height: 320px;
    }

    .mfg-hero-content {
        padding: 70px 15px 50px;
    }

    .mfg-hero-title {
        font-size: 1.75rem;
    }

    .mfg-hero-subtitle {
        font-size: 1rem;
    }

    .mfg-section {
        padding: 40px 0;
    }

    .mfg-section .container {
        padding: 0 1.25rem;
    }

    .mfg-section-title {
        font-size: 1.5rem;
    }

    .mfg-section-desc {
        font-size: 0.95rem;
    }

    .mfg-process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mfg-process-card {
        padding: 24px 20px;
    }

    .mfg-component-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mfg-feature-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mfg-app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .mfg-client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .mfg-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .mfg-cta-title {
        font-size: 1.4rem;
    }

    .mfg-cta-banner::after {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .mfg-hero-title {
        font-size: 1.5rem;
    }

    .mfg-app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mfg-app-card {
        padding: 20px 12px;
    }

    .mfg-client-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .mfg-client-card {
        padding: 22px 14px;
    }

    .mfg-process-icon {
        width: 46px;
        height: 46px;
    }

    .mfg-process-icon svg {
        width: 22px;
        height: 22px;
    }
}