    /* =====================================================================
   service-page.css  (API Integration Services Trichy)
   Scoped stylesheet — all classes prefixed with `ai-`.
   No body{}, *{}, or font-family rules used — inherits theme typography.
   Alternating pure #ffffff / #000000 section backgrounds as required.
===================================================================== */

.ai-container { width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.ai-section { padding: 64px 0; }
.ai-section--white { background-color: #ffffff; }
.ai-section--dark { background-color: #000000; }
.ai-mt-24 { margin-top: 24px; }
.ai-faq-item__question {
    cursor: pointer;
}

.ai-faq-item__answer {
    cursor: pointer;
}
/* Breadcrumb */
.ai-breadcrumb { padding: 16px 0; background-color: #c5ffbc; border-bottom: 1px solid #e5e7ec; }
.ai-breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; gap: 8px; }
.ai-breadcrumb__item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6b6f7b; }
.ai-breadcrumb__item:not(:last-child)::after { content: "›"; margin-left: 8px; color: #a7abb5; }
.ai-breadcrumb__link { color: #6b6f7b; text-decoration: none; transition: color 0.25s ease; }
.ai-breadcrumb__link:hover { color: #91d904; }
.ai-breadcrumb__item--active { color: #1a1a1a; font-weight: 600; }

/* Typography (light) */
.ai-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700; color: #91d904; margin-bottom: 12px; }
.ai-h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.2; font-weight: 800; color: #14161b; margin: 0 0 16px; }
.ai-h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.25; font-weight: 700; color: #14161b; margin: 0 0 18px; }
.ai-h3 { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; font-weight: 700; color: #14161b; margin: 0 0 12px; }
.ai-h4 { font-size: 17px; line-height: 1.35; font-weight: 700; color: #14161b; margin: 0 0 8px; }
.ai-paragraph { font-size: 16px; line-height: 1.75; color: #4b4f5a; text-align: justify; margin: 0 0 14px; }
.ai-hero-block__tagline { font-size: 18px; font-weight: 600; color: #3b3f47; text-align: justify; margin-bottom: 20px; }

/* Typography (dark) */
.ai-section--dark .ai-h1, .ai-section--dark .ai-h2, .ai-section--dark .ai-h3, .ai-section--dark .ai-h4 { color: #ffffff; }
.ai-section--dark .ai-paragraph, .ai-section--dark .ai-hero-block__tagline { color: #c9cbd1; }
.ai-section--dark .ai-breadcrumb__link { color: #c9cbd1; }

/* Flow text */
.ai-flow-text { font-size: 15px; font-weight: 600; color: #26282f; background-color: #c5ffbc; border-left: 4px solid #91d904; border-radius: 10px; padding: 14px 18px; margin: 0 0 16px; line-height: 1.7; }
.ai-flow-text--dark { background-color: #16181d; color: #eef8dc; border-left-color: #91d904; }

/* Section headings */
.ai-section-heading { margin-bottom: 36px; }
.ai-section-heading--center { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.ai-section-heading--center .ai-paragraph { text-align: center; }

/* Hero */
.ai-hero-block__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.ai-hero-block__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* Buttons */
.ai-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.03em; transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; border: 2px solid transparent; cursor: pointer; }
.ai-btn--primary { background-color: #91d904; color: #0e1207; box-shadow: 0 8px 20px rgba(145, 217, 4, 0.28); }
.ai-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(145, 217, 4, 0.38); }
.ai-btn--outline { background-color: transparent; color: #14161b; border-color: #14161b; }
.ai-btn--outline:hover { background-color: #14161b; color: #ffffff; transform: translateY(-2px); }
.ai-section--dark .ai-btn--outline { color: #ffffff; border-color: #ffffff; }
.ai-section--dark .ai-btn--outline:hover { background-color: #ffffff; color: #000000; }

/* Images / Split */
.ai-img-rounded { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 20px 45px rgba(20, 22, 27, 0.12); object-fit: cover; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.ai-img-rounded:hover { transform: translateY(-6px); box-shadow: 0 26px 55px rgba(20, 22, 27, 0.18); }
.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 28px; }
.ai-split--content-left .ai-split__content { order: 1; }
.ai-split--content-left .ai-split__image { order: 2; }

/* Content cards */
.ai-content-card { background-color: #ffffff; border: 1px solid #ecedf1; border-radius: 18px; padding: 32px; margin-bottom: 28px; box-shadow: 0 10px 30px rgba(20, 22, 27, 0.04); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.ai-content-card:hover { box-shadow: 0 16px 40px rgba(20, 22, 27, 0.08); transform: translateY(-3px); }
.ai-content-card:last-child { margin-bottom: 0; }
.ai-section--dark .ai-content-card { background-color: #111318; border-color: #24272f; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.ai-section--dark .ai-content-card:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55); }
.ai-insight-box { background: linear-gradient(135deg, #14161b 0%, #21242c 100%); border-radius: 18px; padding: 32px; color: #c5ffbc; }
.ai-insight-box .ai-h2 { color: #ffffff; }
.ai-insight-box .ai-paragraph { color: #cfd2da; }

/* Bullet lists */
.ai-bullet-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ai-bullet-list li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.65; color: #4b4f5a; text-align: justify; }
.ai-section--dark .ai-bullet-list li { color: #c9cbd1; }
.ai-bullet-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background-color: #91d904; }
.ai-bullet-list--two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }

/* Role grid */
.ai-role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 8px; }
.ai-role-grid--two { grid-template-columns: repeat(2, 1fr); }
.ai-role-item { background-color: #c5ffbc; border-radius: 14px; padding: 18px; border: 1px solid #ecedf1; transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; }
.ai-role-item:hover { transform: translateY(-4px); background-color: #ffffff; box-shadow: 0 12px 26px rgba(20, 22, 27, 0.08); }
.ai-role-grid--dark .ai-role-item { background-color: #16181d; border-color: #24272f; }
.ai-role-grid--dark .ai-role-item:hover { background-color: #1c1f26; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5); border-color: #91d904; }

/* Type grid */
.ai-type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ai-type-card { background-color: #ffffff; border-radius: 16px; padding: 24px; border: 1px solid #ecedf1; box-shadow: 0 8px 22px rgba(20, 22, 27, 0.04); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.ai-type-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(20, 22, 27, 0.09); border-color: #cdeaa0; }
.ai-type-grid--dark .ai-type-card { background-color: #111318; border-color: #24272f; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.ai-type-grid--dark .ai-type-card:hover { box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55); border-color: #91d904; }

/* Timeline */
.ai-timeline { position: relative; display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.ai-timeline::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, #91d904 0%, rgba(145, 217, 4, 0.1) 100%); }
.ai-timeline__item { position: relative; display: flex; gap: 22px; align-items: flex-start; }
.ai-timeline__marker { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; min-width: 52px; border-radius: 50%; background-color: #14161b; color: #91d904; font-weight: 800; font-size: 16px; box-shadow: 0 8px 18px rgba(20, 22, 27, 0.18); }
.ai-timeline__body { background-color: #ffffff; border: 1px solid #ecedf1; border-radius: 16px; padding: 20px 24px; flex: 1; box-shadow: 0 8px 20px rgba(20, 22, 27, 0.04); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.ai-timeline__body:hover { box-shadow: 0 14px 32px rgba(20, 22, 27, 0.09); transform: translateY(-3px); }

/* CTA */
.ai-cta-block__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.ai-cta-block__inner .ai-role-grid .ai-paragraph { text-align: center; }
.ai-cta-block__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }

/* FAQ */
.ai-faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 920px; margin: 0 auto; }
.ai-faq-item { background-color: #111318; border: 1px solid #24272f; border-radius: 14px; padding: 6px 22px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); transition: box-shadow 0.25s ease; }
.ai-faq-item[open] { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55); border-color: #91d904; }
.ai-faq-item__question { padding: 16px 0; font-size: 16px; font-weight: 700; color: #ffffff; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.ai-faq-item__question::-webkit-details-marker { display: none; }
.ai-faq-item__question::after { content: "+"; font-size: 22px; color: #91d904; margin-left: 12px; transition: transform 0.25s ease; }
.ai-faq-item[open] .ai-faq-item__question::after { transform: rotate(45deg); }
.ai-faq-item__answer { padding: 0 0 18px; }
/* FAQ Icon */

/* Related services */
.ai-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ai-related-card { display: block; background-color: #111318; border-radius: 16px; padding: 24px; border: 1px solid #24272f; text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.ai-related-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55); border-color: #91d904; }
.ai-related-card .ai-h4 { color: #ffffff; }
.ai-related-card .ai-paragraph { margin-bottom: 0; font-size: 14.5px; color: #c9cbd1; }

/* Responsive */
@media (min-width: 1440px) { .ai-container { max-width: 1320px; } }

@media (max-width: 1199px) {
    .ai-type-grid, .ai-related-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-role-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .ai-section { padding: 48px 0; }
    .ai-hero-block__grid, .ai-split { grid-template-columns: 1fr; gap: 32px; }
    .ai-split--content-left .ai-split__image { order: -1; }
    .ai-role-grid, .ai-role-grid--two, .ai-type-grid, .ai-related-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-bullet-list--two-col { grid-template-columns: 1fr; }
    .ai-timeline::before { left: 21px; }
    .ai-timeline__marker { width: 42px; height: 42px; min-width: 42px; font-size: 14px; }
}

@media (max-width: 767px) {
    .ai-container { padding-left: 16px; padding-right: 16px; }
    .ai-section { padding: 40px 0; }
    .ai-role-grid, .ai-role-grid--two, .ai-type-grid, .ai-related-grid { grid-template-columns: 1fr; }
    .ai-hero-block__cta, .ai-cta-block__buttons { flex-direction: column; align-items: stretch; }
    .ai-btn { width: 100%; }
    .ai-timeline__item { gap: 14px; }
    .ai-timeline__body { padding: 18px; }
}

@media (max-width: 480px) {
    .ai-h1 { font-size: 26px; }
    .ai-h2 { font-size: 22px; }
    .ai-h3 { font-size: 18px; }
    .ai-paragraph, .ai-bullet-list li { font-size: 14.5px; }
    .ai-content-card, .ai-insight-box, .ai-type-card, .ai-role-item, .ai-related-card { padding: 18px; }
    .ai-timeline__marker { width: 38px; height: 38px; min-width: 38px; font-size: 12px; }
}
