/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  min-height: 100vh;
}

/* ===== MAIN CONTENT CONTAINER ===== */
.content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* ===== LOGO SECTION ===== */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.logo {
  max-width: 10rem;
  max-height: 10rem;
  height: auto;
  border: none;
  display: block;
}

/* ===== GOOGLE SEARCH SECTION ===== */
.search-container {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem;
}

.google-search {
  width: 100%;
  max-width: 600px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background-color: white;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 0.5rem 1rem;
  transition: box-shadow 0.3s ease;
}

.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  border-color: rgba(223, 225, 229, 0);
}

.search-icon {
  color: #9aa0a6;
  display: flex;
  align-items: center;
  padding-right: 0.75rem;
  font-size: 1.2rem;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 0.5rem;
  background: transparent;
}

.search-button {
  background: none;
  border: none;
  color: #5f6368;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.search-button:hover {
  color: #202124;
}

.search-button:focus {
  outline: 2px solid #4285f4;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== APP CARDS SECTION ===== */
.app-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem;
  justify-content: center;
}

.app-cards .card {
  flex: 1 1 200px;
  max-width: 220px;
  min-width: 180px;
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.app-cards .card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  color: #333;
}

.app-cards .card:focus {
  outline: 2px solid #4285f4;
  outline-offset: 2px;
}

.app-cards .card-body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1rem;
  flex-grow: 1;
}

.app-cards .card-body i {
  font-size: 3.5rem;
  transition: transform 0.3s ease;
}

.app-cards .card:hover .card-body i {
  transform: scale(1.1);
}

.app-cards .card-footer {
  background-color: #f8f9fa;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  border-top: 1px solid #e0e0e0;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-cards .card:hover .card-footer {
  background-color: #e9ecef;
  font-style: italic;
}

/* ===== ACCESS SHORTCUTS ===== */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #1f3b7b;
  color: #fff;
  border-radius: 6px;
  z-index: 1000;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.quick-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid #e5e8ee;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  align-items: center;
}

.quick-nav .nav-logo {
  display: none;
  align-items: center;
  justify-content: center;
  margin-right: 0.4rem;
  padding: 4px 6px;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.quick-nav .nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.quick-nav .quick-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.quick-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  background: #f5f7fb;
  color: #1f3b7b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #e2e7f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.quick-nav a:hover {
  background: #e6edff;
  color: #0d2a63;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.quick-nav a i {
  color: #f1a501;
}

.nav-stuck .nav-logo {
  display: inline-flex;
  animation: logo-pop 0.6s ease-out;
}

@keyframes logo-pop {
  0% {
    transform: translateY(-8px) scale(0.85) rotate(-6deg);
    opacity: 0;
  }
  60% {
    transform: translateY(2px) scale(1.05) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* ===== STRUCTURED LAYOUT ===== */
.section-divider {
  border: 0;
  height: 1px;
  width: 100%;
  max-width: 1100px;
  margin: 0.25rem auto 0.75rem;
  background: linear-gradient(to right, transparent, #dbe1ec, transparent);
}

.main-tools-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1rem 0.75rem;
}

.section-title {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #1f3b7b;
  letter-spacing: 0.01em;
}

.section-title i {
  margin-right: 0.45rem;
  color: #f1a501;
}

.main-cards {
  width: 100%;
  max-width: 900px;
  gap: 1.75rem;
}

.main-cards .card {
  flex: 1 1 240px;
  max-width: 260px;
  border: 2px solid #dfe6ff;
}

.main-cards .card-body {
  padding: 2.75rem 1rem;
}

.main-cards .card-body i {
  font-size: 3.75rem;
}

.card.featured {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%);
  border-color: #3b6cfb;
  box-shadow: 0 8px 24px rgba(59, 108, 251, 0.16);
}

.card.featured .card-footer {
  font-weight: 600;
  color: #1f3b7b;
}

.categories-section {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 0 0.5rem 2rem;
}

.category-block {
  background: #ffffff;
  border: 1px solid #e5e8ee;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.25rem 0.5rem;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.1rem;
  color: #1f3b7b;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.category-title i {
  color: #f1a501;
}

.category-block .app-cards {
  padding: 0.5rem 0.25rem 0.75rem;
  justify-content: center;
  gap: 1.25rem;
}

.category-block .app-cards .card {
  flex: 1 1 180px;
  max-width: 210px;
}

.main-tools-section,
.category-block {
  scroll-margin-top: 78px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .content {
    padding: 1rem 0.5rem;
    gap: 1.25rem;
  }

  .logo {
    max-width: 8.5rem;
    max-height: 8.5rem;
  }

  .search-container {
    padding: 1rem 0.5rem;
  }

  .app-cards {
    gap: 1rem;
    padding: 0.5rem;
  }

  .app-cards .card {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: 100%;
  }

  .app-cards .card-body {
    padding: 2rem 1rem;
  }

  .app-cards .card-body i {
    font-size: 3rem;
  }

  .quick-nav {
    position: sticky;
    top: 0;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .main-cards {
    max-width: 100%;
    gap: 1.25rem;
  }

  .main-cards .card {
    max-width: 100%;
  }

  .main-cards .card-body {
    padding: 2.25rem 1rem;
  }

  .categories-section {
    gap: 1.25rem;
  }

  .category-block {
    padding: 1rem;
  }

  .category-block .app-cards {
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-container {
    margin-top: 1rem;
  }

  .logo {
    max-width: 8rem;
    max-height: 8rem;
  }

  .app-cards .card {
    flex: 1 1 100%;
  }

  .app-cards .card-body i {
    font-size: 2.5rem;
  }

  .category-title {
    font-size: 1rem;
  }

  .section-divider {
    margin: 0.25rem auto;
  }

  .quick-nav a {
    font-size: 0.85rem;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid #4285f4;
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .search-container {
    display: none;
  }

  .app-cards .card {
    break-inside: avoid;
  }
}

/*# sourceMappingURL=style.css.map */
