.hero-section {
  height: 80vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a3f5f 0%, #2c5282 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/public/images/about/about_outsourcingdev.webp');
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(61, 155, 233, 0.2), transparent 70%);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.container {
  max-width: 1200px;
  margin: 0 auto; 
  padding: 0 20px; 
  box-sizing: border-box; 
  width: 100%;
}

@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-section::after {
    background-position: center 25%;
    background-size: cover;
  }
  
  .hero-text {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
}

.why-partner-section .subtitle {
  color: #6998e1;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .why-partner-section .subtitle {
    font-size: 1.5rem;
  }
}

.why-partner-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f9f9f9;
  position: relative;
  padding: 4rem 0;
}

.why-partner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #78cdb6, #ffe791);
  opacity: 0.02;
}

.why-partner-section .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
}

.why-partner-section h2 {
  margin-bottom: 20px;
  color: #6998e1;
  font-size: 2rem;
}

.benefits-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 30px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.benefit {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
  border: none;
}

@media (max-width: 992px) {
  .benefits-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .benefits-container {
    grid-template-columns: 1fr;
  }
  
  .why-partner-section h2 {
    font-size: 1.5rem; 
  }
}

.benefit:hover::before {
  height: 100%;
  opacity: 0.05;
}

.benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
}

.benefit h3 {
  color: #6998e1;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.benefit h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #78cdb6, #7aa7e1);
}

.benefit p {
  color: #333;
  line-height: 1.6;
  font-size: inherit; 
  line-height: inherit; 
}

.benefit.time-zone {
  background-color: #f7faff;
  color: #333333;
  border-left: none;
}

.benefit.top-quality {
  background-color: #f8fdfc;
  color: #333333;
  border-left: none; 
}

.benefit.experienced-teams {
  background-color: #fefbf2;
  color: #333333;
  border-left: none; 
}

.benefit h3, .benefit p {
  color: #333333;
}

@media (max-width: 768px) {
  .benefits-container {
    grid-template-columns: 1fr; 
    align-items: center;
    gap: 20px;
  }

  .benefit {
    width: 100%;
    margin-bottom: 0; /* Ensure consistent spacing is controlled by gap */
  }

  .why-partner-section h2 {
    font-size: 1.5rem; 
  }
}

.our-story-section {
  position: relative;
  padding: 60px 20px;
  background-color: #f9f9f9 !important; 
  text-align: left;
  max-width: none;
  width: 100%; 
  margin: 0 auto;
  background-image: none;
  position: relative;
}

.our-story-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.our-story-section h2 {
  color: #6998e1;
  text-align: center; 
  margin-bottom: 30px;
  font-weight: bold;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 2;
}

.our-story-section p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: left;
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
}

.our-story-section p strong {
  color: #58dac0;
  font-weight: bold;
}

.our-story-section p em {
  color: #f1d47a;
  font-style: normal;
}

.our-story-section p.highlight {
  color: #6998e1;
  font-weight: bold;
}

@media (max-width: 768px) {
  .our-story-section p {
    text-align: left;
  }
}

.story-timeline {
  position: relative;
  margin: 60px auto;
  max-width: 1000px;
  padding: 20px 0;
}

.story-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #ffe791;
  z-index: 1;
  opacity: 0.8 !important; 
}

.timeline-item {
  position: relative;
  width: 45%;
  margin-bottom: 40px;
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  z-index: 2;
  clear: both;
  opacity: 1 !important;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(odd) {
  float: left;
  text-align: right;
}

.timeline-item:nth-child(even) {
  float: right;
  text-align: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffe791;
  z-index: 3;
  box-shadow: 0 0 0 4px rgba(255, 231, 145, 0.2);
  opacity: 1 !important;
}

.timeline-item:nth-child(odd)::before {
  right: -60px;
}

.timeline-item:nth-child(even)::before {
  left: -60px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 25px;
  width: 40px;
  height: 2px;
  background-color: #ffe791;
  opacity: 0.8 !important; 
}

.timeline-item:nth-child(odd)::after {
  right: -40px;
}

.timeline-item:nth-child(even)::after {
  left: -40px;
}

.timeline-item h3 {
  margin-top: 0;
  color: #6998e1;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.timeline-item p {
  margin-bottom: 0;
  color: #555;
  font-size: 1rem;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 768px) {
  .story-timeline::before {
    left: 30px;
    transform: none;
  }
  
  .timeline-item {
    width: 80%;
    float: none !important;
    margin-left: 70px !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
  
  .timeline-item::before {
    left: -45px !important;
    right: auto !important;
  }
  
  .timeline-item::after {
    left: -26px !important;
    right: auto !important;
    width: 26px;
  }
}

.core-values-section {
  padding: 60px 20px;
  background: none;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background-color: #fff !important;
}

.core-values-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.core-values-section .values-container, 
.core-values-section h2, 
.core-values-section p {
  position: relative;
  z-index: 1;
}

.values-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.value {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 3px solid transparent;
}

.value:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.value:nth-child(1) .value-icon {
  color: #3D9BE9;
}

.value:nth-child(2) .value-icon {
  color: #7accb4;
}

.value:nth-child(3) .value-icon {
  color: #FFD56B;
}

.value:nth-child(4) .value-icon {
  color: #3D9BE9;
}

.value:nth-child(5) .value-icon {
  color: #7accb4;
}

.value:nth-child(6) .value-icon {
  color: #FFD56B;
}

.value:hover .value-icon {
  transform: translateY(-5px);
}

.value h3 {
  color: #6998e1;
  margin: 15px 0;
  position: relative;
  padding-bottom: 15px;
  transition: color 0.3s ease;
}

.value p {
  color: #333;
  font-size: inherit;
  line-height: inherit;
}

.value:hover h3 {
  color: #58dac0;
}

.value h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #78cdb6;
  transition: width 0.4s ease;
}

.value:hover h3::after {
  width: 70px;
  background: linear-gradient(90deg, #3D9BE9, #7accb4, #FFD56B);
}

@media (max-width: 768px) {
  .values-container {
    grid-template-columns: 1fr;
  }
}

.clients-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f8f8;
  opacity: 1 !important;
}

.clients-section h2 {
  margin-bottom: 40px;
  color: #6998e1;
}

.clients-section h2 span {
  color: #f1d47a;
}

.clients-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin: 40px auto;
  opacity: 1 !important; 
}

.clients-logos img {
  width: 200px;
  height: auto;
}

.client-logo {
  max-width: 150px;
  height: auto;
  opacity: 0.85;
  filter: grayscale(1);
  transition: all 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-3px);
}

.testimonials-section {
  padding: 60px 20px;
  background-color: #fff !important;
  text-align: center;
  max-width: none;
  width: 100%; 
  opacity: 1 !important; 
  position: relative;
  padding: 4rem 0;
}

.testimonials-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffe791' fill-opacity='0.05'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.02;
}

.testimonials-section h2,
.testimonials-section .testimonials-container {
  position: relative;
  z-index: 1;
}

.testimonials-section h2 {
  margin-bottom: 40px;
  color: #6998e1;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
  margin: 40px auto;
  max-width: 1200px;
}

.testimonial {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  border-top: 3px solid transparent;
  border-image: linear-gradient(to right, #ffe791, #78cdb6) 1;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
}

.testimonial h3 {
  font-size: 1.2rem;
  color: #6998e1;
  margin-bottom: 10px;
}

.testimonial h3 span {
  display: block;
  font-size: 0.9rem;
  color: #333;
  margin-top: 5px;
}

.testimonial p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.quote-mark {
  font-size: 2rem;
  color: #f1d47a;
  margin-top: 10px;
}

.testimonial::before {
  content: '"';
  font-size: 80px;
  font-family: Georgia, serif;
  color: #ffe791;
  position: absolute;
  top: 20px;
  left: 20px;
  line-height: 0.8;
  opacity: 0.2;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info {
  margin-left: 15px;
}

.testimonial-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #6998e1;
}

.testimonial-info p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #888;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-rating {
  color: #ffe791;
  font-size: 1.2rem;
}

.brands-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.brands-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

@media (max-width: 992px) {
  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .brands-logos img {
    max-width: 120px;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
    margin-bottom: 30px;
  }
  
  .brands-logos {
    gap: 20px;
  }
  
  .brands-logos img {
    max-width: 100px;
  }
  
  .testimonials-section,
  .clients-section,
  .why-partner-section {
    padding: 40px 15px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .values-container, 
  .benefits-container {
    gap: 15px;
  }
  
  .value, .benefit, .testimonial {
    padding: 20px;
    margin-bottom: 15px;
  }
}

html {
  scroll-behavior: smooth;
}

.timeline-item {
  animation: fadeInUp 0.8s backwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.value, .benefit {
  border-radius: 15px;
  overflow: hidden;
  border-bottom: none; /* Remove bottom border */
  transition: all 0.4s ease;
}

.value {
  border-image: linear-gradient(to right, #78cdb6, #7aa7e1) 1;
}

.benefit {
  border-image: none; /* Remove border image */
}

.testimonial {
  border-radius: 12px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(to right, #ffe791, #78cdb6) 1;
  position: relative;
  z-index: 2;
}

.client-logo {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1) translateY(-5px);
}

.value, .benefit, .testimonial {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, box-shadow;
}

.value:hover, .benefit:hover, .testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
}

.value img {
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value:hover img {
  transform: scale(1.15) rotate(5deg);
}

.fade-in-section {
  opacity: 0; 
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .benefits-container,
  .values-container {
    grid-template-columns: 1fr;
  }
  
  .story-timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    margin-left: 60px !important;
    margin-right: 0 !important;
    text-align: left !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #58dac0; 
  }
  
  .timeline-item::before {
    left: -35px !important;
    right: auto !important;
  }
  
  .timeline-item::after {
    left: -26px !important;
    right: auto !important;
  }
  
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }

  .benefit, .testimonial {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .why-partner-section .subtitle {
    font-size: 1.2rem;
  }

  .benefits-container {
    gap: 10px;
  }

  .benefit h3 {
    font-size: 1.2rem;
  }

  .testimonial h3 {
    font-size: 1.2rem;
  }

  section h2 {
    font-size: 1.3rem;
  }

  .value-icon {
    width: 60px;
    height: 60px;
  }
}

section h2 {
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  section h2 {
    font-size: 1.5rem;
  }
}

.centered-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
}

.small-title {
  font-size: 2rem;
}

.section-padding {
  padding: 60px 20px;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #58dac0, #6998e1);
  margin: 0 auto 40px;
}

.brands-section {
  background-color: #f9f9f9 !important;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  padding: 3rem 0;
}

.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 576px) {
  .two-columns {
    grid-template-columns: 1fr;
  }
  
  .section-padding {
    padding: 30px 15px;
  }
  
  .small-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }
  
  .testimonial, .benefit, .value {
    padding: 15px;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
}

.hero-text, .testimonial, .benefit, .value {
  color: #333;
}

.hero-text h1 {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
  .hero-section {
    height: 40vh;
    min-height: 300px;
  }
  
  .value img, .benefit img {
    margin-bottom: 15px;
  }
  
  .section-divider {
    margin-bottom: 20px;
  }
}

.value img, .brands-logos img {
  max-width: 50%;
}

@media (max-width: 375px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }
  
  .hero-text .subtitle {
    font-size: 0.9rem;
  }
  
  .benefit h3, .value h3, .testimonial h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .value, .benefit, .testimonial {
    min-height: 200px;
  }
}

.our-approach-section {
  background: #f9f9f9 !important;
  position: relative;
  padding: 4rem 0;
}

.our-approach-section .container {
  position: relative;
  z-index: 1;
}

.our-approach-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236dc3a1' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 0h20v20H0V0zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm0-1a6 6 0 1 1 0-12 6 6 0 0 1 0 12z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.02;
}

.about-cta-section {
  display: flex;
  justify-content: center;
  padding: 3.5rem 0;
}

.about-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  background-color: #2d4356 !important;
  color: white;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  padding: 2.5rem 2rem;
}

.about-cta-section .cta-button {
  display: inline-block;
  padding: 8px 16px;
  margin-top: 20px;
  border: 2px solid white;
}

.about-cta-section .cta-button:hover {
  background-color: #58dac0;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .about-cta-container {
    max-width: 95vw;
    padding: 1.5rem 10px;
  }
}

.value-proposition {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}
