/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
}

.container {
  width: 80%;
  margin: 0 auto;
}

h1, h2, h3 {
  color: #333;
}

/* Header Styles */
header {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
}

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

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

/* Hero Section */
.hero {
  background-image: url('images/bgnew.avif');
  background-color: #4CAF50;
  color: #fff;
  text-align: center;
  padding: 80px 60px;
  margin-right: auto;
  margin-left: auto;
}

.hero h1 {
  font-size: 45px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 20px;
}

button {
  background-color: #fff;
  color: #4CAF50;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #45a049;
}

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

.features h2 {
  text-align: center;
  margin-bottom: 40px;
}

.feature-cards {
  display: grid;
  border: 0px solid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  justify-content: center;
 
}

.feature-card {
  background-color: #3d8cfe;
  border-radius: 10px;
  padding: 2em;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: rem;
  color: #dedede;
}

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

.about p {
  font-size: 1.2rem;
  text-align: center;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

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

.contact form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact label {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact input, .contact textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 5px;
}

.contact button:hover {
  background-color: #45a049;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
@media(max-width: 575px){
  .feature-cards{
    flex-wrap: wrap;
  }
}