/* Manufacturing Page Styles */

/* Our Capabilities Section */
.capabilities-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.capabilities-heading {
    text-align: center;
    margin-bottom: 40px;
}

.capabilities-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.capabilities-dot {
    width: 8px;
    height: 8px;
    background: #F2CE16;
    border-radius: 50%;
}

.capabilities-title {
    color: #D97706;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 24px;
    letter-spacing: 0.8px;
    padding: 0 8px;
}

.capabilities-main-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    line-height: 48px;
    margin-bottom: 40px;
}

.capabilities-main-title .blue-text {
    color: #152FBF;
}

.capabilities-main-title .yellow-text {
    color: #F2CE16;
}

.capabilities-card {
    background: white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 32px;
    height: 296px;
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.capabilities-card-icon {
    color: #111ABF;
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 16px;
}

.capabilities-card-title {
    color: #F2CE16;
    font-size: 24px;
    font-weight: 900;
    line-height: 32px;
    margin-bottom: 8px;
}

.capabilities-card-subtitle {
    color: #152FBF;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 8px;
}

.capabilities-card-description {
    color: #4B5563;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.capabilities-bottom-text {
    text-align: center;
    color: #4B5563;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    max-width: 800px;
    margin: 40px auto 0;
}

/* Ensure cards are in one line on desktop */
.capabilities-section .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 0 -15px;
}

.capabilities-section .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

@media (max-width: 991px) {
    .capabilities-section .row {
        flex-wrap: wrap;
    }
    
    .capabilities-section .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .capabilities-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .capabilities-main-title {
        font-size: 36px;
        line-height: 40px;
    }
    
    .capabilities-bottom-text {
        font-size: 18px;
        line-height: 26px;
    }
}

/* Product Categories Section */
.product-categories-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.product-categories-section .col-lg-12,
.product-categories-section .col-md-12 {
    width: 100% !important;
    max-width: 100% !important;
}

.product-categories-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px;
    margin: 0 -10px;
}

/* Default: 2 cards per row above 576px */
.product-categories-section .col-lg-12,
.product-categories-section .col-md-12 {
    flex: 0 0 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    margin-bottom: 20px;
}

.product-category-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-category-features {
    flex-grow: 1;
}

/* Responsive Design for Manufacturing Page */

/* Tablet and below (768px and down) */
@media (max-width: 768px) {
    /* Our Capabilities Section */
    .capabilities-section .col-lg-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px;
    }
    
    .capabilities-card {
        text-align: center;
        padding: 20px;
    }
    
    .capabilities-card-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .capabilities-card-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .capabilities-card-subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .capabilities-card-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .capabilities-bottom-text {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 30px;
        text-align: center;
    }
    
    /* Product Categories Section */
    .product-categories-section .col-lg-6,
    .product-categories-section .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-bottom: 30px;
    }
    
    .product-categories-section .row {
        gap: 15px;
        margin: 0 -7.5px;
    }
    
    .product-category-card {
        margin-bottom: 20px;
    }
    
    .product-category-image {
        height: 200px;
        object-fit: cover;
    }
    
    .product-category-title {
        font-size: 20px;
    }
    
    .product-category-feature-text {
        font-size: 14px;
    }
    
    /* Complete Manufacturing List Section */
    .manufacturing-items-container .col-lg-4,
    .manufacturing-items-container .col-md-6 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
        padding: 0 5px;
    }
    
    .manufacturing-item {
        padding: 8px 10px;
    }
    
    .manufacturing-item-text {
        font-size: 14px;
    }
}


/* Mobile (576px and down) */
@media (max-width: 576px) {
    /* Our Capabilities Section */
    .capabilities-heading {
        margin-bottom: 30px;
    }
    
    .capabilities-main-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .capabilities-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .capabilities-card-icon {
        font-size: 1.8rem;
    }
    
    .capabilities-card-title {
        font-size: 16px;
    }
    
    .capabilities-card-subtitle {
        font-size: 14px;
    }
    
    .capabilities-card-description {
        font-size: 13px;
    }
    
    /* Product Categories Section */
    .product-categories-heading {
        margin-bottom: 30px;
    }
    
    .product-categories-main-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .product-categories-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 1 card per row at 576px and below */
    .product-categories-section .col-lg-12,
    .product-categories-section .col-md-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .product-category-image {
        height: 180px;
    }
    
    .product-category-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .product-category-title {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .product-category-feature {
        padding: 8px 0;
    }
    
    .product-category-feature-icon {
        width: 14px;
        height: 14px;
    }
    
    .product-category-feature-text {
        font-size: 13px;
        padding-left: 10px;
    }
    
    /* Complete Manufacturing List Section */
    .section-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .manufacturing-items-container .col-lg-4,
    .manufacturing-items-container .col-md-6 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
        padding: 0 3px;
    }
    
    .manufacturing-item {
        padding: 6px 8px;
        margin-bottom: 6px;
    }
    
    .manufacturing-item-dot {
        width: 6px;
        height: 6px;
        margin-right: 6px;
    }
    
    .manufacturing-item-text {
        font-size: 12px;
        line-height: 16px;
    }
}

/* Large tablets (992px and down) */
@media (max-width: 992px) and (min-width: 769px) {
    /* Our Capabilities Section - 2 cards per row */
    .capabilities-section .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-bottom: 20px;
    }
    
    /* Product Categories Section stays 2 per row */
    .product-categories-section .col-lg-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Extra small devices (480px and down) */
@media (max-width: 480px) {
    .capabilities-section,
    .product-categories-section,
    .complete-manufacturing-list-section {
        padding: 40px 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .capabilities-main-title,
    .product-categories-main-title,
    .section-title {
        font-size: 20px;
    }
    
    .product-category-image {
        height: 160px;
    }
    
    .manufacturing-item {
        margin-bottom: 10px;
    }
}

.product-categories-heading {
    text-align: center;
    margin-bottom: 40px;
}

.product-categories-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.product-categories-dot {
    width: 8px;
    height: 8px;
    background: #F2CE16;
    border-radius: 50%;
}

.product-categories-title {
    color: #D97706;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 24px;
    letter-spacing: 0.8px;
    padding: 0 8px;
}

/* Complete Manufacturing List Section */
.complete-manufacturing-list-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.section-label .dot-text {
    color: #FFCC00;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 20px;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0 15px;
}

.section-label .dot-text:before,
.section-label .dot-text:after {
    content: '•';
    color: #FFCC00;
    position: absolute;
    font-size: 20px;
    line-height: 14px;
}

.section-label .dot-text:before {
    left: 0;
}

.section-label .dot-text:after {
    right: 0;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 48px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title .blue-text {
    color: #152FBF;
}

.section-title .yellow-text {
    color: #FFCC00;
}

.section-description {
    color: #4B5563;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.manufacturing-items-container {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.manufacturing-items-container .col-lg-4,
.manufacturing-items-container .col-md-6 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 10px;
}

.manufacturing-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.manufacturing-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.manufacturing-item-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #FFCC00;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.manufacturing-item-text {
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
}

.product-categories-main-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    line-height: 48px;
    margin-bottom: 16px;
}

.product-categories-main-title .blue-text {
    color: #152FBF;
}

.product-categories-main-title .yellow-text {
    color: #F2CE16;
}

.product-categories-subtitle {
    text-align: center;
    color: #4B5563;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 40px;
}

.product-category-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.product-category-image-container {
    position: relative;
    height: 256px;
    overflow: hidden;
}

.product-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.product-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
}

.product-category-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    background: #F2CE16;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
}

.product-category-title {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: white;
    font-size: 24px;
    font-weight: 900;
    line-height: 32px;
    padding-right: 16px;
}

.product-category-features {
    padding: 24px;
}

.product-category-feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.product-category-feature:last-child {
    margin-bottom: 0;
}

.product-category-feature-icon {
    width: 16px;
    height: 16px;
    color: #F2CE16;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-category-feature-text {
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

@media (max-width: 991px) {
    .product-category-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .product-categories-main-title {
        font-size: 36px;
        line-height: 40px;
    }
    
    .product-categories-subtitle {
        font-size: 18px;
        line-height: 26px;
    }
}
