/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;
  overflow-x: hidden;
}

header {
  background: #4A90E2;
  color: #fff;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-size: 2em;
}

nav {
  margin-top: 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-size: 0.9em;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Hero Section */
.hero {
  background: url('https://via.placeholder.com/1200x600') no-repeat center center/cover;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  color: #fff;
  text-align: center;
  max-width: 800px;
  z-index: 1;
  padding: 20px;
}

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

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

.btn {
  background: #FF6F61;
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: #e65b50;
}

/* Sections */
section {
  padding: 60px 0;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}

.feature {
  flex: 1 1 250px;
  margin: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature h3 {
  margin-bottom: 15px;
  font-size: 1.5em;
  color: #4A90E2;
}

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

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

footer a {
  color: #FF6F61;
  text-decoration: none;
  margin: 0 5px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.7);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  position: relative;
}

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

/* Responsive Media Query */
@media(max-width: 768px) {
  .hero-content h2 {
    font-size: 2em;
  }

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

  .features {
    flex-direction: column;
  }
}
