/* McAfee Official Style Inspired CSS */

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}

/* Navbar */
header {
  background-color: #b00a0f;
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffd9d9;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('https://www.mcafee.com/content/dam/consumer/en/images/global/mcafee-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero-content {
  width: 80%;
  margin: auto;
}

.hero h2 {
  font-size: 38px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background-color: #b00a0f;
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #8b080c;
  transform: translateY(-3px);
}

/* Main Sections */
main {
  width: 85%;
  margin: 50px auto;
}

main h2 {
  color: #b00a0f;
  margin-bottom: 15px;
  font-size: 26px;
}

main p,
main li {
  font-size: 17px;
  margin-bottom: 10px;
}

ol, ul {
  margin-left: 25px;
  margin-bottom: 20px;
}

/* Links */
a {
  color: #b00a0f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

footer p {
  font-size: 14px;
  color: #555;
}

footer a {
  color: #b00a0f;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    margin-top: 10px;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  main {
    width: 90%;
  }
}
