/*
  Volador Corporate Website - Home Page specific styles
  Theme: Tech Stark White & Industrial Grey
*/

/* 1. Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; /* Center horizontally */
  overflow: hidden;
  background-color: var(--bg-primary); /* Dark backup background */
}

/* Bottom fade-out gradient like Anduril to blend video into pure black background */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35vh; /* Large, premium smooth fade height */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.8) 75%,
    var(--bg-primary) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1; /* Maintain full visibility and quality */
  
  /* Filter to convert video to stark monochrome, matching website design specs */
  filter: grayscale(100%) brightness(0.85) contrast(1.15);
  
  /* Hardware acceleration for ultra-smooth playback */
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8) !important; /* Elegant Transparent Black Layer (80% opacity) */
  z-index: 2;
  pointer-events: none;

  /* GPU layer promotion for smooth playback on background video */
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align left */
}

.hero-info {
  width: 100%;
  max-width: 800px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align contents to left */
  justify-content: center;
  text-align: left !important;
  
  /* Initial state */
  opacity: 0;
  
  /* Slower Animation */
  animation: heroCardReveal 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.hero-welcome {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-align: left !important;
  
  /* Initial state */
  opacity: 0;
  
  /* Professional Pure Fade In */
  animation: heroCardReveal 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.2s;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  width: 100%;
  max-width: 100%;
  text-align: left !important;
  
  /* Vibrant orange text with a stealth black shine sweep */
  background: linear-gradient(
    90deg,
    #FF5500 0%,
    #FF5500 25%,
    #000000 50%,
    #FF5500 75%,
    #FF5500 100%
  );
  background-size: 200% auto;
  color: transparent !important;
  background-clip: text;
  -webkit-background-clip: text;
  
  /* Initial state */
  opacity: 0;
  
  /* Entrance transition + infinite moving text shine */
  animation: heroCardReveal 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards,
             textShine 6s linear infinite;
  animation-delay: 0.5s, 2.5s;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  width: 100%;
  max-width: 720px;
  margin: 0 0 30px 0 !important;
  font-weight: 300;
  line-height: 1.7;
  text-align: left !important;
  
  /* Initial state */
  opacity: 0;
  
  /* Professional Pure Fade In */
  animation: heroCardReveal 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.8s;
}

.hero-explore {
  display: flex;
  justify-content: flex-start; /* Align explore button left */
  align-items: center;
  width: auto;
  margin-top: 20px;
  
  /* Initial state */
  opacity: 0;
  
  /* Professional Pure Fade In */
  animation: heroCardReveal 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 1.1s;
}

@keyframes heroCardReveal {
  to {
    opacity: 1;
  }
}

@keyframes heroTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textShine {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: 0% center;
  }
}

.explore-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.explore-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #FFFFFF;
  margin-bottom: 12px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.explore-arrow-circle {
  width: 46px;
  height: 46px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.explore-arrow-circle svg {
  width: 20px;
  height: 20px;
}

.explore-link:hover .explore-arrow-circle {
  transform: translateY(6px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.explore-link:hover .explore-label {
  opacity: 1;
}


/* 2. Company Overview */
.overview-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

.overview-text-large {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.overview-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.overview-image {
  width: 100%;
  height: 500px;
}

@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .overview-image {
    height: 350px;
  }
}

/* 3. Our Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.expertise-card {
  padding: 60px 40px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  transition: background-color 0.4s;
}

.expertise-card:hover {
  background-color: var(--bg-secondary);
}

.expertise-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 40px;
}

.expertise-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.expertise-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .expertise-card {
    padding: 40px 20px;
  }
}

/* 4. Featured Technologies */
#tech-anchor {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tech-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/cp.png');
  background-size: 100% 100%; /* Stretch image to fit container width/height */
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45; /* Increased opacity to make it more visible */
  z-index: 1;
  pointer-events: none;
  transform: scale(0.9); /* Start scaled down for GSAP zoom animation */
  transform-origin: center center;
}

#tech-anchor::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
  pointer-events: none;
}

#tech-anchor .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  transition: border-color 0.4s, background-color 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
}

.tech-card:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-primary);
}

.tech-icon {
  width: 48px;
  height: 48px;
  stroke: var(--text-primary);
  margin-bottom: 30px;
}

.tech-card:hover .tech-icon {
  stroke: var(--accent);
}

.tech-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.tech-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* 5. Industrial Solutions */
.solutions-nav {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 50px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.solutions-nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
  width: 0;
  height: 0;
}

.solutions-tab {
  flex-shrink: 0;
  padding: 20px 40px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.solutions-tab:hover,
.solutions-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.solutions-tab.active {
  border-bottom-color: var(--accent);
}

.solutions-pane {
  display: none;
}

.solutions-pane.active {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.solutions-pane-info {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.solutions-pane-info h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.solutions-pane-info p {
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.solutions-specs {
  display: flex;
  justify-content: flex-start;
  gap: 80px;
  margin-bottom: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.sol-spec-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  margin-bottom: 5px;
}

.sol-spec-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .solutions-specs {
    gap: 45px;
  }
}

/* 6. Product Showcase */
.product-showcase {
  background-color: var(--bg-secondary);
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 80px;
  align-items: center;
}

.product-showcase-image {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  transition: transform 0.8s;
}

.product-showcase-grid:hover .product-showcase-image {
  transform: scale(1.02);
}

.prod-badge {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 20px;
}

.product-showcase-info h3 {
  font-size: 3rem;
  margin-bottom: 25px;
}

.product-showcase-info p {
  margin-bottom: 35px;
}

.product-tech-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 900px) {
  .product-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-showcase-info h3 {
    font-size: 2.2rem;
  }
}

/* 7. Research & Innovation */
.innovation-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: center;
}

.innovation-media {
  width: 100%;
  height: 500px;
}

.innovation-details h3 {
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.innovation-details p {
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .innovation-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .innovation-media {
    height: 300px;
  }
}

/* 8. Manufacturing */
.mfg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.mfg-image {
  width: 100%;
  height: 480px;
}

.mfg-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mfg-content h3 {
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.mfg-content p {
  margin-bottom: 35px;
}

.mfg-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.mfg-point-item {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.mfg-point-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
}

@media (max-width: 900px) {
  .mfg-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mfg-image {
    height: 300px;
  }
}

/* 9. Projects Grid */
.projects-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-item-card {
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  transition: border-color 0.4s;
}

.project-item-card:hover {
  border-color: var(--text-primary);
}

.project-img-wrapper {
  height: 380px;
}

.project-desc-panel {
  padding: 30px;
  border-top: 1px solid var(--border-color);
}

.project-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.project-desc-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.project-desc-panel p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .projects-showcase-grid {
    grid-template-columns: 1fr;
  }
  .project-img-wrapper {
    height: 250px;
  }
}

/* 10. Statistics Section */
.stats-bar {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 60px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--bg-primary);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-num::after {
  content: '+';
  color: var(--accent);
}

.stat-lbl {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(even) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}

/* 11. Why Choose Volador */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  background-color: var(--bg-primary);
  transition: border-color 0.4s;
}

.why-card:hover {
  border-color: var(--text-primary);
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* 12. Client & Partner Logos */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  max-width: 130px;
  height: auto;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity 0.3s;
}

.partner-logo:hover {
  opacity: 0.95;
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 13. Latest News (Home) */
.news-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  transition: border-color 0.4s;
}

.news-card:hover {
  border-color: var(--text-primary);
}

.news-img-holder {
  height: 240px;
}

.news-details {
  padding: 30px;
}

.news-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.news-details h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 15px;
}

.news-details p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.news-meta-info {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .news-home-grid {
    grid-template-columns: 1fr;
  }
}

/* 14. Contact CTA */
.contact-cta {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.contact-cta h2 {
  font-size: 3rem;
  margin-bottom: 25px;
}

.contact-cta p {
  max-width: 600px;
  margin: 0 auto 40px;
}

.contact-cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .contact-cta h2 {
    font-size: 2.2rem;
  }
  .contact-cta-btns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .contact-cta-btns .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Stacking Overlapping Section Effect on Desktop Screens */
@media (min-width: 992px) {
  .hero,
  #overview-anchor {
    position: sticky;
    top: 0;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero > .container,
  #overview-anchor > .container {
    width: 100%;
    max-width: 1440px;
  }

  /* Stacking layers z-index and background colors to prevent transparent bleeding */
  .hero {
    z-index: 1;
  }
  #overview-anchor {
    z-index: 2;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  #capabilities-anchor {
    position: relative;
    z-index: 3;
    background-color: var(--bg-secondary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  #tech-anchor {
    position: relative;
    z-index: 4;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }
  #collaboration-cta {
    position: relative;
    z-index: 5;
    background-color: var(--bg-secondary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
  }

  
  /* Footer sits above the stacked sections and scrolls up normally */
  footer {
    position: relative;
    z-index: 6;
    background-color: var(--bg-primary);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.15);
  }
}

/* Preloader Screen Styling (Solid Carbon Black) */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #111111; /* Solid Sleek Carbon Black */
  z-index: 99999; /* Cover everything including fixed headers */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.preloader-content {
  text-align: center;
  width: 100%;
  max-width: 320px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF; /* High contrast white text on dark glass */
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(-40px); /* Slide down from upper portion */
  animation: preloaderLogoSlideDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloaderLogoSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.25em; /* Premium horizontal text tracking expansion */
  }
}

.preloader-progress-container {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.08); /* Light progress track for dark background */
  border-radius: 2px;
  margin-bottom: 15px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--accent); /* Electric Blue */
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-counter {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6); /* Soft white counter for visibility */
  position: relative;
  z-index: 10;
}

/* Preloader Content Stack positioning */
.preloader-content {
  position: relative;
  z-index: 10;
}

/* Background Drone Styling */
.preloader-bg-drone {
  position: absolute;
  width: 320px;
  height: 320px;
  color: var(--accent); /* Electric Blue */
  opacity: 0.15; /* Subtly floats in the background behind glass sheet */
  z-index: 1; /* Sits behind the text layer */
  pointer-events: none;
  transform: translate(0, 0) rotate(0deg) scale(1);
}

/* Propeller Spin Animations */
.propeller {
  transform-box: view-box;
}

.prop-tl {
  transform-origin: 50px 50px;
  animation: preloaderPropSpin 0.12s linear infinite;
}

.prop-tr {
  transform-origin: 150px 50px;
  animation: preloaderPropSpinReverse 0.12s linear infinite;
}

.prop-bl {
  transform-origin: 50px 150px;
  animation: preloaderPropSpinReverse 0.12s linear infinite;
}

.prop-br {
  transform-origin: 150px 150px;
  animation: preloaderPropSpin 0.12s linear infinite;
}

@keyframes preloaderPropSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloaderPropSpinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

#preloader.loaded .propeller {
  animation-play-state: paused !important;
  opacity: 0.6;
  transition: opacity 0.5s ease;
}



