/* =============================================
   Valcor Systems — Custom Styles
   ============================================= */

/* --- Header Top Bar: straight strip, compact, round icons --- */
/* Full-width orange on the outermost element */
.header-top {
    background-color: #f7a309;
}
/* Inner container — transparent so header-top orange fills the full width */
.header-top .inner-container {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Remove diagonal triangle on left edge */
.main-header .top-left::before {
    display: none !important;
}
.main-header .top-left .contact-list {
    padding: 9px 0 !important;
}
.main-header .top-left .contact-list li {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 28px;
    float: left;
}
/* Round icon badge */
.main-header .top-left .contact-list li i {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 12px;
    float: none;
    margin-right: 0 !important;
    flex-shrink: 0;
}
.main-header .top-left .contact-list li a {
    font-size: 14px;
    line-height: 1;
}

/* Section Tag Pill */
.sec-tag {
    display: inline-block;
    background: #f7a309;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* --- FlowSure Section --- */
.flowsure-section {
    padding: 70px 0;
}
.failure-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.failure-list li {
    padding: 6px 0;
    color: #b0bec5;
    font-size: 15px;
}
.failure-list li i {
    color: #e74c3c;
    margin-right: 9px;
    font-size: 14px;
}
.promise-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.promise-check-list li {
    padding: 8px 0;
    color: #dce3ea;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.promise-check-list li:last-child {
    border-bottom: none;
}
.promise-check-list li i {
    color: #f7a309;
    margin-right: 10px;
    font-size: 15px;
}
.flowsure-promise-box {
    background: rgba(38, 164, 222, 0.12);
    border: 1px solid rgba(38,164,222,0.35);
    padding: 35px;
    border-radius: 3px;
}

/* --- Product Detail List --- */
.product-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-detail-list li {
    padding: 6px 0;
    color: #555;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.product-detail-list li:last-child {
    border-bottom: none;
}
.product-detail-list li i {
    color: #f7a309;
    margin-right: 9px;
    font-size: 14px;
}

/* --- Velocity Engineering Boxes --- */
.velocity-box {
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 3px;
    height: 100%;
}
.velocity-box.danger-box {
    background: #fff5f5;
    border-top: 4px solid #e74c3c;
}
.velocity-box.success-box {
    background: #f0fff4;
    border-top: 4px solid #27ae60;
}
.velocity-box h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}
.velocity-box.danger-box h5 { color: #c0392b; }
.velocity-box.success-box h5 { color: #1e8449; }
.velocity-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.velocity-box ul li {
    padding: 4px 0;
    font-size: 14px;
    color: #555;
}
.velocity-box.danger-box ul li::before { content: "✗  "; color: #e74c3c; font-weight: 700; }
.velocity-box.success-box ul li::before { content: "✓  "; color: #27ae60; font-weight: 700; }

/* --- Industry Cards --- */
.industry-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}
.industry-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.industry-card:hover img { transform: scale(1.07); }
.industry-card .ind-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15,25,45,0.88));
    padding: 30px 18px 16px;
}
.industry-card .ind-overlay h5 {
    color: #fff;
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
}
.industry-card .ind-overlay p {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    margin: 0;
}

/* --- Industry Card Icon Panel (replaces image) --- */
.industry-card .ind-icon-panel {
    background: linear-gradient(135deg, #0f1929 0%, #1a2a3a 100%);
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}
.industry-card .ind-icon-panel .icon-circle {
    width: 88px;
    height: 88px;
    background: rgba(247,163,9,0.12);
    border: 2px solid rgba(247,163,9,0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.industry-card .ind-icon-panel .icon-circle i {
    font-size: 40px;
    color: #f7a309;
}
.industry-card .ind-icon-panel h5 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}
.industry-card .ind-icon-panel p {
    color: rgba(255,255,255,0.62);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* --- Engineering Process Steps --- */
.process-step {
    background: #fff;
    border: 1px solid #e4eaf0;
    border-left: 5px solid #f7a309;
    padding: 28px 30px;
    margin-bottom: 25px;
    transition: box-shadow 0.2s;
}
.process-step:hover { box-shadow: 0 4px 18px rgba(38,164,222,0.13); }
.process-step h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 10px;
}
.process-step p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* --- Product Category Heading Box --- */
.product-cat-heading {
    background: #1a2a3a;
    color: #fff;
    padding: 16px 28px;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- Inner Page Intro Box --- */
.inner-intro-box {
    background: #f5f7fa;
    border-left: 5px solid #f7a309;
    padding: 30px 35px;
    margin-bottom: 45px;
}
.inner-intro-box h3 {
    color: #1a2a3a;
    font-size: 22px;
    margin-bottom: 10px;
}
.inner-intro-box p {
    color: #555;
    font-size: 15px;
    margin: 0;
}

/* --- Benefits Tag List --- */
.benefit-tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.benefit-tag-list li {
    background: #e8f4fc;
    color: #1a6b9a;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}

/* --- Product Card with description --- */
.news-block-two .lower-content p {
    font-size: 13px;
    color: #666;
    margin: 6px 0 0;
    line-height: 1.5;
}

/* --- Section highlight strip --- */
.highlight-strip {
    background: #f7a309;
    color: #fff;
    padding: 22px 30px;
    margin: 30px 0;
    font-size: 17px;
    font-weight: 600;
    border-radius: 2px;
}

/* --- CTA Text --- */
.cta-tagline {
    color: #ccc;
    font-size: 15px;
    margin-top: 10px;
}

/* --- FlowSure Section background --- */
.valcor-flowsure-bg {
    background: linear-gradient(160deg, #07111f 0%, #0f1e30 40%, #1a2a3a 100%) !important;
    background-attachment: scroll !important;
}

/* --- CTA Section background --- */
.valcor-cta-bg {
    background: linear-gradient(90deg, #0f192d 0%, #1a2a3a 50%, #0f192d 100%) !important;
    background-attachment: scroll !important;
    border-top: 4px solid #f7a309;
}

/* --- Banner Strip (tagline section) --- */
.valcor-banner-strip {
    background: linear-gradient(135deg, #0a1628 0%, #1a2a3a 55%, #1e3348 100%) !important;
    background-attachment: scroll !important;
    border-top: 4px solid #f7a309;
    border-bottom: 4px solid #f7a309;
}
.valcor-banner-strip h2 strong {
    color: #f7a309;
}
.valcor-banner-strip::before,
.valcor-cta-bg::before {
    display: none !important;
}

/* --- Spacing helpers --- */
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.pt-50 { padding-top: 50px; }
.pb-50 { padding-bottom: 50px; }

/* --- Logo: responsive sizing, desktop and mobile --- */
/* Remove template's negative margin and excessive padding */
.main-header .header-upper .logo-box {
    margin-top: 0 !important;
    padding: 8px 0 8px !important;
}
.main-header .header-upper .logo-box .logo {
    padding-top: 0 !important;
}
/* Control logo image dimensions via CSS, override inline width="80%" */
.main-header .header-upper .logo-box .logo img {
    width: auto !important;
    max-height: 78px;
    max-width: 245px;
    display: block;
}
/* Sticky header: white background to match logo-7.png */
.sticky-header {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
/* Nav links — dark text on white bar */
.sticky-header .main-menu .navigation > li > a {
    color: #1a2a3a !important;
}
.sticky-header .main-menu .navigation > li > a:hover,
.sticky-header .main-menu .navigation > li.current > a {
    color: #f7a309 !important;
}
/* Hamburger bars — dark on white */
.sticky-header .navbar-toggler .icon-bar {
    background-color: #1a2a3a !important;
}
/* Sticky header logo */
.sticky-header .logo img {
    width: auto !important;
    max-height: 54px;
    display: block;
}
/* Desktop only: push nav links down to vertically align with logo */
@media only screen and (min-width: 992px) {
    .main-header .header-upper .nav-outer {
        padding-top: 15px;
    }
}

/* Mobile: slightly smaller */
@media only screen and (max-width: 767px) {
    .main-header .header-upper .logo-box {
        padding: 10px 0 10px !important;
    }
    .main-header .header-upper .logo-box .logo img {
        max-height: 72px;
        max-width: 228px;
    }
    .sticky-header .logo img {
        max-height: 58px;
    }
}

/* --- Page Title / Breadcrumb: lighter overlay & smaller heading --- */
.page-title::before {
    background-color: rgba(10, 20, 40, 0.45);
}
.page-title {
    padding: 60px 0;
}
.page-title .content h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 10px;
}

/* --- Slideshow: image, overlay and heading --- */
/* Ensure background image fills the slide properly */
.main-slider.style-four .slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}
/* Left-to-right gradient: readable text left, image visible right */
.main-slider.style-four .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 20, 40, 0.80) 0%,
        rgba(10, 20, 40, 0.50) 50%,
        rgba(10, 20, 40, 0.15) 100%
    );
    z-index: 1;
}
.main-slider.style-four .auto-container {
    position: relative;
    z-index: 2;
}
/* Reduced padding = shorter slider height */
.main-slider.style-four .content {
    padding: 100px 50px 100px;
}
.main-slider.style-four .content h1 {
    font-size: 46px;
    line-height: 1.25;
}

/* --- Why Valcor / Services block equal height fix --- */
.services-section-ten .row.clearfix {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.services-block-fourteen {
    display: flex;
    flex-direction: column;
}
.services-block-fourteen .inner-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.services-block-fourteen .inner-box .text {
    flex: 1;
}

/* --- About / Intro Section proportions --- */
.about-section-two .row.clearfix {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.about-section-two .video-column {
    margin-bottom: 0;
}
.about-section-two .video-column .image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}
.about-section-two .content-column .inner-column h2 {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #1a2a3a;
}
.about-section-two .content-column .inner-column h5 {
    font-size: 15px;
    color: #f7a309;
    font-weight: 600;
    margin-bottom: 16px;
}
.about-section-two .content-column .inner-column .text p {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 14px;
}

/* --- Core Solutions card alignment --- */
/* Equalize row heights and fix image sizes */
.news-section-two .row.clearfix {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.news-section-two .news-block-two {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.news-section-two .news-block-two .inner-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}
/* Fixed image height — all cards uniform */
.news-section-two .news-block-two .inner-box .image {
    height: 215px;
    overflow: hidden;
    flex-shrink: 0;
}
.news-section-two .news-block-two .inner-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Lower content stretches to fill remaining card height */
.news-section-two .news-block-two .inner-box .lower-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 25px 28px;
}
.news-section-two .news-block-two .inner-box .lower-content h5 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.45;
}
.news-section-two .news-block-two .inner-box .lower-content p {
    flex: 1;
    margin: 0;
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
}
