/* ========================================
   GO DIGITAL PAGE STYLES
   ======================================== */

/* Page Background */
body.body {
  background-color: rgb(246, 245, 251);
}

/* Background Pattern */
.pattern-bg {
  background-image: url('../images/pattern-pages.svg');
  background-position: 50% 0px;
  background-repeat: no-repeat;
  background-size: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
}

/* Container Width Override */
.container-regular {
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Hero Section */
.go-digital-hero {
  padding: 120px 0 60px;
  background-color: transparent;
  text-align: center;
}

.go-digital-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.go-digital-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  color: #6366f1;
  margin-bottom: 24px;
}

.go-digital-subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
}

/* Workflow Subtitle Section */
.workflow-subtitle-section {
  padding: 80px 0 40px;
  text-align: center;
}

.workflow-subtitle {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.4;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
}

/* Workflow Diagram Section */
.workflow-diagram-section {
  padding: 40px 0 80px;
}

.workflow-diagram {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.workflow-diagram-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Features Section */
.features-section {
  padding: 60px 0;
  background: #f9fafb;
}

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

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-number {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: #8b5cf6;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image-wrapper {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 16px;
}

.feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 12px;
}

.feature-description:last-child {
  margin-bottom: 0;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: #fff;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-form-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 20px;
}

.contact-form-description {
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 24px;
}

.contact-form-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-form-benefits li {
  font-size: 15px;
  color: #374151;
  margin-bottom: 12px;
  font-weight: 500;
}

.contact-form-container {
  background: #f9fafb;
  border-radius: 16px;
  padding: 32px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-submit-button {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #6366f1;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.form-submit-button:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}

.form-submit-button:active {
  transform: translateY(0);
}

/* Endorsement Section */
.endorsement-section {
  padding: 60px 0 40px;
  text-align: center;
  background: #f9fafb;
}

.endorsement-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #9ca3af;
  text-transform: uppercase;
}

/* Logo Slider Section */
.logo-slider-section {
  padding: 0 0 80px;
  background: #f9fafb;
  overflow: hidden;
}

.logo-slider-wrapper {
  width: 100%;
  overflow: hidden;
}

/* Override the legacy slider hiding rule for go-digital page */
.logo-slider-section .logo-slider {
  display: flex !important;
  align-items: center;
  gap: 60px;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.client-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Footer */
.footer {
  padding: 80px 0 60px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 24px;
  max-width: 400px;
}

.footer-copyright {
  font-size: 13px;
  color: #9ca3af;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-link {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #111827;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .go-digital-title {
    font-size: 42px;
  }

  .workflow-subtitle {
    font-size: 28px;
  }

  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 767px) {
  .go-digital-hero {
    padding: 80px 0 40px;
  }

  .go-digital-title {
    font-size: 32px;
  }

  .go-digital-subtitle {
    font-size: 16px;
  }

  .workflow-subtitle {
    font-size: 22px;
    padding: 0 20px;
  }

  .workflow-diagram {
    padding: 20px;
  }

  /* 2 columns on mobile for better readability */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 20px;
  }

  .feature-card {
    padding: 16px;
  }

  .feature-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
    top: 12px;
    left: 12px;
  }

  .feature-image-wrapper {
    margin-bottom: 12px;
  }

  .feature-title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .feature-description {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .contact-form-title {
    font-size: 24px;
  }

  .contact-form-section {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 0 4px;
  }

  .contact-form-container {
    padding: 24px;
  }

  .logo-slider {
    gap: 40px;
  }

  .client-logo {
    height: 40px;
  }

  .footer {
    padding: 60px 0 40px;
  }
}

/* Extra small mobile - adjust for very narrow screens */
@media screen and (max-width: 479px) {
  .features-grid {
    gap: 12px;
    padding: 0 16px;
  }

  .feature-card {
    padding: 12px;
  }

  .feature-title {
    font-size: 13px;
  }

  .feature-description {
    font-size: 10px;
  }

  .contact-form-container {
    padding: 16px;
  }
}
