/* Banner Container */
.banner_area {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner_bg_image {
    /* FIX: Agar image folder same level par hai toh sirf 'img/3.jpg' likhein */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url("../img/certificate_banner.jpg") no-repeat center center;
    
    background-size: cover;
    min-height: 360px; /* Desktop height */
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Text Styling */
.breadcrumb_content {
    color: #ffffff;
    z-index: 2;
}

.breadcrumb_content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.breadcrumb_list {
    display: flex;
    list-style: none;
    padding: 0;
    font-size: 16px;
}

.breadcrumb_list li a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
}

.separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* --- RESPONSIVE SETTINGS --- */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .banner_bg_image {
        min-height: 300px;
    }
    .breadcrumb_content h2 {
        font-size: 30px;
    }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
    .banner_bg_image {
        min-height: 200px; /* Mobile par height kam taaki image stretch na ho */
        background-attachment: scroll; /* Mobile par parallax band rakhein */
    }
    .breadcrumb_content {
        text-align: center;
    }
    .breadcrumb_list {
        justify-content: center;
    }
    .breadcrumb_content h2 {
        font-size: 22px;
    }
}






/* Section Style */
.certificates-section {
  padding: 80px 0;
  background: #f8fafc;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

/* Title */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  color: #111;
}

.section-title p {
  max-width: 800px;
  margin: 15px auto;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.mt-30 {
  margin-top: 30px;
}

/* Grid Layout */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Certificate Card */
.cert-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: 0.3s ease;
  text-align: center;
}

.cert-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.cert-item span {
  display: block;
  padding: 12px;
  font-weight: 600;
  background: #fff;
  color: #222;
}

/* Hover Effect */
.cert-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 992px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .cert-item img {
    height: auto;
  }
}






.product-test-section {
  padding: 70px 0;
  background: #ffffff;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

/* Title Center */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 26px;
  font-weight: 600;
  color: #000;
}

/* Certificates Grid */
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

/* Certificate Image Box */
.cert-box img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid #ddd;
  padding: 10px;
  background: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .certificate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 20px;
  }
}






/* Reset Fix */
*{
  box-sizing:border-box;
}

/* Section */
.cert-section{
  padding:60px 20px; /* mobile ke liye padding kam */
  background:#fff;
  font-family:Arial, sans-serif;
}

/* Title */
.cert-title{
  text-align:center;
  font-size:26px;
  font-weight:600;
  margin-bottom:40px;
}

/* Grid Layout */
.cert-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr); /* Desktop 4 */
  gap:25px;
  max-width:1300px;   /* Center fix */
  margin:auto;
}

/* Certificate Box */
.cert-item{
  position:relative;
  overflow:hidden;
  border:1px solid #ddd;
  border-radius:6px;
  background:#fff;
}

/* Image */
.cert-item img{
  width:100%;
  height:260px; /* fixed height desktop */
  object-fit:cover;
  display:block;
  transition:0.4s ease;
}

/* Overlay */
.overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.65);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  opacity:0;
  transition:0.3s ease;
}

.overlay h6{
  font-size:14px;
  margin-bottom:5px;
}

.overlay h5{
  font-size:20px;
  font-weight:bold;
}

/* Hover */
.cert-item:hover img{
  transform:scale(1.05);
}
.cert-item:hover .overlay{
  opacity:1;
}

/* Tablet Responsive */
@media(max-width:992px){
  .cert-grid{
    grid-template-columns:repeat(2, 1fr); /* Tablet 2 */
  }
  .cert-item img{
    height:220px;
  }
}

/* Mobile Responsive */
@media(max-width:576px){
  .cert-grid{
    grid-template-columns:1fr; /* Mobile 1 */
  }
  .cert-section{
    padding:40px 10px;
  }
  .cert-item img{
    height:auto; /* Mobile auto height */
  }
}






.team-section{
  padding:60px 40px;
  background:#fff;
  font-family:Arial, sans-serif;
}

.team-container{
  max-width:1200px;
  margin:auto;
}

/* GRID */
.team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr); /* Desktop 3 */
  gap:25px;
}

/* CARD */
.team-item{
  position:relative;
  overflow:hidden;
  border:1px solid #ddd;
}

.team-item img{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
}

/* OVERLAY */
.overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  opacity:0;
  transition:0.3s;
}

.overlay h6{
  font-size:14px;
  margin-bottom:5px;
}

.overlay h5{
  font-size:22px;
  font-weight:bold;
}

/* Hover */
.team-item:hover .overlay{
  opacity:1;
}

/* Tablet */
@media(max-width:992px){
  .team-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Mobile */
@media(max-width:576px){
  .team-grid{
    grid-template-columns:1fr;
  }
  .team-item img{
    height:auto;
  }
}







/* Patent Section */
.patent-section{
  padding:60px 30px;
  background:#f8fafc;
  font-family:Arial, sans-serif;
}

.patent-title{
  text-align:center;
  font-size:28px;
  font-weight:bold;
  margin-bottom:40px;
}

/* GRID */
.patent-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr); /* Desktop */
  gap:20px;
  max-width:1300px;
  margin:auto;
}

/* Image Box */
.patent-item{
  border:1px solid #ddd;
  overflow:hidden;
  background:#fff;
}

.patent-item img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:0.3s;
}

/* Hover Zoom */
.patent-item:hover img{
  transform:scale(1.05);
}

/* Tablet */
@media(max-width:992px){
  .patent-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Mobile */
@media(max-width:576px){
  .patent-grid{
    grid-template-columns:1fr;
  }
  .patent-item img{
    height:auto;
  }
}


