/* Colors */
:root {
    --primary-color: #6E3694; /* Purple */
    --secondary-color: #20BEC6; /* Cyan */
    --transition-speed: 0.3s ease-in-out;
  }
  
  /* Smooth Fade-In Animation */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateX(-30px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}
  /* Fonts */
  @font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-SemiboldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
  }
  /* Global Styles */
  body {
    font-family: 'Graphik', sans-serif;
    color: var(--primary-color);
    background-color: white;
    margin: 0;
    padding: 0;
    animation: fadeIn 1s ease-in-out;
  }
  
  /* Brand Elements */
  h1, h2, h3 {
    color: var(--primary-color);
    transition: color var(--transition-speed);  
  }
  h1:hover, h2:hover, h3:hover, .text-element:hover {
    color: var(--secondary-color);
}
/* Smooth Background Hover for Buttons */
button, .hero-button, .read-more, .help-buttons button {
  transition: background-color var(--transition-speed), transform var(--transition-speed);
}

button:hover, .hero-button:hover, .read-more:hover, .help-buttons button:hover {
  background-color: #5e2e80; /* Darker purple */
  transform: scale(1.05);
}
  
  .gradient-bg {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  }
  
  /* Co-Branding */
  .partner-logo {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .partner-logo img {
    max-width: 50%;
  }
  
  .text-element {
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Example Circular Elements */
  .circular-element {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    margin: 10px;
  }
  
  .home-page .hero-section {
    background-image: url('./img/hero1.jpeg');
  }
  .aboutus-page .hero-section{
    background-image: url('./img/hero2.jpeg');
  }
  .contact-page .hero-section{
    background-image: url('./img/hero2.jpeg');
  }
  .industries-page .hero-section{
    background-image: url('./img/hero1.jpeg');
  }
  .services-page .hero-section{
    background-image: url('./img/hero2.jpeg');
  }
  .whyus-page .hero-section{
    background-image: url('./img/hero1.jpeg');
  }
  .physical-testing-page .hero-section{
    background-image: url('./img/hero1.jpeg');
  }
  .barrier-properties-testing-page .hero-section{
    background-image: url('./img/hero2.jpeg');
  }
  .regulatory-compliance-testing-page .hero-section{
    background-image: url('./img/hero1.jpeg');
  }

  

  /* Hero Section */
.hero-section {
  background-color: white; /* Fallback background */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white; /* Ensures text remains bright */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 80vh; /* Full screen height */
  padding: 20px;
  position: relative;
  animation: fadeIn 1.2s ease-in-out;
  overflow: hidden;
}

/* Overlay */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Reduce darkness (0.3 for a lighter effect) */
  z-index: 1;
}

/* Hero Content */
.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

/* Title & Subtitle */
.hero-title {
  font-size: 4rem;
  font-weight: bold;
  color: #ffffff; /* Ensures text is bright */
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7); /* Stronger text shadow for readability */
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-top: 10px;
  color: #ffffff; /* Brighter text */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); /* Improves visibility */
  z-index: 2;
}

/* Hero Button */
.hero-button {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  background-color: white; /* Cyan background */
  color: black;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  bottom: 40px;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}

.hero-button:hover {
  background-color: #f0f0f0;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
      font-size: 2.5rem;
  }
  .hero-subtitle {
      font-size: 1.2rem;
  }
}

  /* Help Section */
  /* Section Styling */
  .help-header-section {
      background-color: var(--secondary-color); /* Cyan background */
      padding: 50px 0;
  }

  /* Title */
  .help-header {
      font-size: 1.8rem;
      font-weight: bold;
      color: white;
      
  }
  
  /* Buttons Styling */
  .help-buttons button {
      background-color: var(--primary-color); /* Purple background */
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 25px;
      font-weight: bold;
      font-size: 1rem;
      cursor: pointer;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .help-buttons button:hover {
      background-color: #5e2e80; /* Darker purple */
  }
  
  /* White Background for Text */
  .help-text-section {
      background-color: white;
      padding: 50px 0;
  }
  
  /* Text Container */
  .help-text {
      font-size: 1.2rem;
      line-height: 1.6;
      text-align: center;
      background-color: white;
      
  }
  /* Read More Button */
  .read-more {
      display: block;
      background-color: var(--primary-color); /* Purple background */
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 8px;
      font-weight: bold;
      font-size: 1rem;
      cursor: pointer;
      margin: 0 auto;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .read-more:hover {
      background-color: #5e2e80; /* Darker purple */
  }
  
  /* home page services */

/* Services Section */
.services-section {
    background-color: #b3b3b3; /* Gray background */
    padding: 80px 20px;
    text-align: center;
}

.services-title {
    font-size: 2rem;
    color: white !important;
    margin-bottom: 40px;
    text-align: left;
    padding-left: 50px;

    
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 50px;
    padding-left: 50px;

}
a{
  text-decoration: none !important;
}
.service-box {
    background-color: white;
    border-radius: 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 400px;
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.services-container .service-box:nth-child(1) { animation: fadeIn 1s ease-in-out forwards; }
.services-container .service-box:nth-child(2) { animation: fadeIn 1.2s ease-in-out forwards; }
.services-container .service-box:nth-child(3) { animation: fadeIn 1.4s ease-in-out forwards; }
.services-container .service-box:nth-child(4) { animation: fadeIn 1.6s ease-in-out forwards; }


.service-icon {
    width: 100px;
    height: 100px;
    margin-right: 10px;
}

.service-label {
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-grow: 1;
    text-align: left;
    text-decoration: none;
}


.service-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
    }

    .service-box {
        width: 100%;
    }
    .services-container {
      padding: 0px;
    }
    .services-title{
      padding: 0px;
    }
}

/* End of home page services*/
.industries-section {
  background-color: #fff;
}

.industry-box {
  background-color: #b3b3b3;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.industry-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 320px;  /* Ensures consistency */
  background-color: #eaeaea;
  display: block;  
  border-radius: 8px;
  object-fit: cover;  /* Prevents stretching */
}

.industry-name {
  background-color: #f4f4f4;
  padding: 10px;
  margin-top: 15px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .industry-image {
    max-height: auto; /* Adjust height for mobile */
  }
}





/* goto top*/
#goTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #191717; /* Dark Background */
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 24px;
  cursor: pointer;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, transform 0.3s;
}

#goTopBtn:hover {
  background-color: #333;
  transform: scale(1.1);
}



/* Floating Widget */
.itx-floating-widget {
  position: fixed;
  right: 0px;  /* Adjusted closer to the right */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Aligns everything properly */
  z-index: 1000;
}

/* Contact Button */
.itx-contact-btn {
  position: relative;  /* Keeps it aligned inside the floating widget */
  background-color: white;
  color: black;
  font-weight: 600;
  padding: 15px 14px;
  font-size: 18px;
  border: 1px solid gray;
  border-radius: 0px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  writing-mode: vertical-rl;  /* Makes text vertical from right to left */
  text-orientation: mixed;  /* Ensures proper character alignment */
  text-decoration: none;
}

.itx-contact-btn:hover {
  background-color: #0056b3;
  color: white;
}



/* Social Box */
.itx-social-box {
  background: #fff;
  padding: 10px;
  border-radius: 0px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px; /* Spacing between icons */
}

/* Social Icons */
.itx-social-link {
  font-size: 18px; /* Slightly smaller icons */
  width: 36px; /* Adjusted size */
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  background: #f5f5f5; /* Light background */
}

/* Icon Colors */
.itx-instagram { color: #E4405F; }
.itx-facebook { color: #1877F2; }
.itx-twitter { color: #1DA1F2; }
.itx-youtube { color: #FF0000; }
.itx-linkedin { color: #0077B5; }

/* Hover Effects */
.itx-social-link:hover {
  transform: scale(1.1);
  background-color: rgba(0, 0, 0, 0.05);
}

/*===============AboutUspage CSS ===========*/
.info-section {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
}
.info-text h2 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 15px;
}
.info-text p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}
.info-image {
  width: 100%;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .info-section {
      text-align: center;
  }
  .info-image {
      margin-top: 20px;
  }
}

/*===============End About CSSS */

/* Impact Section */
.impact-section {
  max-width: 1250px;
  margin: auto;
  width: 100%;
}

.impact-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.impact-description {
  font-size: 16px;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.6;
  padding: 5px;
}

.impact-card {
  padding: 20px;
  text-align: center;
}

.impact-image {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: grayscale(100%); /* Makes the image Black & White */
}

.impact-text {
  width: 100%;
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.5;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .impact-card {
    padding: 15px;
  }
  
  .impact-image {
    width: 120px;
  }

  .impact-text {
    width: 90%;
    margin: 0 auto;
  }
}
/*End of impact section*/
/* Value Section */
.values-section {
  max-width: 125  0px;
  margin: auto;
}

.values-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.values-card {
  display: flex;
  align-items: center;
  background-color: #aaa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #888;
}

.values-image {
  width: 80px;
  height: 80px;
  background-color: #ddd;
  border-radius: 5px;
  flex-shrink: 0;
  margin-right: 15px;
}

.values-text {
  flex-grow: 1;
}

.values-line {
  width: 100%;
  height: 10px;
  background-color: #ddd;
  margin-bottom: 5px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .values-card {
      flex-direction: column;
      text-align: center;
  }

  .values-image {
      margin-bottom: 10px;
  }
}
/* End of value section */

/* Why Choose us page section CSS */



.features-section {
  background-color: #ffffff;
}

.container {
  max-width: 1250px;
}

.feature-box {
  padding: 20px;
  text-align: center;
}

.icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 220px;  /* Adjust based on icon size */
  height: 150px; /* Adjust height to maintain proportion */
  border: 2px solid #b3b3b3; /* Light gray border */
  border-radius: 10px; /* Slightly rounded corners */
  padding: 10px; /* Spacing inside the border */
  background-color: #fff; /* White background */
}

.icon-wrapper img {
  max-width: 120px; /* Adjust icon size */
  height: auto;
  filter: grayscale(100%);
}


h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 10px;
}

p {
  font-size: 0.95rem;
  color: #555;
  
}


/* End of Why choose us page css */

/* Industries we serve page section*/
.industries-section {
  background-color: #fff;
}

.industry-box1 {
  text-align: center;
  background-color: white !important;
}


.industry-box1 img {
  width: 100%;  /* Ensures images are fully responsive */
  max-width: 100%; /* Prevents images from exceeding container width */
  height: auto; /* Keeps aspect ratio */
  border-radius: 5px;
  display: block; /* Removes extra spacing below images */
  margin: 0 auto; /* Centers the images */
  
}

.industry-box1 h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 10px;
}
.industry-box1 h4 a{
  text-decoration: none;
  color: var(--primary-color);
}


/* End of industries we serve page section*/

/* Styling for the Testing Services Section */
.testing-services {
  background-color: #ffffff; /* White background */
  padding: 20px auto; /* Top & bottom padding */
  margin: 20px auto; /* Adds spacing around */
  margin-bottom: 0px;
  max-width: 1250px; /* Limits content width */
  border-radius: 8px; /* Rounded corners for a sleek look */
 
}

/* Container to Center and Space Content */
.testing-services .container {
  padding: 20px;
  text-align: left; /* Aligns text to the left */
}

/* Paragraph Styling */
.testing-services p {
  font-size: 1.2rem; /* Readable font size */
  color: #333; /* Dark gray text for better contrast */
  line-height: 1.6; /* Improves readability */
  margin-bottom: 15px; /* Adds space between paragraphs */
}

/* Responsive Design */
@media (max-width: 768px) {
  .testing-services {
      padding: 30px 15px; /* Adjust padding for smaller screens */
  }

  .testing-services p {
      font-size: 1rem; /* Smaller font size on mobile */
  }
}


/* Overall Section Styling */
.testing-section {
  padding-top: 0px;
  padding-bottom: 50px;
  background-color: white;
}

/* Container with Grid Layout */
.testing-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: center;
  max-width: 1250px;
  margin: auto;
}

/* Individual Card Styling */
.test-card {
  background: #fff;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  height: 500px;
}

.test-card:hover {
  transform: translateY(-5px);
}

/* Placeholder for Images */
.image-placeholder {
  width: 100%;
  height: 80%;
  background: #ccc;
  margin-bottom: 15px;
}

/* Heading Styling */
.test-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 15px;
}

/* Button Styling */
.know-more {
  background: #444;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  text-decoration: none;
}

.know-more:hover {
  background: #222;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testing-section .container {
      grid-template-columns: 1fr;
  }
}

.value-box {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  color: white;
}
.value-box:hover {
  transform: translateY(-5px);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
  filter: brightness(90%);
}

/* Different background colors 
.value-box-1 { background-color: #17a2b8; } 
.value-box-2 { background-color: #28a745; } 
.value-box-3 { background-color: #ffc107; color: black; } 
.value-box-4 { background-color: #dc3545; }  */

/* Full Page Loader */
.full-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Spinner Animation */
.loader {
  border: 6px solid #f3f3f3; /* Light gray */
  border-top: 6px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 