/* General Styles */
body {
  font-family: Arial, sans-serif;
}

html{
  scroll-behavior: smooth;
}

/* Header */
.header {
  background-color: #1D4ED8;
  padding: 15px 0;
  color: white;
}

/* Theme Toggle Button */
.theme-toggle {
  font-size: 24px;
  padding: 10px;
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.theme-toggle:active {
  transform: scale(1.1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.nav ul li a:hover {
  color: #FBBF24;
}

/* About Us Section */
.about-section {
  background-color: #F3F4F6;
  padding: 50px 0;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-text {
  color: #555;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* API Cards */
.api-card {
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s ease-in-out;
}

.api-card:hover {
  box-shadow: 0 5px 20px rgba(255, 223, 0, 0.6);
  border-color: yellow;
}

/* Card Title */
.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Rating */
.rating {
  color: #FFD700;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Description */
.description {
  color: #555;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Price */
.price {
  font-weight: bold;
  margin-top: 10px;
}

.price span {
  color: #333;
}

/* Button Group */
.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

/* Share Button */
.share-btn {
  background-color: #1D4ED8;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
}

.share-btn:hover {
  background-color: #1E40AF;
}

/* Buy Button */
.buy-btn {
  background-color: #10B981;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
}

.buy-btn:hover {
  background-color: #059669;
}

/* See More Button */
.see-more-btn {
  background-color: #F59E0B;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.see-more-btn:hover {
  background-color: #D97706;
}


/* Custom Styles */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.animate-fade-in-delayed {
  animation: fadeIn 0.8s ease-in-out;
}

/* Card Styles */
.card {
  background-color: white;
  color: black;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #ccc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.dark .card {
  background-color: #1f2937;
  color: white;
}

/* Buttons */
.purchase-btn {
  background-color: #10b981;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: transform 0.2s, background-color 0.3s;
}
.purchase-btn:hover {
  background-color: #059669;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.mt-6{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
