/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

h1, h2, h3 {
  margin: 0 0 20px 0;
  font-weight: 300;
}

p {
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #222;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background-color: #444;
  color: #f0f0f0;
}

/* Profile Dropdown */
.profile-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.profile-pic {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: transform 0.3s ease, border 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.1);
  border-color: #888;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  background-color: #333;
  color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  border-radius: 10px;
  z-index: 1;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu a {
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  border-bottom: 1px solid #444;
}

.dropdown-menu a:hover {
  background-color: #555;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

/* Hero Section */
.hero {
  background: url('hero-bg.jpg') no-repeat center center/cover;
  height: 70vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content .btn {
  padding: 12px 30px;
  font-size: 1rem;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-content .btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Modal (Login) */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.close-btn:hover {
  color: #666;
}

.modal h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #333;
}

.modal input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.modal input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.modal button.btn {
  width: 100%;
  padding: 12px;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal button.btn:hover {
  background-color: #218838;
}

/* About Section */
.about {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #f8f9fa;
}

.about h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #333;
}

.about p {
  margin: 0 auto;
  max-width: 700px;
  font-size: 1rem;
  color: #555;
}

/* Features Section */
.features {
  padding: 3rem 2rem;
  background-color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: #777;
  font-size: 0.9rem;
}

/* Footer */
footer {
  padding: 1rem;
  background-color: #222;
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
}


/* Modal container (hidden by default) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
  justify-content: center; /* Center the modal */
  align-items: center; /* Center the modal */
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

/* Style for the open button */
#open-popup {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#open-popup:hover {
  background-color: #0056b3;
}


.btn {
  display: inline-block;
  margin-top: 50px; /* This will push the button lower */
  padding: 15px 30px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

/* Modal container (hidden by default) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

/* Modal content */
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  width: 300px;
  text-align: center;
  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

/* Form styling */
#login-form input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#login-form .btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#login-form .btn:hover {
  background-color: #0056b3;
}
.bean-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif; /* Use a clean, modern font */
  color: #ffffff; /* Text color */
  background: linear-gradient(45deg, #ff8c00, #ffa500); /* Gradient background */
  border: none;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
  text-decoration: none; /* Remove underline for links */
  text-align: center;
  transition: all 0.3s ease; /* Smooth transitions */
  cursor: pointer;
}
.hero-content a {
  display: inline-block; /* Ensures proper spacing for inline elements */
  margin: 10px 0; /* Vertical spacing */
}
.button-container {
  display: flex;
  flex-direction: column; /* Stack buttons vertically */
  align-items: center; /* Center buttons */
  gap: 15px; /* Space between buttons */
}

.bean-btn::after {
  content: '→'; /* Add an arrow */
  margin-left: 8px;
  display: inline-block;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s, transform 0.3s;
}

.bean-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

