* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#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(45, 45, 45, 0.95);
}

#navbar.nav-scroll {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  background-color: rgba(45, 45, 45, 0.98);
}

#top-banner {
  transition: transform 0.3s ease;
}

.service-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
  position: relative;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #1a1a1a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #1a1a1a;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: #1a1a1a;
  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.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

@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, #0D47A1 0%, #1565C0 100%);
}

.btn-primary {
  background: #1a1a1a;
  border: none;
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
}

.btn-primary:hover {
  background: #000000;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: white;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  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, #636465 0%, #2c2927 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: #1a1a1a;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
}

input:focus, textarea:focus, select:focus {
  border-color: #1a1a1a !important;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 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: #1a1a1a;
  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: #1a1a1a;
}

.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(186, 174, 162, 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: #ffffff;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.logo-filter {

}

@media (max-width: 768px) {
  .mobile-padding {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  .section-title {
    font-size: 2rem !important;
  }

  /* Better mobile spacing */
  section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@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;
}

/* Calculate exact heights for hero section */
@media (min-width: 768px) {
  .hero-height {
    height: calc(100vh - 32px - 80px); /* topbar (32px) + navbar (80px) */
  }
}

/* Professional enhancements */
.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, #1565C0 0%, #42A5F5 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(21, 101, 192, 0.15);
}

/* Smooth animations */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeInScale 0.6s ease-out;
}

/* Professional text styling */
.text-balance {
  text-wrap: balance;
}

/* Better shadows */
.shadow-professional {
  box-shadow: 0 10px 30px -5px rgba(21, 101, 192, 0.3);
}

.shadow-professional-hover:hover {
  box-shadow: 0 20px 50px -10px rgba(21, 101, 192, 0.4);
}

/* Social media icons */
.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;
}