
@import url('https://fonts.googleapis.com/css2?family=Arima:wght@100..700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

  html {
    scroll-behavior: smooth;
  }

/* #1078BF - Primary Blue   #5BB949 - Primary Green   #084C7F - dark Blue   #E5F3FF - Light Blue     #4A9F3B - Accent Green   #F8F9FF - Neutral Gray   #2C3E50 - Dark Gray */

/* ---------------------------------------------------------------------------------------------------- */

#hero {
  background-image: url(images/about-us-bg.jpg);
  background-size: cover;
  height: 60vh;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* border: 2px solid red; */
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Adds a slight overlay for energetic contrast */
}

#hero-content {
  position: relative;
  /* text-align: center; */
  color: #ffffff;
  z-index: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* height: 50vh; adjust the height according to your hero section's height */
}

#hero h1 {
  font-size: 3.2rem;
 /* font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
 /* font-style: italic; */
  font-weight: bold;
  color: #ffffff;
align-self: center;
/* padding-top: 5%; */
font-family: "Arima", system-ui;
  font-optical-sizing: auto;
  font-style: normal;
}

#hero h3 {
  font-size: 1.3rem;
align-self: center;
font-family:Verdana, Geneva, Tahoma, sans-serif;
position: relative;
left: 3%;
/* margin: 0 11%; */

}

.cta-button {
  /* margin-top: 1%; */
  padding: 1rem 2rem;
  font-size: 1.2rem;
  background-color: #5BB949;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
align-self: center;

}

.cta-button:hover {
  background-color:  #084C7F;
/* margin-top: 10rem; */
}

/* --------------------------------about who---------------------------------------------------  */
#aboutWho{
  /* border: 2px solid; */
  position: relative;
  display: flex;
  justify-content: flex-start;
 
  /* background: conic-gradient( #e5f3ff,#e5f3ff,#4c9cd8,#4b8ec2,#e5f3ff); */
 background-color: #084C7F;
  display: flex;
  flex-wrap: wrap;
  padding-top: 40px;
}


#aboutWho p{
  border: 1px solid #F8F9FF;
  font-size: 1.1rem;
  width: 70vw;
  /* margin: 1rem 0.5rem; */
  margin-top: 10px;
 
  position: relative;
  /* left: 2%; */
  margin-bottom: 7px; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 5px;
  transition: box-shadow 0.3s, transform 0.3s;
  text-indent: 1rem;
  background-color: #e5f3ff;
}
/* #F8F9FF - Neutral Gray   #2C3E50 - Dark Gray  */
#p2{
   position: relative;
  left: 16rem;/* Adjust this value as needed */
  /* top: 100px; */
}

#p1{
  margin-left: 10rem;
  /* margin */
}

#p3{
margin-left: 20rem;
}

#aboutWho p:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  
background-color: #e5f3ff;
  /* color: ; */
}

#aboutWho blockquote{
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-style: italic;
  font-weight:550;
  font-size: 1.3rem;
color:#F8F9FF;
padding: 1rem 1.2rem;
margin: auto;
}

#mis_core{
  border: 2px solid blue;
}

@media  (max-width: 768px) {
   
#hero {
  height: 40vh; 
}

  #hero h1{
    font-size: 2rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  }
  .cta-button{
    padding: 10px;
    font-size: 1rem;
  }
  #hero h3{
    font-size: 0.9rem;
    padding: 10px;
    max-width: 340px;
  }
  #p2{
   position: relative;
   left: 0%;
   right: 10%;

  }
  #p3{
     margin-left: 0%;
  }
  #aboutWho p{
    margin-left: 12%;
    font-size: 1rem;
  }
  
#p1{
  margin-left: 0rem;
}
}
/* -----------------------section-4-------------------- */
.section-4{
height: 680px;
width: 100%;
/* border: 2px solid red; */
}
.sec4-heading{
  text-align: center;
  padding-top: 3%;
  font-size: 2.6rem;
  font-weight: 900;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  /* color: #1078bf; */
  color: black;
}
#sec4-content{
  font-size: 1.2rem;
  width: 95%;
  padding-left: 6%;
  padding-top: 1.5%;
}

.ourmision-heading{
  font-size: 2rem;
  font-weight: bold;
  color: #1078bf;
  padding-left: 5.5%;
  padding-top: 0.2%;
  text-align: center;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.ourmision-subheading{
  padding-left: 5.5%;
  font-size: 1.1rem;
}


.card-wrapper{
  width: 78%;
  /* border: 2px solid; */
  display: flex;
  justify-content: space-around;
  margin-left: 10%;
  margin-top: 3%;
}
.card-wrapper li{
  list-style: none;
}
/* From Uiverse.io by Admin12121 */ 
.section_our_solution .row {
  align-items: center;
}

.our_solution_category {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.our_solution_category .solution_cards_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution_cards_box .solution_card {
  flex: 0 50%;
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2),
    0 5px 15px 0 rgba(37, 44, 97, 0.15);
  border-radius: 15px;
  margin: 8px;
  padding: 10px 12px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 265px;
  transition: 0.7s;
}

.solution_cards_box .solution_card:hover {
  background: #309df0;
  color: #fff;
  transform: scale(1.1);
  z-index: 9;
}

.solution_cards_box .solution_card:hover::before {
  background: rgb(85 108 214 / 10%);
}

.solution_cards_box .solution_card:hover .solu_title h3,
.solution_cards_box .solution_card:hover .solu_description p {
  color: #fff;
}

.solution_cards_box .solution_card:before {
  content: "";
  position: absolute;
  background: rgb(85 108 214 / 5%);
  width: 170px;
  height: 400px;
  z-index: -1;
  transform: rotate(42deg);
  right: -56px;
  top: -23px;
  border-radius: 35px;
}

.solution_cards_box .solution_card:hover .solu_description button {
  background: #fff !important;
  color: #309df0;
}

.solution_card .solu_title div {
  color: #212121;
  font-size: 1.3rem;
  margin-top: 13px;
  margin-bottom: 13px;
}

.solution_card .solu_description .solution-des1 {
  font-size: 15px;
  margin-bottom: 15px;
}

.solution_card .solu_description button {
  border: 0;
  border-radius: 15px;
  background: linear-gradient(
    140deg,
    #42c3ca 0%,
    #42c3ca 50%,
    #42c3cac7 75%
  ) !important;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 16px;
}

.our_solution_content div {
  text-transform: capitalize;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.hover_color_bubble {
  position: absolute;
  background: rgb(54 81 207 / 15%);
  width: 100rem;
  height: 100rem;
  left: 0;
  right: 0;
  z-index: -1;
  top: 16rem;
  border-radius: 50%;
  transform: rotate(-36deg);
  left: -18rem;
  transition: 0.7s;
}

.solution_cards_box .solution_card:hover .hover_color_bubble {
  top: 0rem;
}

.solution_cards_box .solution_card .so_top_icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution_cards_box .solution_card .so_top_icon img {
  width: 40px;
  height: 50px;
  object-fit: contain;
}

/*start media query*/
@media  (max-width: 768px) {
  .section-4{
   /* padding: 10px; */
   height: inherit;
    }
    .sec4-heading{
      font-size: 2rem;
      padding: 10px;
    }
    #sec4-content{
      font-size: 1rem;
    }
    .ourmision-subheading{
      font-size: 1rem;
    }
    #our-journey{
     position: relative;
     bottom: 20px;
    }
    .card-wrapper{
      flex-direction: column;
      width: 100%;
      margin-left: 0%;
     
    } 
    .solution_cards_box .solution_card {
         /* padding: 10px; */
         width: 300px;
    }
    /* border: 2px solid red; */
   .sol_card_top_3 {
    position: relative;
    top: 0;
  }

  .our_solution_category {
    width: 100%;
    margin: 0 auto;
  }

  .our_solution_category .solution_cards_box {
    flex: auto;
  }
}
/* 
@media only screen and (min-width: 768px) {
  .our_solution_category .solution_cards_box {
    flex: 1;
  }
} */



 /* ------------------------why-choose-us---------------------------------------- */
 
.why-us {
  background-color: #fff;
  /* background-color: #f5f5f5; */
  padding: 10px 0px;
  text-align: center;

}

.why-us h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: 600;
}

.why-us-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
}

.why-us-text {
  flex: 1;
  padding: 20px;
  text-align: left;
}

.why-us  p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  /* margin-bottom: 20px; */

}

.why-us-text ul {
  margin-top: 10px;
  list-style-type: none;
  padding-left: 0;
}

.why-us-text ul li {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #333;
}

.why-us-image {
  flex: 1;
  text-align: center;
}

.why-us-image img {
  max-width: 100%;
  height: 300px;
}

.why-us-icons {
  margin-top: 30px;
}

.why-us-icons img {
  width: 50px;
  margin: 0 15px;
  transition: transform 0.3s ease-in-out;
}

.why-us-icons img:hover {
  transform: scale(1.1);
}

.accordion {
  list-style: none;
  padding: 0;
}

.accordion li {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  cursor: pointer;
  background-color: #e5f3ff;
  transition: background-color 0.3s ease;
}

.accordion li:hover {
  background-color: #e9e9e9;
}

.accordion-title {
  padding: 15px;
  font-weight: bold;
  color: #333;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
  background-color: #fff;
}

.accordion-content p {
  margin: 15px 0;
  font-size: 1rem;
  color: #555;
}

/* Active class for open accordion */
.accordion li.active .accordion-content {
  max-height: 150px; /* Adjust this value based on content size */
}

.accordion li.active .accordion-title {
  color: #007BFF; /* Highlight active title */
}

.accordion-title .bx-plus{
  font-size: 20px;
  transition: transform 0.3s ease;
  /* padding-left: 95%; */
  /* padding-bottom: 10px; */
}

.accordion-item.open .accordion-title .bx-plus{
  transform: rotate(45deg); /* Rotate the plus icon to indicate the section is open */
}

/* Responsive Design */
@media (max-width: 768px) {
  .why-us-content {
      flex-direction: column;
      text-align: center;
  }

  .why-us-text {
      padding: 0;
  }

  .why-us-icons img {
      width: 40px;
      margin: 10px;
  }
}



/* ---------------------our partners------------------- */
.homepage-partners {
  padding: 60px 20px;
  /* background-color: #f0f8ff; */
  background-color:#f8f9fa;
  text-align: center;
}

/* Title Styling */
.homepage-partners-title {
  font-size: 2.5rem;
  color: #333;
  font-family: 'Cambria', Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Description Styling */
.homepage-partners-description {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  line-height: 1.6;
}

/* Partners Row Styling */
.homepage-partners-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;  /* Allows wrapping for smaller screens */
  align-items: center;
  gap: 20px; /* Add space between logos */
  max-width: 1200px; /* Limit the row width */
  margin: 0 auto; /* Center the row */
}

/* Partner Logo Styling */
.partner-logo {
  width: 120px; /* Fixed width */
  height: 100px; /* Increased height */
  object-fit: contain; /* Maintain aspect ratio */
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768x) {
  .homepage-partners-row {
      justify-content: space-around; 
  }
}

@media (max-width: 768px) {
  .partner-logo {
      width: 100px;
      height: 80px; 
  }

  .homepage-partners-row {
      flex-wrap: wrap; 
  }
}


 /* -----------------------------------testimonials----------------------------- */
 
.homepage-testimonials {
  background: url('https://i.ibb.co/PTJDkgb/testimonials.jpg') center center / cover no-repeat;
  opacity: 1000px;
  padding: 50px 0;
  color: white;
  /* width: 100%; */
}

.homepage-testimonials_container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.homepage-testimonials_heading {
  font-size: 2.5rem;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: bold;
  margin-bottom: 30px;
}

.homepage-testimonials_carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.homepage-testimonials_inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.homepage-testimonials_item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.homepage-testimonials_image {
  border-radius: 50%;
  width: 136px;
  height: 136px;
  margin: auto;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.homepage-testimonials_quote {
  font-size: 1.2rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin: 20px 0;
}

.homepage-testimonials_client {
  font-size: 1.4rem;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: bold;
}

.homepage-testimonials_control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 24px;
  transition: background 0.3s ease;
  z-index: 10; 
}

.homepage-testimonials_control:hover {
  background: rgba(255, 255, 255, 1);
}

.homepage-testimonials_control-prev {
  left: 10px; 
}

.homepage-testimonials_control-next {
  right: 10px; 
}

/* Mobile Styles */
@media (max-width: 768px) {
  
  .homepage-testimonials_heading {
    font-size: 1.5rem; 
  }

  .homepage-testimonials_quote {
    font-size: 1rem; 
  }

  .homepage-testimonials_client {
    font-size: 1.1rem; 
  }
}


/* consulation form------------------------- */
#consultation-form{
  width: 100%;
  border: 2px solid transparent;
  height: 520px;
  /* background-image: url(https://static.vecteezy.com/system/resources/thumbnails/005/263/636/small_2x/contact-us-concept-icons-such-as-mobile-phone-e-mail-address-chat-global-communication-on-dark-blue-background-for-presentation-web-banner-article-business-and-network-connection-and-company-free-vector.jpg); */
 background-image: url(https://www.openproject.org/assets/images/contact/hero-contact-4cf9fa21.png);
 
  background-size: cover;
  background-position: center;
  position: relative; 
  /* display: flex; */
  /* width: 1000px; */
}

.contact-form-container {
  /* border: 2px solid red; */
  background-color: #ffffff;
  /* max-width: 400px; */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
 margin-left: 12%;
 margin-top: 2%;

}

.contact-form-container h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 24px;
  text-align: center;
}

.contact-form-container label {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
  display: block;
}

.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  background-color: #f9f9f9;
}

.contact-form-container button {
  width: 100%;
  padding: 12px;
  background-color: #28a745;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form-container button:hover {
  background-color: #218838;
}

.contact-form-container .success,
.contact-form-container .error {
  display: none;
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
}

.contact-form-container .success {
  color: #28a745;
}

.contact-form-container .error {
  color: #dc3545;
}
/* 
.get-in-touch{
  height: 300px;
  width: 300px;
  border:2px solid red ;
  margin-bottom: 300px;
  margin-left: 30%;
} */

/* ------------------------------------------contact-js------------- ----------*/

#contact {
  padding: 50px;
  background-color: #f9f9f9;
  text-align: center;
  border: 2px dotted;
}

.contact-info h2, .contact-info p, .contact-info h3 {
  margin-bottom: 20px;
}
.contact-info h2{
  font-weight: bolder;
}
#contactBtn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
}

#contactBtn:hover {
  background-color: #0056b3;
}

/* Pop-up Form Styles */
.popup-form {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Background overlay */
}

.popup-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 15px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button[type="submit"] {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  border-radius: 4px;
}

button[type="submit"]:hover {
  background-color: #218838;
}

/* Hidden class to hide pop-up */
.hidden {
  display: none;
}

/* Add responsiveness */
@media (max-width: 768px) {
  .popup-content {
    width: 90%;
  }
}



/* -----------------------------------our services css styling------------------------------------------- */
 .homepage-services-section {
  /* background: linear-gradient(135deg, #e6eef5, #f1f8fd); */
  background-color: #e5f3ff;
  padding: 60px 20px;
  border-radius: 15px; 
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.15);
}

img, svg {
  vertical-align: middle;
  color: #28a745;
}
.our-service-heading{
  font-size: 2.6rem;
  font-weight: bolder;
  color: #1078bf;
  margin-bottom: 20px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.homepage-services-section .service-slide {
  display: flex;
  flex-direction: column;
  color: #000; 
  text-decoration: none;
  padding: 20px;
  background-color: #ffffff; 
  border: 1px solid #e0e0e0; 
  border-radius: 12px;
  margin: 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  flex: 1 1 250px;
  height: 320px;
}

.homepage-services-section .service-slide:hover {
  background-color: #e5f3ff;
  border-color: #2C3E50; 
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
}

.homepage-services-section .homepage-services-heading {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.service-icon{
  color: #5BB949;
  /* background-color: #28a745; */
}
.homepage-services-section .service-icon {
  margin-bottom: 15px;
  color: #5BB949;
}

.homepage-services-section .carousel-control-prev,
.homepage-services-section .carousel-control-next {
  background-color: #4CAF50; 
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.homepage-services-section .carousel-control-prev {
  left: 10px;
}

.homepage-services-section .carousel-control-next {
  right: 10px;
}

.homepage-services-section .carousel-control-prev:hover,
.homepage-services-section .carousel-control-next:hover {
  background-color: #4CAF50; 
  transform: scale(1.1);
}

.homepage-services-section .carousel-arrow {
  color: #ffffff; 
}

.homepage-services-section .carousel-arrow:hover {
  color: #4CAF50; 
}


@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}


.homepage-services-section .service-icon:hover {
  animation: rotate 0.6s ease-in-out;
} 

@media (max-width:760px){
  .homepage-services-section .service-slide{
    height: 250px;
    padding: 0px;
  }
}


/* -------------------------timeline css styling------------------------ */

.timelineA {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  border: 1px solid #2c3e50;
  background-color: #e5f3ff;
  min-width: 350px;
}
.timelineA::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 6px;
  background-color: #5bb949;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 0;
}
.eventA {
  position: relative;
  width: 18%;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUpA 1s forwards;
  z-index: 1;
  margin: 15px;
}
.eventA:nth-child(1) {
  animation-delay: 0.2s;
}
.eventA:nth-child(2) {
  animation-delay: 0.4s;
}
.eventA:nth-child(3) {
  animation-delay: 0.6s;
}
.eventA:nth-child(4) {
  animation-delay: 0.8s;
}
.eventA:nth-child(5) {
  animation-delay: 1s;
}
.eventA::before {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: white;
  border: 4px solid #5bb949;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: bounceA 2s infinite;
}
.eventA .contentA {
  background-color: white;
  border: 1px solid #5bb949;
  border-radius: 6px;
  padding: 20px;
  position: relative;
  top: 20px;
  z-index: 3;
  transition: transform 0.5s, box-shadow 0.5s, background-color 0.5s, color 0.5s;
}
.eventA .yearA {
  font-size: 18px;
  color: #084c7f;
  margin-bottom: 10px;
  font-weight: bold;
}
@keyframes fadeInUpA {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
@keyframes bounceA {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-10px);
  }
  60% {
      transform: translateY(-5px);
  }
}
@keyframes moveCircleA {
  0% {
      left: 10%;
  }
  20% {
      left: 10%;
  }
  40% {
      left: 30%;
  }
  60% {
      left: 50%;
  }
  80% {
      left: 70%;
  }
  100% {
      left: 90%;
  }
}
.moving-circleA {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #5bb949;
  border-radius: 50%;
  top: 10%;
  left: 10%;
  animation: moveCircleA 30s infinite;
  z-index: 4;
}
.eventA.activeA .contentA {
  background: linear-gradient(135deg, #2c3e50, #1078Bf);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: pulseA 1.5s  infinite;
}

.eventA.activeA .yearA {
  color: white;
}

/* Pulse effect for the active card */
@keyframes pulseA {
  0% {
      transform: scale(1.1);
  }
  50% {
      transform: scale(1.15);
  }
  100% {
      transform: scale(1.1);
  }
}



/*  */
.start-stopA {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #5bb949;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.startA {
  left: 0;
}
.stopA {
  right: 0;
}
/* Responsive Design */
/* Responsive Design */
/* Responsive Design */
@media screen and (max-width: 768px) {
  .timelineA {
      flex-direction: column;
      align-items: center;
      padding: 30px; /* Adjusted padding for spacing */
      margin: 50px auto; /* Added margin to separate sections */
  height: auto;
    }

  .timelineA::before {
      width: 6px;
      height: 100%;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
  }

  .eventA {
      width: 90%; /* Cards now occupy almost full width */
      margin-bottom: 40px;
  }

  .eventA::before {
      top: 0;
      left: 50%;
      transform: translate(-50%, -50%);
  }

  .moving-circleA {
      top: auto;
      left: 50%;
      transform: translateX(-50%);
      animation: moveCircleA 30s infinite linear;
  }
}

@media screen and (max-width: 480px) {
  .timelineA {
    height: auto;  
    padding: 20px; /* Reduced padding for smaller screens */
  }

  .eventA .contentA {
      font-size: 0.9rem;
      padding: 15px;
  }

  .eventA.activeA .contentA {
      transform: scale(1.05);
  }

  .moving-circleA {
      width: 15px;
      height: 15px;
  }
}
