html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
}

/* Cursive headings */
h1,
h2,
h3,
.navbar-brand span {
  font-family: "Dancing Script", cursive;
}

/* Hero animated gradient */
.home {
  min-height: 100vh;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(-45deg, #0f0f0f, #04041a, #0f0f0f, #222);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
  overflow-x: hidden;
  width: 100%;
}

.homeNav {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(-45deg, #0f0f0f, #04041a, #0f0f0f, #222);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar link hover */
.navbar-nav .nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #bfab90 !important;
  transform: translateY(-3px);
}

/* Button hover effect */
.btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

/* Service card hover effect */
.card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
  opacity: 0.98;
}

/* Floating icons animation */
.floating-icon {
  animation: float 6s ease-in-out infinite;
}

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

  50% {
    transform: translateY(-20px) rotate(10deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}
.bgG {
  background: linear-gradient(-45deg, #0f0f0f, #04041a, #0f0f0f, #222);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}
/* Base state: smaller, faded, slightly lower */
.zoom-item {
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Activated state */
.zoom-item.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Video background */
.home .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures video covers entire section */
    opacity: 0.5;      /* 50% transparency */
    z-index: 0;        /* behind the content */
    pointer-events: none; /* allow clicks through video */
}

/* Ensure content is on top */
.home .container {
    position: relative;
    z-index: 1;
}
