/* Sidebar Basics */
.sidebar-widget {
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.sidebar-widget .widget-content {
    padding: 30px;
}

.sidebar-title h4 {
    font-weight: 800;
    color: #1a2e5a;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.sidebar-title h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
}

/* --- Accordion Menu Styling --- */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 10px;
}

/* Main Parent Link */
.service-list .main-link {
    display: flex;
    justify-content: space-between;
    /* Pushes arrow to the far right */
    align-items: center;
    padding: 15px 20px;
    background-color: #f4f5f8;
    color: #1a2e5a;
    font-weight: 700;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 0px solid #3498db;
    cursor: pointer;
}

/* Hover & Active State */
.service-list .main-link:hover,
.service-list li.active>.main-link {
    background-color: #1a2e5a;
    color: #ffffff;
    border-left: 5px solid #3498db;
    padding-left: 15px;
}

/* --- THE ARROW FIX --- */
.service-list .arrow {
    font-size: 14px;
    display: inline-block;
    /* Essential for rotation */
    transition: transform 0.3s ease;
    /* Smooth rotation */
}

/* --- Sub Menu Styling --- */
.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.sub-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu li a {
    display: block;
    padding: 12px 20px 12px 30px;
    color: #666;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

/* Sub-menu small arrows */
.sub-menu li a:before {
    content: "\f105";
    /* FontAwesome angle right */
    font-family: "FontAwesome";
    position: absolute;
    left: 15px;
    opacity: 0.5;
}

.sub-menu li a:hover {
    background-color: #f9f9f9;
    color: #3498db;
    padding-left: 35px;
}

/* Highlight the specific Sub-Product when active */
.sub-menu li.current a {
    color: #3498db;
    font-weight: 700;
    background-color: #f9f9f9;
    padding-left: 35px;
}

/* Download Button Style */
.download-list li a {
    display: block;
    padding: 15px 20px;
    background: #3498db;
    color: #fff;
    font-weight: 700;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s;
}

.download-list li a:hover {
    background: #1a2e5a;
}










/* Container */
.product-specs-container {
    margin-top: 30px;
    font-family: 'Segoe UI', sans-serif;
    /* Or your theme font */
}

/* The Table Structure */
.modern-spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    /* Creates vertical gap between rows */
}

/* Row Styling (The Floating Card Effect) */
.modern-spec-table tbody tr {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    border-radius: 8px;
    /* Rounded corners */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

/* Hover Effect: Row lifts up and gets a blue border */
.modern-spec-table tbody tr:hover {
    transform: translateY(-3px);
    /* Lifts up */
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
    /* Blue tinted shadow */
}

/* Left Accent Bar on Hover */
.modern-spec-table tbody tr:hover td:first-child {
    border-left-color: #3498db;
}

/* --- COLUMN 1: The Specification Label --- */
.modern-spec-table td.spec-label {
    width: 30%;
    /* Fixed width for labels */
    padding: 20px;
    background-color: #fcfcfc;
    /* Very light grey */
    border-radius: 8px 0 0 8px;
    border-left: 4px solid transparent;
    /* Prepare for hover effect */
    transition: border 0.3s ease;
    vertical-align: middle;
}

.label-wrap {
    display: flex;
    align-items: center;
}

/* The Icons */
.label-wrap .icon-box {
    width: 35px;
    height: 35px;
    background: rgba(26, 46, 90, 0.1);
    /* Light version of AK Dark Blue */
    color: #1a2e5a;
    /* AK Dark Blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 14px;
}

.label-wrap .text {
    font-weight: 700;
    color: #1a2e5a;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- COLUMN 2: The Value --- */
.modern-spec-table td.spec-value {
    padding: 20px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    border-radius: 0 8px 8px 0;
    vertical-align: middle;
}

/* Highlight Badge (Optional) */
.spec-value .badge {
    background: #3498db;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {

    .modern-spec-table {
        display: block;
    }

    .modern-spec-table tbody {
        display: block;
    }

    /* Convert Row to Block */
    .modern-spec-table tbody tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
        border: 1px solid #eee;
    }

    /* Full width cells */
    .modern-spec-table td.spec-label {
        width: 100%;
        border-radius: 8px 8px 0 0;
        border-left: none;
        border-bottom: 1px solid #eee;
        padding: 15px;
    }

    .modern-spec-table td.spec-value {
        width: 100%;
        border-radius: 0 0 8px 8px;
        padding: 15px;
        background: #fff;
    }

    .label-wrap .text {
        font-size: 0.9rem;
    }

    /* Make the hover effect subtle on mobile */
    .modern-spec-table tbody tr:hover {
        transform: none;
    }
}




/* Makes the image and text sit side-by-side and centered vertically */
.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Styling for the text "AK Steel (India)" */
.brand-name {
    font-size: 26px;
    /* Big and visible */
    font-weight: 800;
    /* Bold like a logo */
    color: #1a2e5a;
    /* Dark Blue (Matches your Footer/Theme) */
    margin-left: 12px;
    /* Space between map icon and text */
    text-transform: uppercase;
    /* Professional industrial look */
    line-height: 1;
    /* Tighter spacing */
    font-family: inherit;
    /* Uses your website's main font */
}

/* Optional: Ensure the logo image doesn't get too big */
.logo img {
    max-height: 70px;
    /* Adjust this based on your header height */
    width: auto;
}








/* --- General Footer Layout Fixes --- */

/* Ensure the columns align to the top */
.footer-column,
.big-column {
    margin-bottom: 30px;
}

/* Links Widget Styling */
.footer-widget.links-widget h4 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-widget .list-link li a {
    color: #d5d5d5;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 3px 0;
}

.footer-widget .list-link li a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* --- Contact Widget Specifics (Right Column) --- */

.footer-widget.contact-widget h4 {
    color: #fff;
    margin-bottom: 25px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    position: relative;
    padding-left: 60px;
    /* Space for the icon */
    margin-bottom: 25px;
    min-height: 50px;
}

/* The Blue Icon Box */
.contact-list li .icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 45px;
    height: 45px;
    background-color: #1a2e5a;
    /* Dark Blue Box Background - Adjust to match theme */
    color: #3498db;
    /* Light Blue Icon Color */
    text-align: center;
    line-height: 45px;
    font-size: 18px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-list li:hover .icon {
    background-color: #3498db;
    color: #fff;
}

/* Contact Text Styling */
.contact-list li .text {
    color: #888;
    font-size: 13px;
    line-height: 1.2em;
    margin-bottom: 2px;
}

.contact-list li a,
.contact-list li .address-text {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: block;
    line-height: 1.4em;
}

.contact-list li a:hover {
    color: #3498db;
}









/* Wrapper */
.product-card-wrapper {
    padding: 20px 0;
}

/* --- Card Container --- */
.creative-product-card {
    display: flex;
    background: #fff;
    border-radius: 0; /* Sharp corners for industrial look */
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #e5e5e5;
    position: relative;
    cursor: pointer; /* Indicates clickable */
}

/* Hover: Deep Shadow & Blue Border Bottom */
.creative-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 46, 90, 0.15);
    border-bottom: 3px solid #3498db; /* Subtle accent */
}

/* --- LEFT: Image Box --- */
.cp-image-box {
    width: 45%;
    position: relative;
    overflow: hidden;
}

.cp-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Zoom Image on Hover */
.creative-product-card:hover .cp-image-box img {
    transform: scale(1.1);
}

/* The "Shine" Flash Effect */
.shine-overlay {
    position: absolute;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    transition: none; /* No transition by default */
}

/* Trigger Shine on Hover */
.creative-product-card:hover .shine-overlay {
    left: 200%; /* Move across image */
    transition: left 0.6s ease-in-out;
}

/* --- RIGHT: Content Box --- */
.cp-content-box {
    width: 55%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    
    /* THE TECHNICAL DOT PATTERN BACKGROUND */
    background-color: #fff;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px; /* Spacing of dots */
}

/* --- Typography --- */
.cp-header h3 {
    font-size: 26px;
    font-weight: 800;
    color: #1a2e5a;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

/* The Sliding Arrow */
.title-arrow {
    font-size: 24px;
    opacity: 0;
    transform: translateX(-20px);
    color: #3498db;
    margin-left: 15px;
    transition: all 0.3s ease;
}

/* Reveal Arrow on Hover */
.creative-product-card:hover .title-arrow {
    opacity: 1;
    transform: translateX(0);
}

.creative-product-card:hover .cp-header h3 {
    color: #3498db; /* Title turns blue */
}

.cp-line {
    width: 40px;
    height: 4px;
    background: #1a2e5a;
    margin-bottom: 20px;
    transition: width 0.3s ease, background 0.3s ease;
}

.creative-product-card:hover .cp-line {
    width: 100%; /* Line expands to full width */
    background: #3498db; /* Line turns blue */
}

.cp-desc {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
    z-index: 2; /* Sit above dots */
}

/* --- Feature Grid --- */
.cp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.cpf-item {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.9); /* Subtle bg to hide dots behind text */
}

.cpf-item i {
    font-size: 20px;
    color: #3498db;
    margin-right: 12px;
}

.cpf-item div {
    display: flex;
    flex-direction: column;
}

.cpf-item strong {
    font-size: 13px;
    color: #1a2e5a;
    font-weight: 700;
}

.cpf-item span {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .creative-product-card {
        flex-direction: column;
    }
    .cp-image-box { width: 100%; height: 220px; }
    .cp-content-box { width: 100%; padding: 25px; }
    .cp-features { grid-template-columns: 1fr; gap: 15px; }
}