/* Seamless Automation page styles */
.automation-hero {
  width: 100%;
  background: url('../Media/Images/programming-background-with-html.jpg') center/cover;
  background-attachment: fixed;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.automation-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 42, 102, 0.6);
  z-index: 1;
}

.automation-hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.automation-hero h1 {
  font-size: 68px;
  font-weight: 800;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.automation-hero p {
  font-size: 25px;
  margin: 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .automation-hero {
    padding: 60px 16px;
    min-height: 300px;
  }
  
  .automation-hero h1 {
    font-size: 32px;
  }
  
  .automation-hero p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .automation-hero h1 {
    font-size: 28px;
  }
  
  .automation-hero p {
    font-size: 16px;
  }
}

/* About RPA Section */
.rpa-about-section {
  padding: 0;
  background: #ffffff;
}

.rpa-about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

/* Dark Blue Background Content (Middle to Left) */
.rpa-about-content {
  background: #082a66;
  color: #ffffff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rpa-about-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 24px 0;
  line-height: 1.3;
  color: #ffffff;
}

.rpa-about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 20px 0;
}

.rpa-about-text p:last-child {
  margin-bottom: 0;
}

/* RPA Image (Right to Middle) */
.rpa-about-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rpa-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Design for RPA Section */
@media (max-width: 768px) {
  .rpa-about-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .rpa-about-content {
    padding: 40px 20px;
  }
  
  .rpa-about-title {
    font-size: 28px;
  }
  
  .rpa-about-text p {
    font-size: 15px;
  }
  
  .rpa-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .rpa-about-content {
    padding: 30px 16px;
  }
  
  .rpa-about-title {
    font-size: 24px;
  }
  
  .rpa-about-text p {
    font-size: 14px;
  }
  
  .rpa-image {
    height: 250px;
  }
}

/* RPA Benefits Section */
.rpa-benefits-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.rpa-benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.rpa-benefits-title {
  font-size: 42px;
  font-weight: 800;
  color: #082a66;
  text-align: center;
  margin: 0 0 60px 0;
  line-height: 1.2;
}

.rpa-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.benefit-category {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(8, 42, 102, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(8, 42, 102, 0.15);
}

.benefit-heading {
  font-size: 24px;
  font-weight: 700;
  color: #082a66;
  margin: 0 0 20px 0;
  text-transform: capitalize;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #243249;
  margin: 0 0 12px 0;
  padding-left: 20px;
  position: relative;
}

.benefit-list li:last-child {
  margin-bottom: 0;
}

.benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff6b35;
  font-weight: bold;
  font-size: 16px;
}

/* Responsive Design for Benefits Section */
@media (max-width: 768px) {
  .rpa-benefits-section {
    padding: 60px 0;
  }
  
  .rpa-benefits-container {
    padding: 0 16px;
  }
  
  .rpa-benefits-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  .rpa-benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .benefit-category {
    padding: 25px 20px;
  }
  
  .benefit-heading {
    font-size: 20px;
  }
  
  .benefit-list li {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .rpa-benefits-section {
    padding: 40px 0;
  }
  
  .rpa-benefits-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .benefit-category {
    padding: 20px 15px;
  }
  
  .benefit-heading {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .benefit-list li {
    font-size: 14px;
    margin-bottom: 10px;
  }
}
