@import url("https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora";
}
a:hover {
  color: green;
}

h2 {
  color: green;
}
.container {
  max-width: 1260px;
  margin: auto;
}
.header {
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;

  align-items: center;
}
.write {
  margin-left: 10px;
  margin-right: 10px;
}
.logo {
  flex: 1;
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}
nav {
  flex: 1;
}
nav ul {
  text-align: center;
  display: flex;
  list-style-type: none;
  gap: 20px;
  justify-content: center;
}
.right-section {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}
nav ul li a {
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  position: relative;
  font-size: 1.3rem;
}

.auth-buttons {
  display: flex;
  gap: 5px;
}

.login-btn {
  font-size: 16px;
  padding: 8px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  border: 2px solid green;
}

.register-btn {
  font-size: 16px;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  background: #008000;
  color: white;
  cursor: pointer;
}

.cart-icon {
  margin: 0 15px;
  cursor: pointer;
}

.search-icon {
  cursor: pointer;
}
.hero-div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.writing-hero {
  margin-top: 100px;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.span {
  color: green;
}
p {
  font-size: 1.2rem;
}
.body {
  background-color: #efebe3;
}
i {
  margin-top: 12px;
  margin-right: 5px;
}
.services {
  margin-top: 100px;
  font-size: 2rem;
}
.box-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.box {
  flex: 1;
  background-color: #efebe3;
  padding: 32px;
  border-radius: 16px;
}
.service-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  background-color: white;
  border-radius: 50%;
  margin: auto;
}

.sub {
  margin-bottom: 48px;
}
h3 {
  margin-top: 20px;
  font-size: 1.9rem;
  text-align: center;
}
.service-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.service-p {
  margin-top: 24px;
  text-align: center;
}
.heading {
  padding-top: 10px;
  padding-left: 10px;
  margin-bottom: 30px;
  color: #228b22;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}
.grid {
  display: flex;
  gap: 20px;
  align-items: center;

  padding: 20px;
}
.promo-card {
  background: linear-gradient(145deg, #b1f5ac, #6dd66d);
  color: black;
  padding: 30px;
  border-radius: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  height: 400px;
  width: 300px;
}
.promo-card h2 {
  font-size: 30px;
  font-weight: bold;
}
.promo-card p {
  font-size: 14px;
  margin-bottom: 20px;
}
.promo-card button {
  background-color: #b1f5ac;
  color: black;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
}
.promo-card img {
  position: absolute;
  bottom: 0;
  right: 10px;
  width: 200px;
}
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  flex: 2;
}
#services {
  padding: 10px;
}
.product-card {
  display: flex;

  background: white;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.product-card img {
  width: 50px;
  height: 50px;
}
.product-img-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  background-color: #ccc;
  border-radius: 10px;
  margin-right: 10px;
  background-position: center;
}

.product-card .rating {
  color: #ffbf00;
  font-weight: bold;
}
.product-card .name {
  font-weight: bold;
  margin: 5px 0;
}
.product-card .price {
  color: #555;
  font-weight: bold;
}
.name {
  color: rgb(59, 52, 52);
}
.rating {
  text-align: justify;
}
#product {
  margin-top: 148px;
  background-color: #efebe3;
  padding-top: 50px;
  padding-bottom: 50px;
}
.buy {
  border: 2px lightgreen;
  cursor: pointer;
  border: 2px solid yellow;
}
.buy:hover {
  transition: 0.2s linear;
  background-color: #16ef21;
}
.heading-offers {
  color: green;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 140px;
}
.offers {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 140px;
}
/* #offers {
  margin-bottom: 140px;
} */
.offer-box {
  width: 45%;
  padding: 20px;
  border-radius: 10px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.offer-box.greens {
  background-color: #044d00;
}
.offer-box.blue {
  background-color: #0b1f5a;
}
.offer-text {
  text-align: left;
}
.logo-dawat {
  width: 180px;
}
.dawat {
  width: 180px;
}
.india {
  width: 130px;
}
.india-gate {
  width: 100px;
}
.cta {
  background: rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 5px;
  margin: 10px 0;
}
.discount {
  font-size: 18px;
  font-weight: bold;
}
.img-dawat {
  width: 350px;
}
.logo-offer {
  width: 50px;
}
#offers {
  padding: 20px;
}
.newsletter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  background: #f7f3eb;
  padding: 30px;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-image {
  max-width: 200px;
}

.newsletter-content {
  flex: 1;
  text-align: left;
  padding-left: 20px;
}

.newsletter-content h2 {
  font-size: 22px;
  font-weight: bold;
  color: #000;
}

.newsletter-content p {
  font-size: 14px;
  color: #555;
}

.newsletter-content form {
  display: flex;
  gap: 10px;
}

.newsletter-content input {
  width: 90%;
  margin-right: 10px;
  padding: 14px;
  border: 1px solid #c4c4c4;
  border-radius: 5px;
}

.newsletter-content button {
  margin-top: 13px;
  padding: 10px 20px;
  background-color: #1a8f1a;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

footer {
  margin-top: 140px;
  /* padding: 20px; */
  background-color: #1a8f1a;
  color: white;
  /* padding: 40px 0; */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-left {
  max-width: 300px;
}

.brand-name {
  font-size: 24px;
  font-weight: bold;
}

.brand-name span {
  color: #bada55;
}

.description {
  font-size: 14px;
}

.footer-links a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 5px;
  font-size: 16px;
}

.footer-socials {
  text-align: center;
}

.footer-socials span {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  margin: 0 10px;
  text-decoration: none;
}
input {
  margin-top: 10px;
}
