/* ===== Metal Fabrication Applications ===== */

.applications-section{
    position:relative;
    background-size:cover;
    background-position:center;
    overflow:hidden;
    margin-top: 50px;
}

.applications-section:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(15,20,28,.75); /* adjust opacity as desired */
    z-index:1;
}

.applications-section .container{
    position:relative;
    z-index:2;
}

/* Section heading */
.applications-section .section-head h2,
.applications-section .section-head p{
    color:#fff;
}

/* Cards */
.applications-section .wt-icon-box-wraper{
    height:100%;
    min-height:380px;
    border-radius:6px;
    background:#ffffff;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
    transition:.3s ease;
}

.applications-section .wt-icon-box-wraper:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.applications-section .icon-sm{
    font-size:42px;
    line-height:1;
    margin-bottom:20px;
}


.applications-section ul{
    list-style:none;
    padding:0;
    margin:20px 0 0;
}

.applications-section ul li{
    position:relative;
    padding:10px 0 10px 28px;
    border-bottom:1px solid #ececec;
    font-size:15px;
    line-height:1.5;
}

.applications-section ul li:last-child{
    border-bottom:none;
}

.applications-section ul li:before{
    content:"\F26E";
    font-family:"bootstrap-icons";
    position:absolute;
    left:0;
    top:10px;
}

.applications-section .wt-icon-box-wraper{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(3px);
    border:1px solid rgba(255,255,255,.15);
}

.applications-section .wt-title{
    color:#fff;
}

.applications-section ul li{
    color:#f2f2f2;
    border-bottom:1px solid rgba(255,255,255,.12);
}



.hero-industry{
    padding:140px 0;
    max-width:850px;
    margin:0 auto;
}

.hero-subtitle{
    display:inline-block;
    color:#fff;
    letter-spacing:3px;
    text-transform:uppercase;
    font-size:14px;
    margin-bottom:15px;
    border-bottom:2px solid #79a6b1;
    padding-bottom:8px;
}

.hero-industry h1{
    font-size:58px;
    font-weight:700;
    line-height:1.15;
    margin-bottom:25px;
}

.hero-industry p{
    font-size:22px;
    line-height:1.7;
    max-width:760px;
    margin:0 auto 35px;
    opacity:.95;
}

@media(max-width:991px){

.hero-industry{
    padding:100px 20px;
}

.hero-industry h1{
    font-size:40px;
}

.hero-industry p{
    font-size:18px;
}

}

.equipment-card{
    position:relative;
    overflow:hidden;
    height:520px;
}

.equipment-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s ease;
}

.equipment-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:40px;
    color:#fff;
    background:linear-gradient(to top,
        rgba(0,0,0,.92) 5%,
        rgba(0,0,0,.65) 45%,
        rgba(0,0,0,.0) 100%);
}

.equipment-category{
    display:inline-block;
    font-size:11px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#ffffff;
    margin-bottom:12px;
}

.equipment-overlay h3{
    color:#fff;
    font-size:30px;
    margin-bottom:15px;
}

.equipment-overlay p{
    color:#f2f2f2;
    margin-bottom:20px;
    line-height:1.7;
}
/*==========================
    Brand Section
==========================*/

.brand-section {
    position: relative;
    border-bottom: 1px solid #eaeaea; 
}

.brand-section:last-of-type {
    border-bottom: none;
}

/* Updated Image Rules */
.brand-image img {
    width: 100%;
    max-width: 380px; /* Caps the image size so it doesn't get too large */
    margin: 0 auto; /* Centers the image */
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,.09);
}

.brand-logo {
    max-height: 90px; /* Kept to a reasonable size so it acts like a clean header */
    width: auto;
    margin-bottom: 15px;
    display: block;
}

.brand-info {
    margin-top: 35px;
}

.brand-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 25px;
    transition: .3s;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.brand-card i {
    font-size: 28px;
    margin-bottom: 15px;
}

.brand-card h5 {
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.brand-card p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/*==========================
    New Brand Button Area
==========================*/

.brand-action-area {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
}

.brand-action-area a {
    margin: 10px; 
    display: inline-block;
}


/*==========================
    Mobile Specific Adjustments
==========================*/

.brand-logo-mobile {
    max-height: 70px; /* Adjust as needed for mobile aesthetics */
    width: auto;
    display: inline-block;
}

@media (max-width: 991px) {
    .brand-image img {
        max-width: 250px; /* Makes the image significantly smaller on phones */
        aspect-ratio: 1 / 1; /* Forces the 4:5 image into a perfect square */
        object-fit: cover; /* Crops the center of the image cleanly without stretching */
        margin-bottom: 15px; /* Adds a bit of breathing room before the text starts */
    }
}

.brand-section {
    position: relative;
    border-bottom: 1px solid #eaeaea; 
    
    /* Change 100px to the exact height of your sticky navigation bar */
    scroll-margin-top: 200px; 
}

/*====================================
    SLIDER TIMELINE STYLES
====================================*/
.timeline-section {
    position: relative;
}

.timeline-wrap {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 50px;
}

/* The horizontal track line */
.timeline-line {
    position: absolute;
    top: 50px; /* Aligns with the top of the notch */
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #2A3C45;
    z-index: 1;
}

/* Individual Slider Item */
.timeline-item {
    position: relative;
    padding-top: 55px; /* Pushes content down to make room for the notch */
    padding-left: 20px;
    padding-right: 20px;
}

/* The vertical notch dropping down from the line */
.timeline-notch {
    position: absolute;
    top: 0;
    left: 10%; /* Positions the notch over the image */
    width: 1px;
    height: 40px;
    background-color: #2A3C45;
}

/* Timeline Typography */
.timeline-year {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
}

/* Timeline Media (Flat, no radius, no shadow) */
.timeline-media img {
    width: 100%;
    height: auto;
    display: block;
}

/*====================================
    CONTROLS & PROGRESS BAR
====================================*/
.timeline-progress {
    width: 100%;
    height: 6px;
    background-color: #2A3C45; /* Dark background track */
    position: relative;
    overflow: hidden;
}

.timeline-progress-fill {
    width: 0%; /* Adjusted via JS */
    height: 100%;
    transition: width 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.timeline-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.timeline-arrows button {
    background: transparent;
    border: 1px solid #2A3C45;
    color: var(--site-text-primary, #68a0a9); /* Fallback to your primary teal */
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-arrows button:hover {
    background: var(--site-text-primary, #68a0a9);
    color: #fff;
    border-color: var(--site-text-primary, #68a0a9);
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .timeline-year {
        font-size: 42px;
        margin-top: 25px;
    }
    .timeline-item {
        padding-left: 10px;
        padding-right: 10px;
    }
    .timeline-notch {
        left: 50%; /* Center the notch on mobile */
    }
}
/*====================================
    DYNAMIC TIMELINE LAYOUT (Variable Width)
====================================*/
.timeline-flex-container {
    display: flex;
    align-items: flex-start;
    gap: 40px; /* Consistent space between the image and the text */
}

/* The Image: Locked height, dynamic width */
.timeline-media {
    flex-shrink: 0;
}

.timeline-media img {
    height: 300px; /* All images are 300px tall */
    width: auto; /* Width adapts naturally to the photo */
    display: block;
    object-fit: contain;
}

/* The Text Container: Always exactly the same width */
.timeline-content {
    width: 450px; /* Locks the text space so it is identical on every slide */
    flex-shrink: 0; /* Prevents the slider from squishing the text */
    white-space: normal; /* Ensures text wraps properly */
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .timeline-flex-container {
        flex-direction: column;
        gap: 20px;
    }
    .timeline-media img {
        height: 250px;
    }
    .timeline-content {
        width: 300px; /* Adjusts the text block for mobile screens */
    }
}



/*====================================
    COMPANY FACTS SECTION
====================================*/

/* Overrides Bootstrap's default container padding */
.facts-container.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Overrides Bootstrap's negative row margins */
.facts-container .facts-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Overrides Bootstrap's column gutters (padding) so boxes touch */
.facts-container .fact-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Forces the background images to cover the box evenly */
.facts-container .fact-box {
    background-size: cover !important;
    background-position: center !important;
    height: 100% !important;
    min-height: 250px; /* Ensures the box doesn't collapse if text is short */
}

/* Keeps the text on top of the dark overlay */
.facts-container .fact-content {
    z-index: 10;
}

/* Formats the big stat numbers */
.facts-container .fact-number {
    font-size: 36px !important;
    font-weight: 800 !important;
}

/*====================================
    TEAM SLIDER STYLES
====================================*/
.team-card {
    background: #fff;
    padding: 10px;
    text-align: center;
}

.team-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
}

.team-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2A3C45;
}

.team-card-position {
    font-size: 14px;
    color: var(--site-text-primary, #68a0a9);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0;
}