/* styles.css */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styles */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styles */
header {
  background-color: #4CAF50; /* Green color */
  color: white;
  padding: 20px 0;
}

header h1 {
  margin-bottom: 10px;
  font-size: 2em;
  display: flex;
  align-items: center;
}

header h1 i {
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a.active,
nav a:hover {
  border-bottom: 2px solid white;
}

/* Hero Section */
.hero {
  background: url('https://source.unsplash.com/1600x900/?technology,gaming') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn {
  background-color: #ff5722;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e64a19;
}

/* Features Section */
.features {
  background-color: #fff;
  padding: 60px 0;
}

.features h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  color: #4CAF50;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-item {
  flex: 1 1 calc(33.333% - 30px);
  background-color: #f4f4f4;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-item i {
  font-size: 2.5em;
  color: #4CAF50;
  margin-bottom: 15px;
}

.feature-item h4 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 1em;
  color: #555;
}

/* About Section */
.about {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.about h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: #4CAF50;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #555;
  text-align: center;
}

/* Privacy Section */
.privacy {
  background-color: #fff;
  padding: 60px 0;
}

.privacy h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  color: #4CAF50;
}

.privacy h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8em;
  color: #333;
}

.privacy p {
  font-size: 1.1em;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #ddd;
  padding: 20px 0;
  text-align: center;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #ff5722;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .feature-grid {
    flex-direction: column;
  }

  .feature-item {
    flex: 1 1 100%;
  }

  .hero h2 {
    font-size: 2.5em;
  }

  .hero p {
    font-size: 1em;
  }
}
