body {
  font-family: "Lato", sans-serif;
}

/* Carousel Styles */
.carousel-item {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.carousel-item.active {
  display: block;
  opacity: 1;
  position: relative;
  animation: fadeIn 0.8s ease-in-out;
}

.carousel-item:nth-child(1) {
  background-image: url("/public/laptop.png");
}

.carousel-item:nth-child(2) {
  background-image: url("/public/edit.png");
}

.carousel-item:nth-child(3) {
  background-image: url("/public/mobile.png");
}

/* Scroll animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Language dropdown styles */
.lang-dropdown {
  position: relative;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  z-index: 100;
}

.lang-menu.active {
  display: block;
}

.lang-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.2s;
}

.lang-menu a:hover {
  background-color: #f3f4f6;
}

.lang-menu a.current {
  background-color: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

/* Prose/Typography Styles */
.prose {
  max-width: 75ch;
}

.prose h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.prose h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1e40af;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2563eb;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: #374151;
}

.prose ul,
.prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

/* Card Styles */
.photo-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.article-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.article-card:hover .category-badge {
  transform: scale(1.05);
}

.security-badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.category-badge {
  transition: all 0.2s ease;
}

/* Table Styles */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 2rem 0;
}

th {
  background-color: #2563eb;
  color: white;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

tr:hover {
  background-color: #f3f4f6;
}

/* Alert/Info Boxes */
.warning-box {
  border-left: 4px solid #dc2626;
  background-color: #fef2f2;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.tip-box {
  border-left: 4px solid #10b981;
  background-color: #ecfdf5;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-box {
  border-left: 4px solid #3b82f6;
  background-color: #eff6ff;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* Checklist */
.checklist-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.checklist-item:hover {
  background-color: #f9fafb;
}

/* Backgrounds */
.gradient-overlay {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.hero-pattern {
  background-color: rgba(48, 99, 183, 0.70);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

      .section-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
      }

      .section-toggle:checked ~ .section-content {
        max-height: 3000px;
      }

      .section-arrow {
        transition: transform 0.3s ease;
      }

      .section-toggle:checked ~ label .section-arrow {
        transform: rotate(180deg);
      }

      /* FAQ item answer */
      .faq-answer {
        display: none;
        padding: 0 1.25rem 1.25rem 1.25rem;
      }

      input[type="radio"]:checked ~ .faq-answer {
        display: block;
        animation: fadeIn 0.3s ease;
      }

      /* Arrow rotation for FAQ items */
      .arrow {
        transition: transform 0.3s ease;
      }

      input[type="radio"]:checked ~ label .arrow {
        transform: rotate(180deg);
      }

      /* Tab styles */
      .tab-button {
        transition: all 0.3s ease;
      }

      .tab-button.active {
        border-bottom-color: #2563eb;
      }

      .policy-section {
        display: none;
      }

      .policy-section.active {
        display: block;
        animation: fadeIn 0.4s ease-in-out;
      }

