.footer {
    background-color: rgb(0, 0, 77);
}

.footer-bottom {
    border-top: 2px solid rgb(0, 0, 88);
}

.footer__widget-newsletter .footer__widget-content {
    background-color: #12121252;
    border-radius: 8px;
}

.btn__primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-on-primary);
    border-radius: 8px;
}
.btn__primary:hover,
.btn__primary:focus {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}
.btn__primary:active {
    background-color: var(--color-primary-active);
    border-color: var(--color-primary-active);
}

.btn__primary:hover {
    background-color: white;
    border-color: white;
    color: black;
}

#scrollTopBtn {
    background-color: var(--color-secondary);
}
#scrollTopBtn:hover {
    background-color: var(--color-secondary-hover);
    color: var(--color-secondary);
}

#scrollTopBtn:hover {
    background-color: white;
    color: darkred;
}

::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.owl-next,
.owl-prev {
    display: none;
}

.bg-video video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.slide-item {
    position: relative;
    z-index: 3;
}

.navbar .nav__item .nav__item-link:before {
    background-color: var(--color-secondary);
}

.btn-red {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-text-on-secondary);
    border-radius: 8px;
}
.btn-red:hover,
.btn-red:focus {
    background-color: var(--color-secondary-hover);
    border-color: var(--color-secondary-hover);
    color: var(--color-text-on-secondary);
}
.btn-red:active {
    background-color: var(--color-secondary-active);
    border-color: var(--color-secondary-active);
}

.slider .slider__panel {
    border-radius: 8px;
}

.no-radius {
    border-radius: 0px;
    border: none;
}

/* Spare parts gallery */
.spare-parts-gallery .part-image-wrapper {
    height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spare-parts-gallery .part-image-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Custom 20% column on large screens */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Product part images for consistent display */
.img-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.img-wrapper img.product-part-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.img-wrapper.img-hover {
    transform: translateY(-5px);
}

/* Extended Bootstrap padding top utilities */
.pt-6 {
    padding-top: 3.5rem !important;
}
.pt-7 {
    padding-top: 4rem !important;
}
.pt-8 {
    padding-top: 4.5rem !important;
}
.pt-9 {
    padding-top: 5rem !important;
}
.pt-10 {
    padding-top: 5.5rem !important;
}

/* Add your custom CSS overrides below this line */

/* Remove rounded corners from all buttons */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-link,
.btn__primary,
.module__btn-request {
  border-radius: 0 !important;
}

/* Custom overlay for hero/banner sections */
.bg-overlay-2-2:before {
    background-color: rgba(27, 26, 26, 0.85);
}

.pt-11 {
    padding-top: 6rem !important;
}
.pt-12 {
    padding-top: 6.5rem !important;
}
.pt-13 {
    padding-top: 7rem !important;
}
.pt-14 {
    padding-top: 7.5rem !important;
}
.pt-15 {
    padding-top: 8rem !important;
}
.pt-16 {
    padding-top: 8.5rem !important;
}
.pt-17 {
    padding-top: 9rem !important;
}
.pt-18 {
    padding-top: 9.5rem !important;
}
.pt-19 {
    padding-top: 10rem !important;
}
.pt-20 {
    padding-top: 10.5rem !important;
}

/* Product feature cards for engine/compressor pages */
.product-feature-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Application cards for use cases */
.application-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.application-icon {
    font-size: 2.5rem;
    color: #e53935; /* GMES Red 600 */
}

/* Quality features section */
.quality-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.quality-feature .icon {
    color: #e53935; /* GMES Red 600 */
    margin-right: 10px;
}

/* Download Catalog Button */
.btn-catalog-download {
    background-color: #ffc107; /* GMES Amber 500 */
    color: #000;
    padding: 15px 0;
    width: 175px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.download-icon {
    margin: 6px 0;
}

.btn-catalog-download:hover {
    background-color: #ffb300; /* GMES Amber 600 */
    color: #000;
    text-decoration: none;
}

.btn-catalog-download:active {
    background-color: #ffa000; /* GMES Amber 700 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Contact info panel in inquiry form section */
.contact-info-panel {
    background-color: #1e88e5; /* GMES Blue 600 */
    border-radius: 8px;
    height: 100%;
}

/* Product inquiry section styling */
.inquiry-form-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.inquiry-form-container .form-control {
    border: 1px solid #e9e9e9;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.inquiry-form-container .form-control:focus {
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.inquiry-form-container .btn-primary {
    background-color: #e53935; /* GMES Red 600 */
    border-color: #e53935;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.inquiry-form-container .btn-primary:hover {
    background-color: #d32f2f; /* GMES Red 700 */
    border-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.2);
}

.section-heading {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.section-md {
    padding: 70px 0;
}

/* Background colors for sections */
.bg-light {
    background-color: #f8f9fa;
}

/* .header-transparent .logo-light,
.header-transparent .logo-dark {
    max-width: 30%;
} */

/* Product Series List - Modern List-based Design */
.product-series-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.product-series-item {
    display: flex;
    align-items: stretch;
    margin-bottom: 1.25rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-series-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.series-indicator {
    width: 4px;
    height: auto;
    border-radius: 2px;
    margin-right: 1rem;
    flex-shrink: 0;
    background-color: #e53935 !important;
}

.series-content {
    flex-grow: 1;
}

.series-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333333;
}

.series-description {
    color: #666666;
    margin-bottom: 0;
    line-height: 1.5;
}

.tanabe-series-list,
.matsubara-series-list,
.yanmar-series-list {
    padding: 0.5rem;
}

/* === GMES Timeline Enhancements === */
.gmes-timeline {
    position: relative;
    padding-left: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.gmes-timeline-section {
    background-color: #f8fafc;
    padding: 5rem 0;
}

.gmes-timeline-header .subtitle {
    color: #1e88e5;
    font-weight: 600;
    letter-spacing: 1px;
}

.gmes-timeline {
    position: relative;
    padding: 2rem 0;
}

.gmes-timeline::before {
    content: "";
    position: absolute;
    width: 3px;
    /* background: linear-gradient(to bottom, #1e88e5, #e53935); */
    background: rgba(0, 0, 0, 0.2);
    top: 0;
    bottom: 0;
    left: 20px;
    border-radius: 4px;
    opacity: 0.7;
}

.gmes-timeline-step {
    position: relative;
    margin-bottom: 3.5rem;
    padding-left: 60px;
}

.gmes-timeline-step:last-child {
    margin-bottom: 0;
}

.gmes-timeline-marker {
    position: absolute;
    top: 45%;
    left: -15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #fff;
    color: #1e88e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(30, 136, 229, 0.1);
    transition: all 0.3s ease;
}

.gmes-timeline-step:hover .gmes-timeline-marker {
    transform: scale(1.1);
    /* box-shadow: 0 0 0 8px rgba(30, 136, 229, 0.15); */
}

.gmes-timeline-content {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #1e88e5;
}

.gmes-timeline-step:hover .gmes-timeline-content {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.step-title {
    color: #1e88e5;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-desc {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.step-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.step-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-hover:hover img {
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .gmes-timeline::before {
        left: 15px;
    }

    .gmes-timeline-step {
        padding-left: 50px;
    }

    .gmes-timeline-marker {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .step-title {
        font-size: 1.3rem;
    }

    .gmes-timeline-content {
        padding: 1.25rem;
    }
}

/* === GMES Inquiry Form & Section Modern Styles === */
.gmes-inquiry-section-bg {
    background: #f7fafc url("/frontend/img/pattern-light.svg") repeat top left;
    background-size: 340px 340px;
}
.gmes-inquiry-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(30, 136, 229, 0.06),
        0 1.5px 4px rgba(0, 0, 0, 0.04);
    padding: 2rem 1.5rem;
    margin-bottom: 0;
    transition: box-shadow 0.2s;
}
.gmes-inquiry-card:hover {
    box-shadow: 0 6px 32px rgba(30, 136, 229, 0.13),
        0 2.5px 12px rgba(0, 0, 0, 0.07);
}
.gmes-inquiry-contact {
    background: linear-gradient(135deg, #1e88e5 80%, #ffc107 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(30, 136, 229, 0.08),
        0 1.5px 4px rgba(0, 0, 0, 0.04);
}
.gmes-inquiry-flex {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 2rem;
}
@media (max-width: 991.98px) {
    .gmes-inquiry-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
}
.gmes-inquiry-form {
    width: 100%;
}
.gmes-inquiry-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gmes-input {
    border-radius: 8px !important;
    border: 1.5px solid #e0e4ea;
    font-size: 1rem;
    padding: 0.85rem 1.15rem;
    background: #fafdff;
    color: #222;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none;
}
.gmes-input:focus {
    border-color: #1e88e5;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.08);
    background: #fff;
    outline: none;
}
.gmes-input::placeholder {
    color: #b0b7c3;
    opacity: 1;
    font-size: 0.97em;
}
.gmes-btn-submit {
    background: linear-gradient(90deg, #e53935 70%, #ffc107 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.08rem;
    border-radius: 8px;
    border: none;
    padding: 0.85rem 0;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.08);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gmes-btn-submit:hover,
.gmes-btn-submit:focus {
    background: linear-gradient(90deg, #d32f2f 70%, #ffb300 100%);
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.15);
    transform: translateY(-2px) scale(1.01);
    color: #fff;
}
@media (max-width: 575.98px) {
    .gmes-inquiry-card,
    .gmes-inquiry-contact {
        padding: 1.25rem 0.75rem;
    }
    .gmes-inquiry-section-bg {
        background-size: 180px 180px;
    }
}

/* 
 * REMOVED DUPLICATE TIMELINE MARKER STYLES
 * Original styles are now defined in the gmes-timeline section above
 */
/* 
 * REMOVED LEGACY TIMELINE STYLES
 * New vertical timeline implementation uses ::before pseudo-element 
 * instead of separate line elements
 */

/* 
 * REMOVED LEGACY TIMELINE STYLE
 * This is no longer needed with the new vertical timeline implementation
 */

/* 
 * REMOVED LEGACY TIMELINE STYLE
 * This selector is not used in the new vertical timeline implementation
 */

.step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0b2341;
}
.step-desc {
    font-size: 1.09rem;
    color: #444;
}

.step-images {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}
.step-images .step-image {
    background: #f6f8fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    transition: box-shadow 0.2s, transform 0.2s;
}
@media (min-width: 768px) {
    .step-images .step-image {
        height: 180px;
    }
}
@media (min-width: 992px) {
    .step-images .step-image {
        height: 200px;
    }
}
.step-images .step-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 8px;
}
.step-images .step-image:hover img {
    transform: scale(1.07);
    box-shadow: 0 4px 18px rgba(229, 57, 53, 0.12);
}

@media (max-width: 767.98px) {
    .gmes-timeline-step {
        flex-direction: column !important;
    }
    .gmes-timeline-marker {
        margin-bottom: 0.75rem;
        margin-top: 0.25rem;
    }
    .gmes-timeline-step .col.bg-white {
        margin-left: 0 !important;
        padding: 1.25rem !important;
    }
    .step-images .step-image {
        height: 120px;
    }
}

/* Tighten up image spacing */
.step-images .col-6,
.step-images .col-12,
.step-images .col-md-4,
.step-images .col-md-6 {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
}

/* Extra separation between steps */
.gmes-timeline-step:not(:last-child) {
    margin-bottom: 2.8rem;
}
/* End GMES Timeline Enhancements */
