/* =========================
   HOMEPAGE-SPECIFIC STYLES ONLY
   ========================= */
/* Only homepage-specific layout, card, and component styles below. No .cta-button, section, container, or table rules. */

/* =========================
   SECTION: LAYOUT & COMPONENTS
   ========================= */

/* Info-graphic Sections */
.info-graphic-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    page-break-inside: avoid;
}
.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);
    border: 1px solid #3A3A5A;
    page-break-inside: avoid;
}
.info-card .icon {
    font-size: 2em;
    color: #00BCD4;
    margin-bottom: 10px;
}
.info-card h4 {
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 5px;
}
.info-card p {
    font-size: 0.9em;
    color: #B0B0B0;
}

/* Process Steps */
.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;
}
.process-step .step-icon {
    font-size: 1.5em;
    color: #FFD700;
    margin-right: 15px;
    flex-shrink: 0;
    width: 1.5em;
    text-align: center;
}
.process-step .step-content h4 {
    margin: 0;
    color: #00BCD4;
}
.process-step .step-content p {
    margin: 5px 0 0;
    font-size: 0.95em;
}

/* Service Cards: Consistent Sizing & Alignment */
.service-card {
    box-sizing: border-box;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,188,212,0.13);
    padding: 32px 28px 26px 28px;
    max-width: 370px;
    width: 320px;
    min-width: 240px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #23233B;
    margin: 0 auto;
    transition: box-shadow 0.2s;
}
.service-card-automation {
    background: linear-gradient(135deg,#23233B 80%,#00BCD4 100%);
}
.service-card-chatbot {
    background: linear-gradient(135deg,#23233B 80%,#FFD700 100%);
}
.service-card-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}
.service-card-header-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.35em;
    color: var(--color-accent);
    margin: 0 0 2px 0;
    text-align: center;
}
.service-icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 8px;
    box-shadow: var(--shadow-glow);
}
.glow-icon {
    box-shadow: 0 0 16px 2px #00BCD4, 0 0 0 0 #FFD700;
}
.service-icon-automation.glow-icon {
    box-shadow: 0 0 16px 2px #00BCD4;
}
.service-icon-chatbot.glow-icon {
    box-shadow: 0 0 16px 2px #FFD700;
}

.service-features-primary, .service-features-secondary {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}
.service-features-secondary {
    margin-bottom: 18px;
}
.service-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    font-size: 1.2em;
    margin-right: 10px;
    color: var(--color-accent);
}
.service-features-primary div, .service-features-secondary div {
    display: flex;
    align-items: center;
    font-size: 1.05em;
    color: #fff;
    text-align: left;
    padding-left: 8px;
}
.service-card-cta {
    margin-top: auto;
    align-self: center;
    width: 80%;
    min-width: 120px;
    max-width: 220px;
    text-align: center;
}

/* =========================
   RESPONSIVE STYLES
   ========================= */

/* Medium Desktops / Large Tablets */
@media (max-width: 900px) {
    .cta-section { padding: 40px 0 32px 0; }
    #hero-headline { font-size: 1.5rem; }
    .achievements-cards-wrapper { gap: 16px; }
    .achievement-card { padding: 20px 8px 16px 8px; }
    .services-cards-wrapper {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    .service-card {
        width: 90vw;
        max-width: 400px;
        min-width: 220px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .info-card {
        flex: 1 1 calc(50% - 20px);
    }
}

/* Small Tablets / Large Mobile Phones */
@media (max-width: 700px) {
    .achievement-card,
    .service-card,
    .timeline-card {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding: 20px 8px !important;
    }
    table {
        font-size: 0.96em !important;
        min-width: 0 !important;
    }
    th, td {
        padding: 10px 8px !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
}

/* Mobile Phones */
@media (max-width: 600px) {
    .info-card {
        flex: 1 1 100%;
        min-width: unset;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    /* Container padding handled by global.css */
}

/* SVG Backgrounds */
.achievements-bg-glow,
.section-bg-svg,
.contact-animated-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    pointer-events: none;
    z-index: 0;
    display: block;
}
@media (max-width: 900px) {
    .achievements-bg-glow,
    .section-bg-svg,
    .contact-animated-svg {
        display: none !important;
    }
}

/* Remove all padding from .timeline-card and .example-card and their direct children, so only inline styles apply */
    .timeline-card,
    .timeline-card > *,
    .example-card,
    .example-card > * {
        padding: unset !important;
    }

