* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../image/energy-efficient-spare-part-saudi-arabia.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

nav {
  background-color: #fff;
  padding: 0.5em 1em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  height: 80px;
}

nav img {
  width: 200px;
  height: auto;
  margin-right: 50px;
  transition: transform 0.3s ease;
}

nav img:hover {
  transform: scale(1.1);
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
}

nav li {
  margin: 0 1em;
  display: inline;
}

nav a {
  font-size: 18px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  padding: 0.5em 1em;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #333;
}

.about-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  animation: fadeIn 2s;
  margin-top: 580px;
}

.about-section h1 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #000;
    
}

.about-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #000;
}

.about-section p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #000;
  text-align: left;
}

.contact-info {
  background-color: #f7f7f7;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.contact-info ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 10px;
}

.contact-info p {
  color: #000;
  font-size: 17px;
}

.contact-info h3 {
  font-size: 20px;
}

.grey-box {
  background-color: #f7f7f7;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.bubble-border {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.image-gallery {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 20px;
}

.image-frame {
  margin: 10px;
  border: 1px solid #ddd;
  padding: 0;
  background-color: transparent;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 200px;
}

.image-frame img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-frame img:hover {
  transform: scale(1.1);
}

.image-caption {
  padding: 5px;
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: center; 
  align-items: center; 
  font-size: 12px;
  margin-top: 10px;
}

.copyright {
  position: fixed;
  bottom: -10px;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #fff;
  padding: 10px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #666;
}