/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #f8f9fa;
  line-height: 1.6;
}

/* Header */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #007bff;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.auth-buttons a {
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.login-btn {
  color: #333;
  border: 1px solid #ddd;
}

.login-btn:hover {
  background-color: #f1f1f1;
}

.register-btn {
  background-color: #007bff;
  color: white;
}

.register-btn:hover {
  background-color: #0069d9;
}



.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f2f2;
  color: #ffffff;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  background-color: black;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  flex-wrap: wrap;
  gap: 40px;
}

.hero-section.reverse {
  flex-direction: row-reverse;
}

.hero-content {
  flex: 1;
  min-width: 280px;
}

.hero-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-content button {
  padding: 12px 24px;
  background-color: #00bfff;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-content button:hover {
  background-color: #009fd1;
}

.hero-image {
  flex: 1;
  text-align: center;
  min-width: 280px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  min-width: 280px;
}

.hero-image img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: 15px;
  object-fit: contain;
}
/* Optional tweak for image sizing consistency */

.hero-image img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: 15px;
  object-fit: contain;
}


/* Animations */
.fade-in-left {
  animation: fadeInLeft 1.5s ease forwards;
  opacity: 0;
}

.fade-in-right {
  animation: fadeInRight 1.5s ease forwards;
  opacity: 0;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }
  .hero-section.reverse {
    flex-direction: column;
  }
  .hero-content, .hero-image {
    margin: 0;
  }
}

/* Footer */
footer {
  margin-top: 150px;
  background-color: white;
  padding: 20px 50px;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-text {
  text-align: left;
  font-size: 12px;
  color: #666;
}

.footer-text p {
  margin: 2px 0;
}
