/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

/* Centering the logo container */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Takes up full height of the viewport */
}

/* Logo styling */
.logo {
    max-width: 100%; /* Ensures the logo does not exceed container width */
    max-height: 100%; /* Ensures the logo does not exceed container height */
    width: auto;
    height: 100px;
}


/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #003366;
  color: #fff;
}

.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 1s ease;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

/* Introduce Random Animation for images */
@keyframes slide-in {
  0% {
    transform: translateX(-100%) rotate(10deg);
    opacity: 0;
  }
  50% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%) rotate(-10deg);
    opacity: 0;
  }
}

@keyframes random-slide {
  0% {
    transform: translateY(-100%) rotate(5deg);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100%) rotate(-5deg);
    opacity: 0;
  }
}

/* Style for the images */
.slide.visible {
  opacity: 1;
}

.intro-text {
  position: absolute;
  bottom: 30px;
  text-align: center;
  z-index: 10;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.intro-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* About Us Section */
.about-us {
  background: linear-gradient(to bottom, #f4f4f4, #fff);
  padding: 50px 20px;
  text-align: center;
}

.about-us h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003366;
}

.service-cards {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  padding: 20px;
  width: 250px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Service Icon Styling */
.icon {
  width: 100px; /* Set width to 100px */
  height: 100px; /* Set height to 100px */
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.icon:hover {
  transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #555;
}

/* Footer Section */
footer {
  background-color: #003366;
  color: white;
  padding: 20px;
  text-align: center;
}

.footer-content p {
  margin-bottom: 10px;
}

.social-links {
  margin-top: 10px;
}

.social-icon {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

.social-icon:hover {
  color: #66CC99;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }

  .intro-text h1 {
    font-size: 2rem;
  }

  .about-us .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 80%;
    margin: 20px 0;
  }

  footer {
    font-size: 0.9rem;
  }

  .social-links {
    justify-content: center;
  }
}
