* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #fff2fe; 
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background-color: #333;
  color: white;
  max-height: 60px;
}

header a {
  text-decoration: none;
  color: #fff;
}

/*Search Bar Style*

.search-bar {
  max-width: 400px;
  flex-grow: 1;
  display: flex;
  margin-left: 100px;
}

.search-bar button {
  border-radius: 50px;
  background-color: #e5ead0;
  margin-left: 10px;
}

.search-bar input {
  padding: 10px;
  width: 300px;
  font-size: 1em;
  border: none;
  border-radius: 50px;
  outline: none;
}

.search-bar button:hover {
  background-color: #ffe0cc;
}

/*Nav */

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav {
  position: relative;
}

.menu-toggle {
  display: none;
  background-color: #333;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/**
.engine {
  text-align: center;
  padding: 1rem;
}

.engine h1 {
  margin: 0;
  font-size: 2rem;
}

.engine h3 {
  margin-bottom: 10px;
  color: #555;

}

.controls {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.controls input,
.controls select {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 200px;
}
/**/

/* Blog Container *
#blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.blog-post {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    max-height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.blog-post img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
}

.blog-post h2 {
    font-size: 1.5rem;
    margin: 0.5rem;
}

.blog-post p {
    font-size: 1rem;
    margin: 0.5rem;
    color: #555;
}

.blog-post .date {
    font-size: 0.8rem;
    margin: 0.5rem;
    color: #888;
    font-style: italic;
}

.blog-post a {
  text-decoration: none;
  color: #333;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .controls input,
    .controls select {
        width: 150px;
    }

    #blog-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}


/**

button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}*/


.header1 {
    background: #4CAF50;
    color: white;
    padding: 20px 0;
    text-align: center;
    justify-content: center;
    line-height: 1.6;
}

.container {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in;
}

h2 {
    color: #333;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 5px;
    animation: slideIn 0.8s ease-out;
}

/* Con-1*/
.con-1 h2 {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  font-size: 2em;
}
/*why i made it */

.con-1 h2 {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 10px 20px;
  font-size: 2.5rem;
  cursor: pointer;
}

/*icon vision*/

.vision-icon {
  display: flex;
  margin: 0 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.vision-icon h4 {
  text-align: center;
  max-width: 100%;
  max-height: 80px;
  font-size: 16px;
}

.icon  {
  text-align: center;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

.vision-icon .vision {
  background-color: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 20px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.vision img {
  max-width: 100%;
  max-height: 180px;
  text-align: center;
  cursor: pointer;
}

.vision-icon:hover {
  transform: scale(1.05);
}

.vision:hover {
  transform: scale(1.05);
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
/**/

p {
    margin: 10px 0;
}

.contact {
    margin-top: 20px;
}

.contact a {
    display: inline-block;
    margin: 5px 0;
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
 
.contact a:hover {
    color: #388E3C;
    text-decoration: underline;
}

.contact h3 {
    margin-top: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    h2 {
        font-size: 1.5em;
    }
    p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 1.2em;
    }
    h2 {
        font-size: 1.2em;
    }
    p {
        font-size: 0.9em;
    }
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #333;
  color: white;
}

/* Responsive Design */
@media (max-width: 480px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
  }

  .nav-links li {
    text-align: center;
    padding: 1rem 0;
  }

  .nav-links.show {
    display: flex;
  }

  .product {
    width: 100%;
    max-width: 300px;
  }

  /*.featured .h1 {
    width: 100%;
  }*/

  

  

}

@media screen and (max-width: 480px) {
  img {
    width: 100%;
  }

  .mySwiper {
    width: 100%;
    height: 35vh;
  }


  .featured .h1 {
    text-align: center;
    font-size: 10px;
    margin-top: 40px;
  }

 
}
