.preloader { position:fixed; top:0; left:0; width:100%; height:100%; background-color:rgba(255, 255, 255, 0.98); display:flex; justify-content:center; align-items:center; z-index:9999; transition:opacity 0.3s ease-out;}.preloader.fade-out { opacity:0;}.preloader.hidden { display:none;}.preloader-spinner { width:30px; height:30px; border:2px solid #f3f3f3; border-top:2px solid var(--primary-color); border-radius:50%; animation:spin 0.8s linear infinite;}@keyframes spin { 0% { transform:rotate(0deg); } 100% { transform:rotate(360deg); }}.content-wrapper { display:none; opacity:0; transition:opacity 0.3s ease-in;}.content-wrapper.loaded { display:block; opacity:1;}:root { --primary-color:#006b3f; --secondary-color:#6c757d; --dark-color:#343a40; --light-color:#f8f9fa; --transition-speed:0.3s;}body { font-family:'Arial', sans-serif; line-height:1.6; margin:0; padding:0; overflow-x:hidden;}.header-spacer { height:76px;}.hero-section { background:linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/GeneralMachining.jpg'); background-size:cover; background-position:center; background-attachment:fixed; color:white; padding:100px 0; margin-top:-76px; position:relative; overflow:hidden;}.hero-section::before { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:linear-gradient(45deg, rgba(0, 86, 179, 0.7), rgba(0, 0, 0, 0.7)); z-index:1;}.hero-section .container { position:relative; z-index:2;}.min-vh-75 { min-height:75vh;}.card { transition:all var(--transition-speed) ease; border:none; box-shadow:0 2px 15px rgba(0, 0, 0, 0.1); overflow:hidden;}.card:hover { transform:translateY(-5px); box-shadow:0 5px 25px rgba(0, 0, 0, 0.2);}.card-img-top { height:200px; object-fit:cover; transition:transform var(--transition-speed) ease;}.card:hover .card-img-top { transform:scale(1.05);}.btn-primary { background-color:var(--primary-color); border-color:var(--primary-color); padding:0.75rem 1.5rem; transition:all var(--transition-speed) ease; position:relative; overflow:hidden;}.btn-primary:hover { background-color:darken(var(--primary-color), 10%); border-color:darken(var(--primary-color), 10%); transform:translateY(-2px);}.btn-primary::after { content:''; position:absolute; top:50%; left:50%; width:0; height:0; background:rgba(255, 255, 255, 0.2); border-radius:50%; transform:translate(-50%, -50%); transition:width 0.6s ease, height 0.6s ease;}.btn-primary:hover::after { width:300px; height:300px;}.navbar { padding:1rem 0; transition:all var(--transition-speed) ease;}.navbar.scrolled { background:rgba(255, 255, 255, 0.95) !important; box-shadow:0 2px 10px rgba(0, 0, 0, 0.1);}.navbar-brand img { max-height:50px; transition:transform var(--transition-speed) ease;}.navbar-brand:hover img { transform:scale(1.05);}.nav-link { font-weight:500; padding:0.5rem 1rem !important; position:relative;}.nav-link::after { content:''; position:absolute; bottom:0; left:50%; width:0; height:2px; background:var(--primary-color); transition:all var(--transition-speed) ease; transform:translateX(-50%);}.nav-link:hover::after { width:100%;}footer { background-color:var(--dark-color);}footer a { text-decoration:none;}footer a:hover { text-decoration:underline;}.contact-form { background:var(--light-color); padding:2rem; border-radius:10px; box-shadow:0 2px 15px rgba(0, 0, 0, 0.1);}.img-fluid { max-width:100%; height:auto;}.quality-bg { background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/QualityPage2.jpg'); background-size: 120%; background-position:center; background-attachment:fixed; color:white; padding:100px 0; position:relative;}.capability-card { margin-bottom:2rem;}.about-section { padding:5rem 0;}.team-member { text-align:center; margin-bottom:2rem;}.team-member img { width:200px; height:200px; object-fit:cover; border-radius:50%; margin-bottom:1rem;}.video-container { position:relative; overflow:hidden; border-radius:10px; box-shadow:0 5px 25px rgba(0, 0, 0, 0.2);}.video-container video { width:100%; display:block; transition:transform var(--transition-speed) ease;}.video-container:hover video { transform:scale(1.02);}@keyframes fadeIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); }}.animate-fade-in { animation:fadeIn 0.6s ease forwards;}@media (max-width:768px) { .hero-section { background-attachment:scroll; } .quality-bg { background-attachment:scroll; } .card-img-top { height:150px; }} 
/* About page specific styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/optimized_GeneralMachining2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-year-badge {
    position: absolute;
    bottom: -30px;
    right: 50px;
    background: #fff;
    border: 2px solid #007bff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.hero-year-badge span {
    font-size: 14px;
    color: #007bff;
    font-weight: 600;
    margin-bottom: -5px;
}

.hero-year-badge strong {
    font-size: 28px;
    color: #212529;
}

.experience-badge {
    background: #007bff;
    color: white;
    border-radius: 8px;
    padding: 8px 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.experience-badge span {
    font-size: 24px;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.experience-badge small {
    font-size: 12px;
    letter-spacing: 1px;
}

.corner-ribbon {
    position: absolute;
    top: 20px;
    right: -60px;
    background: #007bff;
    color: white;
    padding: 5px 60px;
    transform: rotate(45deg);
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    transition: all 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card .social-icons {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.team-card:hover .social-icons {
    opacity: 1;
}

.facility-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section {
    background: linear-gradient(rgba(0, 123, 255, 0.9), rgba(0, 123, 255, 0.7)), url('../images/optimized_GeneralInfo_Customerparts.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for multiple elements */
.row .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.row .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.row .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.row .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

/* Capabilities page specific styles */
.capabilities-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/optimized_GeneralMachining3.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.specialty-section {
    position: relative;
    background: linear-gradient(120deg, #f8f9fa 50%, #e9ecef 50%);
}

.specialty-badge {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.specialty-card {
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-10px);
}

.specialty-ribbon {
    position: absolute;
    top: 10px;
    right: -40px;
    background: #dc3545;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.capabilities-list {
    margin-top: 20px;
}

.capability-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.capability-item:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.capability-item i {
    font-size: 20px;
    margin-right: 15px;
    min-width: 24px;
    text-align: center;
}

.capability-item.featured {
    background-color: rgba(0, 123, 255, 0.1);
    border-left: 3px solid #007bff;
    padding-left: 12px;
}

.success-stat {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.success-number {
    font-size: 42px;
    font-weight: bold;
    color: #007bff;
    line-height: 1;
}

.success-text {
    font-size: 16px;
    margin-top: 5px;
}

.capability-card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.capability-image {
    position: relative;
    overflow: hidden;
}

.capability-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.capability-card:hover .capability-overlay {
    opacity: 1;
}

.capability-overlay-content {
    color: white;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.capability-card:hover .capability-overlay-content {
    transform: translateY(0);
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
}

.spec-label {
    font-weight: bold;
    min-width: 100px;
}

.corner-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    flex: 1;
    min-width: 100px;
    background: #f8f9fa;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #007bff;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

.equipment-card {
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.equipment-image {
    height: 240px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.05);
}

.equipment-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.equipment-list {
    margin-top: 15px;
}

.equipment-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
}

.equipment-list-item i {
    color: #007bff;
    margin-right: 10px;
    font-size: 16px;
}

.specialty-equipment {
    position: relative;
    border: 2px solid #007bff;
}

.unique-capability-badge {
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.unique-capability-badge i {
    color: #ffc107;
    font-size: 24px;
    margin-right: 10px;
}

.video-card {
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.custom-video-player {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.play-button {
    background-color: rgba(0, 123, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 24px;
    margin-left: 4px; /* Slight offset for play icon */
}

.play-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.cta-specialty-section {
    background: linear-gradient(45deg, #0062cc, #007bff);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-specialty-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png');
    opacity: 0.1;
    animation: slide 20s linear infinite;
}
/* Quality Assurance Page Styles */

/* Hero Section */
.quality-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/QualityPage2.jpg');
    background-size: 120%;
    background-position: center;
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.quality-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(0, 107, 63, 0.9);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Quality Overview */
.quality-ribbon {
    position: absolute;
    top: 20px;
    right: -15px;
    background: #dc3545;
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    width: 150px;
    text-align: center;
}

.quality-quote {
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    margin: 30px 0;
}

.quality-quote blockquote {
    font-style: italic;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
    padding-left: 25px;
    line-height: 1.7;
}

.quality-quote i.fa-quote-left {
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.5;
}

/* Enhanced Quality Page Styles - Overall Polish */

/* Global Section Spacing */
.quality-section {
    padding: 80px 0;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 50px;
}

.container {
    padding-left: 30px;
    padding-right: 30px;
}

.row {
    margin-left: -20px;
    margin-right: -20px;
}

.row > [class*="col-"] {
    padding-left: 20px;
    padding-right: 20px;
}

/* Improved Quality Stats Cards */
.quality-stats {
    margin-top: 30px;
    margin-bottom: 40px;
}

.quality-stat {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    height: 100%;
    border-bottom: 3px solid #007bff;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.quality-stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    line-height: 1;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 0.8rem;
    margin-top: 5px;
    color: #333;
    line-height: 1.5;
}

/* Process Cards Improvements */
.process-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: none;
}

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

.process-card .card-title {
    margin-bottom: 20px;
    font-weight: 600;
}

.process-card .card-text {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #495057;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.process-details {
    margin-top: 25px;
}

.process-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 8px 0;
}

.process-detail-item i {
    margin-right: 18px;
    min-width: 22px;
    margin-top: 4px;
    color: #007bff;
    font-size: 18px;
}

/* Equipment Tabs Enhancement */
.equipment-tabs {
    border-bottom: none;
    margin-bottom: 30px;
    justify-content: center;
}

.equipment-tabs .nav-link {
    border: none;
    border-radius: 30px;
    padding: 14px 30px;
    margin-right: 15px;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.equipment-tabs .nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-3px);
}

.equipment-tabs .nav-link.active {
    background-color: #007bff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
}

.equipment-tab-content {
    border-radius: 12px;
    background-color: #ffffff !important;
    color: #212529 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 35px 30px;
    margin-top: 25px;
}

.equipment-features {
    padding-left: 25px;
}

.equipment-features li {
    margin-bottom: 18px;
    color: #212529;
    line-height: 1.7;
    position: relative;
}

.equipment-features li::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    left: -20px;
    top: 10px;
}

/* Certifications Card Enhancement */
.certifications-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.certifications-card .card-body {
    padding: 40px 35px;
}

.certification-graphic {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    border-radius: 12px 0 0 12px;
}

.certification-badge {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.certification-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.certification-item {
    display: flex;
    align-items: flex-start;
    padding: 5px 0;
}

.certification-item i {
    font-size: 22px;
    margin-top: 3px;
    margin-right: 18px;
    color: #007bff;
}

/* Action Cards Enhancement */
.action-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: none;
}

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

.action-card .card-title {
    margin-bottom: 20px;
    font-weight: 600;
}

.action-card .card-text {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #495057;
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.action-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.action-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.action-card:hover .action-card-image img {
    transform: scale(1.08);
}

.action-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: all 0.3s ease;
}

.action-tag {
    display: inline-block;
    padding: 6px 15px;
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.featured-action {
    border: 2px solid #007bff;
    position: relative;
}

.featured-action-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
}

.action-details {
    margin-top: 25px;
    border-top: 1px solid #e9ecef;
    padding-top: 25px;
}

.action-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #006b3f;
    margin-bottom: 10px;
}

.stat-name {
    font-size: 1rem;
    color: #212529;
    text-align: center;
    line-height: 1.4;
}

/* CTA Section Enhancement */


.quality-testimonial {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 35px;
    max-width: 800px;
    margin: 40px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quality-testimonial-text {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.quality-testimonial-author {
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* General Responsive Improvements */
@media (max-width: 991px) {
    .quality-section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .quality-stat {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-card .card-body, 
    .action-card .card-body {
        padding: 25px 20px;
    }
    
    .equipment-tab-content {
        padding: 25px 20px;
    }
    
    .cta-quality-content {
        padding: 35px !important;
    }
}

@media (max-width: 767px) {
    .quality-section {
        padding: 50px 0;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .action-card-image {
        height: 200px;
    }
    
    .quality-testimonial {
        padding: 25px;
    }
    
    .cta-quality-content {
        padding: 30px !important;
    }
    
    .equipment-tabs .nav-link {
        padding: 10px 20px;
        margin-right: 10px;
        margin-bottom: 10px;
    }
}

/* Fix quality ribbon position - make it stick to the picture */
.quality-ribbon {
    position: absolute;
    top: 40px;
    right: 300px; /* Adjusted to stick closer to the image */
    background: #dc3545;
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    width: 250px; /* Fixed width so it doesn't extend too far */
    text-align: center;
}

/* Fix quality stats size - make them smaller */
.quality-stat {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    height: 100%;
    border-bottom: 3px solid #6abb7c;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 1.5rem; /* Reduced from 2.5rem */
    font-weight: bold;
    color: #6abb7c;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem; /* Reduced from 1.1rem */
    margin-top: 5px;
    color: #6c757d;
}

/* Fix Font Awesome icons styling */
.fas, .fa, .far, .fab {
    color: #007bff;
    font-size: 16px;
}

.process-detail-item i, 
.certification-item i,
.equipment-list-item i,
.capability-item i,
.quality-quote i {
    color: #007bff;
    font-size: 16px;
    width: 16px;
    text-align: center;
    margin-right: 10px;
}

/* Fix equipment badge styling */
.equipment-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #006b3f !important;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 12px;
}

/* Ensure bottom background image is visible */
.cta-quality-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/optimized_GeneralCapabilites.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    padding: 60px 0;
}

.cta-quality-content {
    background: rgba(13, 110, 253, 0.85);
    border-radius: 8px;
    position: relative;
    z-index: 2;
    color: white;
    padding: 25px;
}

/* Enhanced image-fluid styling for quality page images */
.img-fluid.quality-image {
    max-width: 100%;
    height: auto;
    min-height: 400px; /* Make image taller */
    object-fit: cover; /* Maintain aspect ratio while filling the container */
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    display: block;
    margin: 0 auto 30px;
}

/* Container for images with ribbons */
.image-ribbon-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.image-ribbon-container .img-fluid {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.image-ribbon-container:hover .img-fluid {
    transform: scale(1.05);
}

/* Adjusted ribbon positioning for better visibility */
.image-ribbon-container .quality-ribbon {
    position: absolute;
    top: 35px; /* Moved down from 20px */
    right: -45px; /* Moved more to the left (larger negative value) */
    background: #dc3545;
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    width: 200px;
    text-align: center;
}

/* Fix for Font Awesome size classes */
.fa-3x {
    font-size: 3em !important; /* Override the fixed 18px size */
}

.fa-2x {
    font-size: 2em !important;
}

.fa-lg {
    font-size: 1.33em !important;
}

/* General improvements for icons */
.fas, .far, .fab, .fa {
    color: #6abb7c;
    /* Remove the fixed font-size */
    display: inline-block;
    vertical-align: middle;
}

/* Specific styling for shield icon */
.fa-shield-alt {
    position: relative;
    top: -2px; /* Fine-tune vertical alignment */
}
