/* ================================================================
   PAGE: infrastructure.css
   Page-specific sections only; shared components live in ../components.
   ================================================================ */

  /* Lab Deisgn */
    .lab-section {
      padding: 50px 20px;
      background: #f8faff;
      position: relative;
      overflow: hidden;
    }

    
    .lab-section::before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(239,22,76,0.03) 0%, transparent 70%);
      top: -150px;
      right: -50px;
      border-radius: 50%;
      pointer-events: none;
    }
    .lab-section::after {
      content: '';
      position: absolute;
      width: 450px;
      height: 450px;
      background: radial-gradient(circle, rgba(6,27,69,0.03) 0%, transparent 70%);
      bottom: -150px;
      left: -80px;
      border-radius: 50%;
      pointer-events: none;
    }

  
    .lab-container {
      max-width: 1300px;
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    
    .lab-heading {
      text-align: center;
      margin-bottom: 15px;
    }

    .lab-heading h2 {
      font-size: 40px;
      font-weight: 700;
      letter-spacing: -2px;
      background: linear-gradient(135deg, #061B45 0%, #EF164C 80%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: inline-block;
      position: relative;
      text-shadow: 0 10px 20px rgba(6,27,69,0.2);
      line-height: 1.1;
      white-space: nowrap;
    }

   
    .lab-heading h2::before {
      content: '';
      position: absolute;
      width: 70%;
      height: 6px;
      background: linear-gradient(90deg, #061B45, #EF164C, #061B45);
      bottom: -12px;
      left: 15%;
      border-radius: 40px;
      opacity: 0.9;
    }

   
    .lab-subheading {
      text-align: center;
      font-size: 15px;
      font-weight: 400;
      color: #1e293b;
      margin-bottom: 60px;
      max-width: 650px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 30px;
      background: rgba(255,255,255,0.7);
      backdrop-filter: blur(4px);
      padding: 10px 28px;
      border-radius: 60px;
      border: 1px solid rgba(239,22,76,0.2);
      box-shadow: 0 8px 18px -8px rgba(6,27,69,0.15);
    }

    
    .lab-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-bottom: 32px;
    }

    
    .lab-box {
      overflow: hidden;
      background: #ffffff;
      box-shadow: 0 25px 35px -12px rgba(6, 27, 69, 0.2),
                  0 10px 20px -8px rgba(239, 22, 76, 0.15);
      transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
      position: relative;
      border: 1px solid rgba(239,22,76,0.1);
    }

    .lab-box video,
    .lab-box img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      display: block;
      transition: transform 0.7s ease;
    }

    .lab-box:hover video,
    .lab-box:hover img {
      transform: scale(1.05);
    }

    
    .lab-box::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 40%;
      background: linear-gradient(to top, 
        rgba(6,27,69,0.3), 
        rgba(239,22,76,0.2), 
        transparent);
      pointer-events: none;
      transition: opacity 0.3s;
      
    }

    .lab-box:hover::after {
      background: linear-gradient(to top, 
        rgba(6,27,69,0.45), 
        rgba(239,22,76,0.35), 
        transparent);
    }

   
    .lab-box::before {
      content: '';
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: linear-gradient(115deg, 
        rgba(255,255,255,0) 0%, 
        rgba(239,22,76,0.15) 25%, 
        rgba(6,27,69,0.1) 40%,
        rgba(255,255,255,0) 60%);
      transform: skewX(-20deg);
      transition: left 0.7s;
      pointer-events: none;
      z-index: 2;
    }

    .lab-box:hover::before {
      left: 125%;
    }

   
    @media (max-width: 1000px) {
      .lab-container {
        max-width: 100%;
      }
      .lab-heading h2 {
        font-size: 56px;
        white-space: normal;
      }
    }

   
    @media (max-width: 768px) {
     
      .lab-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;  
      }

     
      .lab-row {
        display: contents;
      }

     
      .lab-grid > .lab-row:nth-child(1) > .lab-box:nth-child(1) { order: 1; } 
      .lab-grid > .lab-row:nth-child(1) > .lab-box:nth-child(2) { order: 2; } 
      .lab-grid > .lab-row:nth-child(2) > .lab-box:nth-child(1) { order: 4; } 
      .lab-grid > .lab-row:nth-child(2) > .lab-box:nth-child(2) { order: 3; } 

      .lab-box video,
      .lab-box img {
        height: 260px;
      }

      .lab-heading h2 {
        font-size: 46px;
      }

      .lab-subheading {
        font-size: 16px;
        padding: 8px 20px;
        margin-bottom: 45px;
      }
    }

    @media (max-width: 480px) {
      .lab-section {
        padding: 60px 16px;
      }
      .lab-heading h2 {
        font-size: 38px;
      }
      .lab-box video,
      .lab-box img {
        height: 210px;
      }
    }
     /* Lab Deisgn END */


      /* <!-- Library Section Start END--> */
    
    .library-section {
      padding: 20px 20px;
      background: #f8faff;
      position: relative;
      overflow: hidden;
    }

  
    .library-section::before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(239,22,76,0.03) 0%, transparent 70%);
      top: -150px;
      right: -50px;
      border-radius: 50%;
      pointer-events: none;
    }
    .library-section::after {
      content: '';
      position: absolute;
      width: 450px;
      height: 450px;
      background: radial-gradient(circle, rgba(6,27,69,0.03) 0%, transparent 70%);
      bottom: -150px;
      left: -80px;
      border-radius: 50%;
      pointer-events: none;
    }

    
    .library-container {
      max-width: 1300px;
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

   
    .library-heading {
      text-align: center;
      margin-bottom: 15px;
    }

    .library-heading h2 {
      font-size: 40px;
      font-weight: 700;
      letter-spacing: -2px;
      background: linear-gradient(135deg, #061B45 0%, #EF164C 80%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: inline-block;
      position: relative;
      text-shadow: 0 10px 20px rgba(6,27,69,0.2);
      line-height: 1.1;
      white-space: nowrap;
    }

    .library-heading h2::before {
      content: '';
      position: absolute;
      width: 70%;
      height: 6px;
      background: linear-gradient(90deg, #061B45, #EF164C, #061B45);
      bottom: -12px;
      left: 15%;
      border-radius: 40px;
      opacity: 0.9;
    }

    .library-subheading {
      text-align: center;
      font-size: 15px;
      font-weight: 400;
      color: #1e293b;
      margin-bottom: 60px;
      max-width: 650px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 30px;
      background: rgba(255,255,255,0.7);
      backdrop-filter: blur(4px);
      padding: 10px 28px;
      border-radius: 60px;
      border: 1px solid rgba(239,22,76,0.2);
      box-shadow: 0 8px 18px -8px rgba(6,27,69,0.15);
    }

    
    .library-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    
    .library-item {
      overflow: hidden;
      background: #ffffff;
      box-shadow: 0 25px 35px -12px rgba(6, 27, 69, 0.2),
                  0 10px 20px -8px rgba(239, 22, 76, 0.15);
      transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
      position: relative;
      border: 1px solid rgba(239,22,76,0.1);
    }

    .library-item img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      display: block;
      transition: transform 0.7s ease;
    }

    .library-item:hover img {
      transform: scale(1.05);
    }

   
    .library-item::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 40%;
      background: linear-gradient(to top, 
        rgba(6,27,69,0.3), 
        rgba(239,22,76,0.2), 
        transparent);
      pointer-events: none;
      transition: opacity 0.3s;
      
    }

    .library-item:hover::after {
      background: linear-gradient(to top, 
        rgba(6,27,69,0.45), 
        rgba(239,22,76,0.35), 
        transparent);
    }

   
    .library-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: linear-gradient(115deg, 
        rgba(255,255,255,0) 0%, 
        rgba(239,22,76,0.15) 25%, 
        rgba(6,27,69,0.1) 40%,
        rgba(255,255,255,0) 60%);
      transform: skewX(-20deg);
      transition: left 0.7s;
      pointer-events: none;
      z-index: 2;
    }

    .library-item:hover::before {
      left: 125%;
    }

   
    @media (max-width: 1000px) {
      .library-container {
        max-width: 100%;
      }
      .library-heading h2 {
        font-size: 56px;
        white-space: normal;
      }
    }

    @media (max-width: 768px) {
      .library-grid {
        grid-template-columns: 1fr;  
        gap: 24px;
      }

      .library-item img {
        height: 260px;
      }

      .library-heading h2 {
        font-size: 46px;
      }

      .library-subheading {
        font-size: 16px;
        padding: 8px 20px;
        margin-bottom: 45px;
      }
    }

    @media (max-width: 480px) {
      .library-section {
        padding: 60px 16px;
      }
      .library-heading h2 {
        font-size: 38px;
      }
      .library-item img {
        height: 210px;
      }
    }
     /* <!-- Library Section Start END--> */
     /* <!-- start robotics-section --> */
    
    .robotics-section {
      padding: 50px 20px;
      background: #f8faff;
      position: relative;
      overflow: hidden;
    }

    
    .robotics-section::before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(239,22,76,0.03) 0%, transparent 70%);
      top: -150px;
      right: -50px;
      border-radius: 50%;
      pointer-events: none;
    }
    .robotics-section::after {
      content: '';
      position: absolute;
      width: 450px;
      height: 450px;
      background: radial-gradient(circle, rgba(6,27,69,0.03) 0%, transparent 70%);
      bottom: -150px;
      left: -80px;
      border-radius: 50%;
      pointer-events: none;
    }

   
    .robotics-container {
      max-width: 1300px;
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    
    .robotics-heading {
      text-align: center;
      margin-bottom: 15px;
    }

    .robotics-heading h2 {
      font-size: 40px;
      font-weight: 700;
      letter-spacing: -2px;
      background: linear-gradient(135deg, #061B45 0%, #EF164C 80%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: inline-block;
      position: relative;
      text-shadow: 0 10px 20px rgba(6,27,69,0.2);
      line-height: 1.1;
      white-space: nowrap;
    }

    .robotics-heading h2::before {
      content: '';
      position: absolute;
      width: 70%;
      height: 6px;
      background: linear-gradient(90deg, #061B45, #EF164C, #061B45);
      bottom: -12px;
      left: 15%;
      border-radius: 40px;
      opacity: 0.9;
    }

    
    .robotics-subheading {
      text-align: center;
      font-size: 15px;
      font-weight: 400;
      color: #1e293b;
      margin-bottom: 60px;
      max-width: 650px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 30px;
      background: rgba(255,255,255,0.7);
      backdrop-filter: blur(4px);
      padding: 10px 28px;
      border-radius: 60px;
      border: 1px solid rgba(239,22,76,0.2);
      box-shadow: 0 8px 18px -8px rgba(6,27,69,0.15);
    }

    
    .robotics-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    
    .robotics-item {
      overflow: hidden;
      background: #ffffff;
      box-shadow: 0 25px 35px -12px rgba(6, 27, 69, 0.2),
                  0 10px 20px -8px rgba(239, 22, 76, 0.15);
      transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
      position: relative;
      border: 1px solid rgba(239,22,76,0.1);
    }

    .robotics-item video {
      width: 100%;
      height: 320px;
      object-fit: cover;
      display: block;
      transition: transform 0.7s ease;
    }

    .robotics-item:hover video {
      transform: scale(1.05);
    }

    
    .robotics-item::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 40%;
      background: linear-gradient(to top, 
        rgba(6,27,69,0.3), 
        rgba(239,22,76,0.2), 
        transparent);
      pointer-events: none;
      transition: opacity 0.3s;
     
    }

    .robotics-item:hover::after {
      background: linear-gradient(to top, 
        rgba(6,27,69,0.45), 
        rgba(239,22,76,0.35), 
        transparent);
    }

    
    .robotics-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: linear-gradient(115deg, 
        rgba(255,255,255,0) 0%, 
        rgba(239,22,76,0.15) 25%, 
        rgba(6,27,69,0.1) 40%,
        rgba(255,255,255,0) 60%);
      transform: skewX(-20deg);
      transition: left 0.7s;
      pointer-events: none;
      z-index: 2;
    }

    .robotics-item:hover::before {
      left: 125%;
    }

   
    @media (max-width: 1000px) {
      .robotics-container {
        max-width: 100%;
      }
      .robotics-heading h2 {
        font-size: 56px;
        white-space: normal;
      }
    }

    @media (max-width: 768px) {
      .robotics-grid {
        grid-template-columns: 1fr;  
        gap: 24px;
      }

      .robotics-item video {
        height: 260px;
      }

      .robotics-heading h2 {
        font-size: 46px;
      }

      .robotics-subheading {
        font-size: 16px;
        padding: 8px 20px;
        margin-bottom: 45px;
      }
    }

    @media (max-width: 480px) {
      .robotics-section {
        padding: 60px 16px;
      }
      .robotics-heading h2 {
        font-size: 38px;
      }
      .robotics-item video {
        height: 210px;
      }
    }
     /* <!-- end robotics-section --> */

/* ================================================================
   PAGE-LEVEL VISUAL POLISH
   This source is appended to each isolated page stylesheet.
   ================================================================ */

/* Smooth, accessible interaction feedback */
a,
button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid rgba(214, 168, 75, 0.9);
  outline-offset: 3px;
}

/* Media presentation remains contained within its own page */
img {
  height: auto;
}

/* Prevent long labels, links, and table content from breaking layouts */
p,
li,
td,
th,
a {
  overflow-wrap: break-word;
}

/* Refined motion where the visitor allows animation */
@media (prefers-reduced-motion: no-preference) {
  img,
  a,
  button {
    transition-duration: 220ms;
    transition-timing-function: ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .mp-top-strip,
  .mp-main-header,
  .mp-mobile-menu,
  .mp-overlay,
  .apply-now,
  .whatsapp {
    display: none !important;
  }
}
