/* Custom CSS for RPA Implementation Services */

:root {
  --primary-color: #1A584F;
  --secondary-color: #E8EBE5;
  --text-light: #ffffff;
  --text-dark: #333333;
  --accent-color: #FFC107;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Background Decoration */
.bg-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.bg-circle-1 {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  opacity: 0.05;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

.bg-circle-2 {
  position: absolute;
  bottom: 20px;
  left: 10px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  opacity: 0.05;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-color);
  padding: 6rem 1.5rem;
  position: relative;
  color: var(--text-light);
}

.hero-decoration-square {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
}

.hero-decoration-circle {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.badge-custom {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.highlight-text {
  background: linear-gradient(to right, #FFC107, #FFDC62, #FFA000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.highlight-text:hover {
  transform: scale(1.05);
}

.hero-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 3.5rem;
  }
}

@media (min-width: 992px) {
  .hero-heading {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.btn-primary-custom {
  background-color: white;
  color: black;
  font-weight: 500;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
}

.btn-primary-custom:hover {
  background-color: #f8f9fa;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-icon {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.btn-primary-custom:hover .btn-icon {
  transform: translateX(4px);
}

.hero-image-container {
  position: relative;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .hero-image-container {
    margin-top: 0;
  }
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1));
  border-radius: 1rem;
  backdrop-filter: blur(4px);
}

.hero-image {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1;
}

.hero-image-decoration {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 96px;
  height: 96px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Benefits Section */
.benefits-section {
  background-color: var(--secondary-color);
  padding: 6rem 1.5rem;
  position: relative;
}

.section-separator {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, #CCCCCC, transparent);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.section-heading {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: var(--primary-color);
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 3rem;
  }
}

.gradient-text {
  background: linear-gradient(to right, #1A584F, #26806F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-description {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  height: 100%;
}

.benefit-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-8px);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  margin-bottom: 1.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Process Section */
.process-section {
  background-color: white;
  padding: 6rem 1.5rem;
  position: relative;
}

.process-card {
  background-color: white;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  overflow: hidden;
}

.process-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.process-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background-color: var(--primary-color);
  color: white;
}

.process-phase {
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 0.25rem;
}

.process-title {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.process-duration {
  font-size: 0.875rem;
  color: #6B7280;
}

.process-subtitle {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* CTA Sections */
.cta-section {
  background-color: var(--primary-color);
  padding: 4rem 1.5rem;
  position: relative;
}

.cta-heading {
  color: white;
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cta-heading {
    font-size: 2.25rem;
  }
}

/* Tech Stack Section */
.tech-stack-section {
  background-color: var(--secondary-color);
  padding: 6rem 1.5rem;
  position: relative;
}

.tech-card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  height: 100%;
}

.tech-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.tech-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: var(--primary-color);
  color: white;
}

.tech-category {
  font-size: 1.125rem;
  color: var(--primary-color);
}

.tech-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tech-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color);
  flex-shrink: 0;
}

/* Use Cases Section */
.use-cases-section {
  background-color: white;
  padding: 6rem 1.5rem;
  position: relative;
}

.use-case-card {
  background-color: white;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  height: 100%;
}

.use-case-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-8px);
}

.use-case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  margin-bottom: 1.5rem;
}

.use-case-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Comparison Section */
.comparison-section {
  background-color: var(--secondary-color);
  padding: 6rem 1.5rem;
  position: relative;
}

.comparison-card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.comparison-table-header {
  background-color: var(--primary-color);
  color: white;
}

.comparison-check {
  color: #22C55E;
}

/* FAQ Section */
.faq-section {
  background-color: white;
  padding: 6rem 1.5rem;
  position: relative;
}

.faq-card {
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  margin-bottom: 1rem;
}

.faq-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.faq-button {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background-color: transparent;
  transition: background-color 0.3s;
}

.faq-button:hover {
  background-color: #F9FAFB;
}

.faq-question {
  font-size: 1.125rem;
  color: var(--primary-color);
  padding-right: 1rem;
}

.faq-icon {
  color: #9CA3AF;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.6;
  color: #4B5563;
}

/* Final CTA Section */
.final-cta-section {
  background-color: var(--primary-color);
  padding: 6rem 1.5rem;
  position: relative;
}

.final-decoration-square {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: rotate(12deg);
}

.final-decoration-square-2 {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  transform: rotate(45deg);
}

/* Image with Fallback */
.image-error-container {
  display: inline-block;
  background-color: #F3F4F6;
  text-align: center;
  vertical-align: middle;
}

.image-error-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Bootstrap Overrides */
.card-body {
  padding: 1.5rem;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-color);
}

.bg-primary-custom {
  background-color: var(--primary-color);
}

.bg-secondary-custom {
  background-color: var(--secondary-color);
}
