* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: .2s linear;
}

body {
  background-color: white;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 8.5rem;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: #fff;
}

html::-webkit-scrollbar-thumb {
  background: #27ae60;
  border-radius: 5rem;
}

section {
  padding: 2rem 9%;
}

section img {
  border-radius: 20px;
}

.heading {
  text-align: center;
  padding-bottom: 2rem;
  font-size: 2.3rem;
}

.heading span {
  font-family: 'Satisfy', cursive;
  font-size: 3rem;
  color: #27ae60;
}

.heading h3 {
  font-size: 3rem;
  color: #130f40;
}

.heading h2 {
  font-size: 3rem;
  color: #130f40;
}

.heading p {
  font-size: 1.6rem;
  color: #666;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: .7rem 1.8rem;
  font-size: 1.7rem;
  cursor: pointer;
  color: #fff;
  background: #0095b6;
  border-radius: .5rem;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #130f40;
  transform: translateY(-2px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 9%;
}

.header .logo {
  width: 100px;
  height: auto;
}

.header .navbar a {
  font-size: 1.7rem;
  margin: 0 1rem;
  color: #666;
  transition: color 0.3s ease;
}

.header .navbar a:hover {
  color: #27ae60;
}

#menu-btn {
  display: none;
  font-size: 2.8rem;
  cursor: pointer;
  color: #130f40;
  padding: 0.5rem;
}

.header .navbar {
  transition: clip-path 0.3s ease;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  min-height: 30vh;
  padding: 4rem 9%;
}

.home .content {
  flex: 1 1 41rem;
}

.home .content span {
  font-size: 2.5rem;
  color: #27ae60;
  font-weight: 600;
}

.home .content h1 {
  font-size: 4.5rem;
  color: #130f40;
  padding-top: 1rem;
  line-height: 1.2;
}

.home .content p {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.8;
  padding: 1.5rem 0;
}

/* Search Container */
.search-container {
  display: flex;
  max-width: 60rem;
  margin: 3rem auto 0;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
  border-radius: 5rem;
  overflow: hidden;
  background: white;
}

#searchInput {
  flex: 1;
  padding: 1.5rem 2.5rem;
  font-size: 1.6rem;
  border: none;
  outline: none;
  color: #130f40;
  background: transparent;
}

#searchInput::placeholder {
  color: #999;
}

.search-btn {
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
  background: #27ae60;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.search-btn:hover {
  background: #130f40;
}

.search-btn i {
  font-size: 1.8rem;
}

/* Search Results Section - ENHANCED STYLING */
.search-results {
  padding: 3rem 9%;
  background: #fff;
  min-height: 30vh;
}

.search-results .heading {
  text-align: left;
  padding-bottom: 2rem;
  border-bottom: 2px solid #27ae60;
  margin-bottom: 3rem;
}

.search-results .heading h3 {
  font-size: 2.4rem;
  color: #130f40;
  font-weight: 700;
  margin: 0;
}

.search-results .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.search-results .box-container .box {
  border-radius: 1rem;
  background: #f7f7f7;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-results .box-container .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-results .box-container .box .image {
  margin: 1rem 0;
  background: white;
  padding: 1rem;
  border-radius: 1rem;
}

.search-results .box-container .box .image img {
  width: 80%;
  max-width: 25rem;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
}

.search-results .box-container .box .content h3 {
  font-size: 1.8rem;
  color: #130f40;
  margin: 1rem 0;
  line-height: 1.4;
  border: 0;
  text-decoration: none;
}

.popular .box-container .box .content h3::after,
.search-results .box-container .box .content h3::after {
  content: none !important;
}

.search-results .box-container .box .content .description {
  font-size: 1.4rem;
  color: #666;
  margin: 1rem 0;
  line-height: 1.6;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: inline-block;
}

.search-results .box-container .box .content .price {
  font-size: 2.4rem;
  color: #27ae60;
  font-weight: 600;
  margin: 1.5rem 0;
}

.search-results .box-container .box .content .btn {
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
}

/* About Section */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  background: #f7f7f7;

}

.about .image {
  flex: 1 1 40rem;
}

.about .image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.about .content {
  flex: 1 1 40rem;
  padding: 6rem;
}

.about .content span {
  font-family: 'Satisfy', cursive;
  font-size: 3rem;
  color: #27ae60;
}

.about .content p {
  padding: 1rem 0;
  line-height: 2;
  font-size: 1.6rem;
  color: #666;
}

.about .content .icons-container {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.about .content .icons-container .icons {
  flex: 1 1 20rem;
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.about .content .icons-container .icons img {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

.about .content .icons-container .icons h3 {
  font-size: 1.8rem;
  color: #130f40;
}

/* Shop By Category */
.shop-by {
  text-align: center;
  margin-top: 4rem;
}

.shop-by h2 {
  font-size: 4rem;
  color: #130f40;
  font-weight: 700;
  margin-bottom: 3rem;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  padding: 2rem 9%;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 30rem;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.category-card img {
  width: 100%;
  height: 25rem;
  object-fit: contain;
  padding: 2rem;
}

.category-name {
  background: #0095b6;
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1.5rem;
  text-transform: capitalize;
}

/* Products Section */
.popular .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}

.popular .box-container .box {
  border-radius: 1rem;
  background: #f7f7f7;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.popular .box-container .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.popular .box-container .box .image {
  margin: 1rem 0;
}

.popular .box-container .box .image img {
  width: 90%;
  max-width: 40rem;
  max-height: 30rem;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
}

.popular .box-container .box .content h3 {
  font-size: 1.8rem;
  color: #130f40;
  margin: 1rem 0;
  line-height: 1.4;
  border: 0;
  text-decoration: none;
}

.popular .box-container .box .content .description {
  font-size: 1.4rem;
  color: #666;
  margin: 1rem 0;
  line-height: 1.6;
}

.popular .box-container .box .content .price {
  font-size: 2.4rem;
  color: #27ae60;
  font-weight: 600;
  margin: 1.5rem 0;
}

/* Order Section */
.order .icons-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.order .icons-container .icons {
  border-radius: .5rem;
  padding: 2rem;
  text-align: center;
  background: #f7f7f7;
  transition: transform 0.3s ease;
}

.order .icons-container .icons:hover {
  transform: translateY(-3px);
}

.order .icons-container .icons img {
  height: 8rem;
  width: auto;
  object-fit: contain;
}

.order .icons-container .icons h3 {
  font-size: 1.8rem;
  color: #130f40;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: #f7f7f7;
  padding: 3rem 9%;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer .box-container .box h3 {
  font-size: 2.2rem;
  color: #130f40;
  padding: 1rem 0;
}

.footer .box-container .box p {
  font-size: 1.5rem;
  color: #666;
  padding: .5rem 0;
  line-height: 1.8;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.5rem;
  color: #666;
  padding: .8rem 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer .box-container .box a:hover {
  color: #0095b6;
  padding-left: 1rem;
}

.footer .box-container .box a i {
  padding-right: .8rem;
  color: #27ae60;
}

.footer .bottom {
  padding-top: 2rem;
  text-align: center;
  border-top: 1px solid #ddd;
}

.footer .bottom p {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer .bottom .share {
  margin: 2rem 0;
}

.footer .bottom .share a {
  display: inline-block;
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  font-size: 2rem;
  border-radius: .5rem;
  margin: 0 .5rem;
  color: #fff;
  background: #27ae60;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer .bottom .share a:hover {
  background: #130f40;
  transform: translateY(-3px);
}

.footer .bottom .credit {
  font-size: 1.5rem;
  color: #666;
  padding: 1.5rem 0;
}

/* Preloader - LOGO ONLY (NO GREEN CIRCLE) */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 150px;
  height: auto;
  animation: pulse 2s ease-in-out infinite;
  margin-bottom: 20px;
}

.preloader-text {
  font-size: 2rem;
  color: #130f40;
  font-weight: bold;
  text-align: center;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 2rem 5%;
  }

  section {
    padding: 2rem 5%;
  }

  .category-list {
    padding: 2rem 5%;
  }

  .search-results {
    padding: 2rem 5%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  #menu-btn {
    display: inline-block;
    font-size: 2.6rem;
  }

  .header {
    padding: 1.5rem 5%;
  }

  .header .logo {
    width: 80px;
  }

  .header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 1001;
  }

  .header .navbar.active {
    max-height: 60rem;
    opacity: 1;
    visibility: visible;
  }

  .header .navbar a {
    font-size: 2rem;
    margin: 0;
    padding: 1.5rem;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .home {
    padding: 2rem 5%;
    min-height: auto;
  }

  .home .content h1 {
    font-size: 3.5rem;
  }

  .home .content span {
    font-size: 2rem;
  }

  .home .content p {
    font-size: 1.5rem;
  }

  .search-container {
    max-width: 90%;
    margin: 2rem auto 0;
    flex-direction: column;
    border-radius: 1rem;
    gap: 0.8rem;
  }

  #searchInput {
    padding: 1.2rem 2rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    width: 100%;
    background: #fff;
    border-radius: 0.8rem;
  }

  .search-btn {
    padding: 1.2rem 2rem;
    justify-content: center;
    font-size: 1.6rem;
    width: 100%;
    border-radius: 0.8rem;
  }

  .search-results {
    padding: 2rem 5%;
  }

  .search-results .box-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .category-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 5%;
  }

  .category-card {
    min-height: 25rem;
  }

  .category-card img {
    height: 18rem;
  }

  .category-name {
    font-size: 1.5rem;
    padding: 1rem;
  }

  .popular .box-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .popular .box-container .box {
    padding: 1.5rem;
  }

  .shop-by h2 {
    font-size: 3.2rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 45%;
  }

  #menu-btn {
    font-size: 2.4rem;
  }

  .header {
    padding: 1rem 3%;
  }

  .header .logo {
    width: 70px;
  }

  .home .content h1 {
    font-size: 3rem;
  }

  .category-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .category-card {
    min-height: 22rem;
  }

  .category-card img {
    height: 16rem;
    padding: 1rem;
  }

  .category-name {
    font-size: 1.4rem;
    padding: 0.8rem;
  }

  .shop-by h2 {
    font-size: 2.8rem;
  }

  .popular .box-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .search-results .box-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer .box-container {
    grid-template-columns: 1fr;
  }
}