/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure full height */
}

/* Header Styles */
header {
  background: linear-gradient(145deg, #c0bebe, #555555);
  color: #fff;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 -1px 3px rgba(255, 255, 255, 0.3);
  transition: padding 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.header-content h1 {
  margin: 0;
  font-size: 2em;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffeb3b;
  text-decoration: underline;
}

/* Main Content Styles */
main {
  padding-top: 60px; /* Adjust based on header height */
  padding-bottom: 60px; /* Ensure space for footer */
  flex: 1; /* Allow main to take up available space */
}
/* Hero Section Styles */
.hero {
  background: url('assets/hero-background.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  text-align: center;
  padding: 150px 20px;
  max-height: 600px;
  height:fit-content ;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero-content {
  max-width: auto;
  margin: 0 auto;
  transform-style: flat;
  transform: rotateX(10deg) rotateY(10deg);
  transition: transform 0.5s ease;
  animation: fadeIn 2s ease-in-out;
  position: relative;
  z-index: 1;
}

.hero-content:hover {
  transform: rotateX(10deg) rotateY(0deg);
}
.hero h1 {
  font-size: 4em;
  margin: 0;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  animation: textAnimate 3s infinite alternate;
}
.hero h2 {
  font-size: 2em;
  margin: 0;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  animation: textAnimate 3s infinite alternate;
}

.hero p {
  font-size: 1.5em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  animation: textAnimate 3s infinite alternate;
}

/* Keyframes for Text Animation */
@keyframes textAnimate {
  from {
    transform: translateY(0);
    opacity: 0.8;
  }
  to {
    transform: translateY(-15px);
    opacity: 1;
  }
}

/* Keyframes for Fade-in Effect */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero {
    padding: 100px 10px;
  }
  .hero h2 {
    font-size: 2.5em;
  }
  .hero h1 {
    font-size: 3em;
  }

  .hero p {
    font-size: 1.2em;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 80px 10px;
  }
  .hero h1 {
    font-size: 2.5em;
  }
  .hero h2 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 10px;
  }
  .hero h1 {
    font-size: 2em;
  }
  .hero h2 {
    font-size: 1.5em;
  }

  .hero p {
    font-size: 0.9em;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 40px 10px;
    text-align: left;
  }
  .hero h1 {
    font-size: 2.0em;
  }
  .hero h2 {
    font-size: 1.5em;
  }

  .hero p {
    font-size: 0.8em;
  }
}

/* Scrolling Images Styles */
.scrolling-images {
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: auto; /* Adjust to auto to be responsive */
}

.scrolling-images-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.scrolling-images-inner {
  display: flex;
  width: 200%; /* Twice the width of the container for seamless scroll */
  animation: scroll 20s linear infinite;
}

.scrolling-images-inner img {
  width: 100%; /* Adjust to 100% for responsive resizing */
  max-width: 300px; /* Max width for larger screens */
  height: auto; /* Maintain aspect ratio */
  object-fit: auto;
  margin-right: 10px;
}

/* Animation for scrolling effect */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Company Info Styles */
.company-info {
  padding: 20px;
  text-align: center;
  background: #f4f4f4;
}

.company-info h2 {
  margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .scrolling-images-wrapper img {
    max-width: 250px;
  }
}

@media (max-width: 992px) {
  .scrolling-images-wrapper img {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .scrolling-images-wrapper img {
    max-width: 150px;
  }
}

@media (max-width: 576px) {
  .scrolling-images-wrapper img {
    max-width: 100px;
  }
}

/* Footer Styles */
footer {
  background: linear-gradient(145deg, #c0bebe, #555555);
  color: #fff;
  padding: 10px 0; /* Reduced padding */
  position: relative; /* Changed to relative */
  width: 100%;
  text-align: center;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.3);
  transition: padding 0.3s ease;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* Center align links */
}

footer ul li {
  margin: 0 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
}

footer ul li a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    padding: 5px 0;
  }

  .header-content {
    padding: 0 10px;
  }

  .header-content h1 {
    font-size: 1.5em;
  }

  nav ul li {
    margin-left: 10px;
  }

  .hero {
    padding: 100px 10px;
    max-height: 400px;
    margin-top: 0;
  }

  .hero h2 {
    font-size: 2.0em;
  }
  .hero h1 {
    font-size: 2.5em;
  }
  .hero p {
    font-size: 1.0em;
  }

  .scrolling-images-wrapper img {
    width: 200px;
    height: 150px;
  }
}
