body {
  font-family: Arial, sans-serif;
  background: rgb(7, 104, 159);
  background: linear-gradient(
    90deg,
    rgba(7, 104, 159, 1) 35%,
    rgba(255, 255, 255, 1) 100%
  );
}

/* ----------------------------- */
/* Scroll to top */
/* ----------------------------- */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #007bff;
  color: white;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none; /* Initially hidden */
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.scroll-to-top:hover {
  background-color: #0056b3;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* ----------------------------- */
/* Navbar */
/* ----------------------------- */
.navbar {
  margin: 10px;
}
.nav-item {
  padding: 10px;
  z-index: 1;
}
.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  /* color: white; */
  color: #ffc107;
}
.nav-link:hover {
  cursor: pointer;
  /* color: #07689f; */
  color: white;
}
.nav-item .nav-link.active {
  color: white;
  border-bottom: 3px solid white;
}

/* ----------------------------- */
/* Styling for the Hero Section */
/* ----------------------------- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 15px;
  height: 80vh;
  position: relative;
  overflow: hidden;
  color: white;
}
.hero-content {
  max-width: 50%;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-size: 2.5rem;
  /* color: #343a40; */
  color: whitesmoke;
}
.hero-content p {
  font-size: 1.2rem;
  /* color: #6c757d; */
  color: whitesmoke;
}
.hero-svg {
  max-width: 35%;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 0;
}
.hero-svg img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.middle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px; /* Adjust spacing from the button */
}

.center-image {
  width: 300px; /* Larger size for the image */
  height: 300px;
  max-width: 100%;
}

/* ----------------------------- */
/* Styling for Particle.js Background */
/* ----------------------------- */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 100%; */
  z-index: 0;
}

.particles-index {
  height: 100%;
}
.particles-page {
  height: 500px;
}

/* About Section */
.about-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}
.about-title {
  font-size: 2.5rem;
  font-weight: bold;
}
.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
}
.about-image img {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ----------------------------- */
/* Services Section */
/* ----------------------------- */
.services-section {
  padding: 60px 0;
  /* background-color: #f0f4f8; */
}
.service-box {
  height: 350px;
  display: flex;
  flex-direction: column;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.service-icon span {
  display: flex;
  font-size: 3rem;
  /* color: #007bff; */
  padding-bottom: 50px;
}
.service-title {
  text-align: left;
  /* font-size: 1.5rem; */
  font-weight: bold;
}
.service-box p {
  text-align: left;
  font-size: 14px;
}

/* ----------------------------- */
/* Product Section */
/* ----------------------------- */
.products-section {
  padding: 60px 0;
  background-color: #f0f4f8;
}
.product-card {
  background: #f8f9fa;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.product-card img {
  border-radius: 8px 8px 0 0;
}
.product-title {
  font-size: 1.5rem;
  font-weight: bold;
}

/* ----------------------------- */
/* Contact Us Section */
/* ----------------------------- */
.contact-section {
  padding: 60px 0;
  /* background-color: #f0f4f8; */
  background-color: #212529;
  color: white;
}
.form-control,
.btn {
  border-radius: 5px;
}
.contact-info {
  /* background: white; */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact-info h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

/* ----------------------------- */
/* Testimonial Section */
/* ----------------------------- */
.testimonials-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}
.testimonial-name {
  font-weight: bold;
  font-size: 1.2rem;
}
.testimonial-text {
  font-size: 1rem;
  color: #666;
}
.testimonial-role {
  font-size: 0.9rem;
  color: #999;
}

/* ----------------------------- */
/* Footer Section */
/* ----------------------------- */
.footer {
  background-color: #343a40;
  color: #fff;
  padding: 40px 0;
}
.footer a {
  color: #ffc107;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .social-icons a {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #ffc107;
}
.footer .social-icons a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #495057;
  margin-top: 20px;
  padding-top: 20px;
  font-size: 0.9rem;
}

/* Others Page */
.banner-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 15px;
  height: 40vh;
  position: relative;
  overflow: hidden;
  color: white;
}
.banner-content {
  max-width: 50%;
  position: relative;
  z-index: 1;
}
.banner-content h1 {
  font-size: 2.5rem;
  /* color: #343a40; */
  color: whitesmoke;
}
.banner-content p {
  font-size: 1.2rem;
  /* color: #6c757d; */
  color: whitesmoke;
}
.banner-svg {
  height: 300px;
  width: 400px;
  /* max-width: 35%; */
  position: absolute;
  /* top: 50%; */
  right: 0;
  /* transform: translateY(-50%); */
  z-index: 0;
}
.banner-svg img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

/* ----------------------------- */
/* Contact Page */
/* ----------------------------- */
.c-section {
  padding: 60px 15px;
  background-color: #f9f9f9;
}
.section-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 40px;
}
.c-info-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
}
.c-info-card h4 {
  font-size: 1.5rem;
  color: #007bff;
}
.c-info-card p {
  color: #6c757d;
  margin: 0;
}
.c-form {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}
.c-form label {
  font-weight: bold;
  color: #495057;
}
.c-form button {
  background-color: #007bff;
  border-color: #007bff;
}
.c-form button:hover {
  background-color: #0056b3;
}

/* Product Details Page */
.product-details-container {
  padding: 60px 0;
  background-color: #f9f9f9;
  z-index: 10;
}
.product-details {
  margin-top: 40px;
}
.product-image {
  height: 400px;
  width: 750px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.price {
  font-size: 1.8rem;
  color: #07689f;
  font-weight: bold;
}
.btn-primary {
  background-color: #07689f;
  border: none;
}
.btn-primary:hover {
  background-color: #054f6b;
}

/* ----------------------- */
/* Sidebar styles */
/* ----------------------- */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* Start off-screen */
  height: 100%;
  width: 250px;
  background-color: #343a40;
  color: white;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 1050;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.sidebar-menu li {
  padding: 15px;
}

.sidebar-menu li a {
  color: white;
  text-decoration: none;
  display: block;
  font-size: 18px;
  transition: color 0.3s ease;
}

.sidebar-menu li a:hover {
  color: #07689f;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  outline: none;
}

/* Sidebar open state */
.sidebar.open {
  left: 0;
}

/* Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

.sidebar-overlay.active {
  display: block;
}

/* Ensure sidebar and toggler only show on mobile */
@media (min-width: 992px) {
  .sidebar {
    display: none;
  }

  #sidebar-toggler {
    display: none !important;
  }
}

/* --------------------------------------------------------- */
/* Responsive Design for Homepage Banner */
/* --------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem; /* Adjust headline for smaller screens */
  }

  .hero-content p {
    font-size: 1rem; /* Adjust description text for smaller devices */
  }

  .center-image {
    width: 200px;
    display: none;
  }

  .hero-svg {
    margin-top: 20px; /* Add spacing for stacked layout */
  }
}

/* --------------------------------------------------------- */
/* Responsive Design for Othe Pages Breadcrumb Banner */
/* --------------------------------------------------------- */
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 1.8rem; /* Smaller font size on smaller screens */
  }

  .banner-content p {
    font-size: 0.9rem; /* Adjust description text for better readability */
  }

  .banner-svg {
    margin-top: 20px;
    height: 200px;
    width: 200px;
  }
}
