 /* Reset & Clean Base Layout */
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { height: 100%; font-family: 'Inter', sans-serif; overflow: hidden; background: #000; }

    /* Immersive Editorial Background Slider */
    .bg-slider {
      position: fixed;
      inset: 0;
      overflow: hidden;
      z-index: 0;
    }

    .slide {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transform: scale(1.08);
      animation: slideSequence 32s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }

    /* Reference Gallery Mix */
    .slide-1 { background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)), url("Untitled design.jpg"); animation-delay: 0s; }
    .slide-2 { background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)), url("Untitled design (1).jpg"); animation-delay: 8s; }
    .slide-3 { background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)), url("images/27.jpg"); animation-delay: 16s; }
    .slide-4 { background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)), url("images/29.jpg"); animation-delay: 24s; }

    @keyframes slideSequence {
      0%, 100% { opacity: 0; transform: scale(1.08); }
      4%, 25% { opacity: 1; transform: scale(1.02); }
      29%, 96% { opacity: 0; transform: scale(1); }
    }

    /* Editorial Navigation Links */
    nav {
      position: fixed;
      top: 40px;
      right: 60px;
      display: flex;
      gap: 40px;
      z-index: 100;
      opacity: 0;
      animation: fadeInDown 1.2s cubic-bezier(.16,1,.3,1) 0.6s forwards;
    }

    nav a {
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.5px;
      position: relative;
      padding: 4px 0;
      transition: color 0.3s ease;
    }

    nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: #fff;
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.4s cubic-bezier(.16,1,.3,1);
    }

    nav a:hover {
      color: #ffffff;
    }
    
    nav a:hover::after {
      transform: scaleX(1);
      transform-origin: left;
    }

    /* Split Two-Column Screen Layout Container */
    .hero-container {
      position: relative;
      width: 100%;
      height: 100vh;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 8% 0 6%;
      z-index: 2;
    }

    /* Right Side Contained Transparent Logo Container */
    .hero-logo-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 40%;
      height: 100%;
      opacity: 0;
      animation: fadeInRight 1.5s cubic-bezier(.16,1,.3,1) 0.4s forwards;
    }

    .hero-logo {
      width: 500px;
      max-width: 100%;
      object-fit: contain;
      filter: drop-shadow(0 20px 50px rgba(0,0,0,.6)) drop-shadow(0 0 30px rgba(217,248,255,.15));
      animation: floatLogo 6s ease-in-out infinite;
      user-select: none;
      margin-top: 40px;
    }

   

    /* Bold Large Typography Elements & Motion Graphic Wrappers */
    .hero-text-wrapper {
      max-width: 650px;
    }

    .hero-tag {
      display: inline-block;
      color: rgba(255, 255, 255, 0.9);
      font-size: .72rem;
      letter-spacing: 5px;
      text-transform: uppercase;
      margin-bottom: 25px;
      padding: 7px 18px;
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 40px;
      background: rgba(255,255,255,.05);
      backdrop-filter: blur(10px);
      opacity: 0;
      transform: translateY(15px);
      animation: fadeInUp 1s cubic-bezier(.16,1,.3,1) 0.2s forwards;
    }

    .hero-text-wrapper h1 {
      font-size: clamp(2.3rem, 4.5vw, 4.2rem);
      font-weight: 300;
      line-height: 1.15;
      color: #fff;
      letter-spacing: -1.5px;
      margin-bottom: 10px; /* Reduced to bring subtext closer */
    }

    /* Motion Reveal Container */
    .reveal-line {
      display: block;
      overflow: hidden;
    }

    .reveal-line span {
      display: block;
      opacity: 0;
      transform: translateY(100%);
      animation: revealUp 1.2s cubic-bezier(.16,1,.3,1) forwards;
    }

    .hero-text-wrapper h1 .reveal-line:nth-child(1) span { animation-delay: 0.3s; }
    
    /* Sub-header description style */
    .hero-subtext { 
      font-size: 1.25rem; 
      letter-spacing: 0; 
      line-height: 1.6; 
      margin-top: 5px; 
      color: rgba(255,255,255,0.85);
      opacity: 0;
      transform: translateY(15px);
      animation: fadeInUp 1s cubic-bezier(.16,1,.3,1) 0.5s forwards;
    }

    /* Motion Graphic Liquid Shine Effect */
    .kiota-word {
      font-weight: 700;
      background: linear-gradient(
        90deg, 
        #ffffff 0%, 
        #aeeaff 25%, 
        #ffffff 50%, 
        #aeeaff 75%, 
        #ffffff 100%
      );
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: liquidShine 5s linear infinite;
    }

    /* Tightened the line break margins */
    .hero-line {
      width: 0px;
      height: 2px;
      background: linear-gradient(to right, #ffffff, rgba(255,255,255,0.3), transparent);
      margin: 20px 0;
      animation: growLine 1.5s cubic-bezier(.16,1,.3,1) 0.8s forwards;
    }

    .hero-text-wrapper p {
      width: 95%;
      font-size: 1.15rem;
      line-height: 1.8;
      color: rgba(255,255,255,0.75);
      font-weight: 300;
      margin-bottom: 35px;
      opacity: 0;
      transform: translateY(25px);
      animation: fadeInUp 1.2s cubic-bezier(.16,1,.3,1) 0.9s forwards;
    }

    /* Core Architectural Motion Graphic Keyframes */
    @keyframes revealUp {
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInUp {
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInRight {
      from { opacity: 0; transform: translateX(40px); }
      to { opacity: 1; transform: translateX(0); }
    }

    @keyframes liquidShine {
      to { background-position: -200% center; }
    }

    @keyframes growLine {
      to { width: 140px; }
    }

    /* Advanced Animated CTA Button with Sweep Lights */
    .cta-button {
      display: inline-block;
      padding: 20px 52px;
      text-decoration: none;
      color: #fff;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-size: 0.82rem;
      font-weight: 600;
      border-radius: 50px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.18);
      backdrop-filter: blur(20px);
      opacity: 0;
      transform: translateY(30px);
      position: relative;
      overflow: hidden;
      transition: background 0.5s cubic-bezier(.16,1,.3,1), 
                  color 0.5s cubic-bezier(.16,1,.3,1), 
                  transform 0.5s cubic-bezier(.16,1,.3,1), 
                  letter-spacing 0.5s cubic-bezier(.16,1,.3,1);
      animation: fadeInUp 1.2s cubic-bezier(.16,1,.3,1) 1.1s forwards, pulseGlow 4s ease-in-out infinite 3s;
    }

    /* Button Motion Flare Effect */
    .cta-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -150%;
      width: 50%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.24),
        transparent
      );
      transform: skewX(-25deg);
      animation: flareSweep 6s ease-in-out infinite;
    }

    @keyframes flareSweep {
      0% { left: -150%; }
      15%, 100% { left: 150%; }
    }

    /* Hover States simulating a glowing mechanical expansion */
    .cta-button:hover {
      background: #ffffff;
      color: #000000;
      letter-spacing: 3.5px;
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(255,255,255,.25), 0 0 60px rgba(217,248,255,.2);
    }

    @keyframes pulseGlow {
      0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
      50% { box-shadow: 0 0 30px 2px rgba(255,255,255,.12); }
    }


.bg-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  opacity: 0;
  will-change: transform, opacity;
  animation: dissolve 330s linear infinite;
}

/* Alternating zoom */
/* Alternating zoom with Dissolve */
.slide.zoom-in {
  /* We use 'dissolve' instead of 'fade' */
  animation-name: dissolve, zoomIn;
  animation-duration: 30s;
  animation-timing-function: ease-in-out;
}

.slide.zoom-out {
  animation-name: dissolve, zoomOut;
  animation-duration: 30s;
  animation-timing-function: ease-in-out;
}


@keyframes dissolve {
  0% {
    opacity: 1;
    filter: blur(0px); /* Optional: adds a photographic dissolve feel */
  }
  15% {
    opacity: 1;
    filter: blur(0px);
  }
  85% {
    opacity: 1;
    filter: blur(0px);
  }
  100% {
    opacity: 1;
  }
}

/* Fade timing per slide */
@keyframes fade {
  0%   { opacity: 1; }
  10%  { opacity: 1; }
  70%  { opacity: 1; } 
  70%  { opacity: 1; }
  70%  { opacity: 1; }/* stays visible */
  75%  { opacity: 1; }
   75%  { opacity: 1; }
  100% { opacity: 1; }
}


/* Zoom effects */
@keyframes zoomIn {
  from { transform: scale(1); }
  to   { transform: scale(1.15); }
}

@keyframes zoomOut {
  from { transform: scale(1.15); }
  to   { transform: scale(1); }
}

/* Delays (paired automatically) */
.slide-1  { animation-delay: 0s; }
.slide-2  { animation-delay: 30s; }
.slide-3  { animation-delay: 60s; }
.slide-4  { animation-delay: 90s; }
.slide-5  { animation-delay: 120s; }
.slide-6  { animation-delay: 150s; }
.slide-7  { animation-delay: 180s; }
.slide-8  { animation-delay: 210s; }
.slide-9  { animation-delay: 240s; }
.slide-11 { animation-delay: 270s; }
.slide-10 { animation-delay: 300s; }

/* Background images */
/* Background images with Warm Brownish Linear Gradient Overlay */
/* Background images with Logo-Matched Deep Charcoal-Brown Gradient Overlay */
.slide-1  { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/27.jpg"); }
.slide-2  { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/26.jpg"); }
.slide-3  { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/27.jpg"); }
.slide-4  { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/29.jpg"); }
.slide-5  { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/26.jpg"); }
.slide-6  { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/27.jpg"); }
.slide-7  { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/28.jpg"); }
.slide-8  { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/29.jpg"); }
.slide-9  { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/27.jpg"); }
.slide-10 { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/Data1.jpg"); }
.slide-11 { background-image: linear-gradient(135deg, rgba(46, 44, 43, 0.75), rgba(28, 27, 27, 0.9)), url("images/Data2.jpg"); }


/* Small logo at top-left */
.top-logo {
  position: fixed;
  top: 22px;
  left: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.top-logo img {
  width: 52px;      /* adjust size here */
  height: 52px;
  object-fit: contain;
  border-radius: 12px; /* optional */
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
  transition: transform .3s ease;
}

.top-logo img:hover {
  transform: scale(1.06);
}


/* =========================================================
   RESPONSIVE LAYOUT
   Phones, tablets and small laptops
   ========================================================= */

/* Prevent horizontal overflow on every screen */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ---------- Tablets ---------- */
@media (max-width: 1024px) {
  nav {
    top: 28px;
    right: 32px;
    gap: 24px;
  }

  nav a {
    font-size: 0.82rem;
  }

  .hero-container {
    padding: 90px 6% 50px;
    gap: 30px;
  }

  .hero-text-wrapper {
    max-width: 58%;
  }

  .hero-text-wrapper h1 {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
  }

  .hero-subtext {
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .hero-text-wrapper p {
    width: 100%;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .hero-logo-wrapper {
    width: 38%;
  }

  .hero-logo {
    width: min(380px, 100%);
    margin-top: 30px;
  }

  .cta-button {
    padding: 17px 38px;
  }
}

/* ---------- Large phones / small tablets ---------- */
@media (max-width: 768px) {
  html,
  body {
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  /* Keep the logo clear of the navigation */
  .top-logo {
    top: 16px;
    left: 16px;
  }

  .top-logo img {
    width: 44px;
    height: 44px;
  }

  /* Compact navigation */
  nav {
    position: fixed;
    top: 18px;
    right: 14px;
    gap: 12px;
    max-width: calc(100% - 75px);
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a {
    font-size: 0.7rem;
    letter-spacing: 0.2px;
    padding: 3px 0;
  }

  .hero-container {
    width: 100%;
    min-height: 100svh;
    height: auto;
    padding: 100px 7% 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .hero-text-wrapper {
    width: 100%;
    max-width: 680px;
    text-align: center;
    order: 1;
  }

  .hero-tag {
    font-size: 0.6rem;
    letter-spacing: 3px;
    padding: 6px 13px;
    margin-bottom: 18px;
  }

  .hero-text-wrapper h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.8px;
    margin-bottom: 8px;
  }

  .hero-subtext {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    line-height: 1.5;
    margin-top: 8px;
  }

  .hero-line {
    margin: 16px auto;
  }

  .hero-text-wrapper p {
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 25px;
  }

  .cta-button {
    padding: 15px 32px;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
  }

  .hero-logo-wrapper {
    width: 100%;
    height: auto;
    min-height: 0;
    order: 2;
  }

  .hero-logo {
    width: min(250px, 58vw);
    max-width: 100%;
    margin-top: 0;
  }

  /* Keep the background visually full on narrow screens */
  .slide {
    background-size: cover;
    background-position: center center;
  }
}

/* ---------- Phones ---------- */
@media (max-width: 480px) {
  nav {
    top: 16px;
    right: 12px;
    gap: 8px 11px;
    max-width: calc(100% - 68px);
  }

  nav a {
    font-size: 0.62rem;
  }

  .top-logo {
    top: 13px;
    left: 12px;
  }

  .top-logo img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }

  .hero-container {
    min-height: 100svh;
    padding: 92px 6% 30px;
    gap: 12px;
  }

  .hero-tag {
    font-size: 0.52rem;
    letter-spacing: 2px;
    padding: 6px 11px;
    margin-bottom: 14px;
  }

  .hero-text-wrapper h1 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
    line-height: 1.1;
  }

  .hero-subtext {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-text-wrapper p {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-line {
    margin: 13px auto;
  }

  .cta-button {
    padding: 13px 27px;
    font-size: 0.66rem;
    letter-spacing: 1.2px;
  }

  .hero-logo {
    width: min(210px, 52vw);
  }
}

/* ---------- Very small phones ---------- */
@media (max-width: 360px) {
  nav {
    gap: 6px 8px;
  }

  nav a {
    font-size: 0.56rem;
  }

  .hero-container {
    padding-top: 86px;
  }

  .hero-text-wrapper h1 {
    font-size: 1.65rem;
  }

  .hero-subtext {
    font-size: 0.82rem;
  }

  .hero-text-wrapper p {
    font-size: 0.78rem;
  }

  .hero-logo {
    width: 175px;
  }
}

/* ---------- Landscape phones ---------- */
@media (max-height: 600px) and (max-width: 900px) {
  html,
  body {
    overflow-y: auto;
  }

  .hero-container {
    min-height: 100svh;
    padding-top: 82px;
    padding-bottom: 25px;
    gap: 8px;
  }

  .hero-logo {
    width: min(170px, 28vw);
  }

  .hero-text-wrapper h1 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .hero-subtext,
  .hero-text-wrapper p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .hero-text-wrapper p {
    margin-bottom: 15px;
  }

  .cta-button {
    padding: 11px 25px;
  }
}

/* ---------- Touch devices: remove desktop hover enlargement ---------- */
@media (hover: none) and (pointer: coarse) {
  .cta-button:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
    letter-spacing: 1.5px;
    transform: none;
    box-shadow: none;
  }

  .top-logo img:hover {
    transform: none;
  }
}


