/* industries.css */

/* Import Contact Hero Styles */
.contact-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 150px 40px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
}

.contact-hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 25px;
  background: linear-gradient(to right, var(--light), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  overflow: hidden;
}

.tagline {
  font-size: 14px;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 30px;
  animation: fadeIn 1s ease;
}

.description {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1.5s ease;
}

/* WHITE THEME STYLES for Industries Page */
.white-theme {
  background: white !important;
  color: #333 !important;
}

.white-theme .section-bg.industries-bg,
.white-theme .section-bg.interactive-bg,
.white-theme .section-bg.comparison-bg,
.white-theme .section-bg.cta-bg {
  display: none !important;
}

.white-theme .industry-card,
.white-theme .interactive-card,
.white-theme .comparison-item,
.white-theme .stat-card,
.white-theme .demo-area,
.white-theme .cta-container {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  color: #333 !important;
}

.white-theme .section-title h2,
.white-theme .section-title h3,
.white-theme .industry-card h3,
.white-theme .interactive-card h3,
.white-theme .comparison-title span,
.white-theme .stat-label,
.white-theme .cta-container h2 {
  color: #333 !important;
}

.white-theme .section-title p,
.white-theme .industry-card p,
.white-theme .interactive-card p,
.white-theme .industry-features li,
.white-theme .comparison-column li,
.white-theme .cta-container p {
  color: #666 !important;
}

.white-theme .industry-icon,
.white-theme .interactive-icon,
.white-theme .comparison-icon,
.white-theme .stat-icon {
  background: rgba(59, 130, 246, 0.1) !important;
  color: var(--primary) !important;
}

.white-theme .industry-link,
.white-theme .industry-features li i,
.white-theme .comparison-column li i.fa-check {
  color: var(--primary) !important;
}

.white-theme .comparison-column li i.fa-times {
  color: #dc3545 !important;
}

.white-theme .comparison-column {
  background: rgba(248, 249, 250, 0.8) !important;
  border: 1px solid #dee2e6 !important;
}

.white-theme .comparison-column h4 {
  color: var(--primary) !important;
}

.white-theme .stat-value {
  color: var(--primary) !important;
}

.white-theme .industry-card:hover,
.white-theme .interactive-card:hover,
.white-theme .comparison-item:hover,
.white-theme .stat-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: #dee2e6 !important;
}

.white-theme .comparison-toggle {
  background: white !important;
  border: 1px solid #dee2e6 !important;
  color: #666 !important;
}

.white-theme .comparison-toggle:hover {
  background: var(--primary) !important;
  color: white !important;
}

/* Backgrounds for Industries (Dark mode only) */
.industries-bg {
  background: radial-gradient(
      circle at 30% 30%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(139, 92, 246, 0.08) 0%,
      transparent 40%
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: gradientShift 22s ease infinite;
}

.interactive-bg {
  background: radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(139, 92, 246, 0.08) 0%,
      transparent 40%
    ),
    linear-gradient(90deg, rgba(15, 23, 42, 0.7) 0%, transparent 50%);
  background-size: 180% 180%;
  animation: gradientFlow 25s ease infinite;
}

.comparison-bg {
  background: radial-gradient(
      circle at 50% 20%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 40%
    ),
    linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, transparent 50%);
  background-size: 160% 160%;
  animation: gradientPulse 18s ease infinite;
}

/* ====================== SPACING FIXES ====================== */

/* Section Title Spacing Improvements */
.section-title {
  text-align: center;
  margin-bottom: 60px; /* Increased from default */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: 40px;
  margin-bottom: 20px; /* Increased spacing */
  color: #333;
  font-weight: 700;
  line-height: 1.2;
}

.section-title p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

/* Industries Section - Better Spacing */
.industries {
  padding: 120px 40px; /* Increased padding */
  position: relative;
}

.industries-container {
  max-width: 1400px;
  margin: 0 auto;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px; /* Increased gap between cards */
  margin-top: 40px; /* Added margin from title */
}

.industry-card {
  background: var(--secondary);
  border-radius: 20px;
  padding: 50px 40px; /* Increased padding */
  transition: all 0.4s ease;
  border: 1px solid #334155;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.industry-icon {
  font-size: 52px; /* Increased icon size */
  color: var(--primary);
  margin-bottom: 30px; /* Increased margin */
  transition: all 0.4s ease;
}

.industry-card h3 {
  font-size: 26px; /* Slightly larger */
  margin-bottom: 20px; /* Increased margin */
  transition: color 0.3s ease;
  line-height: 1.3;
}

.industry-card p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 25px; /* Increased margin */
  flex-grow: 1;
  font-size: 16px;
}

.industry-features {
  list-style: none;
  margin-bottom: 35px; /* Increased margin */
}

.industry-features li {
  color: var(--gray);
  margin-bottom: 12px; /* Increased spacing between list items */
  display: flex;
  align-items: flex-start;
  gap: 12px; /* Increased gap */
  font-size: 15px;
  line-height: 1.5;
}

.industry-link {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px; /* Increased gap */
  transition: all 0.3s ease;
  margin-top: auto;
  padding-top: 20px; /* Added padding above link */
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* Added separator */
  font-size: 16px;
}

.industry-link:hover {
  gap: 15px; /* Larger gap on hover */
}

/* Interactive Elements Section - Better Spacing */
.interactive-section {
  padding: 120px 40px; /* Increased padding */
  position: relative;
}

.interactive-container {
  max-width: 1400px;
  margin: 0 auto;
}

.interactive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px; /* Increased gap */
  margin-top: 40px; /* Added margin from title */
  margin-bottom: 100px; /* Increased space before demo area */
}

.interactive-card {
  background: var(--secondary);
  border-radius: 20px;
  padding: 50px 40px; /* Increased padding */
  transition: all 0.4s ease;
  border: 1px solid #334155;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  min-height: 350px; /* Added min-height for consistency */
}

.interactive-icon {
  width: 110px; /* Increased size */
  height: 110px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px; /* Increased margin */
  font-size: 44px; /* Larger icon */
  color: var(--primary);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.interactive-card h3 {
  font-size: 26px; /* Larger font */
  margin-bottom: 20px; /* Increased margin */
  transition: color 0.3s ease;
  line-height: 1.3;
}

.interactive-card p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 0;
}

/* Demo Area Spacing */
.demo-area {
  padding: 50px;
  background: var(--secondary);
  border-radius: 20px;
  border: 1px solid #334155;
  margin-top: 40px;
}

.demo-area .section-title {
  margin-bottom: 40px;
}

.demo-area .section-title h3 {
  font-size: 32px;
  margin-bottom: 15px;
}

/* Interactive Comparison Section - Better Spacing */
.comparison-section {
  padding: 120px 40px; /* Increased padding */
  position: relative;
}

.comparison-container {
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px; /* Increased gap between items */
  margin-top: 40px; /* Added margin from title */
}

.comparison-item {
  background: var(--secondary);
  border-radius: 20px;
  padding: 40px; /* Increased padding */
  transition: all 0.4s ease;
  border: 1px solid #334155;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px; /* Increased margin */
}

.comparison-title {
  font-size: 26px; /* Larger font */
  display: flex;
  align-items: center;
  gap: 20px; /* Increased gap */
}

.comparison-icon {
  width: 60px; /* Larger icon container */
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px; /* Larger icon */
  color: var(--primary);
  transition: all 0.4s ease;
}

.comparison-toggle {
  background: var(--dark);
  border: 1px solid #334155;
  border-radius: 50px;
  padding: 12px 30px; /* Larger button */
  color: var(--gray);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.comparison-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; /* Increased gap */
  padding-top: 20px; /* Added padding */
}

.comparison-column {
  padding: 30px; /* Increased padding */
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
}

.comparison-column h4 {
  font-size: 20px; /* Larger font */
  margin-bottom: 20px; /* Increased margin */
  color: var(--primary-light);
  font-weight: 600;
}

.comparison-column ul {
  list-style: none;
}

.comparison-column li {
  color: var(--gray);
  margin-bottom: 15px; /* Increased spacing */
  display: flex;
  align-items: flex-start;
  gap: 12px; /* Increased gap */
  font-size: 15px;
  line-height: 1.5;
}

.comparison-column li i {
  margin-top: 5px;
  flex-shrink: 0;
  font-size: 16px;
}

/* Interactive Stats Section - Better Spacing */
.stats-section {
  padding: 120px 40px; /* Increased padding */
  position: relative;
  background: var(--secondary);
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px; /* Increased gap */
  margin-top: 40px; /* Added margin from title */
}

.stat-card {
  background: var(--dark);
  border-radius: 20px;
  padding: 50px 40px; /* Increased padding */
  transition: all 0.4s ease;
  border: 1px solid #334155;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  min-height: 280px; /* Added min-height for consistency */
}

.stat-icon {
  width: 90px; /* Larger icon */
  height: 90px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px; /* Increased margin */
  font-size: 36px; /* Larger icon */
  color: var(--primary);
  transition: all 0.4s ease;
}

.stat-value {
  font-size: 56px; /* Larger font */
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 15px; /* Increased margin */
  transition: all 0.4s ease;
  line-height: 1;
}

.stat-label {
  color: var(--gray);
  font-size: 20px; /* Larger font */
  line-height: 1.4;
}

/* ====================== CTA SECTION - EXACT COPY FROM SERVICES PAGE ====================== */

/* CTA Section Background */
.cta-bg {
  background: radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(139, 92, 246, 0.08) 0%,
      transparent 40%
    ),
    linear-gradient(90deg, rgba(15, 23, 42, 0.7) 0%, transparent 50%);
  background-size: 180% 180%;
  animation: gradientFlow 25s ease infinite;
}

/* CTA Section - White Theme */
.cta-section.white-theme {
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
  background: white !important;
}

.cta-section.white-theme .cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  text-align: center;
}

.cta-section.white-theme h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #333 !important;
}

.cta-section.white-theme p {
  font-size: 20px;
  margin-bottom: 40px;
  color: #666 !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section.white-theme .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* CTA Button - Exact copy from services page */
.cta-section.white-theme .cta-button {
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-light)
  ) !important;
  color: white !important;
  text-decoration: none;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
  position: relative;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.cta-section.white-theme .cta-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5) !important;
  background: linear-gradient(
    90deg,
    var(--primary-light),
    var(--primary)
  ) !important;
  color: white !important;
}

/* Add animation keyframes if not already in your CSS */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ====================== RESPONSIVE SPACING ====================== */

@media (max-width: 1200px) {
  .industries-container {
    gap: 50px;
  }

  .cta-section.white-theme h2 {
    font-size: 38px;
  }
}

@media (max-width: 992px) {
  .comparison-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .industries,
  .interactive-section,
  .comparison-section,
  .stats-section,
  .cta-section {
    padding: 100px 30px;
  }

  .cta-section.white-theme {
    padding: 80px 40px;
  }

  .cta-section.white-theme h2 {
    font-size: 34px;
  }

  .cta-section.white-theme p {
    font-size: 18px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 130px 20px 60px;
  }

  .contact-hero h1 {
    font-size: 36px;
  }

  .industries,
  .interactive-section,
  .comparison-section,
  .stats-section,
  .cta-section {
    padding: 80px 20px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .industry-card {
    padding: 40px 30px;
  }

  .industry-icon {
    font-size: 48px;
    margin-bottom: 25px;
  }

  .industry-card h3 {
    font-size: 24px;
  }

  .interactive-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .interactive-card {
    padding: 40px 30px;
    min-height: 320px;
  }

  .interactive-icon {
    width: 100px;
    height: 100px;
    font-size: 40px;
    margin-bottom: 25px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-card {
    padding: 40px 30px;
    min-height: 250px;
  }

  .stat-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
    margin-bottom: 20px;
  }

  .stat-value {
    font-size: 48px;
  }

  .stat-label {
    font-size: 18px;
  }

  .cta-section.white-theme .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .cta-section.white-theme h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .cta-section.white-theme p {
    font-size: 17px;
    margin-bottom: 35px;
  }

  .cta-section.white-theme .cta-button {
    width: 100%;
    max-width: 300px;
    padding: 16px 30px !important;
  }

  .comparison-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .comparison-toggle {
    align-self: flex-start;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 42px;
  }

  .stat-label {
    font-size: 18px;
  }

  .cta-section.white-theme h2 {
    font-size: 28px;
  }

  .cta-section.white-theme p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .section-title p {
    font-size: 16px;
  }
}