/* Custom Styling for About, Facilities (Updated) & Software Sections */
.text-primary { color: #0056b3 !important; } /* Adjust to your brand color */
.section-sp3 { padding: 80px 0; }
.bg-light-gray { background-color: #f8f9fa; }
.bg-white { background-color: #ffffff; }

/* Typography & General */
.title-ext { font-weight: 600; color: #6c757d; text-transform: uppercase; letter-spacing: 2px; }
.title-head { font-weight: 700; margin-bottom: 20px; line-height: 1.3; }
.ttr-separator { height: 3px; width: 60px; background-color: #0056b3; margin-bottom: 25px; }

/* About Section */
.about-img-box3 img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; }
.head-px2 { font-size: 16px; line-height: 1.7; margin-bottom: 20px; }

/* Facilities Cards (Updated with Image Styling) */
.facility-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
    text-align: center; /* Ensures center alignment */
}
.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-bottom: 4px solid #0056b3;
}

/* Machine Image Styling within the Card */
.facility-img {
    width: 100%; /* Spans full card width */
    height: 180px; /* Fixed height for consistency */
    border-radius: 8px; /* Match card radius */
    margin-bottom: 20px; /* Space below image */
    object-fit: cover; /* Ensures image fills nicely */
    transition: transform 0.3s ease; /* For hover effect */
}
.facility-card:hover .facility-img {
    transform: scale(1.05); /* Subtle scale up on hover */
}

/* Existing card elements styled slightly smaller */
.facility-icon { font-size: 24px; color: #0056b3; margin-bottom: 10px; }
.facility-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.facility-spec { font-size: 14px; color: #666; margin: 0; }

/* Software Section */
.software-box { background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.software-content { padding: 40px; }
.software-tags span { display: inline-block; background: #e9ecef; color: #333; padding: 8px 15px; border-radius: 20px; font-size: 14px; margin: 5px 5px 5px 0; font-weight: 500; }



/* Certificate Section Styling */
.certificate-card {
    background: #fff;
    padding: 15px; /* Creates a frame-like white border around the image */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.cert-img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Adjust height based on your certificate size */
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

/* Products Section Styling */
.product-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
    text-align: center;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #0056b3;
}
.product-img-wrapper {
    background: #f8f9fa; /* Light gray background so transparent images look good */
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    height: 200px; /* Fixed height for uniformity */
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ye tumhari requirement thi - Image katega nahi */
    transition: transform 0.3s ease;
}
.product-card:hover .product-img {
    transform: scale(1.08); /* Hover pe thoda zoom in effect */
}
.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}
.product-card:hover .product-title {
    color: #0056b3; /* Brand color on hover */
}