/* DTC Custom Styling for New Website Mockup */

/* Fonts and Reset */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Montserrat', sans-serif !important;
}

/* Header Styling */
.header-top-row {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    border-top: 8px solid #5c3317; /* Matches the top brown bar in screenshot */
}

.logo-col {
    display: flex;
    align-items: center;
}

.logo-col img {
    max-height: 60px;
    width: auto;
    margin-left: -110px;
    transition: all 0.3s ease;
}

.contact-widgets-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px; /* Clean breathing room */
    height: 100%;
}

.contact-widget {
    display: flex;
    align-items: center;
    text-align: left;
    text-decoration: none !important;
}

.widget-icon {
    font-size: 20px;
    color: #cc1a1a;
    margin-right: 12px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eaeaea;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-widget:hover .widget-icon {
    background-color: #cc1a1a;
    color: #ffffff;
    border-color: #cc1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(204, 26, 26, 0.2);
}

.widget-text {
    display: flex;
    flex-direction: column;
}

.widget-title {
    font-weight: 700;
    font-size: 14px;
    color: #0c2340;
    line-height: 1.3;
}

/* Prevent awkward text wrapping on desktop */
.contact-widget:nth-child(1) .widget-title,
.contact-widget:nth-child(2) .widget-title {
    white-space: nowrap;
}

.widget-desc {
    font-size: 12px;
    color: #666666;
    margin-top: 2px;
}

/* Beautiful responsive sizing for medium screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .contact-widgets-container {
        gap: 15px;
    }
    .widget-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        margin-right: 8px;
    }
    .widget-title {
        font-size: 12px;
    }
    .widget-desc {
        font-size: 10px;
    }
    .logo-col img {
        max-height: 50px;
        margin-left: -60px; /* Adjust spacing nicely for smaller columns */
    }
}

/* Navbar Row */
.header-nav-row {
    background-color: #0c2340;
    padding: 0;
    position: relative;
    z-index: 999;
}

.nav-row-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.custom-navbar {
    flex-grow: 1;
}

.navbar-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.custom-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-nav-menu > li {
    position: relative;
}

.custom-nav-menu > li > a {
    display: block;
    padding: 16px 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-nav-menu > li.active > a,
.custom-nav-menu > li > a:hover {
    background-color: #cc1a1a;
    color: #ffffff;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Remove any bottom/top border lines on all nav items */
.custom-nav-menu > li > a,
.custom-nav-menu > li.active > a {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    outline: none !important;
}

/* Remove bottom border line on GET A QUOTE button */
.btn-get-quote,
.btn-get-quote:hover,
.btn-get-quote:focus,
.btn-get-quote:active {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}


/* Dropdowns */
.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0c2340;
    min-width: 250px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
}

.custom-dropdown:hover > .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-menu li {
    position: relative;
}

.custom-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-dropdown-menu li a:hover {
    background-color: #cc1a1a;
    padding-left: 25px;
}

/* Submenu on Left/Right */
.custom-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #0c2340;
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.has-submenu:hover > .custom-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Premium Mega Submenu for Automation Components */
.premium-mega-submenu {
    position: absolute;
    top: -10px; /* Aligned beautifully relative to the parent */
    left: 100%;
    background-color: rgba(12, 35, 64, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 280px;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.has-submenu:hover > .premium-mega-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(5px);
}

.premium-mega-submenu li {
    position: relative;
    margin: 0 10px;
}

.premium-mega-submenu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.premium-mega-submenu li a i {
    width: 24px;
    font-size: 16px;
    color: #bbbbbb;
    transition: color 0.3s ease;
}

.premium-mega-submenu li a:hover {
    background-color: #cc1a1a;
    padding-left: 20px;
}

.premium-mega-submenu li a:hover i {
    color: #ffffff;
}

/* Get A Quote Button */
.get-quote-container {
    display: flex;
    align-items: center;
}

.btn-get-quote {
    background-color: #cc1a1a;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 16px 30px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-get-quote:hover {
    background-color: #b51515;
    color: #ffffff;
}

/* Hero Section (Slider) */
.hero-slider-section {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../image/catalog/hero_machining.png');
}

.slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url('../image/catalog/gudel_banner.png');
}

.hero-slider-content {
    max-width: 700px;
}

.hero-tagline {
    color: #cc1a1a;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-explore {
    background-color: #cc1a1a;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 35px;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    border: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-explore:hover, .btn-explore:focus, .btn-explore:active {
    background-color: #b51515;
    color: #ffffff;
    text-decoration: none !important;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: #ffffff;
    color: #0c2340;
}

.arrow-left {
    left: 40px;
}

.arrow-right {
    right: 40px;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
}

.slider-dot.active {
    background-color: #cc1a1a;
}

/* Our Products Section */
.section-products {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title-container {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-line {
    height: 2px;
    background-color: #cc1a1a;
    width: 80px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #0c2340;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

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

.product-card-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.product-card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-title {
    background-color: #0c2340;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    text-decoration: none !important;
}

.product-card:hover .product-card-title {
    background-color: #cc1a1a;
    text-decoration: none !important;
}

/* Remove underline on product card link hover */
.product-card-link,
.product-card-link:hover,
.product-card-link:focus,
.product-card-link:active,
.product-card-link:visited {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* About Us Section */
.section-about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-img-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

.about-subtitle {
    color: #cc1a1a;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.about-title {
    font-size: 32px;
    font-weight: 800;
    color: #0c2340;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.about-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 35px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
}

.feature-icon-container {
    font-size: 26px;
    color: #cc1a1a;
    margin-right: 15px;
    margin-top: 3px;
}

.feature-box-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0c2340;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.feature-box-content p {
    font-size: 13px;
    color: #777777;
    margin: 0;
    line-height: 1.4;
}

/* Footer Styling */
.custom-footer {
    background-color: #0c2340;
    padding: 25px 0;
    border-top: 3px solid #cc1a1a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #bbbbbb;
    font-size: 13px;
}

.footer-left {
    margin: 0;
}

.footer-right a {
    color: #bbbbbb;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: #ffffff;
}

/* Mobile Styling */
@media (max-width: 991px) {
    .logo-col {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .logo-col img {
        margin-left: 0 !important;
        max-height: 50px !important;
    }
    .contact-widgets-container {
        display: none !important;
    }
    .text-right {
        text-align: center !important;
    }
    .nav-row-container {
        flex-direction: column;
    }
    .navbar-toggle-btn {
        display: block !important;
        background: transparent !important;
        border: none !important;
        color: #0c2340 !important;
        font-size: 24px !important;
        padding: 0 !important;
        cursor: pointer;
    }
    .navbar-toggle-btn span {
        display: none !important;
    }
    .header-nav-row {
        background-color: transparent !important;
    }
    .custom-nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0c2340 !important;
        padding: 10px 0;
    }
    .custom-nav-menu.open {
        display: flex;
    }
    .custom-nav-menu > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .custom-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        background-color: rgba(0,0,0,0.2);
        box-shadow: none;
        transform: none;
        padding: 5px 0;
    }
    .custom-dropdown.open > .custom-dropdown-menu {
        display: block;
    }
    .custom-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none !important;
        background-color: rgba(0,0,0,0.3);
        box-shadow: none;
        transform: none;
        padding: 5px 0;
    }
    .has-submenu.open > .custom-submenu {
        display: block !important;
    }
    .premium-mega-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none !important;
        background-color: rgba(0,0,0,0.4);
        box-shadow: none;
        transform: none;
        padding: 5px 0;
        min-width: 100% !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .has-submenu.open > .premium-mega-submenu {
        display: block !important;
    }
    .premium-mega-submenu li {
        width: 100% !important;
    }
    .has-submenu > a > i.fa-angle-right {
        transition: transform 0.3s ease;
    }
    .has-submenu.open > a > i.fa-angle-right {
        transform: rotate(90deg);
    }
    .get-quote-container {
        display: none !important;
    }
    .hero-slider-section {
        height: 450px;
    }
    .hero-title {
        font-size: 32px;
    }
    .slider-arrow {
        display: none;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .about-img-container {
        margin-bottom: 30px;
    }
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Advanced Search / Filter Box */
.section-search-filter {
    padding: 30px 0;
    background-color: #ffffff;
    margin-top: -40px; /* Overlap on hero banner */
    position: relative;
    z-index: 10;
}

.filter-search-card {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    padding: 25px 30px;
}

.filter-title {
    font-size: 18px;
    font-weight: 800;
    color: #0c2340;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.filter-select-group {
    margin-bottom: 15px;
}

.filter-select {
    height: 48px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    color: #555555 !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 5'%3E%3Cpath fill='%23666' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 5px;
    padding-right: 35px !important;
}

.filter-select:focus {
    border-color: #cc1a1a !important;
}

.btn-filter-submit {
    background-color: #cc1a1a;
    color: #ffffff;
    height: 48px;
    width: 100%;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-filter-submit:hover {
    background-color: #b51515;
}

@media (max-width: 767px) {
    .section-search-filter {
        margin-top: 0;
        padding: 20px 0;
    }
    .filter-search-card {
        padding: 20px;
    }
}

/* Why Choose Us Section */
.section-why-choose {
    padding: 80px 0;
    background-color: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #cc1a1a;
    transform: translateY(-5px);
}

.why-icon {
    font-size: 36px;
    color: #cc1a1a;
    margin-bottom: 20px;
}

.why-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0c2340;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-card p {
    font-size: 13px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

/* Industries We Serve Section */
.section-industries {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.industry-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    background-color: #0c2340;
    border-color: #0c2340;
    color: #ffffff;
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 36px;
    color: #cc1a1a;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.industry-card:hover .industry-icon {
    color: #ffffff;
}

.industry-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: #0c2340;
    margin: 0;
    text-transform: uppercase;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.industry-card:hover h4 {
    color: #ffffff;
}

/* Featured Products Section */
.section-featured {
    padding: 80px 0;
    background-color: #ffffff;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.featured-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.featured-img-wrap {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background-color: #fcfcfc;
}

.featured-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.featured-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0c2340;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-enquiry-featured {
    background-color: #0c2340;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-enquiry-featured:hover {
    background-color: #cc1a1a;
    color: #ffffff;
}

/* Call to Action Strip */
.section-cta {
    padding: 60px 0;
    background: linear-gradient(rgba(12, 35, 64, 0.9), rgba(12, 35, 64, 0.9)), url('../image/catalog/hero_machining.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    text-align: center;
}

.cta-title {
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-red {
    background-color: #cc1a1a;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 35px;
    font-size: 13px;
    text-transform: uppercase;
    border: none;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-cta-red:hover, .btn-cta-red:focus, .btn-cta-red:active {
    background-color: #b51515;
    color: #ffffff;
    text-decoration: none !important;
}

.btn-cta-outline {
    background-color: transparent;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 33px;
    font-size: 13px;
    text-transform: uppercase;
    border: 2px solid #ffffff;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-cta-outline:hover, .btn-cta-outline:focus, .btn-cta-outline:active {
    background-color: #ffffff;
    color: #0c2340;
    text-decoration: none !important;
}

/* Contact Quick Info */
.section-quick-contact {
    padding: 50px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.quick-contact-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #eaeaea;
    background-color: #fcfcfc;
}

.quick-contact-icon {
    font-size: 24px;
    color: #cc1a1a;
    margin-right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #eaeaea;
}

.quick-contact-info h5 {
    font-size: 12px;
    font-weight: 700;
    color: #888888;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-contact-info p {
    font-size: 15px;
    font-weight: 700;
    color: #0c2340;
    margin: 0;
}

/* Footer Expanded Links */
.footer-main-links {
    padding: 60px 0 40px 0;
    background-color: #0c2340;
    color: #ffffff;
    border-top: 3px solid #cc1a1a;
}

.footer-logo-desc img {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-logo-desc p {
    font-size: 13px;
    line-height: 1.6;
    color: #bbbbbb;
    margin-bottom: 20px;
}

.footer-social-links a {
    color: #ffffff;
    background-color: rgba(255,255,255,0.08);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-links a:hover {
    background-color: #cc1a1a;
    color: #ffffff;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #cc1a1a;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-links-list li a {
    color: #bbbbbb;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.footer-links-list li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: #bbbbbb;
    line-height: 1.4;
}

.footer-contact-details li i {
    color: #cc1a1a;
    font-size: 16px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
    display: inline-block;
}

.footer-bottom-bar {
    background-color: #08182d;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive adjustments for new sections */
@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .footer-main-links {
        padding: 40px 0 20px 0;
    }
    .footer-main-links > .container > .row > div {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .why-grid, .industries-grid, .featured-grid {
        grid-template-columns: 1fr;
    }
    .cta-title {
        font-size: 20px;
    }
}

/* Quick Contact Card Hover & Link Interactions */
.quick-contact-card {
    transition: all 0.3s ease;
}
.quick-contact-card:hover {
    border-color: #cc1a1a;
    box-shadow: 0 5px 15px rgba(204, 26, 26, 0.05);
    background-color: #ffffff;
    transform: translateY(-2px);
}
.quick-contact-info p a {
    color: #0c2340;
    text-decoration: none;
    transition: color 0.2s ease;
}
.quick-contact-card:hover .quick-contact-info p a {
    color: #cc1a1a;
}

/* Footer Contact Details Links */
.footer-contact-details li a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-contact-details li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Footer Bottom Bar Custom Styling */
.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}
.footer-bottom-flex .copyright-text {
    font-size: 13px;
    color: #bbbbbb;
}
.footer-bottom-flex .developer-credit {
    font-size: 13px;
    color: #bbbbbb;
}
.footer-bottom-flex .developer-credit a {
    color: #ff2d37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.footer-bottom-flex .developer-credit a:hover {
    color: #ffffff;
    opacity: 0.9;
}

@media (max-width: 767px) {
    .footer-bottom-flex {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
    .footer-bottom-flex .copyright-text,
    .footer-bottom-flex .developer-credit {
        text-align: center !important;
        width: 100%;
    }
}

/* Slanted Decorative Accents for Hero Banners */
.hero-accent-slanted {
    position: absolute;
    bottom: -50px;
    height: 100px;
    background: linear-gradient(90deg, #cc1a1a, #ff2d37); /* Website primary red */
    z-index: 1;
    opacity: 0.85;
    transition: all 0.5s ease;
}
.hero-accent-slanted.left-accent {
    left: -80px;
    width: 250px;
    transform: rotate(35deg);
    transform-origin: bottom left;
}
.hero-accent-slanted.right-accent-1 {
    right: -100px;
    width: 320px;
    transform: rotate(-35deg);
    transform-origin: bottom right;
}
.hero-accent-slanted.right-accent-2 {
    right: 240px;
    bottom: -30px;
    width: 80px;
    height: 15px;
    transform: rotate(-35deg);
    transform-origin: bottom right;
}
@media (max-width: 767px) {
    .hero-accent-slanted {
        display: none !important;
    }
}

/* Global mobile responsiveness safety net */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
#wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Refactored About Us & Stats Styles */
.about-content-section {
    padding: 80px 0;
    background: #ffffff;
}
.about-content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.about-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border: 8px solid #ffffff;
}
.about-text-container {
    padding-left: 20px;
}
.about-sub-title {
    color: #cc1a1a;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 15px 0 25px;
}
.about-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-desc.mb-4 {
    margin-bottom: 25px;
}
.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-feature-item {
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.about-feature-icon {
    color: #cc1a1a;
    margin-right: 12px;
    font-size: 18px;
}

/* Vision & Mission Card Styles */
.vision-mission-section {
    padding: 60px 0;
    background: #f9f9f9;
}
.vision-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    border-top: 4px solid #cc1a1a;
}
.mission-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    border-top: 4px solid #08182d;
}
.vision-card .vision-mission-icon {
    font-size: 40px;
    color: #cc1a1a;
    margin-bottom: 20px;
}
.mission-card .vision-mission-icon {
    font-size: 40px;
    color: #08182d;
    margin-bottom: 20px;
}
.vision-mission-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}
.vision-mission-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Stats Styles */
.stats-section {
    padding: 80px 0;
    background: url('../image/catalog/hero_machining.png') center center/cover no-repeat;
    position: relative;
}
.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 24, 45, 0.85);
}
.stats-container {
    position: relative;
    z-index: 2;
}
.stat-box {
    padding: 20px;
}
.stat-icon {
    font-size: 50px;
    color: #cc1a1a;
    margin-bottom: 20px;
    display: inline-block;
}
.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
}
.stat-label {
    font-size: 16px;
    color: #bbbbbb;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Wide Submenu Styling */
.premium-mega-submenu-wide {
    min-width: 500px;
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .premium-mega-submenu-wide {
        min-width: 100% !important;
        display: none !important;
        flex-wrap: nowrap !important;
    }
    .has-submenu.open > .premium-mega-submenu-wide {
        display: block !important;
    }
}

@media (max-width: 767px) {
    /* About Content Responsiveness */
    .about-content-section {
        padding: 40px 0;
    }
    .about-text-container {
        padding-left: 0;
        margin-top: 20px;
    }
    .about-main-title {
        font-size: 24px;
        margin: 10px 0 15px;
    }
    .about-desc {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Vision & Mission Cards Spacing on Mobile */
    .vision-mission-section {
        padding: 40px 0;
    }
    .vision-card, .mission-card {
        padding: 24px 20px;
        margin-bottom: 24px;
    }
    .mission-card {
        margin-bottom: 0;
    }
    .vision-card .vision-mission-icon, .mission-card .vision-mission-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
    .vision-mission-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .vision-mission-text {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Statistics Counters Spacing on Mobile */
    .stats-section {
        padding: 40px 0;
    }
    .stat-box {
        padding: 10px;
    }
    .stat-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    .stat-number {
        font-size: 32px;
    }
    .stat-label {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    /* Center all breadcrumb bars on mobile view */
    .about-breadcrumb-bar ul,
    .blog-bread-strip ul,
    .pd-bread-strip ul,
    .bdp-bread ul,
    .contact-breadcrumb ul {
        justify-content: center !important;
    }
    .breadcrumb {
        text-align: center !important;
    }
    .breadcrumb > li {
        display: inline-block !important;
        float: none !important;
    }
}

/* Helper spacing utilities for Bootstrap 3 */
.mb-4 {
    margin-bottom: 30px !important;
}

/* ─── PREMIUM UNIFIED HERO BANNER (CSS Grid, Ambient Glow, Perfect Typography) ─── */
.premium-hero {
    background: #060b16 !important;
    padding: 75px 0 85px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Stunning technical grid and ambient dual glow */
.premium-hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, rgba(255, 45, 55, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 20% 60%, rgba(0, 102, 255, 0.08) 0%, transparent 60%) !important;
    background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
    opacity: 1 !important;
}

/* Subtle overlay vignetting to blend edges perfectly */
.premium-hero::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(6, 11, 22, 0.85) 100%) !important;
    background-image: radial-gradient(circle at 50% 50%, transparent 40%, rgba(6, 11, 22, 0.85) 100%) !important;
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Hide blocky slanted red accents completely */
.premium-hero .hero-accent-slanted {
    display: none !important;
}

/* Hide any dynamic/static background photos */
.premium-hero .products-hero-bg {
    display: none !important;
}

/* Inner contents container */
.premium-hero .container {
    position: relative !important;
    z-index: 5 !important;
}

/* Premium eyebrow badge */
.premium-hero .premium-hero-tag,
.premium-hero .products-hero-tag,
.premium-hero .pd-hero-tag,
.premium-hero .about-hero-tag,
.premium-hero .blog-hero-tag,
.premium-hero .hero-eyebrow {
    display: inline-block !important;
    background: rgba(255, 45, 55, 0.12) !important;
    color: #ff9ea3 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 6px 18px !important;
    border-radius: 30px !important;
    border: 1px solid rgba(255, 45, 55, 0.35) !important;
    margin-bottom: 18px !important;
    box-shadow: 0 4px 12px rgba(255, 45, 55, 0.1) !important;
    position: relative !important;
    z-index: 5 !important;
}

/* Title text */
.premium-hero h1 {
    font-size: 46px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    letter-spacing: -1px !important;
    line-height: 1.25 !important;
    position: relative !important;
    z-index: 5 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

.premium-hero h1 span,
.premium-hero h1 #pd-hero-name {
    color: #ff2d37 !important;
    font-weight: 800 !important;
}

/* Subtitle description */
.premium-hero p,
.premium-hero #hero-subtitle,
.premium-hero #pd-hero-subtitle {
    font-size: 15.5px !important;
    color: rgba(255, 255, 255, 0.72) !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    line-height: 1.8 !important;
    position: relative !important;
    z-index: 5 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
}

@media (max-width: 767px) {
    .premium-hero {
        padding: 55px 0 60px !important;
    }
    .premium-hero h1 {
        font-size: 28px !important;
        letter-spacing: -0.5px !important;
    }
    .premium-hero p,
    .premium-hero #hero-subtitle,
    .premium-hero #pd-hero-subtitle {
        font-size: 14px !important;
    }
}
