.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-brand.logo svg {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}
.navbar-brand.logo {
    font-size: max(3vw, 25px)
}

.updated-logo {
    width:100px;
    height:35px
}

.embed-responsive {
    padding:2.9rem !important;
}

.testi-link:hover {
    text-decoration:underline !important;
}

.title-desc.portfolio {
    font-size:13.5px;
}


/* DEMO ONLY*/
.element {
    height: 50px;
    width: 50px;
    margin: 0 auto;
    background-color: lime;
    animation-name: stretch;
    animation-duration: 2.0s;
    animation-timing-function: ease-out;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-play-state: running;
}

@keyframes stretch {
    0% {
        transform: scale(.5);
        background-color: green;
        border-radius: 100%;
    }

    50% {
        background-color: orange;
    }

    100% {
        transform: scale(2.0);
        background-color: red;
    }
}

.video-hero {
  position: relative;
  min-height: 500px; /* ✅ Minimum height, but allows to grow */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0; /* ✅ Adds top/bottom spacing to avoid bleed */
}

.video-hero .video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto; /* ✅ let it scale naturally */
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay-text {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
}

@media (max-width: 768px) {
  .video-hero {
    height: auto; /* Allow it to grow */
    padding: 60px 0; /* Add space top and bottom */
  }

  .overlay-text {
    padding: 30px 15px;
    max-width: 95%;
  }

  .overlay-text h3 {
    font-size: 1.6rem;
  }

  .overlay-text p {
    font-size: 0.95rem;
  }

  .drone-logo {
    max-width: 160px;
    margin-bottom: 10px;
  }
}


  .overlay-text p {
    font-size: 1rem;
  }
}
/* === Drone Anchor Link === */
#drones {
  scroll-margin-top: 100px;
}

/* === Fade-In Video Animation === */
.fade-in-video {
  opacity: 0;
  transition: opacity 1.5s ease-in;
}

.fade-in-video.loaded {
  opacity: 1;
}

/* === Fade-In Overlay Text === */
.overlay-text {
  opacity: 0;
  transition: opacity 1.5s ease-in 0.3s; /* delays fade slightly after video starts */
}

/* When video is loaded, fade in overlay text */
.video-hero .fade-in-video.loaded + .overlay-text {
  opacity: 1;
}

.drone-logo {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

#appointment {
  scroll-margin-top: 100px;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Fade-In Drone Logo === */
.drone-logo {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.2s; /* Delays until video starts fading in */
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: #fff;
  color: #000;
}

.text-me-link {
  font-size: 1rem; /* Matches Bootstrap button font size */
  padding: 10px 25px;
  font-weight: 600;
  color: white;
  background: none;
  border: none;
  text-decoration: none;
  margin-left: 3rem;
  display: inline-block;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.text-me-link:hover {
  color: #ddd;
  text-decoration: underline;
}

/* Desktop spacing */
.text-me-link {
  font-size: 1rem;
  padding: 10px 25px;
  font-weight: 600;
  color: white;
  background: none;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
  line-height: 1.5;
  margin-left: 3rem;
}

.text-me-link:hover {
  color: #ddd;
  text-decoration: underline;
}

.arrow-small {
  font-size: 0.75em;
  vertical-align: middle;
  margin-left: 4px;
}

/* 📱 Text Mobile: stack + center */
@media (max-width: 768px) {
  .button-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .text-me-link {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* === Arrow next to text us === */

.arrow-small {
  font-size: 0.75em; /* Makes the arrow 75% of the text size */
  vertical-align: middle;
  margin-left: 4px;
}
