/* --- About Page: Factory Background TOME Banner Section --- */
.about-factory-banner-section .col-md-7{
    width:50%;
}
.colWidth{
    width:50%;
}
.about-factory-banner-section {
    height: 600px;
    /* Adjust height to give proper visibility to the background image */
    /* overflow: hidden; */
    position: relative;
    color: white;
    /* Default text color within the section */
}

.about-factory-banner-section .background-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-factory-banner-section .background-image-wrapper img {
    /* These Bootstrap classes already handle primary sizing: img-fluid w-100 h-100 object-fit-cover */
    filter: brightness(0.9);
    /* Slightly darken the image for text contrast, if needed */
    display: block;
    /* Remove any extra space below the image */
}

.about-factory-banner-section .container {
    z-index: 1;
    /* Ensure content is above the background image */
    /* By default, Bootstrap's container will center content, which is what we want for the outer layout.
       The inner row and column classes will position the red box. */
}

.tome-established-box {
    background-color: #e62020;
    /* A strong red color from the image. You can use a variable. */
    padding: 30px 40px;
    /* Adjust padding as needed */
    border-radius: 5px;
    /* Slightly rounded corners */
    /* The image shows it's a solid block, no shadow or excessive transparency */
    /* The image shows no shadow, so I'm removing box-shadow. */
    text-align: left;
    /* Align text to the left within the red box */
}

/* new code for tome 2004 line */
.tome-established-box .tome-logo-text-inline {
    font-size: 4em;
    /* Adjust to match the large "TOME" */
    font-weight: 900;
    /* Extra bold */
    line-height: 1;
    /* Tight line height */
    color: white;
    /* Explicitly set color as it's not a direct descendant of text-white */
    white-space: nowrap;
    /* Prevent "TOME" from breaking */
}

.tome-established-box .established-slogan-inline {
    font-size: 1.5em;
    /* "Established In" text size */
    font-weight: 300;
    /* Light font weight */
    color: white;
    /* Explicitly set color */
    white-space: nowrap;
    /* Prevent "Established In" from breaking */
}

.tome-established-box .established-year-display-inline {
    font-size: 3.5em;
    /* Large "2004" text size */
    font-weight: 800;
    /* Very bold */
    line-height: 1;
    /* Tight line height */
    color: white;
    /* Explicitly set color */
    white-space: nowrap;
    /* Prevent "2004" from breaking */
}

/* end here */

.tome-established-box .tome-logo-text {
    font-size: 4em;
    /* Adjust to match the large "TOME" */
    font-weight: 900;
    /* Extra bold */
    line-height: 1;
    /* Tight line height */
    margin-bottom: 0.1em;
}

.tome-established-box .established-slogan {
    font-size: 1.5em;
    /* "Established In" text size */
    font-weight: 300;
    /* Light font weight */
    margin-bottom: 5px;
    line-height: 1.2;
}

.tome-established-box .established-year-display {
    font-size: 3.5em;
    /* Large "2004" text size */
    font-weight: 800;
    /* Very bold */
    line-height: 1;
    /* Tight line height */
}


/* responsive the 2004 line */
/* * Responsive adjustments for the TOME banner text  */
@media (max-width: 991.98px) {

    /* Tablets and smaller */
    .tome-established-box .tome-logo-text-inline {
        font-size: 3.2em;
    }

    .tome-established-box .established-slogan-inline {
        font-size: 1.3em;
    }

    .tome-established-box .established-year-display-inline {
        font-size: 2.8em;
    }
}

@media (max-width: 767.98px) {

    /* Mobile phones */
    .tome-established-box .tome-logo-text-inline {
        font-size: 2.5em;
    }

    .tome-established-box .established-slogan-inline {
        font-size: 1em;
    }

    .tome-established-box .established-year-display-inline {
        font-size: 2em;
    }

    /* Ensure flex-wrap works well if content needs to stack */
    .tome-established-box .d-flex {
        flex-direction: column;
        /* Stack on very small screens */
        align-items: flex-start;
        /* Align left when stacked */
    }

    .tome-established-box .tome-logo-text-inline,
    .tome-established-box .established-slogan-inline,
    .tome-established-box .established-year-display-inline {
        margin-bottom: 5px !important;
        /* Add some space when stacked */
        margin-right: 0 !important;
        /* Remove right margin when stacked */
    }
}

/* end here */
/* Responsive adjustments for the TOME banner */
@media (max-width: 991.98px) {

    /* Tablets and smaller */
    .about-factory-banner-section {
        height: 500px;
    }

    .tome-established-box {
        padding: 25px 30px;
    }

    .tome-established-box .tome-logo-text {
        font-size: 3.2em;
    }

    .tome-established-box .established-slogan {
        font-size: 1.3em;
    }

    .tome-established-box .established-year-display {
        font-size: 2.8em;
    }
}

@media (max-width: 767.98px) {

    /* Mobile phones */
    .about-factory-banner-section {
        height: 400px;
        /* Adjust height for mobile */
    }

    .tome-established-box {
        padding: 20px 25px;
    }

    .tome-established-box .tome-logo-text {
        font-size: 2.5em;
    }

    .tome-established-box .established-slogan {
        font-size: 1em;
    }

    .tome-established-box .established-year-display {
        font-size: 2em;
    }

    .about-factory-banner-section .container .row {
        justify-content: center !important;
        /* Center the box on very small screens */
    }

    .about-factory-banner-section .col-md-7 {
        width: 90%;
        /* Make the box a bit wider on small screens */
        max-width: 350px;
    }
}

/* about us skill section */
/* --- About Us with Skills Section --- */
.about-skills-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fcfcfc; /* Very light background */
}

.about-image-container {
    border-radius: 10px;
    overflow: hidden;
    /* Ensure image container has consistent sizing */
    display: flex;
    justify-content: center;
    align-items: center;
    /* You might want a fixed aspect ratio or max-height for images */
}

.about-image-container img {
    max-width: 100%; /* Ensures image scales down */
    height: auto; /* Maintain aspect ratio */
    display: block;
    object-fit: cover;
}

.section-subheading {
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--minjon-orange, #ff6600); /* Fallback color if var is not defined */
}

.section-main-heading {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--minjon-dark-text, #333); /* Fallback color */
}

.about-description {
    font-size: 1em;
    line-height: 1.7;
    color: #666;
    text-align: justify;
}

/* Skill Bars Styling */
.skills-container {
    margin-top: 30px;
    width: 100%; /* Ensure container takes full available width */
}

.skill-item {
    margin-bottom: 25px; /* Space between skill bars */
}

.skill-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--minjon-dark-text, #333);
    white-space: nowrap; /* Prevent title from wrapping */
}

.skill-percentage {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--minjon-dark-text, #333);
    min-width: 40px; /* Ensure space for percentage text */
    text-align: right;
}

.progress {
    height: 10px; /* Height of the progress bar */
    border-radius: 5px; /* Rounded corners for the bar */
    background-color: #e9ecef; /* Light grey background for the empty part of the bar */
    overflow: hidden; /* Ensure inner bar respects border-radius */
    width: 100%; /* Ensure progress bar itself takes full width */
}

.progress-bar {
    background-color: var(--minjon-orange, #ff6600) !important; /* Use your orange color */
    transition: width 1.5s ease-in-out; /* Smooth animation for width change */
    border-radius: 5px; /* Ensure progress bar itself is rounded */
    /* Ensure initial state for animation */
    width: 0%; /* Start at 0% width for animation */
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .section-subheading,
    .section-main-heading,
    .about-description {
        text-align: center; /* Center content on smaller screens */
    }

    .about-image-container {
        margin-bottom: 30px; /* Add space below image when stacked */
    }

    /* For skill bars on medium/tablet screens, you might still want titles/percentages aligned,
       but the skills container should not be too wide */
    .skills-container {
        max-width: 500px; /* Constrain width of skills container */
        margin-left: auto;
        margin-right: auto;
    }

    /* Text alignment for the skill titles and percentages within the constrained container */
    .skill-item .d-flex {
        justify-content: space-between; /* Keeps them separated */
    }
}

@media (max-width: 767.98px) {
    .section-main-heading {
        font-size: 2em;
    }

    .about-description {
        font-size: 0.9em;
        padding: 0 15px; /* Add some padding */
    }

    .skill-title,
    .skill-percentage {
        font-size: 1em;
    }

    /* Further adjust skills container for smaller phones */
    .skills-container {
        max-width: 100%; /* Allow full width again if needed */
        padding: 0 15px; /* Add horizontal padding for content */
    }
}

@media (max-width: 575.98px) {
    .section-main-heading {
        font-size: 1.8em;
    }
    .about-description {
        font-size: 0.85em;
    }
    .skill-title,
    .skill-percentage {
        font-size: 0.9em;
    }
}

/* jpurney seciton css */
/* --- Mission, Vision, Values Section (from about3.png) --- */
.mission-vision-values-section {
    background-color: #f8f9fa;
    /* Light grey background for the section */
    padding: 60px 0;
    /* Top and bottom padding */
}

.mvv-card {
    background-color: #fff;
    /* White background for each card */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Soft shadow as seen in the image */
    padding: 30px;
    height: 100%;
    /* Ensure all cards are the same height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align content to the top */
    text-align: center;
    /* Center align content within the card */
}

.mvv-card h3 {
    font-size: 2em;
    /* Adjust heading size */
    font-weight: bold;
    margin-bottom: 20px;
}

.mvv-heading-mission {
    color: #343a40;
    /* Dark grey/black for Mission heading */
}

.mvv-heading-vision {
    color: #ff8c00;
    /* Orange color for Vision heading, matching image */
}

.mvv-heading-values {
    color: #00aaff;
    /* Light blue color for Values heading, matching image */
}

.mvv-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    text-align: left;
    /* Text alignment for paragraphs */
    flex-grow: 1;
    /* Allows paragraph to take up available space */
}

.mvv-card ul {
    list-style: none;
    /* Remove default bullet points */
    padding: 0;
    margin: 0;
    text-align: left;
    /* Align list items to the left */
    flex-grow: 1;
    /* Allows list to take up available space */
}

.mvv-card ul li {
    font-size: 1em;
    line-height: 2;
    /* Spacing for list items */
    color: #555;
    position: relative;
    padding-left: 20px;
    /* Space for custom bullet */
}

.mvv-card ul li::before {
    content: '•';
    /* Custom bullet point */
    color: #007bff;
    /* Blue color for bullet points */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .mvv-card {
        padding: 20px;
    }

    .mvv-card h3 {
        font-size: 1.8em;
    }

    .mvv-card p,
    .mvv-card ul li {
        font-size: 0.95em;
    }
}

@media (max-width: 575.98px) {
    .mvv-card {
        margin-bottom: 20px;
        /* More space between stacked cards */
    }
}