/* Font families */
  .playfair { font-family: 'Playfair Display', serif; }
  .poppins  { font-family: 'Poppins', sans-serif; }

  /* Hero image with centered overlay text */
  .hero {
  position: relative;
  width: 100%;
  height: 90vh; /* adjust as needed */
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .title {
  color: white;
  font-size: 5rem;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

  /* Main heading + paragraph */
  .content {
    max-width: 1200px;
    margin: 3rem auto;
    text-align: center;
  }
  .content h2 {
    font-family: 'Playfair Display', serif;
    color: #1D1A6D;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }
  .per {
    font-family: 'Poppins', sans-serif;
    color: #1D1A6D;
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: left;
  }
  .content ul {
    color: #1D1A6D;
    font-size: 1.5rem;
    list-style: disc;
    padding-left: 1.5rem;
    text-align: left;
  }
  .content ul li {
    font-family: 'Poppins', sans-serif;
    color: #1D1A6D;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .reuse {
    font-family: 'Poppins', sans-serif;
    color: #1D1A6D;
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: left;
  }
  

  /* Reusable two‑column section */
  .two-col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 4rem auto;
    gap: 2rem;
  }
  .two-col .text {
    flex: 1 1 600px;
  }
  .two-col .image {
    flex: 1 1 300px;
  }
  .two-col .image img {
    width: 400px;
    height: 400px;
    border-radius: 1rem;
    object-fit: cover;
  }
  @media (max-width: 768px) {
    .two-col { flex-direction: column; }
  }


  /* Industries Section */
.industries-section {
  
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 4.5rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.tabs-grid {
  display: grid;
  height: 600px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.industry-tab {
  background-color: #1D1A6D; /* Royal Blue */
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.industry-tab img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 10px;
}

.industry-tab p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.industry-tab:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}



/* inspection-section.css */
#inspection-section {
  background-color: #ffffff;
  color: #1D1A6D;
  padding: 40px 20px;
}
#inspection-section h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
  font-size: 3.5em;
}
#inspection-section .section-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
#inspection-section .content {
  flex: 1 1 60%;
}
#inspection-section .content h3 {
  margin-left: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: left;
  font-size: 2rem;
}
#inspection-section .content ul {
  list-style-type: disc;
  margin-left: 20px;
}
#inspection-section .images {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
#inspection-section .images img {
  width: 350px;
  height: 480px;
  object-fit: cover;
  border: 2px solid #1D1A6D;
  border-radius: 8px;
}
@media (max-width: 800px) {
  #inspection-section .section-inner {
    flex-direction: column;
  }
  #inspection-section .images, 
  #inspection-section .content {
    flex: 1 1 100%;
  }
}



  /* Extra‑large desktops (1200px and up) */
@media (min-width: 1200px) {
  .hero            { height: 90vh; }
  .hero .title     { font-size: 5rem; }
  .content h2      { font-size: 4rem; }
  .per, .content ul li, .reuse { font-size: 1.5rem; }
  .two-col .image img {
    width: 400px;
    height: 400px;
  }
}

/* Desktops (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero            { height: 80vh; }
  .hero .title     { font-size: 4.5rem; }
  .content h2      { font-size: 3.5rem; }
  .per, .content ul li, .reuse { font-size: 1.4rem; }
  .two-col .image img {
    width: 350px;
    height: 350px;
  }
}

/* Tablets (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero            { height: 70vh; }
  .hero .title     { font-size: 4rem; }
  .content h2      { font-size: 3rem; }
  .per, .content ul li, .reuse { font-size: 1.3rem; }
  .two-col {
    gap: 1.5rem;
  }
  .two-col .image img {
    width: 300px;
    height: 300px;
  }
}

/* Small tablets & large phones (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero            { height: 60vh; }
  .hero .title     { font-size: 3.5rem; }
  .content h2      { font-size: 2.5rem; }
  .per, .content ul li, .reuse { font-size: 1.2rem; }
  .two-col .text   { flex: 1 1 100%; }
  .two-col .image  { flex: 1 1 100%; text-align: center; }
  .two-col .image img {
    width: 100%;
    max-width: 280px;
    height: auto;
  }
}

/* Mobile phones (up to 575px) */
@media (max-width: 575px) {
  .hero            { height: 50vh; }
  .hero .title     { font-size: 2.5rem; }
  .content h2      { font-size: 2rem; }
  .per, .content ul li, .reuse { font-size: 1rem; }
  .content, .two-col {
    padding: 0 1rem;
  }
  .two-col {
    flex-direction: column;
    gap: 1rem;
  }
  .two-col .image img {
    width: 100%;
    height: auto;
  }
}



/* XS phones (up to 575px) */
@media (max-width: 575px) {
  .tabs-grid {
    grid-template-columns: 1fr !important;
    height: auto;
    gap: 20px;
  }
  .industry-tab img {
    width: 100%;
    height: auto;
  }

  #inspection-section .section-inner {
    flex-direction: column !important;
    gap: 20px;
  }
  #inspection-section .images img {
    width: 100%;
    height: auto;
  }
}

/* SM phones / small tablets (576px–767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .tabs-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .industry-tab img {
    width: 100%;
    height: auto;
  }

  #inspection-section .section-inner {
    flex-direction: column;
    gap: 25px;
  }
  #inspection-section .images, 
  #inspection-section .content {
    width: 100%;
  }
  #inspection-section .images img {
    width: 80%;
    height: auto;
  }
}

/* MD tablets / small desktops (768px–991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .tabs-grid {
    grid-template-columns: repeat(3, 1fr);
    height: auto;
  }
  .industry-tab img {
    width: 100%;
    height: auto;
  }

  #inspection-section .section-inner {
    flex-direction: row;
    gap: 15px;
  }
  #inspection-section .content {
    flex: 1 1 60%;
  }
  #inspection-section .images {
    flex: 1 1 35%;
  }
  #inspection-section .images img {
    width: 100%;
    height: auto;
  }
}

/* LG desktops (992px–1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .tabs-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
  }

  #inspection-section .section-inner {
    flex-direction: row;
    gap: 20px;
  }
  #inspection-section .images img {
    width: 250px;
    height: 350px;
  }
}

/* XL desktops (1200px and up) */
@media (min-width: 1200px) {
  .tabs-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

  #inspection-section .section-inner {
    flex-direction: row;
    gap: 30px;
  }
  #inspection-section .images img {
    width: 350px;
    height: 480px;
  }
}
