*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #f5f5f7;
  color: #111827;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header / Navigation */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 650;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: #003f8c;
}

.nav a {
  margin-left: 1.5rem;
  font-size: 0.95rem;
  color: #4b5563;
  font-weight: 500;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav a:hover {
  color: #0058c9;
}

.nav a.active {
  color: #0058c9;
  border-color: #0058c9;
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, #e0efff, #0058c9);
  color: #ffffff;
  padding: 4.2rem 0 4rem;
}

.hero-content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  font-size: 1rem;
  color: #e5eaf5;
  max-width: 32rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  background: #ffce00;
  color: #003f8c;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
}

/* Sections / Headings */

section.container {
  padding: 2.6rem 0;
}

section.container h1,
section.container h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: #111827;
}

section.container p {
  margin: 0.3rem 0 0.6rem;
  color: #4b5563;
}

/* Categories */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.cat-card {
  background: #ffffff;
  padding: 1.4rem 1.2rem;
  text-align: left;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  font-weight: 500;
  color: #111827;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  border-color: #bfdbfe;
}

/* Products */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 1.1rem 1.1rem 1.4rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.product-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Product images */

.product-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 0.6rem;
}

/* About page list styling */

section.container ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: #4b5563;
}

section.container li + li {
  margin-top: 0.25rem;
}

/* Contact form */

.contact-form {
  margin-top: 1.3rem;
  max-width: 480px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0058c9;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
  background-color: #f9fafb;
}

/* Footer */

.footer {
  margin-top: 2.6rem;
  padding: 1.5rem 0 1.8rem;
  background: #003f8c;
  color: #e5ecff;
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */

@media (max-width: 768px) {
  .header-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav a {
    margin: 0.3rem 1.2rem 0.3rem 0;
  }

  .hero {
    padding: 3.2rem 0 3.2rem;
  }

  .hero-content {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  section.container {
    padding: 2.1rem 0;
  }
}

/* Mobile menu toggle */

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.3rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: #111827;
  transition: background 0.18s ease;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive nav */

@media (max-width: 768px) {
  .header-grid {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    width: 100%;
    margin-top: 0.3rem;
    display: none;
    flex-wrap: wrap;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    margin: 0.3rem 1.2rem 0.3rem 0;
  }
}
