.home-about {
  padding: 10px 0;
}

.home-about .about-label {
  color: grey;
  font-size: clamp(18px, 2vw, 25px);
  text-align: left;
  margin: 0 0 8px 0;
}

.home-about .about-text {
  color: black;
  font-size: clamp(16px, 1.8vw, 20px);
  text-align: left;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.home-about .about-btn {
  display: inline-block;
  padding: clamp(10px, 1.5vw, 12px) clamp(20px, 3vw, 30px);
  background-color: #cc4b24;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid #cc4b24;
  margin-left: 10px;
  transition: all 0.3s ease;
  font-size: clamp(14px, 1.5vw, 18px);
}

.home-about .about-btn:hover {
  background-color: white;
  color: #cc4b24;
}

.industries-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.industries-section .heading-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 10px;
}

.industries-section h1 {
    font-size: 3.5rem;
    color: #231f1e;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
}

.industries-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #cc4b24;
    border-radius: 2px;
}

.industries-section .subtitle {
    font-size: 1.4rem;
    color: #231f1e;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}


/* Certificate Section */
.certificate-section {
    background-color: #cc4b24;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.section-subtitle {
    color: white;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ISO Certificate Gallery - Full Height Images */
.iso-gallery {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    padding: 0 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.iso-certificate {
    flex: 1;
    max-width: 400px;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.iso-certificate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.certificate-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 0;
    overflow: hidden;
}

.iso-certificate img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.iso-certificate:hover img {
    transform: scale(1.03);
}

.certificate-label {
    background: #000000;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    margin: 0;
    flex-shrink: 0;
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 95vh;
    position: relative;
    animation: zoomIn 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content img {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    object-fit: contain;
}

/* Close button - Bottom right corner */
.close-modal {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 100001;
}

.close-modal:hover {
    background-color: #cc4b24;
    color: white;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .iso-gallery {
        gap: 20px;
    }
    
    .iso-certificate {
        max-width: 100%;
        min-width: 250px;
    }
    
    .certificate-image-container {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .certificate-section {
        padding: 30px 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .iso-gallery {
        gap: 15px;
        padding: 0 15px 30px;
        flex-wrap: wrap;
    }
    
    .iso-certificate {
        min-width: 200px;
        flex: 1 1 calc(50% - 15px);
    }
    
    .certificate-image-container {
        min-height: 300px;
    }
    
    .certificate-label {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .close-modal {
        width: 35px;
        height: 35px;
        font-size: 20px;
        bottom: -45px;
    }
}

@media (max-width: 600px) {
    .iso-gallery {
        flex-direction: column;
        align-items: center;
    }
    
    .iso-certificate {
        width: 100%;
        max-width: 400px;
        flex: none;
    }
    
    .certificate-image-container {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .certificate-section {
        padding: 25px 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .certificate-image-container {
        min-height: 300px;
    }
    
    .close-modal {
        width: 30px;
        height: 30px;
        font-size: 18px;
        top: -40px;
        right: 50%;
        transform: translateX(50%);
    }
}


/* Products Gallery Styles */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers all gallery items */
    gap: 10px;
    box-sizing: border-box;
    padding: 10px 0;
}

.products * {
    box-sizing: border-box;
    margin: 0;
}

.products .responsive {
    flex: 0 1 calc(33.333% - 10px); /* 3 per row with spacing */
    margin-bottom: 12px;
}

.products .gallery {
    border: 1px solid #ccc;
    position: relative;
    overflow: hidden;
    background: #cc4b24;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.products .gallery:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.products .gallery img {
    width: 100%;
    height: 300px; /* original 250px */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.products .gallery:hover img {
    transform: scale(1.05);
}

.products .desc {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #ffffff;
}

.products .desc a {
    color: #ffffff;
    text-decoration: none;
}

.products .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(75, 75, 77, 0.8);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products .gallery:hover .overlay {
    height: 100%;
}

.products .overlay a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
    text-align: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.home-about .about-title {
    font-size: 3rem;
    color: #231f1e;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
}

.home-about .about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0; /* left aligned */
    width: 80px;
    height: 4px;
    background: #cc4b24;
    border-radius: 2px;
}


.industries-section h2 {
    font-size: 3rem; /* adjust if needed */
    color: #231f1e;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
}

.industries-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #cc4b24;
    border-radius: 2px;
}



/* Responsive Design */
@media only screen and (max-width: 900px) {
    .products .responsive {
        flex: 0 1 calc(50% - 10px);
    }
}

@media only screen and (max-width: 600px) {
    .products .responsive {
        flex: 0 1 100%;
    }
}
