:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Base default body font */
body {
  font-family: var(--font-sans);
}

/* Headings font */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

/* Monospace font for badges, tags, and timeline dates */
code, pre, .font-mono {
  font-family: var(--font-mono);
}

    /* Logo Styling */
    .navbar-brand .logo-img {
        height: 55px;        /* Adjust this height to match your header size */
        width: auto;         /* Preserves original aspect ratio */
        max-width: 180px;    /* Prevents oversized logos on mobile */
        object-fit: contain;
        vertical-align: middle;
    }

    /* Technical Blueprint CAD Grid Pattern */
    .cad-grid {
      background-size: 36px 36px;
      background-image: 
        linear-gradient(to right, rgba(59, 130, 246, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.07) 1px, transparent 1px);
    }
    
    .cad-grid-dense {
      background-size: 12px 12px;
      background-image: 
        linear-gradient(to right, rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    }

    /* Glow Effects */
    .glow-red {
      background: radial-gradient(circle, rgba(225, 29, 72, 0.18) 0%, rgba(6, 9, 17, 0) 70%);
    }
    .glow-blue {
      background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(6, 9, 17, 0) 70%);
    }

    #scene-container {
      width: 100vw;
      height: 100vh;
      display: block;
    }

    /* Section Background & Layout */
.why-us-section {
  background-color: #0b0f17;
  color: #ffffff;
  padding: 80px 20px;
  font-family: system-ui, -apple-system, sans-serif;
}

.why-us-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styles */
.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.section-title .subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.gradient-text {
  /* Brighter gradient colors designed for dark backgrounds */
  background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  /* Inherit full heading size and font weight */
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  display: inline;
}

/* Grid Layout */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  gap: 30px;
  align-items: center;
}

.why-us-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Feature Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 72, 0.4);
  box-shadow: 0 10px 30px -10px rgba(225, 29, 72, 0.15);
}

.card-icon {
  width: 42px;
  height: 42px;
  background: rgba(225, 29, 72, 0.1);
  color: #e11d48;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.feature-card ul li::before {
  content: "•";
  color: #e11d48;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Center Donut Graphic */
.why-us-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.chart-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.chart-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}

.chart-text span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: lowercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.chart-text span.highlight {
  color: #e11d48;
  font-size: 1.05rem;
  font-weight: 700;
}

 /* CAD Grid Pattern */
  .cad-grid {
    background-size: 36px 36px;
    background-image: 
      linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  }

  /* Smooth Morphing Transition for SVG Graph Paths & Nodes */
  .graph-path-transition {
    transition: d 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .node-transition {
    transition: cx 0.5s cubic-bezier(0.4, 0, 0.2, 1), cy 0.5s cubic-bezier(0.4, 0, 0.2, 1), r 0.3s ease;
  }

  /* Initial Draw Animation for Graph Line */
  .animated-path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawGraph 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

/* about */

  /* 1. Left to Right Slide Animation */
  .reveal-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* 2. Right to Left Slide Animation */
  .reveal-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* 3. Top to Bottom Falling Card Animation */
  .reveal-drop {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: var(--delay, 0s);
  }

  /* why choose us & track record */

  /* Triggered Active Class when scrolled into view */
  .animate-in .reveal-left,
  .animate-in .reveal-right {
    opacity: 1;
    transform: translateX(0);
  }

  .animate-in .reveal-drop {
    opacity: 1;
    transform: translateY(0);
  }

   /* Left to Right Slide */
  .reveal-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Right to Left Slide */
  .reveal-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Top to Bottom Drop */
  .reveal-drop {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: var(--delay, 0s);
  }

  /* Triggered Active State */
  .animate-in .reveal-left,
  .animate-in .reveal-right {
    opacity: 1;
    transform: translateX(0);
  }

  .animate-in .reveal-drop {
    opacity: 1;
    transform: translateY(0);
  }

  /* timeline */
  /* Top-to-Bottom Falling Animation */
  .reveal-drop {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: var(--delay, 0s);
  }

  /* Active trigger state */
  .animate-in .reveal-drop {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes drawGraph {
    to {
      stroke-dashoffset: 0;
    }
  }

/* Responsive Rules */
@media (max-width: 992px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us-center {
    order: -1;
    margin-bottom: 10px;
  }
}
    /* Infinite Logo Scroll Keyframe */
    @keyframes scrollLogos {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .animate-logo-scroll {
      display: flex;
      width: max-content;
      animation: scrollLogos 28s linear infinite;
    }
    .animate-logo-scroll:hover {
      animation-play-state: paused;
    }

  #cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  /* Adjust size (600px), color opacity, and spread as needed */
  background: radial-gradient(
    600px circle at var(--x, 50%) var(--y, 50%),
    rgba(59, 130, 246, 0.15),
    rgba(225, 29, 72, 0.05) 40%,
    transparent 80%
  );
}

/* software */
.rotate-180 {
    transform: rotate(180deg);
  }


/* Desktop */
#scene-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    overflow: visible;
    z-index: 1;
}

/* Large Tablet */
@media (max-width: 992px) {
    #scene-container {
        position: relative;
        width: 100%;
        height: 70vh;
        margin: 0 auto;
        overflow: visible;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #scene-container {
        position: relative;
        width: 100%;
        height: 65vh;
        min-height: 400px;
        overflow: visible; /* Don't crop the object */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #scene-container canvas {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    #scene-container {
        height: 55vh;
        min-height: 320px;
    }
}





/* =========================================================
   FULL PAGE LOADER
========================================================= */

#page-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #06111f;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 999999;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


/* Hide loader */
#page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Loader content */
.loader-content {
    width: 320px;
    max-width: 85%;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================================
   LOGO
========================================================= */

.loader-logo {
    position: relative;

    width: 55px;
    height: 70px;

    margin-bottom: 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* CT */
.logo-ct {
    position: absolute;

    bottom: 0;

    font-family: Arial, sans-serif;

    font-size: 27px;
    font-weight: 900;

    letter-spacing: -4px;

    color: #2766c9;

    line-height: 1;
}


/* Red lines */
.logo-red {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 28px;
    height: 14px;
}


.logo-red span {
    position: absolute;

    right: 0;

    width: 28px;
    height: 3px;

    background: #ff1f1f;

    transform: skewX(-35deg);

    animation: logoLine 1.2s ease-in-out infinite;
}


.logo-red span:nth-child(1) {
    top: 0;
}

.logo-red span:nth-child(2) {
    top: 5px;

    animation-delay: .15s;
}

.logo-red span:nth-child(3) {
    top: 10px;

    animation-delay: .3s;
}


@keyframes logoLine {

    0%,
    100% {
        opacity: .4;
        transform: translateX(-3px) skewX(-35deg);
    }

    50% {
        opacity: 1;
        transform: translateX(3px) skewX(-35deg);
    }
}


/* =========================================================
   BLUE LOADING BARS
========================================================= */

.loader-bars {
    height: 45px;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    gap: 5px;

    margin-bottom: 28px;
}


.loader-bars span {
    display: block;

    width: 4px;

    background: #2d78e8;

    animation: loadingBars 1s ease-in-out infinite;
}


/* Different heights */

.loader-bars span:nth-child(1) {
    height: 24px;
    animation-delay: .0s;
}

.loader-bars span:nth-child(2) {
    height: 34px;
    animation-delay: .1s;
}

.loader-bars span:nth-child(3) {
    height: 43px;
    animation-delay: .2s;
}

.loader-bars span:nth-child(4) {
    height: 38px;
    animation-delay: .3s;
}

.loader-bars span:nth-child(5) {
    height: 43px;
    animation-delay: .4s;
}

.loader-bars span:nth-child(6) {
    height: 32px;
    animation-delay: .5s;
}


@keyframes loadingBars {

    0%,
    100% {
        opacity: .35;
        transform: scaleY(.55);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}


/* =========================================================
   LOADING TEXT
========================================================= */

.loader-text {
    color: #6583aa;

    font-family:
        "Courier New",
        monospace;

    font-size: 12px;

    letter-spacing: 5px;

    white-space: nowrap;

    margin-left: 5px;

    animation: loadingText 1.5s ease-in-out infinite;
}


@keyframes loadingText {

    0%,
    100% {
        opacity: .45;
    }

    50% {
        opacity: 1;
    }
}


/* =========================================================
   PROGRESS BAR
========================================================= */

.loader-progress {
    width: 240px;
    max-width: 100%;

    height: 2px;

    background: rgba(60, 110, 180, .15);

    margin-top: 25px;

    overflow: hidden;
}


#loader-progress-bar {
    width: 0%;

    height: 100%;

    background: #327de5;

    box-shadow:
        0 0 10px rgba(50, 125, 229, .8);

    transition: width .15s linear;
}


/* Percentage */

.loader-percent {
    margin-top: 10px;

    color: #45688f;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 2px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #page-loader {
        min-height: 100dvh;
    }

    .loader-content {
        width: 280px;
    }

    .loader-logo {
        transform: scale(.9);
        margin-bottom: 28px;
    }

    .loader-bars {
        margin-bottom: 24px;
    }

    .loader-text {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .loader-progress {
        width: 210px;
    }
}


@media (max-width: 400px) {

    .loader-content {
        width: 250px;
    }

    .loader-text {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

}




/* =====================================================
   MOBILE PROGRESSIVE CONTENT
===================================================== */

#mobile-load-container {
    display: none;
}


/* =====================================================
   MOBILE ONLY
===================================================== */

@media (max-width: 768px) {

    /*
       Hide sections after the first one.
    */

    .mobile-step {
        display: block;
    }

    .mobile-step.mobile-hidden {
        display: none;
    }


    /* Load button container */

    #mobile-load-container {
        display: flex;

        width: 100%;

        justify-content: center;
        align-items: center;

        padding: 35px 20px 60px;

        box-sizing: border-box;

        background: transparent;
    }


    /* Button */

    #mobile-load-more {

        width: 220px;
        min-height: 52px;

        display: flex;

        align-items: center;
        justify-content: center;

        gap: 12px;

        border: 1px solid rgba(55, 130, 230, .7);

        border-radius: 6px;

        background:
            linear-gradient(
                135deg,
                rgba(35, 100, 190, .18),
                rgba(5, 20, 40, .5)
            );

        color: #70aaff;

        font-family:
            "Courier New",
            monospace;

        font-size: 11px;

        font-weight: 600;

        letter-spacing: 3px;

        cursor: pointer;

        box-shadow:
            0 0 20px rgba(30, 110, 220, .08);

        transition:
            all .3s ease;
    }


    #mobile-load-more b {

        font-size: 18px;

        font-weight: normal;

        animation:
            mobileArrow 1.3s ease-in-out infinite;
    }


    #mobile-load-more:active {

        transform: scale(.96);

        background:
            rgba(35, 100, 190, .3);

        color: #fff;

        box-shadow:
            0 0 30px rgba(35, 120, 230, .25);
    }


    @keyframes mobileArrow {

        0%,
        100% {
            transform: translateY(-2px);
        }

        50% {
            transform: translateY(5px);
        }

    }


    /* Loading state */

    #mobile-load-more.loading {

        opacity: .6;

        pointer-events: none;
    }


    /* Finished */

    #mobile-load-more.finished {

        display: none;
    }

}


/* =====================================================
   ORBIT CONTAINER
===================================================== */

#scene-container {
    position: relative;

    width: 100%;
    max-width: 560px;

    height: 520px;

    margin: 0 auto;

    overflow: visible;
}


/* =========================================
   REAL BUILDING HERO
========================================= */

#real-building-hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   BUILDING IMAGE
========================================= */

.building-image-wrapper {
    position: relative;
    width: 90%;
    height: 90%;
    overflow: hidden;

    border-radius: 24px;

    border: 1px solid rgba(56, 189, 248, 0.25);

    box-shadow:
        0 0 40px rgba(0, 150, 255, 0.08),
        0 30px 80px rgba(0, 0, 0, 0.55);

    transform:
        perspective(1200px)
        rotateY(-4deg);

    transition:
        transform 0.6s ease,
        box-shadow 0.6s ease;
}


.building-image-wrapper:hover {

    transform:
        perspective(1200px)
        rotateY(0deg)
        scale(1.02);

    box-shadow:
        0 0 70px rgba(0, 180, 255, 0.18),
        0 30px 90px rgba(0, 0, 0, 0.7);
}


/* =========================================
   IMAGE
========================================= */

.building-image {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    filter:
        brightness(0.72)
        contrast(1.12)
        saturate(0.9);

    transform: scale(1.04);

    animation: buildingZoom 12s ease-in-out infinite alternate;

}


/* =========================================
   SLOW CAMERA EFFECT
========================================= */

@keyframes buildingZoom {

    0% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1.10);
    }

}


/* =========================================
   DARK GRADIENT
========================================= */

.building-image-wrapper::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(2, 8, 20, 0.05),
            rgba(2, 8, 20, 0.45)
        );

    pointer-events: none;

}


/* =========================================
   BLUE GLOW
========================================= */

.building-glow {

    position: absolute;

    width: 350px;
    height: 350px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(0, 190, 255, 0.12),
            transparent 70%
        );

    filter: blur(30px);

    pointer-events: none;

}


/* =========================================
   FLOATING TECH LABELS
========================================= */

.building-tech {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 9px 14px;

    background:
        rgba(5, 15, 30, 0.88);

    backdrop-filter: blur(12px);

    border:
        1px solid rgba(56, 189, 248, 0.3);

    border-radius: 8px;

    color: #c7eaff;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 1px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(0, 150, 255, 0.08);

    z-index: 5;

    animation:
        floatingLabel 4s ease-in-out infinite;

}


/* =========================================
   DOT
========================================= */

.tech-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22d3ee;

    box-shadow:
        0 0 10px #22d3ee;

}


/* =========================================
   LABEL POSITIONS
========================================= */

.tech-1 {

    top: 18%;

    left: 3%;

}


.tech-2 {

    top: 50%;

    right: 1%;

    animation-delay: 1s;

}


.tech-3 {

    bottom: 17%;

    left: 7%;

    animation-delay: 2s;

}


/* =========================================
   FLOATING ANIMATION
========================================= */

@keyframes floatingLabel {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    #real-building-hero {

        height: 500px;

    }

    .building-image-wrapper {

        width: 94%;
        height: 88%;

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    #real-building-hero {

        height: 430px;

        margin-bottom: 10px;

    }

    .building-image-wrapper {

        width: 94%;

        height: 90%;

        border-radius: 18px;

        transform: none;

    }

    .building-image-wrapper:hover {

        transform: scale(1.01);

    }

    .building-tech {

        font-size: 8px;

        padding: 7px 9px;

    }

    .tech-1 {

        left: 1%;

        top: 15%;

    }

    .tech-2 {

        right: 1%;

        top: 48%;

    }

    .tech-3 {

        left: 3%;

        bottom: 15%;

    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    #real-building-hero {

        height: 350px;

    }

    .building-tech {

        font-size: 7px;

        padding: 6px 8px;

    }

    .tech-dot {

        width: 5px;
        height: 5px;

    }

}

/* ==========================================
   REAL BUILDING HERO
========================================== */

#digital-twin-hero {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    perspective: 1200px;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 160, 255, 0.16),
            transparent 55%
        );
}


/* ==========================================
   BUILDING
========================================== */

.real-building {
    position: relative;
    z-index: 5;

    width: 75%;
    max-width: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    animation: buildingFloat 5s ease-in-out infinite;
}

.building-image {
    width: 100%;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 0 25px rgba(0, 180, 255, 0.25))
        drop-shadow(0 20px 35px rgba(0, 0, 0, 0.65));

    transform:
        perspective(1000px)
        rotateY(-8deg);

    transition: transform 0.5s ease;
}


/* ==========================================
   BUILDING FLOAT
========================================== */

@keyframes buildingFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }

}


/* ==========================================
   TECHNOLOGY RINGS
========================================== */

.tech-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    border: 1px solid rgba(0, 210, 255, 0.45);

    transform-style: preserve-3d;

    pointer-events: none;
}


/* Large ring */

.ring-one {
    width: 500px;
    height: 180px;

    transform:
        translate(-50%, -50%)
        rotateX(65deg);

    animation:
        ringRotateOne 12s linear infinite;
}


/* Middle ring */

.ring-two {
    width: 410px;
    height: 145px;

    transform:
        translate(-50%, -50%)
        rotateX(70deg)
        rotateZ(25deg);

    border-color:
        rgba(0, 120, 255, 0.35);

    animation:
        ringRotateTwo 9s linear infinite;
}


/* Small ring */

.ring-three {
    width: 300px;
    height: 110px;

    transform:
        translate(-50%, -50%)
        rotateX(65deg)
        rotateZ(-25deg);

    border-color:
        rgba(0, 240, 255, 0.25);

    animation:
        ringRotateThree 7s linear infinite;
}


/* ==========================================
   RING ANIMATIONS
========================================== */

@keyframes ringRotateOne {

    from {
        transform:
            translate(-50%, -50%)
            rotateX(65deg)
            rotateZ(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotateX(65deg)
            rotateZ(360deg);
    }

}


@keyframes ringRotateTwo {

    from {
        transform:
            translate(-50%, -50%)
            rotateX(70deg)
            rotateZ(25deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotateX(70deg)
            rotateZ(385deg);
    }

}


@keyframes ringRotateThree {

    from {
        transform:
            translate(-50%, -50%)
            rotateX(65deg)
            rotateZ(-25deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotateX(65deg)
            rotateZ(335deg);
    }

}


/* ==========================================
   SOFTWARE CARDS
========================================== */

.software-card {
    position: absolute;

    z-index: 10;

    min-width: 145px;

    padding: 10px 14px;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            rgba(8, 25, 45, 0.96),
            rgba(5, 12, 25, 0.96)
        );

    border:
        1px solid rgba(0, 190, 255, 0.35);

    box-shadow:
        0 0 20px rgba(0, 140, 255, 0.12);

    backdrop-filter: blur(12px);

    color: white;

    display: flex;
    flex-direction: column;

    animation:
        cardFloat 4s ease-in-out infinite;
}


.software-card strong {
    font-size: 13px;
    line-height: 1.2;
}


.software-card small {
    margin-top: 3px;

    color: #7f9db5;

    font-size: 10px;
}


.dot {
    position: absolute;

    left: -5px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #00d9ff;

    box-shadow:
        0 0 10px #00d9ff;
}


/* ==========================================
   CARD POSITIONS
========================================== */

.card-one {
    top: 13%;
    right: 3%;

    animation-delay: 0s;
}


.card-two {
    top: 35%;
    left: 2%;

    animation-delay: 1s;
}


.card-three {
    bottom: 29%;
    right: 0%;

    animation-delay: 2s;
}


.card-four {
    bottom: 12%;
    left: 5%;

    animation-delay: 3s;
}


/* ==========================================
   CARD FLOAT
========================================== */

@keyframes cardFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 1024px) {

    #digital-twin-hero {
        height: 520px;
    }

    .real-building {
        width: 70%;
    }

    .ring-one {
        width: 420px;
        height: 150px;
    }

    .ring-two {
        width: 340px;
        height: 125px;
    }

    .ring-three {
        width: 250px;
        height: 90px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    #digital-twin-hero {
        height: 460px;
        margin-bottom: 20px;
    }

    .real-building {
        width: 72%;
        max-width: 400px;
    }

    .building-image {
        transform:
            perspective(800px)
            rotateY(-5deg);
    }

    .software-card {
        min-width: 115px;
        padding: 8px 10px;
    }

    .software-card strong {
        font-size: 10px;
    }

    .software-card small {
        font-size: 8px;
    }

    .card-one {
        top: 8%;
        right: 0;
    }

    .card-two {
        top: 31%;
        left: 0;
    }

    .card-three {
        bottom: 28%;
        right: 0;
    }

    .card-four {
        bottom: 8%;
        left: 0;
    }

    .ring-one {
        width: 330px;
        height: 120px;
    }

    .ring-two {
        width: 270px;
        height: 100px;
    }

    .ring-three {
        width: 210px;
        height: 75px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    #digital-twin-hero {
        height: 390px;
    }

    .real-building {
        width: 78%;
    }

    .software-card {
        min-width: 100px;
        padding: 7px 9px;
    }

    .software-card strong {
        font-size: 9px;
    }

    .software-card small {
        font-size: 7px;
    }

    .ring-one {
        width: 290px;
        height: 105px;
    }

    .ring-two {
        width: 235px;
        height: 85px;
    }

    .ring-three {
        width: 180px;
        height: 65px;
    }

}