
/* Saina E-Tech Custom Styling */
body {
    font-family: 'Vazir', sans-serif;
    background: #f5fdfd;
    margin: 0;
    padding: 0;
    color: #212121;
}
h1, h2, h3 {
    color: #00695c;
}
a {
    text-decoration: none;
    color: inherit;
}
.shop-section {
    padding: 40px 20px;
}
.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.category {
    background: #ffffff;
    border: 2px solid #4dd0e1;
    border-radius: 12px;
    padding: 20px;
    width: 270px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.category:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.category img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.category h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #00796b;
}
.category p {
    margin: 10px 0;
}
.category a {
    display: inline-block;
    margin-top: 10px;
    background: #009688;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background 0.3s ease;
}
.category a:hover {
    background: #00796b;
}

/* Responsive grid */
@media (max-width: 768px) {
    .category {
        width: 90%;
    }
}


/* Entrance Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in {
  transform: translateX(100px);
  opacity: 0;
  animation: slideIn 0.6s ease-out forwards;
}
@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/* Fix for image sizing and desktop alignment */
.category {
    width: 300px;
}

.category img {
    max-height: 180px;
    object-fit: contain;
}
