#marq {
  background: linear-gradient(to right, #48b8b8, #6ccfc7);
  /* Gradient green */
  color: white;
  letter-spacing: 2px;
}

#marq h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Navbar background and link styling */
.navbar {
  background: linear-gradient(to right, #004d40, #26a69a);
}

.navbar-brand {
  font-weight: bold;
  color: #fff !important;
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  color: #f0f0f0 !important;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important;
  /* Gold on hover */
  background-color: rgba(255, 255, 255, 0.068);
  border-radius: 5px;
}

/* Dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  /* removes the gap */
}

.dropdown-menu {
  background-color: #004d40;
  border: none;
}

.dropdown-item {
  /* color: #fff; */
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #b847c2;
  /* color: #fff; */
}

/*  carousel */
.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  padding: 20px;
  border-radius: 10px;
}

/**************************** why choose us **************************/
.custom-hover {
  transition: all 0.3s ease;
  background-color: #fff;
  color: #000;
}

.custom-hover i,
.custom-hover h5,
.custom-hover p {
  transition: color 0.3s ease;
}

.custom-hover:hover {
  background-color: #0dfd19; /* Bootstrap Primary */
  color: #fff;
  transform: translateY(-5px);
}

.custom-hover:hover i,
.custom-hover:hover h5,
.custom-hover:hover p {
  color: #fff;
}


/* Services*/
.rounded-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
  /* Adjust for rounding */
}

/* Optional: Add some space between the image and button */
.img-button-container {
  text-align: center;
}
/************************************************ services ****************************************/
.service-hover {
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
  background-color: #fff;
}

.service-hover::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #15fd0d; /* Slide-in color (Bootstrap primary) */
  transition: top 0.4s ease;
  z-index: 0;
}

.service-hover:hover::before {
  top: 0;
}

.service-hover * {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.service-hover:hover h5,
.service-hover:hover p,
.service-hover:hover li,
.service-hover:hover i {
  color: #fff !important;
}


/*Cosmetic gallery */
.gallery-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: auto;
  border-bottom: 2px solid #ddd;
}

.gallery-card-body {
  padding: 15px;
  text-align: center;
}

.gallery-card-body h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.gallery-card-body p {
  font-size: 1rem;
  color: #777;
}
/********** home service*********/
.zoom-img {
      overflow: hidden;
    }

    .zoom-img img {
      transition: transform 0.5s ease;
      width: 100%;
      height: auto;
      display: block;
    }

    .zoom-img:hover img {
      transform: scale(1.1); /* Zoom in */
    }
/**********about*********/
.bg-image {
  background-image: url('img/abt.jpg');
  /* Add your image URL here */
  background-size: cover;
  background-position: center;
  height: 100vh;
  /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  /* Text color */
}

.title-container {
  text-align: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 18px;
}

.nav-links a:hover {
  text-decoration: underline;
}

/*******Contact***/
.bg-image1 {
  background-image: url('img/cont.jpg');
  /* Add your image URL here */
  background-size: cover;
  background-position: center;
  height: 100vh;
  /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  /* Text color */
}

.title-container {
  text-align: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 18px;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Adjust the height of the map container */
.map-container {
  width: 100%;
  height: 500px;
  /* Set the height of the map */
}

/********************************cosmetic product****************************************/
/* Custom CSS for the zoom effect */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay h5 {
  font-size: 1.25rem;
  font-weight: bold;
}

.overlay p {
  font-size: 1rem;
}

/*********************** ebook-product ********************/
.gallery-image {
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/*********************** research ********************/
.image-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.image-container img {
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
}

.image-container:hover img {
  transform: scale(1.1);
  /* Zoom effect */
}

.description-container {
  margin-left: 20px;
}

p.ex {
  font-size: large;
  line-height: 2;
}