/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #23272a;
  color: white;
  overflow-x: hidden;
}

/* Header and Navigation */
.header {
  background-color: #2c2f33;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar h1 {
  font-size: 28px;
  color: #7289da;
  font-weight: bold;
  cursor: pointer;
}

.navbar nav a {
  margin: 0 15px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.navbar nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #7289da;
  transition: width 0.3s;
}

.navbar nav a:hover::after {
  width: 100%;
}

.login-button {
  background-color: #7289da;
  border: none;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #5b6eae;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  background: url('https://source.unsplash.com/1600x900/?technology,community') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.button-group {
  display: flex;
  gap: 15px;
}

.cta-button {
  background-color: #43b581;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #3a9e6d;
}

.cta-secondary-button {
  background-color: transparent;
  border: 2px solid #43b581;
  color: #43b581;
  padding: 15px 30px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.cta-secondary-button:hover {
  background-color: #43b581;
  color: white;
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-around;
  padding: 50px;
  background-color: #2c2f33;
  gap: 20px;
}

.feature {
  text-align: center;
  max-width: 300px;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.footer {
  text-align: center;
  padding: 10px;
  background-color: #23272a;
}

/* Highlight active nav link */
.navbar nav a.active {
  color: #43b581;
}

/* Example of assigning active class dynamically */
.navbar nav a[href="/support"]:hover {
  color: #43b581;
}

/* Example of assigning active class dynamically */
.navbar nav a[href="/safety"]:hover {
  color: #43b581;
}

/* Example of assigning active class dynamically */
.navbar nav a[href="/"]:hover {
  color: #43b581;
}
