/* General Styling */
body {
  font-family: 'Roboto', sans-serif;
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: #171717;
  color: #ffffff;
}

body.dark-mode .navbar {
  background-color: rgb(40, 44, 52) !important;
}

body.dark-mode .nav-link,
body.dark-mode .dropdown-menu {
  color: white !important;

}

body.dark-mode .dropdown-item:hover {
  background-color: #dc3545 !important;
}

/* Navbar Styling */
.navbar {
  background-color: rgb(255, 255, 255);
  height: 100px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  width: 180px;
}

.nav-item {
  margin: 0 50px;
}

.nav-link {
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 10px 15px;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  color: #0c0c0c;
}

.navbar-nav {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.navbar-collapse {
  justify-content: center;
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  background-color: #333;
}

.dropdown-item {
  color: white;
}

.dropdown-item:hover {
  background-color: #dc3545;
}

/* Snowfall Effect */
.snowflake {
  position: absolute;
  top: -10px;
  pointer-events: none;
  color: white;
  font-size: 1.5em;
  opacity: 0.8;
  user-select: none;
}

@keyframes snowfall {
  to {
    transform: translateY(100vh);
  }
}

/* Footer Link Animation */
.footer-link {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  animation: slideIn 0.5s ease-out both;
}

.footer-link:hover {
  color: #ffffff !important;
  transform: translateX(10px);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer-link:nth-child(1) { animation-delay: 0.2s; }
.footer-link:nth-child(2) { animation-delay: 0.4s; }
.footer-link:nth-child(3) { animation-delay: 0.6s; }
.footer-link:nth-child(4) { animation-delay: 0.8s; }
.footer-link:nth-child(5) { animation-delay: 1s; }
.footer-link:nth-child(6) { animation-delay: 1.2s; }

/* Carousel Styling
.carousel-section {
  background-color: rgb(9, 9, 9);
} */

.carousel {
  border-radius: 15px;
  overflow: hidden;
}

.carousel-img {
  height: 550px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.carousel-img:hover {
  transform: scale(1.05);
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  border-radius: 15px;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-item.active .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 20px;
  margin-left: 40px;
  margin-right: 40px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* Hover Transform Effect */
.transform-effect {
  transition: transform 0.3s ease-in-out;
}

.transform-effect:hover {
  transform: scale(1.05);
}

/* Responsive Media Queries for All Screens */
@media (max-width: 1200px) {
  .navbar {
    height: auto;
    padding: 15px;
  }
  
  .navbar-brand img {
    width: 160px;
  }

  .nav-item {
    margin: 0 40px;
  }

  .nav-link {
    font-size: 15px;
  }

  .carousel-img {
    height: 350px;
  }
}

@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-item {
    width: 100%;
    margin-bottom: 10px;
  }

  .navbar-nav .nav-item .btn {
    width: 100%;
  }

  .carousel-img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px;
  }

  .navbar-brand img {
    width: 140px;
  }

  .nav-item {
    margin: 0 20px;
  }

  .nav-link {
    font-size: 14px;
  }

  .carousel-img {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 8px;
  }

  .navbar-brand img {
    width: 120px;
  }

  .nav-item {
    margin: 0 10px;
  }

  .nav-link {
    font-size: 12px;
  }

  .dropdown-menu {
    font-size: 14px;
  }

  .carousel-img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .carousel-caption h5 {
    font-size: 16px;
  }

  .carousel-caption p {
    font-size: 12px;
  }

  .carousel-img {
    height: 220px;
  }
}

@media (max-width: 360px) {
  .navbar {
    padding: 5px;
  }

  .navbar-brand img {
    width: 100px;
  }

  .nav-item {
    margin: 0 5px;
  }

  .nav-link {
    font-size: 10px;
  }

  .carousel-img {
    height: 200px;
  }
}
.navbar-toggler-icon-custom {
  color: rgb(0, 0, 0); /* Change color */
  font-size: 24px; /* Adjust size if needed */
}
/* Default Light Mode Icon Color */
.navbar-toggler i {
  color: black; /* Default color for light mode */
  transition: color 0.3s ease;
}

/* Dark Mode Icon Color */
body.dark-mode .navbar-toggler i {
  color: white !important; /* Change to white in dark mode */
}



/* Industry & Plant Safety */

.header-underline {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,174,0,1) 0%, rgba(255,214,109,1) 100%);
}
.transform-hover {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}
.transform-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.card-header {
  font-weight: 600;
}
 
/* <!-- reviews  CSS --> */
  

    /* Glassmorphism Card */
    .glass-card {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .glass-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    }

    /* Star Rating Animation */
    .star-rating i {
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .star-rating:hover i {
        transform: scale(1.2);
        color: #ffeb3b !important;
    }

    /* Carousel Transition */
    .carousel-item {
        transition: transform 0.8s ease-in-out;
    }

    /* Typography */
    .card-title {
        font-size: 1.3rem;
       
    }

    .card-text {
        font-size: 1rem;
        line-height: 1.7;
       
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .carousel-inner {
            padding: 0 20px;
        }

        .card-title {
            font-size: 1.2rem;
        }

        .card-text {
            font-size: 0.95rem;
        }

        h2 {
            font-size: 2.5rem;
        }
    }

    @media (max-width: 576px) {
        .carousel-inner {
            padding: 0 10px;
        }

        .card-title {
            font-size: 1.1rem;
        }

        .card-text {
            font-size: 0.9rem;
        }

        h2 {
            font-size: 2rem;
        }

        .divider {
            width: 80px !important;
            height: 4px !important;
        }
    }

    /* Accessibility */
    .carousel-indicators button {
        transition: transform 0.3s ease;
    }

    .carousel-indicators button:focus {
        transform: scale(1.2);
        border-color: #ffd700;
        outline: none;
    }

    .carousel-control-prev:focus,
    .carousel-control-next:focus {
        outline: 2px solid #ffd700;
        outline-offset: 2px;
    }

      /* term and condtion css  */
    
      .terms-container {
          max-width: 900px;
          margin: 0 auto;
      }
     
      .terms-header {
          background: linear-gradient(135deg, #a19c9c, #3498db);
          color: white;
          border-radius: 10px 10px 0 0;
          padding: 2rem;
          text-align: center;
      }
      .terms-header h2 {
          font-weight: 700;
          letter-spacing: 1px;
      }
      .terms-header .divider {
          width: 80px;
          height: 4px;
          background: #f39c12;
          margin: 1rem auto;
      }
      .terms-content {
          background: white;
          padding: 2.5rem;
          border-radius: 0 0 10px 10px;
          box-shadow: 0 5px 30px rgba(0,0,0,0.1);
      }
      .section-title {
          font-weight: 600;
          color: #2c3e50;
          margin-bottom: 1.5rem;
          padding-bottom: 0.75rem;
          border-bottom: 2px solid #f1f1f1;
          position: relative;
      }
      .section-title:after {
          content: '';
          position: absolute;
          left: 0;
          bottom: -2px;
          width: 50px;
          height: 2px;
          background: #f39c12;
      }
      .term-item {
          margin-bottom: 1.25rem;
          padding-left: 2rem;
          position: relative;
      }
      .term-item:before {
          content: '\f00c';
          font-family: 'Font Awesome 5 Free';
          font-weight: 900;
          color: #27ae60;
          position: absolute;
          left: 0;
      }
      .highlight-box {
          background: #f8f9fa;
          border-left: 4px solid #f39c12;
          padding: 1.5rem;
          margin: 2rem 0;
          border-radius: 0 5px 5px 0;
      }
      .acceptance-notice {
          background: #fff8e1;
          border: 1px solid #ffe082;
          padding: 1.5rem;
          border-radius: 5px;
          margin-top: 2rem;
      }
      @media (max-width: 768px) {
          .terms-content {
              padding: 1.5rem;
          }
      }
  

/* support css  */

   
    main {
        padding: 20px;
    }
    main {
        margin: 0 auto;
        padding: 20px;
        max-width: 900px;
        border: 1px solid #000000;
        box-shadow: 0 2px 5px rgba(255, 254, 254, 0.1);
        /* background-color: #000000; */
    }
    label {
        display: block;
        margin: 10px 0 5px;
        /* color: #000000; */
    }
    input, textarea {
        width: 100%;
        padding: 10px;
        margin: 5px 0 20px;
        border: 1px solid #060606;
        border-radius: 4px;
    }
    button {
        background-color: #41b945;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }
   

   /* policy  */
   

main {
    margin: 0 auto;
    padding: 20px;
    max-width: 900px;
    border: 1px solid #111111;
    box-shadow: 0 2px 5px rgba(14, 1, 1, 0.1);
  
}
h1, h2 {
    /* color: #0c0c0c; */
    text-align: center;
}
p {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 15px 0;
    padding: 0 20px;
    /* color: black; */
}
ul {
 
    padding: 0 20px;
    margin: 10px 0;
    /* color: black; */
}
ul li {
    margin: 5px 0;
    padding-left: 20px;
}
a {
    color: #2980B9;
    text-decoration: none;
}

a:hover {
    color: #1ABC9C;
    text-decoration: none;
}
@media (max-width: 600px) {
    main {
        padding: 10px;
    }
    h1, h2 {
        font-size: 1.5em;
    }
}
/* end  */

/* about css  */

.hero {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* color: white; */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.section-title {
  font-size: 2rem;
  font-weight: 600;
  border-bottom: 3px solid #000000;
  display: inline-block;
  margin-bottom: 20px;
}
  /* mcqs css  */
  
  .mcq-container {
 
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
  }
  .mcq-question {
    font-size: 1.2rem;
    font-weight: bold;

    margin-bottom: 15px;
  }
  .mcq-option {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .mcq-option:hover {
    background-color: #f1f1f1;
  }
  .mcq-option.correct {
    background-color: #d4edda;
    border-color: #c3e6cb;
  }
  .mcq-option.incorrect {
    background-color: #f8d7da;
    border-color: #f5c6cb;
  }
  .mcq-feedback {
    margin-top: 10px;
    font-weight: bold;
  }
  .mcq-feedback.correct {
    color: #28a745;
  }
  .mcq-feedback.incorrect {
    color: #dc3545;
  }
  .correct-answer {
    margin-top: 10px;
    font-weight: bold;
    color: #155724;
  }
/* end mcq  */

 /* sliding css  */

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .slider-section {
     
     background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
     text-align: center;
     opacity: 0;
     animation: fadeInUp 1s ease-out forwards;
     animation-delay: 0.3s;
     position: relative;
 }

 .slider-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 5px;
     /* background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #3498db); */
     background-size: 300% 100%;
     animation: gradientBG 8s ease infinite;
 }

 @keyframes gradientBG {
     0% { background-position: 0% 50%; }
     50% { background-position: 100% 50%; }
     100% { background-position: 0% 50%; }
 }

 .slider-section-h2 {
     font-size: 2.8rem;
     font-weight: 700;
     margin-bottom: 50px;
     color: #2c3e50;
     position: relative;
     display: inline-block;
 }

 .slider-section-h2::after {
     content: '';
     position: absolute;
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 4px;
 
     border-radius: 2px;
 }

 .slider-section-h2 span {
     color: #3498db;
     display: block;
     font-weight: 400;
     font-size: 1.8rem;
     margin-top: 15px;
 }

 .slider_1 {
     width: 100%;
     overflow: hidden;
     position: relative;
     /* margin: 0 auto; */
     /* padding: 20px 0; */
 }

 .slide-track {
     display: flex;
     animation: scroll 20s linear infinite;
     width: calc(250px * 12);
 }

 .slide_i {
     width: 220px;
     height: 180px;
     margin: 0 15px;
     background: rgba(122, 162, 226, 0.84);
     border-radius: 10px;
     box-shadow: 0 4px 15px rgba(0,0,0,0.1);
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     padding: 20px;
     flex-shrink: 0;
     transition: all 0.4s ease;
     position: relative;
     overflow: hidden;
 }

 .slide_i::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 5px;
     background: #3498db;
 }

 .slide_i:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0,0,0,0.15);
 }

 .slide_i_h3 {
     font-size: 2.8rem;
     font-weight: 700;
     background: linear-gradient(135deg, #000000, #000000);
     /* -webkit-background-clip: text;rgb(0, 0, 0); */
     background-clip: text;
     color: transparent;
     margin-bottom: 10px;
 }

 .slide_i_p {
     font-size: 1.1rem;
     color: #000000;
     font-weight: 500;
 }

 @keyframes scroll {
     0% {
         transform: translateX(0);
     }
     100% {
         transform: translateX(calc(-250px * 6));
     }
 }

 @keyframes pulse {
     0% { transform: scale(1); }
     50% { transform: scale(1.05); }
     100% { transform: scale(1); }
 }

 .highlight {
     animation: pulse 2s infinite;
 }

 @media (max-width: 992px) {
     .slider-section-h2 {
         font-size: 2.4rem;
     }

     .slider-section-h2 span {
         font-size: 1.6rem;
     }
 }

 @media (max-width: 768px) {
     .slider-section {
         padding: 60px 0;
     }

     .slider-section-h2 {
         font-size: 2rem;
     }

     .slider-section-h2 span {
         font-size: 1.4rem;
     }

     .slide_i {
         width: 180px;
         height: 150px;
     }

     .slide_i_h3 {
         font-size: 2.2rem;
     }
 }

 @media (max-width: 576px) {
     .slider-section {
         padding: 50px 0;
     }

     .slider-section-h2 {
         font-size: 1.8rem;
         margin-bottom: 30px;
     }

     .slide-track {
         animation: scroll 25s linear infinite;
     }
 }
  /* contact page css  */

  main {
      margin: 30px auto;
      padding: 30px;
      max-width: 900px;
      /* background: white; */
      border-radius: 8px;
      box-shadow: 0 0 20px rgba(0,0,0,0.1);
  }
  h1 {
      /* color: #2c3e50; */
      text-align: center;
      margin-bottom: 25px;
      font-size: 2.2em;
      /* border-bottom: 2px solid #2980B9; */
      padding-bottom: 10px;
  }
  h2 {
      color: #2980B9;
      margin-top: 30px;
      margin-bottom: 15px;
      font-size: 1.6em;
  }
  p {
      font-size: 1.1em;
      margin: 15px 0;
     
  }
  ul {
      margin: 15px 0;
      padding-left: 30px;
  }
  ul li {
      margin: 8px 0;
      padding-left: 5px;
  }
  .contact-info {
      /* background: #f0f8ff; */
      padding: 20px;
      border-radius: 5px;
      margin: 20px 0;
  }
  .contact-info li {
      list-style-type: none;
      padding-left: 0;
      margin: 10px 0;
  }
  .contact-info strong {
      display: inline-block;
      width: 80px;
      /* color: #2c3e50; */
  }
  a {
      color: #2980B9;
      text-decoration: none;
      transition: color 0.3s;
  }
  a:hover {
      color: #1ABC9C;
      text-decoration: underline;
  }
  .benefits {
      margin: 25px 0;
  }
  .benefits li {
      position: relative;
  }
  .benefits li:before {
      content: "✓";
      color: #27ae60;
      font-weight: bold;
      position: absolute;
      left: -25px;
  }

  @media (max-width: 768px) {
      main {
          margin: 15px;
          padding: 20px;
      }
      h1 {
          font-size: 1.8em;
      }
      h2 {
          font-size: 1.4em;
      }
      .contact-info li {
          margin: 15px 0;
      }
      .contact-info strong {
          display: block;
          width: auto;
      }
  }





