/* ============================================
   DIE CASTING PAGE — REDESIGN STYLES
   ============================================ */

/* ── Certification / Service Tags ── */
.dc-cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin: 18px 0 24px;
}
.dc-cert-tags a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: opacity .2s;    
}
.dc-cert-tags a:hover { opacity: .75; }
.dc-cert-tags a::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--orange);
    flex-shrink: 0;
}

/* ── Comparison Heading ── */
.dc-comparison-heading {
    font-weight: 700;
    color: var(--blue);
    font-size: 16px;
    margin: 24px 0 10px;
}

/* ── Comparison Table ── */
.dc-comparison-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0 32px;
}
.dc-comparison-col {
    background: #fff;
    overflow: hidden;
}
.dc-comparison-col.suppliers-col {
    border: 1px solid #d9dde5;
}
.dc-comparison-col.mes-col {
    border: 1px solid var(--orange);
}
.dc-comparison-col .col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0;
    padding: 14px 18px;
    background: #f0f2f6;
    color: #6d7787;
    border-bottom: 1px solid #e0e4ea;
}
.dc-comparison-col.mes-col .col-title {
    background: var(--orange);
    color: #fff;
    border-bottom-color: #e06f23;
}
.dc-comparison-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dc-comparison-col ul li {
    font-size: 14px;
    padding: 17px 18px;
    border-top: 1px solid #e8ebf0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4b5768;
    line-height: 1.35;
    font-weight: 500;
}
.dc-comparison-col.suppliers-col ul li::before {
    content: '✕';
    color: #a5adba;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 1;
}
.dc-comparison-col.mes-col ul li {
    color: #4b5768;
}
.dc-comparison-col.mes-col ul li::before {
    content: '✓';
    color: var(--orange);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 1;
}

/* ── Featured Die Casting Parts Slider ── */
.featured-dc-parts {
    width: 100%;
    border: 1px solid #e0e0e0;
    margin: 30px 0 50px;
    background: #fff;
    overflow: hidden;
}
.featured-dc-parts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
}
.featured-dc-parts-header .fdc-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
}
.featured-dc-parts-header .fdc-counter {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

/* Carousel wrapper — remove dia-casting-slider-card default margin inside */
.featured-dc-parts .dia-casting-slider-card {
    margin: 0;
}
.featured-dc-parts .owl-carousel .item {
    /* no extra padding needed */
}

/* Each slide layout */
.featured-dc-item {
    display: flex;
    align-items: stretch;
    min-height: 220px;
}
.featured-dc-img {
    width: 38%;
    flex-shrink: 0;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}
.featured-dc-img img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}
.featured-dc-specs {
    flex: 1;
    padding: 20px 22px;
    background: #fff;
}
.featured-dc-specs h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #1a1a1a;
}
.dc-spec-table {
    width: 100%;
    border-collapse: collapse;
}
.dc-spec-table tr {
    border-bottom: 1px solid #f0f0f0;
}
.dc-spec-table tr:last-child {
    border-bottom: none;
}
.dc-spec-table td {
    padding: 7px 4px;
    font-size: 13px;
    vertical-align: top;
}
.dc-spec-table td:first-child {
    color: #999;
    width: 38%;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding-right: 10px;
}
.dc-spec-table td:last-child {
    color: #1a1a1a;
    font-weight: 500;
}

/* Owl dots — custom orange style */
.featured-dc-parts .owl-dots {
    display: flex;
    justify-content: center;
    padding: 10px 0 14px;
    gap: 6px;
    border-top: 1px solid #f0f0f0;
    margin-top: 0;
}
.featured-dc-parts .owl-dot {
    background: none !important;
    border: none;
    padding: 0;
}
.featured-dc-parts .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #ddd !important;
    display: block;
    transition: background .2s;
}
.featured-dc-parts .owl-dot.active span {
    background: var(--orange) !important;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .dc-comparison-table { grid-template-columns: 1fr; gap: 12px; }
    .featured-dc-item { flex-direction: column; }
    .featured-dc-img { width: 100%; padding: 20px; }
    .featured-dc-specs { padding: 16px; }
    .dc-cert-tags { gap: 8px 12px; }
}

/* New content sections */
.dc-program-section,
.dc-geography-section,
.dc-industries-section,
.dc-faq-section {
    padding: 70px 0;
}

.dc-geography-section {
    background: #fff;
}
.dc-industries-section {
    position: relative;
    z-index: 1;
}
.dc-industries-section::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 245, 248, 0.904);
    z-index: -1;
}

.dc-faq-section {
    background: #fff;
    border-top: 1px solid #ececec;
}

.dc-section-head h2 {
    font-size: 40px;
    line-height: 1.2;
    color: #0f2038;
    margin: 0 0 14px;
    font-weight: 700;
}

.dc-section-head p {
    margin: 0;
    color: #4f5f76;
    font-size: 16px;
    line-height: 1.7;
}

.dc-program-grid,
.dc-industry-grid {
    display: grid;    
    gap: 20px;
    margin-top: 36px;
}

.dc-program-grid  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dc-industry-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.dc-info-card {
    background: #fff;
    border: 1px solid #e6e9ee;
    padding: 24px;
    min-height: 180px;
}

.dc-info-card:hover {
    border-color: #e87722;
}

.dc-icon {
    color: var(--orange);
    width: 35px;
    height: 35px;
    padding: 5px;
}

.dc-info-card h5 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #142844;
    font-weight: 700;
}

.dc-info-card p {
    margin: 0;
    color: #5c6d83;
    line-height: 1.6;
    font-size: 14px;
}

.dc-info-card .icon-box {
    background: rgba(232, 119, 34, 0.1);
    color: #e87722;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.dc-geography-grid {
    margin-top: 30px;   
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dc-geo-item {
    padding: 18px 20px;
    border-left: 4px solid var(--orange);
    margin-bottom: 15px;
}

.dc-geo-item h5 {
    margin: 0 0 8px;
    color: #12213a;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dc-country-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.dc-geo-item p {
    margin: 0;
    color: #5b6c83;
    font-size: 14px;
    line-height: 1.6;
}

.dc-industry-footer {
    margin-top: 26px;
    color: #53627a;
    font-size: 14px;
}

.dc-faq-eyebrow {
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.dc-faq-list {
    margin-top: 24px;
    border: 1px solid #e8ebf0;
}

.dc-faq-item {
    border-bottom: 1px solid #e8ebf0;
    background: #fff;
}

.dc-faq-item:last-child {
    border-bottom: none;
}

.dc-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    color: #11233c;
    position: relative;
}

.dc-faq-item summary::-webkit-details-marker {
    display: none;
}

.dc-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange);
    font-size: 18px;
}

.dc-faq-item[open] summary::after {
    content: '-';
}

.dc-faq-answer {
    padding: 0 20px 16px;
    color: #54657d;
    line-height: 1.7;
}

/* Shared customer section styles for die casting page */
.customer-section-common {
    padding: 48px 0;
    background: #f7f9fc;
}

.customer-section-common .title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}

.customer-section-common .line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: #d8dfe9;
}

.customer-section-common .title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.customer-section-common .title .text {
    font-size: 15px;
    font-weight: 700;
    color: #12213a;
}

.customer-section-common .title .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

.customer-section-common .marquee-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.customer-section-common .fade-left,
.customer-section-common .fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
}

.customer-section-common .fade-left {
    left: 0;
    background: linear-gradient(to right, #f7f9fc, transparent);
}

.customer-section-common .fade-right {
    right: 0;
    background: linear-gradient(to left, #f7f9fc, transparent);
}

.customer-section-common .marquee {
    display: flex;
    animation: dc-scroll 25s linear infinite;
}

.customer-section-common .logo {
    flex: none;
    width: 120px;
    margin: 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .55;
    filter: grayscale(100%);
    transition: .3s;
}

.customer-section-common .logo img {
    max-width: 100%;
    max-height: 42px;
}

.customer-section-common .logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes dc-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 991px) {
    .dc-section-head h2 { font-size: 32px; }
    .dc-program-grid,
    .dc-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .dc-program-section,
    .dc-geography-section,
    .dc-industries-section,
    .dc-faq-section { padding: 42px 0; }
    .dc-section-head h2 { font-size: 28px; }
    .dc-geography-grid,
    .dc-program-grid,
    .dc-industry-grid { grid-template-columns: 1fr; }
    .customer-section-common .title .text { font-size: 15px; }
}


