/* Automation page overrides and sections */

.nav-active {
    color: var(--secondary-color, #FFA500) !important;
    font-weight: 600;
}

.navbar .logo {
    text-decoration: none;
    color: inherit;
}

/* Automation Hero */
.automation-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #FFD700 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    padding: 120px 0 80px;
}

.automation-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.automation-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.automation-hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.automation-hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

/* Automation Promise */
.automation-promise {
    background: var(--light-color);
    padding: 60px 0;
}

.promise-content {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.promise-content h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.promise-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.promise-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    font-size: 1rem;
    color: var(--text-color);
}

.promise-list span:nth-child(odd) {
    font-weight: 500;
}

.promise-list span:nth-child(even) {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.product-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-card li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-color);
}

.product-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    background: var(--light-color);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.35rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.solution-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Automation CTA */
.automation-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.cta-box .btn {
    background: white;
    color: var(--dark-color);
}

.cta-box .btn:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .automation-hero-title {
        font-size: 2rem;
    }

    .automation-hero-subtitle {
        font-size: 1.1rem;
    }

    .promise-content h2 {
        font-size: 1.6rem;
    }

    .products-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .automation-hero-title {
        font-size: 1.75rem;
    }

    .promise-list {
        flex-direction: column;
        align-items: center;
    }

    .promise-list span:nth-child(even) {
        display: none;
    }
}
