/* =========================
   AI AUTOMATION PAGE-SPECIFIC STYLES ONLY
   ========================= */

/* Only AI automation page-specific component overrides below. No .cta-button, section, container, or table rules */

/* Headings specific to AI Automation page */
#ai-automation h1, 
#ai-automation h3, 
#ai-automation h4 {
    font-family: 'Orbitron', 'Inter', Arial, sans-serif;
    color: #00BCD4;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}
#ai-automation h1 {
    font-size: 2rem;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 1em;
}
#ai-automation h3 {
    font-size: 1.2rem;
    color: #FFD700;
}
#ai-automation h4 {
    font-size: 1.05rem;
    color: #E0E0E0;
    margin-top: 1.5em;
}

/* Intro and details lists */
#ai-automation-intro ul,
#ai-automation-details ul {
    margin-left: 1.5em;
    margin-bottom: 1em;
}
#ai-automation-intro li,
#ai-automation-details li {
    margin-bottom: 0.5em;
}

/* Info-graphic section and cards */
#ai-automation .info-graphic-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 2em;
    page-break-inside: avoid;
}
#ai-automation .info-card {
    background-color: #2C2C4A;
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.2);
    text-align: center;
    border: 1px solid #3A3A5A;
    page-break-inside: avoid;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}
#ai-automation .info-card:hover {
    box-shadow: 0 8px 32px rgba(0,188,212,0.22), 0 0 0 2px #FFD700;
}
#ai-automation .info-card .icon {
    font-size: 2em;
    color: #00BCD4;
    margin-bottom: 10px;
}
#ai-automation .info-card h4 {
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 5px;
}
#ai-automation .info-card p {
    font-size: 0.9em;
    color: #B0B0B0;
}
@media (max-width: 900px) {
    #ai-automation .info-graphic-section {
        flex-direction: column;
        align-items: stretch;
    }
    #ai-automation .info-card {
        flex: 1 1 100%;
        min-width: unset;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    #ai-automation .info-card {
        flex: 1 1 calc(50% - 20px);
    }
}
@media (max-width: 600px) {
    #ai-automation .info-card {
        flex: 1 1 100%;
        min-width: unset;
    }
}

/* Feature and tools lists */
#ai-automation .feature-list ul,
#ai-automation .tools-list ul {
    margin-left: 1.5em;
    margin-bottom: 1em;
}
#ai-automation .feature-list li,
#ai-automation .tools-list li {
    margin-bottom: 0.5em;
}

/* Process steps */
#ai-automation .process-step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: #2C2C4A;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.1);
    page-break-inside: avoid;
    min-width: 220px;
    max-width: 350px;
    flex: 1 1 250px;
}
#ai-automation .process-step .step-icon,
#ai-automation .step-icon {
    font-size: 1.5em;
    color: #FFD700;
    margin-right: 15px;
    flex-shrink: 0;
    width: 1.5em;
    text-align: center;
}
#ai-automation .process-step .step-content h4,
#ai-automation .step-content h4 {
    margin: 0;
    color: #00BCD4;
    font-size: 1.1em;
}
#ai-automation .process-step .step-content p,
#ai-automation .step-content p {
    margin: 5px 0 0;
    font-size: 0.95em;
}

@media (max-width: 900px) {
    #ai-automation .process-step {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    #ai-automation .info-graphic-section, 
    #ai-automation .process-step {
        gap: 10px;
    }
}

/* Animation classes scoped to AI Automation page only */
#ai-automation .fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s; }
#ai-automation .fade-in.visible { opacity: 1; transform: translateY(0); }

#ai-automation .fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
#ai-automation .fade-in-up.visible { opacity: 1; transform: translateY(0); }

#ai-automation .slide-in-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.7s, transform 0.7s; }
#ai-automation .slide-in-left.visible { opacity: 1; transform: translateX(0); }

#ai-automation .slide-in-right { opacity: 0; transform: translateX(60px); transition: opacity 0.7s, transform 0.7s; }
#ai-automation .slide-in-right.visible { opacity: 1; transform: translateX(0); }

#ai-automation .zoom-in { opacity: 0; transform: scale(0.85); transition: opacity 0.7s, transform 0.7s; }
#ai-automation .zoom-in.visible { opacity: 1; transform: scale(1); }

.ai-automation-section {
    padding: 40px 0;
    margin-bottom: 32px;
}
.ai-automation-card {
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,188,212,0.10);
    padding: 32px 20px 24px 20px;
    text-align: center;
    margin-bottom: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.ai-automation-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,188,212,0.18);
}
.ai-automation-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    text-shadow: 0 0 12px #00BCD4, 0 0 24px #00BCD4;
    margin-bottom: 12px;
    animation: glowPulse 2.5s infinite alternate;
}

/* Typewriter animation for section headings */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #222;
  animation: typing 2.2s steps(40, end), blink-caret 0.7s step-end infinite;
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin: 0 auto 1.5rem auto;
  max-width: 100vw;
}

/* Hide the text initially for scroll-triggered animation */
.typewriter {
  opacity: 0;
  transition: opacity 0.2s;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.typewriter.typewriter-animate {
  opacity: 1;
  animation: typing 2.2s steps(40, end), blink-caret 0.7s step-end infinite;
  border-right: 2px solid #222;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
h2.typewriter,
h2.typewriter.typewriter-animate {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  border-image: none !important;
  background-image: none !important;
  background: none !important;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #222; }
}
@media (max-width: 600px) {
  .typewriter {
    font-size: 1.2rem;
  }
}

/* Responsive styles for AI Automation Hero Section */
#ai-hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin: 2.5rem 0;
  padding: 2.5rem 1.5rem;
  background: rgba(24,24,47,0.82);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0,230,255,0.18),0 1px 8px 0 #FFD70022;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}
#ai-hero-animation {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ai-automation-svg {
  width: 100%;
  height: auto;
  max-width: 340px;
  min-width: 220px;
}
#ai-hero-section > div:last-child {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 1rem;
}
@media (max-width: 900px) {
  #ai-hero-section {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0.5rem;
  }
  #ai-hero-animation {
    max-width: 320px;
  }
  #ai-automation-svg {
    max-width: 320px;
    min-width: 180px;
  }
  #ai-hero-section > div:last-child {
    max-width: 100%;
    align-items: center;
    padding: 0 0.5rem;
  }
}
@media (max-width: 600px) {
  #ai-hero-section {
    padding: 1.2rem 0.2rem;
    gap: 1rem;
    border-radius: 14px;
  }
  #ai-hero-animation {
    max-width: 98vw;
    min-width: 120px;
  }
  #ai-automation-svg {
    max-width: 98vw;
    min-width: 120px;
  }
  #ai-hero-section > div:last-child {
    padding: 0 0.2rem;
  }
  #ai-hero-section h2 {
    font-size: 1.2rem !important;
    text-align: center;
  }
  #ai-hero-section p {
    font-size: 0.98rem !important;
    padding: 14px 10px 12px 10px !important;
  }
  #ai-hero-section ul {
    font-size: 0.95rem !important;
    padding-left: 1em;
  }
}
@media (max-width: 400px) {
  #ai-automation-svg {
    max-width: 92vw;
    min-width: 80px;
  }
  #ai-hero-section h2 {
    font-size: 1rem !important;
  }
}