/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: white;
  background-color: black;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body{
    background: #B0DEF0;
background: linear-gradient(rgba(176, 222, 240, 1) 2%, rgba(49, 135, 145, 1) 23%, rgb(1, 98, 127) 58%, rgb(1, 86, 120) 72%, rgb(0, 36, 82) 92%);
}

/* Container Padding */
.container {
  padding: 0 2rem; /* Consistent gap on both sides */
}

h1{
  font-size: 4rem;
  font-weight: 600;
  color:#07314a;
}

h2{
  font-size: 3rem;
  font-weight: 600;
  color: #b9e8fe;
}

h3{
  font-size: 2.5rem;
  color: #b9e8fe;
}

h4{
  font-size: 1.2rem;
}

p{
  font-size: 1.2rem;
}

@media(max-width: 1300px){
  h1{
    font-size: 3.5rem;
  }

  h2{
    font-size: 2.8rem;
  }

  h3{
    font-size: 2.2rem;
  }

  p{
    font-size: 1.1rem;
  }
}


@media (max-width: 850px) {
  h1{
    font-size: 3rem;
  }

  h2{
    font-size: 2.5rem;
  }

  h3{
    font-size: 2rem;
  }

  h4{
    font-size: 1rem;
  }

  p{
    font-size: 0.9rem;
  }
}
@media (max-width: 550px) {
  h1{
    font-size: 2.5rem;
  }

  h2{
    font-size: 2rem;
  }

  h3{
    font-size: 1.5rem;
  }

  h4{
    font-size: 0.9rem;
  }

  p{
    font-size: 0.8rem;
  }
}

/* Sticky Navigation */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(0,0,0,0.7);
  box-shadow: 0px 2px 10px rgba(255, 255, 255, 0.1);
}

.main-nav .logo img {
  width: 10rem;
  height: auto;
}

.main-nav nav ul {
  display: flex;
  list-style: none;
}

.main-nav nav ul li {
  margin-left: 2rem;
}

.main-nav nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

@media(max-width: 1300px){
  .main-nav nav ul li a {
    font-size: 1rem;
  }
  .main-nav .logo img {
    width: 10rem;
  }
}

@media(max-width: 1000px){
  .main-nav nav ul li a {
    font-size: 1rem;
  }
  .main-nav .logo img {
    width: 10rem;
  }
}

.main-nav nav ul li a:hover {
  color: grey;
}

.contact-btn {
  border: 2px solid white;
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: white;
  color: black;
}

/* Hamburger Menu (Default Hidden) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001; /* Ensure it stays above other elements */
}

.hamburger span {
  background-color: white;
  height: 3px;
  width: 25px;
  margin: 5px 0;
  border-radius: 5px;
  transition: all 0.3s ease;
}



.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* Hide middle line */
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger span {
  background-color: white;
  height: 3px;
  width: 25px;
  margin: 5px 0;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links-mobile {
  display: none; /* Hide by default */
}

.nav-links-mobile li a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

/* When Active (Expanded) */
.nav-links-mobile.active {
  display: none; 
}

.nav-links-mobile li a:hover {
  color: grey;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between; /* Content on the left, icons on the right */
  align-items: center;
  padding: 6rem 2rem;
  height: 90vh; /* Full viewport height */
  background: #B0DEF0;
  background: linear-gradient(rgba(176, 222, 240, 1) 2%, rgba(168, 220, 239, 1) 50%, rgba(193, 219, 226, 1) 100%, rgba(119, 211, 234, 1) 100%);
}

.hero p{
  font-size: 1.5rem;
}

@media(max-width: 1300px){
  .hero p{
    font-size: 1.3rem;
  }
}

@media(max-width: 1000px ){
  .hero p{
    font-size: 1.2rem;
  }
}

@media(max-width: 550px){
  .hero p{
    font-size: 1rem;
  }
}

.hero-contact{
  padding: 2rem 2rem;
  padding-left: 4rem;
  height: auto;
  background: #B0DEF0;
  background: linear-gradient(rgba(176, 222, 240, 1) 2%, rgba(168, 220, 239, 1) 50%, rgba(193, 219, 226, 1) 100%, rgba(119, 211, 234, 1) 100%);
}



.hero-contact h1{
  color: #07314a;
  margin-bottom: 1rem;
}
.hero-contact p{
  margin-bottom: 2rem;
}

.hero-content {
  text-align: left;
  max-width: 70%;
}

.hero-content-contact{
  text-align: left;
}

.hero h1 {
  color: #07314a;
  margin-bottom: 1rem;
}


.contact-us-btn {
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  color: black;
  background-color: white;
  padding: 0.8rem 2rem;
  border: 2px solid black;
  border-radius: 12px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.contact-us-btn:hover {
  color: white;
  background-color: black;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 6rem;
  margin-bottom: 4rem;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }
  .hero-contact{
    text-align: center;
  }
  .hero-content-contact {
    text-align: center;
  }
}

/* Social Wrapper (Vertical Layout) */
.social-wrapper {
  position: absolute;
  top: 52%;
  right: 2rem;
  transform: translateY(-44%);
  display: flex;
  flex-direction: column; /* Vertical layout */
  align-items: center;
  gap: 1rem;

}

.divider {
  width: 2px; /* Vertical divider */
  height: 30vh; /* Divider height */
  background-color: white;
}

/* Social Icons Styling */
.social-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Space between icons */
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid white;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icons a img {
  width: 1.5rem;
  height: 1.5rem;
  filter: invert(1); /* White icons */
}

.social-icons a:hover {
  transform: scale(1.1); /* Expand slightly on hover */
}

.social-icons a:hover img {
  filter: invert(0); /* Black icons on hover */
}

/* Contact Form */
.contact-form {
  text-align: left;
  margin-left: 2rem;
  margin-bottom: 2rem;
  margin: auto;
  padding: 2rem;
  width: 80%;
  max-width: 800px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  color: white;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #dcdcdc;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #555;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #1a1a1a;
  color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form .submit-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  background-color: white;
  color: black;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
  background-color: grey;
  color: white;
}

/* Footer */
.footer {
  background-color: #222;
  color: white;
  padding: 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-content div {
  margin: 1rem;
}

.footer-logo img {
  width: 6rem;
  height: auto;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: grey;
}

.footer-social img {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.footer-social img:hover {
  transform: scale(1.1);
}

.cta-button {
    display: inline-block;
    background: #50cdff;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 158, 193, 0.2);
}

/* Responsive Adjustments */
  @media (max-width: 865px) {
    .social-wrapper {
      position: absolute;
      top: 50%;
      right: 2rem;
      transform: translateY(600%);
      display: flex;
      flex-direction: row; /* Horizontal layout */
      align-items: center;
      max-width: 100%; /* Ensure full width */
      padding-left: 3rem;
    }
  
    .divider {
      width: 250px; /* Horizontal divider */
      height: 2px; /* Divider height */
      background-color: #333; /* Darker color for the divider */
      margin: 1rem 1rem; /* Spacing on both sides */
    }
  
    .social-icons {
      display: flex;
      flex-direction: row; /* Keep icons in a row */
      justify-content: center; /* Center horizontally */
      align-items: center; /* Align icons vertically */
    }

    .hero-content {
      text-align: center;
      padding:0;
      margin: 0;
      justify-content: center;
      max-width: 100%;
      margin-bottom: 5rem;
    }

    .hamburger {
      display: flex; /* Display hamburger on smaller screens */
    }
    
    .main-nav nav ul {
      display: none;
    }

    .nav-links {
      display: none; /* Hide desktop menu */
    }

    /* Mobile Navigation Menu (Default Hidden) */
    .nav-links-mobile {
      position: fixed;
      z-index: 1005;
      top: 90px;
      left: -100vw;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      padding: 2rem;
      list-style: none;
      flex-direction: column;
      text-align: center;
      gap: 1rem;
      display: flex; /* Show mobile menu */
      transition: all 0.3s ease; /* Smooth expand and collapse */
    }

    /* When Active (Expanded) */
    .nav-links-mobile.active {
      display: flex; /* Show mobile menu */
      left: 0 !important;
    }

  }

  @media( max-width: 650px){
    .hero-content{
        text-align: center;
        padding: 0;
    }
    .hero{
      padding: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .container{
      padding: 0 1rem;
    }
}
  

@media (max-width: 480px) {
  .social-icons a {
    width: 2.5rem;
    height: 2.5rem;
  }

  .social-icons a img {
    width: 1rem;
    height: 1rem;
  }
}

button{
  border: none;

}

#email{
  color: white;
  margin-bottom: 0;
  margin: 0;
  padding: 0;
}


#email-1{
  color: white;
  margin-bottom: 0;
  margin: 0;
  padding: 0;
}

@media(max-width: 650px){
  #email, #email-1{
    font-size: 0.8rem;
  }

}

/* 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;
  }
}

@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;
}





/* 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;
  }
}
