.about-section {
  padding: 100px 0;
  /* background: url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&q=80') no-repeat center/cover; */
  /* position: relative; */
  isolation: isolate;
}

.about-section::before {
  content: "";
  position: absolute;
  /* inset: 0;
  background: rgba(0, 0, 0, 0.4); */
  z-index: 1;
}

.about-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-in-out;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #f8f9fa;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease-in-out 0.3s forwards;
  opacity: 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.about-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #fff;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.about-text {
  flex: 1;
  color: #fff;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ff6f61;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #021425;
}

.about-img {
  flex: 1;
  overflow: hidden;
  border-radius: 15px;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.5s ease-in-out;
}

.about-img:hover img {
  transform: scale(1.1);
}

.about-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-item {
    flex-direction: column;
    text-align: center;
  }

  .about-item:nth-child(even) {
    flex-direction: column;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .about-text h3 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 100px 0;
  background: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&q=80")
    no-repeat center/cover;
  position: relative;
  isolation: isolate;
  text-align: center;
  color: #fff;
}

.why-choose-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.why-choose-us .container {
  position: relative;
  z-index: 2;
}

.why-choose-us h2 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.why-choose-us p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: scale(1.03);
}

.team-card img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.1);
}

.team-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 15px;
  text-align: center;
  transition: bottom 0.5s ease;
}

.team-card:hover .team-info {
  bottom: 0;
}

.bts-img {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.4s ease-in-out;
}

.bts-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.bts-img:hover img {
  transform: scale(1.1);
}

.bts-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.bts-img:hover .bts-overlay {
  transform: translateY(0);
}

.bts-img {
  position: relative;
  overflow: hidden;
}

.bts-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.bts-img:hover .bts-overlay {
  transform: translateY(0);
}

.bts-desc {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.choose-box {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.choose-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.choose-icon {
  font-size: 2rem;
  color: #28a745;
  margin-bottom: 15px;
}

.testimonial-box {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: opacity 1s ease;
  text-align: center;
  min-height: 320px;
  max-width: 600px;
  margin: auto;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
}

.testimonial-author {
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #ddd;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: #fff;
}

.services-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.75rem;
  margin-bottom: 15px;
  color: #ff6f61;
}

.service-card p {
  font-size: 1rem;
  color: #666;
}

/* Process Section */
.process-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.process-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}

.process-step {
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.process-step.active {
  opacity: 1;
  transform: translateY(0);
}

.process-step i {
  font-size: 2.5rem;
  color: #ff6f61;
  margin-bottom: 15px;
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 1rem;
  color: #666;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease-in-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .why-choose-us h2 {
    font-size: 2.5rem;
  }

  .why-choose-us p {
    font-size: 1rem;
  }

  .services-section h2,
  .process-section h2 {
    font-size: 2.5rem;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }
}
