/* BDBSI Custom Styles */

.home1-banner-section .banner-wrapper {
    background-size: cover;
    background-position: center;
    animation: heroFade 15s infinite;
    position: relative;
}

@keyframes heroFade {
    0% {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url(../img/bdbsi/hero1_indian.png);
    }

    45% {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url(../img/bdbsi/hero1_indian.png);
    }

    55% {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url(../img/bdbsi/hero2_indian.png);
    }

    95% {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url(../img/bdbsi/hero2_indian.png);
    }

    100% {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url(../img/bdbsi/hero1_indian.png);
    }
}

/* Client Slider Styles */
.client-slider {
    margin: 0 -10px;
}

.client-logo-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin: 10px;
    border-radius: 12px;
    display: flex !important;
    /* Slick uses block by default */
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease-in-out;
}

.client-logo-card img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease-in-out;
}

.client-logo-card:hover {
    border-color: #4b8b2e;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.client-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Slick Dots Styling */
.client-slider .slick-dots {
    bottom: -40px;
}

.client-slider .slick-dots li button:before {
    color: #4b8b2e;
    font-size: 10px;
}

/* Product Section Styles (Off-White Theme) */
.home1-product-section {
    background-color: #F9F9F9;
    padding-top: 100px;
    padding-bottom: 120px;
}

.home1-product-section .section-title span {
    color: #4b8b2e;
}

.home1-product-section .section-title h2 {
    color: #111;
}

.project-card-wrap {
    padding: 15px;
    /* Added spacing around the card */
}

.project-card {
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(75, 139, 46, 0.1);
}

.home1-product-section .project-card .project-content h3 a {
    color: #111 !important;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 5px;
    display: block;
}

.home1-product-section .project-card .project-content span {
    color: #4b8b2e !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.home1-product-section .project-card .project-content ul li a {
    color: #444 !important;
    font-size: 14px;
    font-weight: 500;
}

.home1-product-section .project-card .project-content ul li a:hover {
    color: #4b8b2e !important;
}

.project-card .project-img {
    height: 280px;
    /* Fixed height for consistency */
    width: 100%;
    overflow: hidden;
    background-color: #eee;
}

.project-card .project-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* Ensures images fill the space without distortion */
    transition: all 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
    /* Subtle zoom on hover */
}

/* Force visibility of content area */
.project-content-wrap {
    background: #fff !important;
    padding: 25px 20px !important;
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-top: 1px solid #f0f0f0;
}

.home1-product-section .project-card-wrap::after {
    display: none !important;
}

/* Common Product Page & Sidebar Styles - Premium Upgrade */
.project-details-sidebar .project-info-wrap,
.project-details-sidebar .service-sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 35px;
    transition: all 0.4s ease;
}

.project-details-sidebar .project-info-wrap:hover,
.project-details-sidebar .service-sidebar-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(75, 139, 46, 0.08);
}

.services-list h4 {
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list ul li {
    margin-bottom: 12px;
}

.services-list ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fcfdfc;
    color: #444;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.services-list ul li a:hover,
.services-list ul li.active a {
    background: #4b8b2e;
    color: #ffffff;
    border-color: #4b8b2e;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(75, 139, 46, 0.2);
}

.services-list ul li a i {
    font-size: 18px;
}

.project-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-info li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.project-info li:last-child {
    margin-bottom: 0;
}

.project-info li .icon {
    width: 50px;
    height: 50px;
    background: rgba(75, 139, 46, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-info li .icon i {
    font-size: 24px;
    color: #4b8b2e;
}

.project-info li .content span {
    display: block;
    font-size: 13px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 3px;
}

.project-info li .content h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

/* Industrial Component Styles - Premium Upgrade */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-intro-section .main-title {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.5px;
}

.service-intro-section .main-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 5px;
    background: #4b8b2e;
    border-radius: 3px;
}

.service-intro-section .description-text {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    font-weight: 500;
}

.service-details-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    animation: slideUpFade 0.8s ease forwards;
    opacity: 0;
}

.service-details-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-details-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-details-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-details-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-details-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-details-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(75, 139, 46, 0.12);
}

.card-header-industrial {
    background: #fcfdfc;
    padding: 22px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.card-header-industrial .sub-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #4b8b2e;
    letter-spacing: 0.5px;
}

.card-body-industrial {
    padding: 35px 30px;
}

.modern-bullet-list {
    list-style: none;
    padding: 0;
}

.modern-bullet-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
}

.modern-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 3px;
    background: #4b8b2e;
    border-radius: 2px;
}

.application-tag {
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    border-left: 5px solid #4b8b2e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.application-tag:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(75, 139, 46, 0.08);
    border-color: rgba(75, 139, 46, 0.2);
}

.application-tag i {
    font-size: 22px;
    color: #4b8b2e;
}

.industrial-spec-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.industrial-spec-table thead th {
    background: #1a1a1a;
    color: #fff;
    padding: 18px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    border: none;
}

.industrial-spec-table tbody td {
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-weight: 500;
}

.industrial-spec-table tbody tr:last-child td {
    border-bottom: none;
}

.industrial-spec-table tbody tr td:first-child {
    background: #fafafa;
    color: #222;
    font-weight: 700;
    width: 40%;
    border-right: 1px solid #f0f0f0;
}

.showcase-box {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    height: 300px;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.showcase-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-box:hover img {
    transform: scale(1.08);
}

.card-image-wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 350px;
    /* Standardized height for intro/construction images */
    width: 100%;
    background: #fcfcfc;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar Banner Enhancement */
.sidebar-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sidebar-banner img {
    width: 100%;
    transition: transform 0.6s ease;
}

.sidebar-banner:hover img {
    transform: scale(1.08);
}

.sidebar-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 40, 40, 0.8));
    z-index: 1;
}

.sidebar-banner .banner-content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    z-index: 2;
}

.sidebar-banner h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.sidebar-banner h2 span {
    color: #4b8b2e;
    display: block;
}

/* Revamp Breadcrumb Design to Full-Width Banner */
.breadcrumb-section {
    position: relative;
    background-color: #1a1a1a;
    background-image: url('../img/innerpages/breadcrumb-bdbsi.png');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    margin-bottom: 0;
}

.breadcrumb-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 40, 0.7);
    /* Dark green/teal overlay */
    z-index: 1;
}

.breadcrumb-section .breadcrumb-content-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    /* Center the content */
}

/* Hide the old side image and mask since it's now a full background */
.breadcrumb-section .breadcrumb-img,
.breadcrumb-section .breadcrumb-content-wrap .vector,
.breadcrumb-section .breadcrumb-content-wrap .vector2,
.breadcrumb-section .breadcrumb-content-wrap .circular-text,
.breadcrumb-section .breadcrumb-content-wrap::before,
.breadcrumb-section .breadcrumb-content-wrap::after {
    display: none !important;
}

.breadcrumb-section .breadcrumb-content {
    padding: 0 !important;
}

.breadcrumb-section .breadcrumb-list {
    justify-content: center !important;
    margin-bottom: 20px !important;
}

.breadcrumb-section .breadcrumb-list li,
.breadcrumb-section .breadcrumb-list li a,
.breadcrumb-section .breadcrumb-list li a svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.breadcrumb-section .breadcrumb-list li::before {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.breadcrumb-section .breadcrumb-content h1 {
    color: #ffffff !important;
    font-size: 48px !important;
}

/* Styling for View Details Button */
.blog-content .read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid #4b8b2e;
    border-radius: 5px;
    color: #4b8b2e;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 5px;
}

.blog-content .read-btn svg {
    fill: #4b8b2e;
    transition: all 0.3s ease;
}

.blog-content .read-btn:hover {
    background: #4b8b2e;
    color: #ffffff;
}

.blog-content .read-btn:hover svg {
    fill: #ffffff;
    transform: translateX(3px);
}

/* Footer Tagline Styles */
.footer-tagline-wrap {
    border-left: 3px solid #4b8b2e;
    padding-left: 15px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.footer-tagline-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-dmsans);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-tagline-title span {
    color: #4b8b2e;
}

.footer-tagline-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    font-family: var(--font-dmsans);
}

/* Core Strengths Section Styles */
.core-strengths-section {
    position: relative;
    z-index: 2;
}

.strength-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 35px;
    height: 100%;
    min-height: 490px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.strength-card.green-top-border {
    border-top: 4px solid #4b8b2e;
}

.strength-card.black-top-border {
    border-top: 4px solid #1a1a1a;
}

.strength-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(75, 139, 46, 0.1);
    border-color: rgba(75, 139, 46, 0.2);
}

.strength-card .card-badge {
    font-size: 11px;
    font-weight: 700;
    color: #4b8b2e;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.strength-card.black-top-border .card-badge {
    color: #888;
}

.strength-card .card-title {
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-family: var(--font-dmsans);
    letter-spacing: -0.5px;
}

.strength-card .card-content-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.strength-card .card-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 18px;
    line-height: 1.4;
    font-family: var(--font-dmsans);
}

.strength-card .card-para {
    font-size: 14.5px;
    line-height: 1.7;
    color: #555555;
    margin: 0;
    font-family: var(--font-dmsans);
}

.strength-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strength-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.strength-checklist li:last-child {
    margin-bottom: 0;
}

.strength-checklist .check-icon {
    width: 22px;
    height: 22px;
    background: rgba(75, 139, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.strength-checklist .check-icon svg path {
    transition: stroke 0.3s ease;
}

.strength-card:hover .strength-checklist .check-icon {
    transform: scale(1.1);
    background: #4b8b2e;
}

.strength-card:hover .strength-checklist .check-icon svg path {
    stroke: #ffffff;
}

.strength-checklist .check-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #444444;
    line-height: 1.5;
    font-family: var(--font-dmsans);
}

/* Core Strengths - Style 2 (Horizontal Stack Rows) */
.core-strengths-section.style-2 {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px 0;
}

.strength-row-wrap {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
}

.strength-row-wrap:last-child {
    border-bottom: none;
}

.strength-row-item {
    padding: 45px 30px;
    border-left: 4px solid transparent;
    transition: all 0.4s ease;
    border-radius: 0 12px 12px 0;
}

.strength-row-wrap:hover {
    background: rgba(75, 139, 46, 0.06) !important;
    box-shadow: 0 15px 35px rgba(75, 139, 46, 0.1);
    border-bottom-color: transparent;
}

.strength-row-wrap:hover .strength-row-item {
    border-left-color: #4b8b2e;
    transform: translateX(10px);
}

.strength-row-wrap:hover .row-num {
    color: #4b8b2e;
    -webkit-text-stroke: 1px #4b8b2e;
}

.row-num {
    font-size: 72px;
    font-weight: 800;
    font-family: var(--font-dmsans);
    color: transparent;
    -webkit-text-stroke: 1px #ddd;
    line-height: 1;
    transition: all 0.4s ease;
}

.row-badge {
    font-size: 11px;
    font-weight: 700;
    color: #4b8b2e;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.row-title {
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    margin: 0;
    font-family: var(--font-dmsans);
    text-transform: uppercase;
}

.row-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 12px;
    font-family: var(--font-dmsans);
}

.row-para {
    font-size: 14.5px;
    line-height: 1.7;
    color: #555555;
    margin: 0;
    font-family: var(--font-dmsans);
}

.row-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.row-checklist li {
    position: relative;
    padding-left: 25px;
    font-size: 14.5px;
    font-weight: 600;
    color: #444444;
    font-family: var(--font-dmsans);
}

.row-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 6px;
    border-left: 2px solid #4b8b2e;
    border-bottom: 2px solid #4b8b2e;
    transform: rotate(-45deg);
}

@media (max-width: 991px) {
    .row-checklist {
        grid-template-columns: 1fr;
    }

    .row-num {
        font-size: 54px;
        margin-bottom: 15px;
    }

    .strength-row-item {
        padding: 30px 15px;
    }
}

/* Premium Product Grid Image Framing */
.home1-product-section .blog-card .blog-img img {
    object-fit: contain !important;
    background-color: #ffffff !important;
    padding: 15px;
    height: 250px !important;
    min-height: auto !important;
}

/* Premium About Section Image Styling */
.home1-about-section .about-img {
    height: 884px;
    /* Increased height to align with the text content column */
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
}

.home1-about-section .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crops and fits the image dynamically without distortion */
    transition: all 0.5s ease-in-out;
}

.home1-about-section .about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(75, 139, 46, 0.2);
}

.home1-about-section .about-img:hover img {
    transform: scale(1.03);
    /* Subtle premium hover zoom */
}

@media (max-width: 1199px) {
    .home1-about-section .about-img {
        height: 500px;
    }
}

@media (max-width: 991px) {
    .home1-about-section .about-img {
        height: 420px;
    }
}

@media (max-width: 576px) {
    .home1-about-section .about-img {
        height: 280px;
    }
}

/* Increased height for About Section */
.home1-about-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 991px) {
    .home1-about-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}