:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --dark: #0a0e17;
  --light-bg: #f8f9fa;
  --text-secondary: #5f6b7a;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background-color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.delay-200 {
  transition-delay: 0.2s;
}

.delay-400 {
  transition-delay: 0.4s;
}


.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-smooth);
}

.navbar-brand {
  letter-spacing: -0.5px;
}

.nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  position: relative;
  transition: color 0.2s;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary) !important;
}


.hero-section {
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.hero-bg-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle at 30% 50%, rgba(13, 110, 253, 0.08) 0%, transparent 70%);
  z-index: 0;
  border-radius: 50%;
}

.hero-image-wrapper img {
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}


.service-card {
  transition: var(--transition-smooth);
  border-radius: 1.25rem !important;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08) !important;
}

.icon-square {
  transition: 0.3s;
}

.service-card:hover .icon-square {
  background-color: var(--primary) !important;
  color: white !important;
}


.contact-bg-circle {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  z-index: 0;
}


#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
  border: none;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.py-md-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding-top: 5rem;
  }

  .hero-bg-shape {
    width: 100%;
    right: 0;
    top: 0;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 1.8rem;
  }
}