/* Data Analytics Services — v6 Final */
body { font-family: 'Inter', sans-serif; background: #ffffff; color: #2B3242; scroll-behavior: smooth; margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
*, *::before, *::after { box-sizing: border-box; }

/* ---------- Buttons ---------- */
.cta-button {
    background: #FF6A00;
    color: #fff;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #FF6A00;
    text-decoration: none;
    cursor: pointer;
}
.cta-button:hover {
    background: #ff8534;
    border-color: #ff8534;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,106,0,0.3);
}
.outline-cta-button {
    background: transparent;
    color: #1F2E55;
    border: 2px solid #1F2E55;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}
.outline-cta-button:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ---------- Accordion cards (pain points) ---------- */
.accordion-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}
.accordion-card:hover { border-color: #e5e7eb; box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.active-acc { border-color: #1e6cb6 !important; box-shadow: 0 12px 30px rgba(30,108,182,0.12) !important; }

/* Service accordion cards */
.service-acc-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}
.service-acc-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.06); }

/* Related services expandable cards */
.related-acc-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}
.related-acc-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.06); border-color: #d1d5db; }

/* ---------- Logo Marquee (from Commercial Analytics) ---------- */
.marquee-container {
    display: flex;
    width: 200%;
    animation: marquee 20s linear infinite;
}
.marquee-content {
    display: flex;
    width: 50%;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}
.marquee-content img {
    max-height: 36px;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    object-fit: contain;
}
.marquee-content img[alt="PepsiCo"] {
    position: relative;
    top: -2px;
}
.marquee-content img:hover { opacity: 1; transform: scale(1.05); }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Dashboard Callouts ---------- */
.dashboard-showcase {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    background: #f9fafb;
}
.dashboard-showcase img { width: 100%; display: block; }
.dashboard-callout {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    max-width: 200px;
    border-left: 3px solid #1e6cb6;
    z-index: 2;
}
.dashboard-callout strong { display: block; color: #1F2E55; font-size: 0.9rem; }
.dashboard-callout span { font-size: 0.8rem; color: #4B5563; }

/* ---------- Chrome Tabs (Case Studies) ---------- */
.chrome-tabs-container {
    display: flex; justify-content: center; gap: 12px; position: relative; z-index: 10; padding: 0 20px; margin-bottom: -1px;
}
.chrome-tab {
    background: #E5E7EB; padding: 16px 32px; border-radius: 12px 12px 0 0; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 250px; border: 1px solid #D1D5DB; border-bottom: 1px solid #E5E7EB; opacity: 0.8; transition: all 0.2s ease;
}
.chrome-tab:hover { background: #F3F4F6; opacity: 1; }
.chrome-tab.active { background: #FFF; border-color: #E5E7EB; border-bottom: 1px solid #FFF; box-shadow: 0 -6px 12px rgba(0,0,0,0.03); opacity: 1; z-index: 20; transform: translateY(1px); }
.chrome-tab i { font-size: 20px; color: #6B7280; transition: color 0.3s; }
.chrome-tab.active i { color: #FF6A00; }

/* ---------- Testimonial Slider (from Power BI) ---------- */
#social-proof { background: #1F2E55; padding: 50px 0; overflow: hidden; font-family: 'Poppins', sans-serif; }
.testimonial-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.testimonial-slider-container { position: relative; width: 100%; overflow: hidden; padding: 40px 0; }
.testimonial-track { display: flex; align-items: center; gap: 40px; will-change: transform; }
.testimonial-slide {
    width: 600px; flex-shrink: 0; border-radius: 12px; overflow: hidden; transition: all 0.6s ease; cursor: pointer; position: relative; opacity: 0.4; transform: scale(0.9); filter: grayscale(100%);
}
.testimonial-slide.active { opacity: 1; transform: scale(1); filter: grayscale(0%); box-shadow: 0 20px 50px rgba(0,0,0,0.4); z-index: 10; }
@media (max-width: 768px) { .testimonial-slide { width: 85vw; } }

/* Video Modal */
.video-modal { display: none; position: fixed; z-index: 100000; left: 0; top: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; flex-direction: column; }
.video-modal-content { position: relative; width: 90% !important; max-width: 1200px !important; margin: 5vh auto !important; background: transparent; box-shadow: none; }
.modal-close { position: absolute; top: -40px; right: 0; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 10000; line-height: 1; }
.modal-close:hover { color: #ddd; }
.modal-iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); display: block; }

/* ---------- AEO Tables ---------- */
.aeo-table-wrapper { overflow-x: auto; background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; }
.aeo-table { width: 100%; border-collapse: collapse; }
.aeo-table th { background: #f9fafb; padding: 16px; border-bottom: 2px solid #e5e7eb; text-align: left; color: #1F2E55; font-size: 14px; font-weight: 700; }
.aeo-table td { padding: 16px; border-bottom: 1px solid #e5e7eb; font-size: 14px; color: #4b5563; }
.aeo-table tr:last-child td { border-bottom: none; }

/* ---------- FAQ Accordion ---------- */
.faq-item button i { transition: transform 0.3s ease; }

/* ---------- Footer (from Commercial Analytics) ---------- */
.site-footer {
    background: #053b6d;
    color: #cbd5e1;
    padding: 80px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.site-footer .footer-logo img {
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
    max-width: 210px;
    height: auto;
}
.site-footer h4 { color: #fff; font-size: 1.125rem; margin-bottom: 20px; font-family: 'Poppins', sans-serif; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul li a { color: #cbd5e1; transition: color 0.3s; text-decoration: none; }
.site-footer ul li a:hover { color: #FF6A00; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 60px;
    font-size: 0.875rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.social-links { display: flex; gap: 16px; }
.social-links a { color: #cbd5e1; transition: color 0.3s; text-decoration: none; }
.social-links a:hover { color: #FF6A00; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 16px; text-align: center; }
    .chrome-tabs-container { flex-direction: column; align-items: center; }
    .chrome-tab { max-width: 100%; }
    .dashboard-callout {
        position: relative;
        top: auto; right: auto; left: auto; bottom: auto;
        margin: 10px;
        width: auto;
        max-width: none;
    }
}
