/* Industry Issues Styling */
/* .industry-section{
  padding: 6rem 4rem;
  background: transparent;
} */
/* 
.industry-section h2{
  text-align: center;
  margin-bottom: 4rem;
}

.industry-container-right{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.industry-container-left{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

@media (max-width: 1000px) {
  .industry-container-right, .industry-container-left {
    grid-template-columns: 1fr; 
    margin-bottom: 4rem;
    gap: 3rem;
  }
} */

/* @media (max-width: 768px) {
  .industry-section {
    padding: 3rem 2rem;
  }
  .industry-container-right, .industry-container-left {
    margin-bottom: 2rem;
    gap: 1rem;
  }
}

@media (max-width: 500px) {
  .industry-section{
    padding: 1rem;
  }
}

.industry-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
}

.industry-content h3 {
  margin-bottom: 1rem;
}

.industry-image{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.industry-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
} */

/* Industry Issues Styling */
.industry-section {
  padding: 6rem 4rem;
  background: transparent;
}

.industry-section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.industry-container-right {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.industry-container-left {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

@media (max-width: 1000px) {
  .industry-container-right,
  .industry-container-left {
    grid-template-columns: 1fr; /* Single column on smaller screens */
    margin-bottom: 4rem;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .industry-section {
    padding: 3rem 2rem;
  }
  .industry-container-right,
  .industry-container-left {
    margin-bottom: 2rem;
    gap: 1rem;
  }
}

.industry-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
}

.industry-content h3 {
  margin-bottom: 1rem;
}

.industry-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 16 / 9; /* Ensure consistent sizing */
  overflow: hidden;
  border-radius: 1rem;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fill the area while keeping proportions */
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.industry-image img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .industry-image {
    aspect-ratio: 4 / 3;
  }
}

  /* CSS for Video Controls */
  .hero-video-section {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 2rem;
    }
    
    .hero-video-wrapper {
      width: 80%;
      margin-top: 1rem;
    }

    .hero-video-container {
      position: relative;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      aspect-ratio: 16 / 9;
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .hero-video-player {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Video controls positioned above native controls */
    .hero-video-controls {
      position: absolute;
      bottom: 4.5rem;
      right: 1rem;
      display: flex;
      gap: 0.75rem;
      z-index: 10;
    }

    .hero-video-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.7);
      border: 2px solid rgba(255, 255, 255, 0.2);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
    }

    .hero-video-btn:hover {
      background: rgba(0, 0, 0, 0.9);
      transform: scale(1.1);
      border-color: rgba(255, 255, 255, 0.4);
    }

    .hero-video-btn svg {
      width: 24px;
      height: 24px;
    }


    @media (max-width: 768px) {
      .hero-content {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
      }

      .hero-content h1 {
        font-size: 2rem;
      }

      .hero-video-wrapper {
        margin-bottom: 3rem;
      }

      .hero-video-container {
        border-radius: 0.75rem;
        aspect-ratio: 16 / 10;
      }

      .hero-video-controls {
        bottom: 4rem;
        gap: 0.5rem;
      }

      .hero-video-btn {
        width: 44px;
        height: 44px;
      }

      .hero-video-btn svg {
        width: 22px;
        height: 22px;
      }

      .hero-description p {
        font-size: 1rem;
      }
    }

    @media (max-width: 480px) {
      .hero-content h1 {
        font-size: 1.75rem;
      }

      .hero-video-container {
        border-radius: 0.5rem;
        aspect-ratio: 4 / 3;
      }

      .hero-video-controls {
        bottom: 3.5rem;
      }

      .hero-video-btn {
        width: 40px;
        height: 40px;
      }

      .hero-video-btn svg {
        width: 20px;
        height: 20px;
      }
    }


/* Timeline Title Styling */
.timeline-title h2 {
  text-align: center;        /* Center the text horizontally */
  margin-top: 50px;          /* Add some space above the title */
  margin-bottom: 30px;       /* Add some space below the title */
}

.timeline {
  padding: 6rem 2rem;
}

.timeline-heading {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: #50cdff;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 clamp(1rem, 3vw, 4rem);
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #000;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.timeline-line::after {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #50cdff;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
}

.timeline-line.reached-end::after {
  color: #4a90e2;
  font-weight: 600;
  opacity: 1;
}

.timeline-year {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #50cdff;
  margin: 3rem 0;
  position: relative;
  padding: 0.5rem 2rem;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.timeline-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(2rem, 4vw, 4rem) 0;
  position: relative;
  min-height: 120px;
  transition: all 0.3s ease;
}

.timeline-month {
  position: absolute;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  color: #50cdff;
  width: auto;
  min-width: 80px;
  text-align: right;
  transition: all 0.3s ease;
}

.timeline-month.left {
  right: calc(50% + 2rem);
}

.timeline-month.right {
  left: calc(50% + 2rem);
  text-align: left;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background: #50cdff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  position: relative;
  margin: clamp(1rem, 2vw, 2rem) 0;
}

.timeline-content.left {
  margin-right: auto;
  padding-right: 4rem;
  text-align: left;
}

.timeline-content.right {
  margin-left: auto;
  padding-left: 4rem;
  text-align: left;
}

.timeline-details {
  background: transparent;
  transition: all 0.3s ease;
}

.timeline-details h4 {
  color: #50cdff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.timeline-details p {
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline-container {
    padding: 0 1rem;
  }

  .timeline{
    padding: 3rem 1rem;
  }

  .timeline-line,
  .timeline-progress {
    left: 2rem;
  }

  .timeline-year {
    text-align: left;
    left: 4rem;
  transform: none;
    padding: 0.5rem 1rem;
    margin: 2rem 0;
  }

  .timeline-month.left,
  .timeline-month.right {
    left: 4rem;
    text-align: left;
    top: -2rem;
    width: auto;
  }

  .timeline-dot,
  .timeline-progress {
    
    margin: 0,0;
    top: 0;
    left: 2rem;
    left: 0;
  }
  .timeline-content{
    width: 100%;
  }

  .timeline-content.left,
  .timeline-content.right {
    margin-left: 4rem;
    padding: 0;
    text-align: left;
  }

  .timeline-item {
    margin: 3rem 0;
    padding-left: 0;
  }

  .timeline-line::after {
    transform: none;
    bottom: -2.5rem;
  }
}

@media(max-width: 500px) {
  .timeline{
    padding: 1rem;
  }
}

.zima{
  padding: 3rem 8rem;
}

.zima-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zima h2{
  text-align: center;
}

.zima p{
  color: #ffffff;
}

.zima-img{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zima-img img{
  max-width: 100%;
  height: auto;
  margin-top: 3rem;
}


.zima-container{
  display: grid;
  gap: 4rem;
  column-gap: 8rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1200px){
  .industry-issues{
    padding: 3rem 6rem;
    display: grid;
    gap: 4rem;
    column-gap: 6rem;
    grid-template-columns: 1fr;
  }
  .zima{
    padding: 3rem 6rem;
  }

  .zima-container{
    display: grid;
    gap: 4rem;
    column-gap: 6rem;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .industry-issues-header{
    padding: 0rem 2rem;
  }
  .industry-issues{
    padding: 3rem 2rem;
  }

  .zima{
    padding: 3rem 2rem;
  }
}

@media (max-width: 500px){
  .zima{
    padding: 1rem;
  }
}

/**************************************************/
/* 1. Container for Three Cards in a Row          */
/**************************************************/
.ui-card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 4rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

/**************************************************/
/* 2. Card Styles                                 */
/**************************************************/
.ui-card {
  position: relative;
  background-color: #111;
  min-height: 280px;
  padding: 2rem;
  box-sizing: border-box;
  border: 1px dashed #555;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/**************************************************/
/* 3. L-Shaped Corner Markers                     */
/**************************************************/
.corner {
  position: absolute;
  width: 25px;
  height: 25px;
  border: 2px solid #4a90e2;
  transition: all 0.3s ease;
}

/* Top-left */
.corner-top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

/* Top-right */
.corner-top-right {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

/* Bottom-left */
.corner-bottom-left {
  bottom: 0;
  left: 0;
  border-top: none;
  border-right: none;
}

/* Bottom-right */
.corner-bottom-right {
  bottom: 0;
  right: 0;
  border-top: none;
  border-left: none;
}

/**************************************************/
/* 4. Typography & Text Hierarchy                 */
/**************************************************/
.card-header {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem 0;
  transition: color 0.3s ease;
}

.card-subheading {
  font-size: 1.1rem;
  font-weight: 400;
  color: #4a90e2;
  margin: 0 0 1.5rem 0;
  transition: color 0.3s ease;
}

/**************************************************/
/* 5. Collapsible Body Text                       */
/**************************************************/
.card-body-wrapper {
  opacity: 0.7;
  transform: translateY(0);
  transition: all 0.3s ease;
  margin-top: auto;
}

/* Show body text always but enhance on hover */
.ui-card:hover .card-body-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.card-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}

/**************************************************/
/* 6. Downward Arrow Button                       */
/**************************************************/
.arrow-button {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  background: none;
  cursor: pointer;
  padding: 0;
}

.arrow-icon {
  font-size: 20px;
  color: #fff;
  transition: transform 0.5s ease;
}

/* Rotate the arrow 180deg when expanded */
.card-body-wrapper.expanded + .arrow-button .arrow-icon {
  transform: rotate(180deg);
}

/**************************************************/
/* 7. Hover Effect                                */
/**************************************************/
/* (Add your glass-blur or highlight effect here, if desired) */

/**************************************************/
/* 8. Responsive Tweaks                           */
/**************************************************/
@media (max-width: 1200px) {
  .ui-card-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .ui-card-container {
    grid-template-columns: 1fr;
  }
  
  .ui-card {
    min-height: 250px;
  }
}

/* Add these animations and transitions */
.timeline-dot.highlight {
  background: #4a90e2;
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
}

.timeline-dot.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
  }
}

.timeline-details {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.timeline-details.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Add these new styles while keeping all existing styles */

.timeline-progress-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  top: 0;
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  width: 100%;
  height: 0;
  background: #4a90e2;
  transition: height 0.3s ease-out;
}

.moving-dot {
  width: 12px;
  height: 12px;
  background: #4a90e2;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
  z-index: 2;
  transition: top 0.3s ease-out;
  animation: pulse 2s infinite;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .timeline-progress-container {
    left: 2rem;
    transform: none;
  }

  .moving-dot {
    left: calc(2rem + 1px);
    transform: translateX(-50%);
  }

  .timeline-line::after {
    left: -1rem;
    transform: none;
  }
}

/* Active state for the dot */
.moving-dot.at-end {
  animation: pulse 2s infinite;
}

/* Add styles for the active month state */
.timeline-month.active {
  color: #4a90e2;
  font-weight: 600;
  transform: scale(1.05);
}

/* Remove the previous at-end styles since we're using the line marker */
.moving-dot.at-end::after {
  display: none;
}

/* Tablet Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
  .timeline-container {
    padding: 0 2rem;
  }

  .timeline-content.left,
  .timeline-content.right {
    width: 42%;
  }

  .timeline-month {
    width: 80px;
  }
}

/* Enhanced transitions */
.timeline-content,
.timeline-month,
.timeline-details,
.moving-dot {
  transition: all 0.3s ease-in-out;
}

/* Active state enhancements */
.timeline-month.active {
  color: #4a90e2;
  font-weight: 600;
  transform: scale(1.05);
}

.timeline-details.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Moving dot enhancements */
.moving-dot {
  width: 12px;
  height: 12px;
  background: #4a90e2;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
  z-index: 2;
}

/* Semantic spacing adjustments */
.timeline-details {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* Add section header styling */
.mission-cards-section {
  text-align: center;
  padding: 4rem 0 2rem;
}

.mission-cards-section h2 {
  margin-bottom: 2rem;
}

/* Add subtle animation for cards */
@keyframes cardFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Add these styles to your existing CSS */
.mission-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mission-subtitle {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 1.5rem auto 1rem;
  line-height: 1.6;
  max-width: 600px;
  transition: color 0.3s ease;
}

.mission-cta-wrapper {
  margin-top: 2rem;
  perspective: 1000px;
}

.mission-cta {
  position: relative;
  display: inline-block;
  padding: 0.8rem 2rem;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  overflow: hidden;
  transition: color 0.3s ease;
  background: transparent;
}

.mission-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 100%;
  background: white;
  transform: skewX(-20deg);
  transition: width 0.4s ease;
  z-index: -1;
}

.mission-cta:hover {
  color: #000;
}

.mission-cta:hover::before {
  width: calc(100% + 20px);
}

/* Add border animation */
.mission-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid white;
  transition: transform 0.3s ease;
}

.mission-cta:hover::after {
  transform: scale(1.1);
  opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mission-cta {
    padding: 0.7rem 1.75rem;
    font-size: 1rem;
  }
}

/* Button Comparison Container */
.button-comparison {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

/* Version 1 - Gradient Style */
.mission-cta-v1 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border: 2px solid #4a90e2;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mission-cta-v1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #4a90e2, #357abd);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.mission-cta-v1:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
}

.mission-cta-v1:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.mission-cta-v1 .cta-icon {
  transition: transform 0.3s ease;
}

.mission-cta-v1:hover .cta-icon {
  transform: translateX(5px);
}

/* Updated Contact-style button */
.button-comparison .contact-btn {
  position: relative;
  display: inline-block;
  padding: 0.8rem 2rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  overflow: hidden;
}

/* Text wrapper */
.button-comparison .contact-btn .btn-text {
  position: relative;
  z-index: 3;
  transition: color 0.3s ease;
}

/* White border */
.button-comparison .contact-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #fff;
  transition: transform 0.3s ease;
  z-index: 1;
}

/* White fill background */
.button-comparison .contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 100%;
  background: #fff;
  transform: skewX(-20deg);
  transition: width 0.4s ease;
  z-index: 2;
}

/* Hover states */
.button-comparison .contact-btn:hover::before {
  width: calc(100% + 20px);
}

.button-comparison .contact-btn:hover .btn-text {
  color: #000;
}

.button-comparison .contact-btn:hover::after {
  transform: scale(1.1);
  opacity: 0;
}

/* Container styles */
.button-comparison {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .button-comparison .contact-btn {
    padding: 0.7rem 1.75rem;
    font-size: 1rem;
  }
}