 @font-face {
      font-family: 'DniproCity';
      src: url('./fonts/DniproCity-Regular.ttf') format('truetype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'DniproCity';
      src: url('./fonts/DniproCity-Bold.ttf') format('truetype');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'DniproCity', system-ui, -apple-system, sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      line-height: 1.5;
      color: #1f2937;
    }

    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }
    input { font-family: inherit; }

    .line-clamp-2 {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    input[type="search"]::-webkit-search-cancel-button { display: none; }

    /* Animations */
    @keyframes float-slow {
      0%, 100% { transform: translate(0, 0) scale(1); }
      25% { transform: translate(30px, -20px) scale(1.05); }
      50% { transform: translate(-20px, 30px) scale(0.95); }
      75% { transform: translate(20px, 20px) scale(1.02); }
    }
    @keyframes float-medium {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(-40px, 20px) scale(1.08); }
      66% { transform: translate(30px, -30px) scale(0.92); }
    }
    @keyframes float-fast {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(25px, -25px) scale(1.1); }
    }
    @keyframes pulse-slow {
      0%, 100% { opacity: 0.15; transform: scale(1); }
      50% { opacity: 0.25; transform: scale(1.15); }
    }
    @keyframes shimmer {
      0%, 100% { opacity: 0.1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(1.2); }
    }
    @keyframes drift {
      0% { transform: translate(0, 0) rotate(0deg); }
      25% { transform: translate(15px, -10px) rotate(2deg); }
      50% { transform: translate(-10px, 15px) rotate(-1deg); }
      75% { transform: translate(-15px, -5px) rotate(1deg); }
      100% { transform: translate(0, 0) rotate(0deg); }
    }
    @keyframes glow-pulse {
      0%, 100% { box-shadow: 0 0 10px rgba(59,130,246,0.3), 0 0 20px rgba(59,130,246,0.1); opacity: 0.3; }
      50% { box-shadow: 0 0 20px rgba(59,130,246,0.5), 0 0 40px rgba(59,130,246,0.2); opacity: 0.6; }
    }
    @keyframes sparkle {
      0%, 100% { opacity: 0; transform: scale(0.5); }
      50% { opacity: 0.8; transform: scale(1); }
    }
    @keyframes single-pulse {
      0% { opacity: 0; box-shadow: 0 0 8px rgba(147,197,253,0.15); transform: scale(0.9); }
      20% { opacity: 0.4; box-shadow: 0 0 20px rgba(147,197,253,0.35), 0 0 35px rgba(147,197,253,0.15); transform: scale(1); }
      50% { opacity: 0.4; box-shadow: 0 0 25px rgba(147,197,253,0.4), 0 0 40px rgba(147,197,253,0.2); transform: scale(1); }
      75% { opacity: 0.25; box-shadow: 0 0 18px rgba(147,197,253,0.25), 0 0 30px rgba(147,197,253,0.1); transform: scale(1.02); }
      100% { opacity: 0; box-shadow: 0 0 10px rgba(147,197,253,0.05); transform: scale(1.05); }
    }
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .anim-float-slow { animation: float-slow 20s ease-in-out infinite; }
    .anim-float-medium { animation: float-medium 15s ease-in-out infinite; }
    .anim-float-fast { animation: float-fast 10s ease-in-out infinite; }
    .anim-pulse-slow { animation: pulse-slow 12s ease-in-out infinite; }
    .anim-shimmer-1 { animation: shimmer 8s ease-in-out infinite; }
    .anim-shimmer-2 { animation: shimmer 12s ease-in-out infinite 2s; }
    .anim-shimmer-3 { animation: shimmer 10s ease-in-out infinite 4s; }
    .anim-shimmer-4 { animation: shimmer 14s ease-in-out infinite 1s; }
    .anim-shimmer-5 { animation: shimmer 9s ease-in-out infinite 3s; }
    .anim-drift-1 { animation: drift 25s ease-in-out infinite; }
    .anim-drift-2 { animation: drift 30s ease-in-out infinite 5s; }
    .anim-drift-3 { animation: drift 20s ease-in-out infinite 10s; }
    .anim-sparkle-1 { animation: sparkle 4s ease-in-out infinite; }
    .anim-sparkle-2 { animation: sparkle 5s ease-in-out infinite 1.5s; }
    .anim-sparkle-3 { animation: sparkle 6s ease-in-out infinite 3s; }
    .anim-sparkle-4 { animation: sparkle 4.5s ease-in-out infinite 2s; }
    .anim-sparkle-5 { animation: sparkle 5.5s ease-in-out infinite 0.5s; }
    .anim-single-pulse { animation: single-pulse 10s ease-in-out forwards; }

    /* Layout */
    .app-wrapper {
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
      background-image: url('./background.png');
      background-position: center top;
      background-size: cover;
      background-repeat: no-repeat;
    }
    .gradient-overlay {
      position: absolute; inset: 0;
      pointer-events: none;
      background: linear-gradient(to bottom, transparent 40%, rgba(30,80,150,0.35) 100%);
    }
    .bg-layer {
      position: absolute; inset: 0;
      overflow: hidden;
      pointer-events: none;
      z-index: 0;
    }
    .bg-square {
      position: absolute;
      border-radius: 2px;
    }
    .bg-sparkle {
      position: absolute;
      border-radius: 9999px;
    }
    .glow-box {
      position: absolute;
      border: 1px solid rgba(147,197,253,0.4);
      border-radius: 6px;
    }
    .box-img {
      position: absolute;
      top: 64px;
      right: 16px;
      width: 192px;
      max-width: 40%;
      pointer-events: none;
      z-index: 0;
    }
    .ambient-orb {
      position: absolute;
      border-radius: 9999px;
    }
    .content-wrapper {
      position: relative;
      z-index: 10;
    }
    .container {
      max-width: 80rem;
      margin: 0 auto;
      padding-left: 1rem;
      padding-right: 1rem;
    }

    /* Hero */
    .hero-section { position: relative; padding: 2rem 0 1.5rem; }
    .hero-pill {
      display: inline-block;
      margin-bottom: 1rem;
      padding: 0.625rem 1.5rem;
      border-radius: 9999px;
      border: 1px solid rgba(255,255,255,0.6);
      color: white;
      font-size: 1rem;
      font-weight: 500;
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      transition: background 0.3s;
    }
    .hero-pill:hover { background: rgba(255,255,255,0.15); }
    .hero-title {
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.025em;
      color: white;
    }
    .hero-gradient {
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.025em;
      margin-bottom: 0.75rem;
      background-image: linear-gradient(90deg, #3b82f6 0%, #06b6d4 50%, #22d3ee 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-subtitle {
      font-size: 0.875rem;
      color: #1B3A57;
      margin-bottom: 1.5rem;
      line-height: 1.5;
      position: relative;
      z-index: 1;
      white-space: nowrap;
    }
    .hero-buttons {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
    }
    .hero-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 0.5rem;
      padding: 0.625rem 1rem;
      font-size: 1rem;
      font-weight: 500;
      color: white;
      text-align: center;
      transition: all 0.3s;
      line-height: 1.25;
    }
    .hero-btn:hover { transform: translateY(-2px); }
    @media (min-width: 1024px) {
      .hero-btn { padding: 0.625rem 1.25rem; font-size: 1.125rem; white-space: nowrap; }
    }
    .hero-btn-primary {
      background: #2563eb;
      box-shadow: 0 4px 6px -1px rgba(59,130,246,0.3);
    }
    .hero-btn-primary:hover { background: #1d4ed8; box-shadow: 0 10px 15px -3px rgba(59,130,246,0.4); }
    .hero-btn-glass {
      background: rgba(6,182,212,0.25);
      backdrop-filter: blur(20px) saturate(120%);
      -webkit-backdrop-filter: blur(20px) saturate(120%);
      border: 1px solid rgba(6,182,212,0.4);
    }
    .hero-btn-glass:hover { border-color: rgba(34,211,238,0.6); }

    /* Search */
    .search-section { padding: 1rem 0; }
    .search-wrapper {
      border-radius: 0.75rem;
      box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
      border: 1px solid rgba(255,255,255,0.3);
      padding: 2px;
      max-width: 42rem;
      margin: 0 auto;
      background: rgba(255,255,255,0.4);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      transition: all 0.3s;
    }
    .search-wrapper:hover { border-color: rgba(255,255,255,0.5); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
    .search-wrapper.focused {
      border-color: rgba(96,165,250,0.6);
      box-shadow: 0 20px 25px -5px rgba(59,130,246,0.2);
      background: rgba(255,255,255,0.6);
    }
    .search-inner { position: relative; }
    .search-icon {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      color: #9ca3af;
      transition: color 0.3s;
    }
    .search-wrapper.focused .search-icon { color: #3b82f6; }
    .search-input {
      width: 100%;
      padding: 0.5rem 1rem 0.5rem 3rem;
      border: none;
      outline: none;
      background: transparent;
      font-size: 1.125rem;
      color: #374151;
      border-radius: 0.5rem;
      height: 2.75rem;
    }
    .search-input::placeholder { color: #9ca3af; }

    /* Categories */
    .categories-section { padding: 1.5rem 0; }
    .section-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 0.125rem;
    }
    .section-subtitle {
      font-size: 1rem;
      color: #4b5563;
      margin-bottom: 1rem;
    }
    .categories-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }
    .category-card {
      border-radius: 1rem;
      padding: 0.75rem;
      box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      flex-direction: column;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 2px solid transparent;
      overflow: hidden;
    }
    .category-card:hover { transform: translateY(-4px); }
    .category-card.selected { transform: translateY(-4px); }
    .category-card-image-wrap {
      margin: -0.75rem -0.75rem 0.5rem -0.75rem;
      overflow: hidden;
      border-radius: 1rem 1rem 0 0;
      width: calc(100% + 1.5rem);
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.05);
    }
    .category-card-image-wrap img {
      width: 100%;
      height: auto;
      object-fit: contain;
      max-height: 160px;
    }
    .category-card-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
    }
    .category-card-title {
      font-weight: 700;
      color: #1f2937;
      font-size: 1rem;
      line-height: 1.2;
      overflow-wrap: break-word;
      
    }
    .category-card-arrow {
      width: 16px;
      height: 16px;
      color: #9ca3af;
      flex-shrink: 0;
    }

    /* Services */
    .services-section { padding: 1.5rem 0 3rem; }
    .services-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
      flex-wrap: wrap;
    }
    .services-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1f2937;
    }
    .back-btn {
      color: #2563eb;
      font-size: 1rem;
      font-weight: 500;
      display: none;
      align-items: center;
      gap: 4px;
      cursor: pointer;
      background: none;
      border: none;
      font-family: inherit;
    }
    .back-btn.visible { display: flex; }
    .back-btn svg { width: 20px; height: 20px; }
    .services-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    .service-card {
      border-radius: 1rem;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1.25rem;
      cursor: pointer;
      transition: all 0.3s;
      min-height: 100px;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(96,165,250,0.3);
      box-shadow: 0 4px 15px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
    }
    .service-card:hover {
      transform: translateY(-4px) !important;
      background: rgba(255,255,255,0.25);
    }
    .service-card-icon {
      width: 56px;
      height: 56px;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: rgba(255,255,255,0.25);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .service-card-icon svg { width: 28px; height: 28px; }
    .service-card-content { flex: 1; min-width: 0; }
    .service-card-title {
      font-weight: 600;
      color: #1f2937;
      font-size: 1.125rem;
      line-height: 1.2;
    }
    .service-card-desc {
      font-size: 1rem;
      color: #4b5563;
      line-height: 1.3;
      margin-top: 4px;
    }
    .service-card-arrow {
      width: 24px;
      height: 24px;
      color: #9ca3af;
      flex-shrink: 0;
    }
    .empty-state {
      border-radius: 1rem;
      padding: 2rem;
      text-align: center;
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
    }
    .empty-state svg { width: 48px; height: 48px; color: #9ca3af; margin: 0 auto 0.75rem; }
    .empty-state p { color: #4b5563; }
    .empty-state .sub { font-size: 0.875rem; color: #6b7280; }

    /* Footer */
    footer {
  background: #002855;
  color: white;
  position: relative; /* Добавить */
  z-index: 50000;        /* Добавить, чтобы быть выше всех фоновых эффектов */
}
    .footer-line {
      height: 4px;
      background: linear-gradient(90deg, #3b82f6 0%, #3b82f6 35%, #facc15 50%, #3b82f6 65%, #3b82f6 100%);
    }
    .footer-inner {
      max-width: 80rem;
      margin: 0 auto;
      padding: 2.5rem 1rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
    }
    .footer-brand {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.05rem;
      margin-bottom: 0.75rem;
    }
    .footer-brand img { width: 250px;  object-fit: contain; }
    .footer-brand span { font-size: 1.875rem; font-weight: 700; line-height: 1.1; }
    .footer-credit { color: #9ca3af; font-size: 1rem; }
    .footer-heading { font-weight: 700; margin-bottom: 0.75rem; font-size: 1rem; letter-spacing: 0.05em; }
    .footer-text { font-size: 1rem; color: #d1d5db; line-height: 1.6; }
    .footer-text-sm { font-size: 0.875rem; color: #9ca3af; text-transform: uppercase; }
    .footer-phone { font-size: 1.125rem; }
    .footer-link { color: #60a5fa; transition: color 0.3s; display: block; margin-top: 0.5rem; font-size: 1rem; }
    .footer-link:hover { color: #93c5fd; }

    /* Scroll top button */
    .scroll-top-btn {
      position: fixed;
      right: 1.5rem;
      z-index: 50;
      width: 48px;
      height: 48px;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.8);
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(59,130,246,0.2);
      backdrop-filter: blur(16px) saturate(120%);
      -webkit-backdrop-filter: blur(16px) saturate(120%);
      box-shadow: 0 4px 20px rgba(59,130,246,0.15);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s, transform 0.3s, border-color 0.3s, box-shadow 0.3s;
      cursor: pointer;
    }
    .scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
    .scroll-top-btn:hover {
      border-color: rgba(255,255,255,0.4);
      transform: translateY(-4px);
      box-shadow: 0 10px 25px rgba(59,130,246,0.25);
      color: white;
    }
    .scroll-top-btn svg { width: 24px; height: 24px; }

    .categories-hidden { opacity: 0; height: 0; overflow: hidden; pointer-events: none; transition: opacity 0.5s, height 0.5s; }
    .categories-visible { opacity: 1; height: auto; transition: opacity 0.5s, height 0.5s; }

    /* Responsive */
    @media (min-width: 640px) {
      .container { padding-left: 1.5rem; padding-right: 1.5rem; }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .box-img { width: 224px; }
    }
    @media (min-width: 768px) {
      .categories-grid { grid-template-columns: repeat(4, 1fr); }
      .hero-subtitle { font-size: 1rem; }
      .category-card-title { font-size: 1.125rem; }
      .category-card-image-wrap img { max-height: 180px; }
      .box-img { width: 256px; }
      .footer-grid { grid-template-columns: repeat(3, 1fr); text-align: left; }
      .footer-brand { justify-content: flex-start; }
      .footer-right { text-align: right; }
    }
    @media (min-width: 1024px) {
      .container { padding-left: 2rem; padding-right: 2rem; }
      .hero-section { padding: 4rem 0 2rem; }
      .hero-subtitle { font-size: 1.125rem; }
      .hero-buttons { grid-template-columns: repeat(4, 1fr); max-width: 56rem; }
      .box-img { right: 64px; width: 320px; }
    }
    @media (min-width: 1280px) {
      .container { padding-left: 3rem; padding-right: 3rem; }
      .hero-title, .hero-gradient { font-size: 4.5rem; }
      .hero-subtitle { font-size: 1.25rem; }
      .hero-gradient { margin-bottom: 1.25rem; }
      .categories-grid { gap: 1rem; }
      .category-card-title { font-size: 1.5rem; }
      .category-card-image-wrap img { max-height: 220px; }
      .box-img { right: 80px; width: 384px; }
    }
    @media (min-width: 1536px) {
      .container { padding-left: 4rem; padding-right: 4rem; }
    }
	.hero-logo {
  width: 100%;
  max-width: 300px; /* Максимальна ширина як у тексту */
  margin-bottom: 0.5rem;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-gradient {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  background-image: linear-gradient(90deg, #3b82f6 0%, #06b6d4 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.footer-bottom {
  margin-top: 1rem;
  padding-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  width: 100%;
}

.footer-credit {
  color: #9ca3af;
  font-size: 1rem;
  margin: 0;
}
.hero-logo {
  width: clamp(200px, 20vw, 500px); /* Налаштуйте значення під ваш дизайн */
  height: auto;
}

.hero-gradient {
  font-size: clamp(1.75rem, 8vw, 3rem);
}

