* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  line-height: 1.6;
}

p {
  line-height: 1.7;
}

#navbar {
  top: 32px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-gradient {
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

#navbar {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.98);
}

#navbar.nav-scroll {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  background-color: rgba(255, 255, 255, 1);
}

#top-banner {
  transition: transform 0.3s ease;
}

.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e5e5;
  position: relative;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #1d87d0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(29, 135, 208, 0.15);
  border-color: #1d87d0;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: #1d87d0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-icon svg {
  color: white;
  width: 28px;
  height: 28px;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

.project-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #1d87d0 0%, #156ba8 100%);
}

.btn-primary {
  background: #1d87d0;
  border: none;
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 12px rgba(29, 135, 208, 0.3);
}

.btn-primary:hover {
  background: #1a75bd;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 135, 208, 0.4);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: white;
  border: 2px solid #1d87d0;
  color: #1d87d0;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #f5f5f5;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-icon svg {
  transition: transform 0.3s ease;
}

.btn-icon:hover svg {
  transform: translateX(4px);
}

.text-gradient {
  background: linear-gradient(135deg, #1d87d0 0%, #156ba8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  color: #1d87d0;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #1d87d0;
  border-radius: 2px;
}

input:focus, textarea:focus, select:focus {
  border-color: #1d87d0;
  box-shadow: 0 0 0 3px rgba(29, 135, 208, 0.1);
  outline: none;
}

.professional-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
  background: white;
  border: 1px solid #f0f0f0;
  padding: 32px;
  border-radius: 16px;
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 56px;
  color: #1d87d0;
  opacity: 0.1;
  font-family: 'Inter', serif;
  font-weight: 700;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #1d87d0;
}

.star-rating {
  color: #FFB800;
  font-size: 18px;
}

.contact-gradient {
  background: linear-gradient(135deg, #f8f7f6 0%, #f0ebe8 100%);
  position: relative;
  overflow: hidden;
}

.contact-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 135, 208, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1d87d0;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #1d87d0;
}

.logo-filter {

}

@media (max-width: 768px) {
  .mobile-padding {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 769px) {
  .mobile-padding {
    padding-top: 160px;
    padding-bottom: 100px;
  }
}

@keyframes scroll-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll-x {
  animation: scroll-x 30s linear infinite;
}

@media (min-width: 768px) {
  .animate-scroll-x {
    animation: none;
    justify-content: center;
  }
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .hero-height {
    height: calc(100vh - 32px - 80px);
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gradient-text {
  background: linear-gradient(135deg, #1d87d0 0%, #4da3e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-shadow {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.card-shadow:hover {
  box-shadow: 0 20px 60px rgba(29, 135, 208, 0.15);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeInScale 0.6s ease-out;
}

.text-balance {
  text-wrap: balance;
}

.shadow-professional {
  box-shadow: 0 10px 30px -5px rgba(29, 135, 208, 0.3);
}

.shadow-professional-hover:hover {
  box-shadow: 0 20px 50px -10px rgba(29, 135, 208, 0.4);
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #fff;
}

.social-icon-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.instagram-link {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.instagram-link:hover {
  background: linear-gradient(135deg, #9146c2 0%, #ff2828 50%, #ffc055 100%);
}

.facebook-link {
  background: #1877f2;
}

.facebook-link:hover {
  background: #0c63d4;
}

.bg-brand-blue {
  background-color: #1d87d0;
}

.bg-brand-blue-hover:hover {
  background-color: #1a75bd;
}

.text-brand-blue {
  color: #1d87d0;
}

.border-brand-blue {
  border-color: #1d87d0;
}

.hover-border-brand-blue:hover {
  border-color: #1d87d0;
}

.bg-gradient-brand {
  background: linear-gradient(to right, #1d87d0, #156ba8);
}

.bg-gradient-brand-br {
  background: linear-gradient(to bottom right, #1d87d0, #156ba8);
}

.bg-gradient-brand-overlay {
  background: linear-gradient(to right, rgba(29, 135, 208, 0.85), rgba(21, 107, 168, 0.8));
}

.group:hover .group-hover-border-brand-blue {
  border-color: #1d87d0;
}

.h-img-default {
  height: 500px;
}

@media (min-width: 768px) {
  .h-img-default {
    height: 600px;
  }
}

.hero-bg-image {
  background-image: url("images/IMG_8465.webp");
  background-size: cover;
  background-position: center;
}

#kontakt {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

#contact-form {
  max-width: 100% !important;
  overflow: hidden !important;
}

#contact-form * {
  max-width: 100% !important;
}

#contact-form > div {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#contact-form .g-recaptcha {
  transform: scale(0.9) !important;
  transform-origin: center center !important;
  margin: 1rem auto !important;
}

@media (max-width: 640px) {
  #contact-form .g-recaptcha {
    transform: scale(0.85) !important;
  }
}

@media (max-width: 480px) {
  #contact-form .g-recaptcha {
    transform: scale(0.8) !important;
  }
}

@media (max-width: 380px) {
  #contact-form .g-recaptcha {
    transform: scale(0.75) !important;
  }
}

#contact-form > div[style*="display"] {
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

#contact-form .text-center h3,
#contact-form .text-center p {
  display: block !important;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100% !important;
  box-sizing: border-box !important;
}

#kontakt .bg-white.rounded-lg a {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 1023px) {
  #kontakt .bg-white.rounded-lg a {
    white-space: normal !important;
    word-break: break-all !important;
    overflow: visible !important;
  }
}

@media (max-width: 768px) {
  .relative.group .bg-white.rounded-2xl {
    padding: 1.5rem !important;
  }

  .relative.group .w-20.h-20 {
    width: 3.5rem !important;
    height: 3.5rem !important;
  }

  .relative.group .text-3xl {
    font-size: 1.5rem !important;
  }

  .relative.group .text-2xl {
    font-size: 1.25rem !important;
  }
}
