/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family:Georgia, 'Times New Roman', Times, serif;
  height: 100%;
}

/* Header */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.logo {
  height: 80px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding-bottom: 5px;
  transition: 0.3s ease;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: #376847;
  border-bottom: 2px solid #376847;
}

.user-icon {
  height: 28px;
  cursor: pointer;
}


/* Hero Section */

.center-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hero-section {
 font-size: 20px;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  height: 1080px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-out ;
  z-index: 1;
}

#bg1 { background-image: url('../Image/homepageimagee/image2.jpg'); }
#bg2 { background-image: url('../Image/homepageimagee/image3.jpg'); }
#bg3 { background-image: url('../Image/homepageimagee/image4.jpg'); }

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 30px;
  margin-bottom: 25px;
}

.buttons .btn {
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  display: inline-block;
  transition: 0.3s;
}

.btn.white {
  background: white;
  color: black;
}

.btn.green {
  background: #4CAF50;
  color: white;
}



/* Registration Form Styles */
#registrationForm {
  position: absolute;
  top: 100px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 30px; 
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 10px;
  width: 400px; 
  min-height: 300px; 
}

#registrationForm form {
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
  align-items: center;
}

#registrationForm input,
#registrationForm button {
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 50px;
  font-size: 20px; 
  width: calc(100% - 40px); 
  box-sizing: border-box; 
}

#registrationForm button[type="submit"] {
  background-color: rgb(171, 171, 171);
  width: calc(100% - 50%);
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}


.user-section {
  display: flex;
  align-items: center; /* Center vertically */
  margin-left: 20px; /* Adjust this value for more space */
}

.user-section img {
  width: 40px; /* Adjust icon size */
  height: auto; /* Maintain aspect ratio */
  margin-right: 10px; /* Space between icon and username */
}