/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
    height: 100%;
    margin: 0;
  }
  body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f9f9;
    color: #333;
  }

  .page-container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }
  
header {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Nav Bar Logo and image */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  white-space: nowrap;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1rem;
  }

  .logo-img {
    height: 32px;
  }
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  white-space: nowrap;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #007bff;
}

/* Menu toggle button - hidden on desktop */
.menu-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    text-align: left;
    padding: 1rem 2rem;
    gap: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }
}
  /* Hero Section */
 
  .hero {
    position: relative;
    text-align: center;
    padding: 2rem;
    flex: 1;
  }
  .carousel {
    width: 100%;
    height: 400px; /* ← Set a fixed height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
  }
  .carousel img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 1s ease-in-out;
    border-radius: 8px;
    opacity: 1;
  }
  .carousel img.fade-out {
    opacity: 0;
  }
  .hero-text {
    min-height: 60px; /* or whatever height fits your text */
    text-align: center;
    margin-top: 1rem;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1.2rem;
    margin: 10px 0;
  }
  .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 1rem;
    background-color: #dfe3e6;
    color: #333;
  }
  