:root {
  --bg-gradient: linear-gradient(135deg, #1e1b3a, #2c1f4a, #1a237e);
  --text-color: #e4e6eb;
  --accent-color: #7aa9ff;
  --button-bg: #7c879c;
  --button-hover: #5680ff;
  --footer-bg: rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  background: var(--bg-gradient);
}

/* === Sections / Card Styling === */
.section {
  margin: 1rem auto;
  max-width: 600px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
}

.logo {
  width: 132px;
  height: 132px;
  margin: 1rem auto;
}

p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

a.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  background-color: var(--button-bg);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
  margin-bottom: 2rem;
}

a.button:hover {
  background-color: var(--button-hover);
}

/* === Product Cards === */
.product-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 1.5rem;
}

.product-card {
  width: 100%;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.product-card h3 {
  margin-bottom: 0.5rem;
}

@media (min-width: 900px) {
  .product-list {
    flex-direction: row;
    justify-content: center;
  }

  .product-card {
    width: 250px;
  }
}

/* === Carousel === */
.client-carousel {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  margin: 40px 0;
  width: 100%;
}

.carousel-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  transform-origin: 50% 50%;
}

.carousel-track img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  border-radius: 50%;
  background-color: white;
  transition: all 1s;
  animation: fadein 3s ease-in-out infinite alternate;
}

@keyframes fadein {
  from {
    transform: scale(1.0);
    box-shadow: 0 0 2px 2px grey;
  }
  to {
    transform: scale(1.02);
    box-shadow: 0 0 3px 3px grey;
  }
}

@media (min-width: 768px) {
  .client-carousel {
    display: flex;
    justify-content: space-evenly;
  }

  .carousel-track {
    animation: unset;
  }
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--footer-bg);
  border-radius: 8px;
  font-size: 0.9rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 2rem auto;
}

.footer a {
  color: var(--accent-color);
  text-decoration: underline;
  margin: 0 0.25rem;
}

.footer p {
  all: unset;
  text-align: center;
  line-height: 1.4;
}

/* === Responsive Adjustments === */
@media (max-width: 480px) {
  .section, .footer {
    padding: 1rem;
  }

  .carousel-track img {
    height: 50px;
    width: 50px;
    margin: 0 5px;
  }

  @keyframes bounce {
    0% { transform: translateX(-5%); }
    100% { transform: translateX(5%); }
  }
}

/* Contact Section */
.contact {
  text-align: center;
  padding: 4rem 2rem;
  flex-direction: column;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card {
  display: inline-block;
  text-align: center;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#contact-email {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: monospace;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.contact-actions button,
.contact-actions .mailto-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease-in-out;
}

.contact-actions button {
  background: #e5e7eb;
}

.contact-actions button:hover {
  background: #d1d5db;
}

.contact-actions .mailto-btn {
  background: #2563eb;
  color: white;
  text-decoration: none;
}

.contact-actions .mailto-btn:hover {
  background: #1e40af;
}

/* Section for articles */

.wide {
  max-width: 100%;
  width: 100%;
}

.section h1, .section h2, .section h3 {
  color: var(--accent-color);
  font-weight: 700;
}

.section p, .section ul {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.section ul {
  padding-left: 1.5rem;
}

.product-card h3 {
  color: var(--accent-color);
}

.product-card p {
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}