:root {
  --primary-color: #00aaff;
  --primary-hover: #0088cc;
  --background-dark: #0f1115;
  --background-light: #1a1d22;
  --text-light: #ffffff;
  --text-muted: #cfcfcf;
  --transition-speed: 0.3s;
}

/* Enhanced Animation Styles for Journey Engagement */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Transition Classes */
.section-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Staggered Card Animations */
.stagger-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-card:nth-child(1) { transition-delay: 0.1s; }
.stagger-card:nth-child(2) { transition-delay: 0.2s; }
.stagger-card:nth-child(3) { transition-delay: 0.3s; }
.stagger-card:nth-child(4) { transition-delay: 0.4s; }
.stagger-card:nth-child(5) { transition-delay: 0.5s; }
.stagger-card:nth-child(6) { transition-delay: 0.6s; }

/* Enhanced Interactive Hover States */
.enhanced-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.enhanced-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.enhanced-hover:hover::before {
  left: 100%;
}

.enhanced-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 170, 255, 0.15);
}

/* Smooth Background Transitions */
.smooth-bg-transition {
  transition: background-image 1s ease-in-out, opacity 1s ease-in-out;
}

/* Floating Animation for Background Elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

/* Progressive Text Reveal */
.progressive-text {
  overflow: hidden;
}

.progressive-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.progressive-text.visible span {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Section Dividers */
.section-divider {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin: 2rem 0;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-divider.visible {
  opacity: 1;
  transform: scaleX(1);
}

/* Parallax Background Effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Enhanced Card Interactions */
.interactive-card {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.interactive-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.interactive-card:hover::after {
  opacity: 1;
}

.interactive-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 170, 255, 0.2);
}

/* Scroll Progress Indicator */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #0099ff);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--background-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Desktop Navigation styles */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(26, 29, 34, 0.98);
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.logo-link {
  display: block;
  transition: transform var(--transition-speed) ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.nav-logo {
  height: 80px;
  width: auto;
}

.nav-logo-full {
  height: 32px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero section styles */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  color: var(--text-light);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background: linear-gradient(rgba(15,17,21,0.85), rgba(15,17,21,0.85));
  z-index: -1;
  transition: transform 0.5s ease;
}

.hero:hover .hero-background {
  transform: scale(1.05);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(45deg, #fff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1:hover {
  transform: scale(1.02);
}

.hero p {
  font-size: 1.4rem;
  max-width: 800px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 auto 2rem auto;
  transition: transform var(--transition-speed) ease;
}

.hero p:hover {
  transform: translateY(-5px);
}

.hero-text-bg {
  background: rgba(20, 24, 30, 0.82);
  padding: 2rem 2.5rem;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
  backdrop-filter: blur(2px);
  margin: 2rem auto 0 auto;
  max-width: 50%;
  text-align: center;
}
@media (max-width: 600px) {
  .hero-text-bg {
    padding: 1.2rem 1rem;
    border-radius: 12px;
  }
}

/* Button styles */
.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.cta-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 170, 255, 0.3);
}

.cta-button:hover::before {
  left: 100%;
}

/* Service card styles */
.service-card {
  background: var(--background-light);
  color: var(--text-light);
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(0,0,0,0.13);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 320px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.service-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 420px;
}

.service-card .btn {
  margin-top: auto;
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: var(--primary-color);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.service-card .btn:hover {
  background: var(--primary-hover);
}

/* Footer styles */
footer {
  background-color: var(--background-light);
  color: var(--text-muted);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo-img {
  max-width: 200px;
  height: auto;
  filter: brightness(0.8);
  transition: filter var(--transition-speed) ease;
}

.footer-logo-img:hover {
  filter: brightness(1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
  position: relative;
  padding-left: 1.5rem;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 2rem;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  margin: 0.5rem 0;
}

.footer-contact a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.footer-contact a:hover {
  color: var(--primary-hover);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Scroll progress indicator */
.scroll-progress {
  display: none;
}

/* Industries Section Styles */
.industries-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 6rem 0;
  color: white;
  overflow: hidden;
}
.industries-title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  background: linear-gradient(45deg, #fff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.industries-grid {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}
.industry-card {
  background: rgba(30,34,40,0.92);
  border-radius: 18px;
  padding: 2.5rem 2.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.13);
  max-width: 370px;
  min-width: 320px;
  flex: 1 1 340px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px 0 rgba(0, 170, 255, 0.15);
}
.industry-card h3 {
  color: #00aaff;
  margin-bottom: 1rem;
  text-align: center;
}
.industries-grid ul {
  padding-left: 1.5em;
  margin: 0;
}
.industries-grid li {
  text-indent: -1.1em;
  padding-left: 1.1em;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  word-break: break-word;
}
@media (max-width: 1200px) {
  .industries-grid {
    flex-wrap: wrap;
  }
  .industry-card {
    max-width: 100%;
    min-width: 260px;
  }
}

/* Services Section Styles */
.services-section {
  background: var(--background-dark);
  padding: 6rem 0;
  color: var(--text-light);
}
.services-section .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.service-card {
  background: var(--background-light);
  color: var(--text-light);
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(0,0,0,0.13);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 320px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.service-card p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 420px;
}
.service-card .btn {
  margin-top: auto;
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: var(--primary-color);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.service-card .btn:hover {
  background: var(--primary-hover);
}

/* Main Scrolling Background Styles */
.main-background {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--background-dark);
  background-attachment: scroll;
  z-index: 0;
}
.main-background::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1;
  pointer-events: none;
}
.main-background > * {
  position: relative;
  z-index: 2;
}

/* Remove old services-bg style if present */
.services-bg { display: none !important; }

/* Responsive styles */
@media (max-width: 768px) {
  /* Desktop nav is hidden on mobile - handled by new mobile nav */
  nav:not(.mobile-nav) { display: none !important; }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .service-card {
    padding: 1.5rem;
  }
  .about-container {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
    width: 100%;
  }
  .about-content {
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
  }
  .about-text {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
  }
  .about-text p {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
  }
  .about-image.mobile-only {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
  }
  .about-image.mobile-only .profile-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
  }
  .about-content h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .about-text {
    gap: 1.25rem;
  }
  .about-text .intro {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0;
  }
  .about-text .outro {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-logo {
    margin-bottom: 1rem;
  }
  .footer-links {
    align-items: center;
  }
  .footer-contact {
    text-align: center;
  }
  .footer-links a {
    padding-left: 0;
  }
  .footer-links a::before {
    display: none;
  }
  .footer-links a:hover {
    padding-left: 0;
  }
  .scroll-indicator {
    bottom: 2vh;
  }
  .scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  .tools-main-section, .compatible-section { padding: 2rem 0; }
  #index-page .hero {
    height: 70vh;
    min-height: 320px;
    padding: 0 1rem;
  }
  #index-page .hero-background {
    height: 63vh;
    min-height: 288px;
  }
  #index-page .hero-video-bg {
    display: block;
    margin: 0;
    position: absolute;
    top: 0;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    height: 63vh !important;
    min-height: 288px;
    max-width: 100vw;
    object-fit: cover;
  }
  #index-page .hero-text-bg {
    max-width: 75% !important; /* 75% of default width */
    width: 75% !important;
  }
  #index-page .hero h1 {
    font-size: 1.75rem;
  }
  #index-page .hero p {
    font-size: 0.9rem;
  }
  #index-page .hero-text-bg .hero-logo {
    display: none !important;
  }
  .services-provide-grid {
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
  }

  .industry-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hardware-grid {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .hardware-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 1.2rem 0.5rem;
  }
  .with-nav-padding {
    padding-top: 70px !important;
  }
  .aerial-hero, .ground-hero {
    min-height: 100svh;
    min-height: 100dvh;
    min-height: 100vh;
    height: auto !important;
    padding-bottom: 4.5rem !important;
  }
  .aerial-hero-content, .ground-hero-content {
    margin-top: 20px !important;
  }
  .aerial-hero-title, .ground-hero-title {
    font-size: 2rem !important;
    margin-bottom: 0.8rem !important;
  }
  .drone-instructions {
    font-size: 1rem !important;
    margin-top: 0.2rem !important;
  }
  .tools-hero.with-nav-padding,
  .hero.tools-hero,
  .with-nav-padding {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .tools-hero .hero-background {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .mobile-banner {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about-container {
    gap: 3rem;
    padding: 0 2rem;
  }
  .about-image {
    width: 250px;
  }
  .about-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    height: 100px;
    min-height: 100px;
  }
  .nav-brand.mobile-only {
    margin-bottom: 0.25rem;
  }
  .nav-logo-full {
    height: 24px;
  }
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .about-content h2 {
    font-size: 1.8rem;
  }
  .about-content p {
    font-size: 1rem;
  }
  footer {
    padding: 3rem 1rem 1.5rem;
  }
  .footer-logo-img {
    max-width: 150px;
  }
  .scroll-indicator {
    bottom: 2vh;
  }
  .scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  .with-nav-padding {
    padding-top: 120px !important;
  }
  .aerial-hero.with-nav-padding,
  .ground-hero.with-nav-padding,
  .quote-hero.with-nav-padding {
    padding-top: 120px !important;
  }
}

/* Mobile/Desktop visibility classes */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .about-container {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .about-image.mobile-only {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
  }

  .about-image.mobile-only .profile-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
  }

  .about-content {
    padding: 1rem 0;
  }

  .about-content h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .about-text {
    gap: 1.25rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .about-text .intro {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0;
  }

  .about-text .outro {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1.5rem;
  }
  .with-nav-padding {
    padding-top: 70px !important;
  }
  
  /* Mobile-specific index page hero styles */
  #index-page .hero {
    height: 70vh;
    min-height: 320px;
    padding: 0 1rem;
  }
  #index-page .hero-background {
    height: 63vh;
    min-height: 288px;
  }
  #index-page .hero-video-bg {
    display: block;
    margin: 0;
    position: absolute;
    top: 0;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    height: 63vh !important;
    min-height: 288px;
    max-width: 100vw;
    object-fit: cover;
  }
  #index-page .hero-text-bg {
    max-width: 75% !important; /* 75% of default width */
    width: 75% !important;
  }
  #index-page .hero h1 {
    font-size: 1.75rem;
  }
  #index-page .hero p {
    font-size: 0.9rem;
  }
  #index-page .hero-text-bg .hero-logo {
    display: none !important;
  }
  .services-provide-grid {
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
  }
}

.scroll-indicator {
  position: fixed;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-text {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.scroll-indicator:hover .scroll-arrow,
.scroll-indicator:hover .scroll-text {
  opacity: 1;
}

/* Desktop-only styles for scroll indicator */
@media (min-width: 769px) {
  .scroll-arrow {
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
  }
  .scroll-text {
    color: #000;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  40% {
    transform: rotate(45deg) translateY(-10px);
  }
  60% {
    transform: rotate(45deg) translateY(-5px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Tools & Technology Page Backgrounds */
/* Remove the following blocks to revert to default hero style:
.hero.tools-hero { ... }
@media (max-width: 768px) { .hero.tools-hero { ... } }
*/

.get-a-quote-bg {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 100vh;
  background: url('assets/housing-dev.jpg') center center/cover no-repeat;
  z-index: 0;
  overflow: hidden;
}
.get-a-quote-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(20,24,30,0.7);
  z-index: 1;
  pointer-events: none;
}
.get-a-quote-bg > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .get-a-quote-bg { min-height: unset; padding: 2rem 0; }
}

.quote-hero, .quote-hero-content {
  background: transparent !important;
  box-shadow: none !important;
}
/* Remove background: transparent from .page-header and h1 to allow gradient text */
.quote-hero-content .page-header {
  box-shadow: none !important;
}
.quote-hero-content .page-header h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  background: linear-gradient(45deg, #4fd1ff, #2196f3 60%, #00c6fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
}
.quote-hero-content .page-header p {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0;
  margin-top: 0;
  background: linear-gradient(45deg, #4fd1ff, #2196f3 60%, #00c6fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
  text-shadow: none;
}
.quote-hero-bg {
  z-index: 1;
}

.quote-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: none !important;
}
.quote-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('assets/housing-dev.jpg') center center/cover no-repeat;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}
.quote-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  background: none !important;
  box-shadow: none !important;
}
.quote-section {
  background: var(--background-dark, #181a1e);
  padding: 2.5rem 1rem 3rem 1rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.12);
}
@media (max-width: 600px) {
  .quote-hero-content { padding: 2rem 0 1rem 0; }
  .quote-section { padding: 1.2rem 0.5rem 2rem 0.5rem; border-radius: 10px; }
}

.quote-hero-content, .quote-hero-content .page-header, .quote-hero-content .page-header * {
  background: none !important;
  box-shadow: none !important;
}

.operations-section {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
  margin: 4rem 0;
  padding: 2rem 0;
}

.operations-section .operations-title {
  width: 100%;
  text-align: center;
  z-index: 2;
}

.operations-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  border-radius: 32px;
  opacity: 0.18;
}

.aerial-operations .operations-bg {
  background: linear-gradient(135deg, #3ec6ff 0%, #1e2a38 100%);
}
.ground-operations .operations-bg {
  background: linear-gradient(135deg, #e0e4ea 0%, #bfc5d2 100%);
}

.operations-visual, .operations-content {
  z-index: 2;
}

.model-viewer {
  width: 540px;
  height: 540px;
  margin: 0 auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
}

@media (max-width: 900px) {
  .operations-section {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
  }
  .model-viewer {
    width: 90vw;
    max-width: 98vw;
    height: 60vw;
    max-height: 80vw;
  }
}

@media (max-width: 600px) {
  .model-viewer {
    width: 98vw;
    height: 60vw;
    min-height: 320px;
    max-width: 100vw;
    max-height: 80vw;
  }
  .operations-section {
    margin: 2rem 0;
    padding: 1rem 0;
  }
}

#about {
  position: relative;
  /* background: url('assets/vector_sight_background.png') center center/cover no-repeat, var(--background-dark); */
  background: var(--background-dark);
  color: var(--text-light);
  padding: 7rem 1.5rem 4rem 1.5rem;
  min-height: 100vh;
  z-index: 1;
}
#about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2);
  z-index: 2;
  pointer-events: none;
}
#about > * {
  position: relative;
  z-index: 3;
}
.about-container {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}
.about-image {
  flex: 0 0 260px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.profile-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  object-fit: cover;
}
.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(30,34,40,0.44);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.22);
  padding: 2rem 2.5rem;
}
.about-intro-row {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.about-intro-row .intro {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}
.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}
.about-text .outro {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }
  .about-image {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .about-intro-row {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .profile-image {
    max-width: 320px;
    margin: 0 auto;
  }
}

.about-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}
.about-hero .profile-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  object-fit: cover;
  background: #181c22;
}
.about-hero-intro {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0;
  max-width: 420px;
  color: var(--text-light);
  font-size: 1.25rem;
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .about-hero .profile-image {
    max-width: 340px;
  }
  .about-hero-intro {
    max-width: 100%;
    padding: 1.2rem 1rem;
    font-size: 1.1rem;
  }
}

.about-hero-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: rgba(30,34,40,0.44);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.22);
  padding: 2.5rem 3rem;
  max-width: 900px;
  margin: 0 auto 3.5rem auto;
}
.about-hero-box .profile-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  object-fit: cover;
  background: #181c22;
}
.about-hero-intro {
  max-width: 420px;
  color: var(--text-light);
  font-size: 1.25rem;
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  width: 100%;
}
.about-text .outro {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .about-hero-box {
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem 1rem;
  }
  .about-hero-box .profile-image {
    max-width: 340px;
  }
  .about-hero-intro {
    max-width: 100%;
    font-size: 1.1rem;
    padding: 0;
  }
  .about-content {
    padding: 0 0.5rem;
  }
}

.with-nav-padding {
  padding-top: 0 !important;
}
.about-nav-padding {
  padding-top: 100px !important;
}

.aerial-hero.with-nav-padding,
.ground-hero.with-nav-padding,
.quote-hero.with-nav-padding {
  padding-top: 120px !important;
}

/* Mobile-specific nav padding adjustment */
.hero.with-nav-padding {
  padding-top: 20px !important; /* Match mobile banner height */
}

/* Mobile hero text box width adjustment */
#index-page .hero-text-bg {
  max-width: 75% !important; /* 75% of default width */
  width: 75% !important;
}

.services-provide-card {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, filter 0.2s;
  position: relative;
  outline: none;
}
.services-provide-card:hover,
.services-provide-card:focus {
  box-shadow: 0 6px 32px 0 rgba(0,170,255,0.18);
  transform: translateY(-6px) scale(1.03);
  filter: brightness(1.08);
  z-index: 2;
}
.services-provide-card .card-arrow {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  font-size: 1.7rem;
  color: #00aaff;
  opacity: 0.7;
  transition: opacity 0.2s, right 0.2s;
  pointer-events: none;
}
.services-provide-card:hover .card-arrow,
.services-provide-card:focus .card-arrow {
  opacity: 1;
  right: 0.8rem;
}
.services-provide-card:focus {
  outline: 2px solid #00aaff;
  outline-offset: 2px;
}

/* Remove all custom height overrides for tools-hero */
/* Remove section.hero.tools-hero.with-nav-padding rule */

/* Tools & Technology Page Styles */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tool-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* Keep dark background for specific cards */
.tool-card[data-tool="navvis"] {
  background: rgba(30, 34, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px 0 rgba(0, 170, 255, 0.15);
}

.tool-logo {
  max-width: 120px;
  max-height: 80px;
  width: auto;
  height: auto;
  margin-bottom: 1.5rem;
  object-fit: contain;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.tool-card:hover .tool-logo {
  filter: brightness(1.1);
}

.tool-card .btn {
  background: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-top: 1rem;
  display: inline-block;
}

.tool-card .btn:hover {
  background: var(--primary-hover);
}

.tool-content {
  margin-top: 1rem;
}

.tool-content h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.tool-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hardware section styles */
.hardware-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hardware-card {
  flex: 1;
  min-width: 416px;
  max-width: 702px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 400px;
}

.hardware-learn-btn:hover {
  background: var(--primary-hover) !important;
}

/* Tools We Use Section Hover Effects */
.tools-we-use-section .hardware-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px 0 rgba(0, 170, 255, 0.15);
}

.tools-we-use-section .tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px 0 rgba(0, 170, 255, 0.15);
}

.tools-we-use-section .tool-card:hover .tool-logo {
  filter: brightness(1.1);
}

/* Responsive adjustments for tools page */
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .tool-card {
    padding: 2rem 1.5rem;
    min-height: 180px;
  }
  
  .tool-logo {
    max-width: 100px;
    max-height: 60px;
  }
  
  .hardware-grid {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  
  .hardware-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 1.2rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .tool-card {
    padding: 1.5rem 1rem;
    min-height: 160px;
  }
  
  .tool-logo {
    max-width: 80px;
    max-height: 50px;
  }
}

.tools-hero .hero-background {
  background: linear-gradient(rgba(15,17,21,0.18), rgba(15,17,21,0.18)), url('assets/mavic3site.png') center center / cover no-repeat !important;
}

.tools-hero .hero-text-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 2;
}

/* Desktop-only: Move tools hero text box up slightly */
@media (min-width: 769px) {
  .tools-hero .hero-text-bg {
    top: 45%;
    transform: translate(-50%, -50%);
  }
}

/* Center tools hero text on mobile */
@media (max-width: 768px) {
  .tools-hero .hero-text-bg {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    bottom: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    width: 90vw !important;
    max-width: 90vw !important;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    box-sizing: border-box !important;
  }
  
  .tools-hero h1 {
    font-size: 2.0rem;
  }
  
  .tools-hero p {
    font-size: 1.1rem;
    margin-bottom: 0;
  }
}

/* Mobile Banner Styles */
.mobile-banner {
  display: none;
  background-color: rgba(26, 29, 34, 0.98);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.mobile-banner-brand {
  display: flex;
  align-items: center;
}

.mobile-banner-logo {
  height: 40px;
}

.mobile-banner-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  margin: 4px 0;
  transition: all 0.3s ease;
}

.mobile-banner-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-banner-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-banner-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-banner-menu {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background-color: rgba(26, 29, 34, 0.98);
  transform: translateY(-150%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem 0;
  z-index: 1000;
}

.mobile-banner-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-banner-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  display: block;
}

/* ==========================================================================
   Mobile-specific styles
   ========================================================================== */
@media (max-width: 768px) {
  /* Hide desktop nav and show mobile banner */
  nav {
    display: none !important;
  }
  .mobile-banner {
    display: flex !important;
  }
  
  .with-nav-padding {
    padding-top: 70px !important;
  }

  /* Index page hero adjustments */
  #index-page .hero {
    height: 70vh;
    padding: 0 1rem;
  }
  #index-page .hero-background {
    height: 63vh;
  }
  #index-page .hero-video-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 63vh;
    object-fit: cover;
  }
  #index-page .hero-text-bg {
    max-width: 75%;
    width: 75%;
    padding: 1.2rem 1rem;
  }
  #index-page .hero h1 {
    font-size: 1.75rem;
  }
  #index-page .hero p {
    font-size: 0.9rem;
  }
  #index-page .hero-text-bg .hero-logo {
    display: none;
  }

  /* General mobile text scaling */
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-contact {
    text-align: center;
  }
}

#viewAllToolsCard.energized {
  background: linear-gradient(135deg,rgba(0,170,255,0.15),rgba(0,170,255,0.05)) !important;
  border: 2.5px solid #00aaff !important;
  box-shadow: 0 0 32px 0 rgba(0,170,255,0.25), 0 0 64px 8px rgba(0,170,255,0.15);
  transition: background 0.5s, border 0.5s, box-shadow 0.5s;
  animation: energize-pulse 1.2s cubic-bezier(.4,0,.2,1) 1;
}
@keyframes energize-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,170,255,0.0); }
  40% { box-shadow: 0 0 32px 0 rgba(0,170,255,0.35), 0 0 64px 8px rgba(0,170,255,0.25); }
  100% { box-shadow: 0 0 32px 0 rgba(0,170,255,0.25), 0 0 64px 8px rgba(0,170,255,0.15); }
}
#viewAllToolsCard.energized h4,
#viewAllToolsCard.energized .tool-content,
#viewAllToolsCard.energized .tool-content span {
  color: #00aaff !important;
}
#tools-animated-path {
  z-index: 20;
  pointer-events: none;
}

.services-provide-card {
  position: relative;
}
.card-cta {
  display: flex;
  align-items: center;
  gap: 0.4em;
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  font-weight: 600;
  color: #00aaff;
  font-size: 1.08rem;
  background: none;
  z-index: 2;
}

.card-cta .card-arrow {
  display: inline-block;
  margin-left: 0.4em;
  font-size: 1.08rem;
  vertical-align: middle;
}

@media (max-width: 768px) {
  #tools-animated-path {
    display: none !important;
  }
}

.sticky-drone-container {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 900px) {
  .with-nav-padding {
    padding-top: 100px !important;
  }
}

.aerial-hero-content,
.ground-hero-content {
  margin-top: 20px !important;
}

.aerial-hero-content .drone-instructions,
.ground-hero-content .drone-instructions {
  margin-top: 1.5rem !important;
}
.aerial-hero-content, .ground-hero-content {
  gap: 0.7rem !important;
}
.aerial-hero-title, .ground-hero-title {
  margin-bottom: 0.5rem !important;
}

@media (min-width: 769px) {
  .aerial-hero-content,
  .ground-hero-content {
    padding: 2rem 0.75rem !important;
    max-width: 910px !important;
    width: 100% !important;
  }
} 