/* ============================================================
   AEO Custom Styles
   Supplements the main style.css with project-specific rules
   ============================================================ */

/* ── Logo size (25 % smaller than template default ~32px) ── */
.navbar-brand .black-logo {
    height: 40px;
    width: auto;
}

/* ── Testimonials grid ─────────────────────────────────────── */
.testimonials-grid {
    columns: 3;
    column-gap: 24px;
}
.tcard {
    break-inside: avoid;
    background: #fff;
    border: 1.5px solid #f0e8e3;
    border-radius: 16px;
    padding: 28px 28px 22px;
    margin-bottom: 24px;
    display: inline-block;
    width: 100%;
    transition: box-shadow .2s, transform .2s;
}
.tcard:hover {
    box-shadow: 0 8px 32px rgba(253,88,18,.08);
    transform: translateY(-2px);
}
.tcard-quote {
    font-size: 14.5px;
    line-height: 1.65;
    color: #3a3a3a;
    margin-bottom: 20px;
}
.tcard-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tcard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.tcard-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #23272E;
    line-height: 1.2;
}
.tcard-handle {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}
@media (max-width: 991px) {
    .testimonials-grid { columns: 2; }
}
@media (max-width: 575px) {
    .testimonials-grid { columns: 1; }
}

/* ── How It Works: Curved horizontal timeline ───────────────── */
/*
   SVG viewBox 0 0 1000 140, placed at top: 50px, height: 140px
   Wave:  high y = 20  →  icon centre at 50 + 20  =  70 px
          low  y = 120 →  icon centre at 50 + 120  = 170 px
   Icon is 58 px tall → half = 29 px
   Low  icon margin-top  = 170 - 29 = 141 px
   High icon margin-top  =  70 - 29 =  41 px
   Text always below icon (icon first, then content)
   Container height = 390 px (170 + 29 + 16 + ~175 for text)
*/
.hiw-timeline-wrap {
    position: relative;
    height: 390px;
}

/* ── Wave SVG ── */
.hiw-wave-svg {
    position: absolute;
    left: 0;
    top: 50px;
    width: 100%;
    height: 140px;
    pointer-events: none;
    overflow: visible;
}
.hiw-wave-path {
    fill: none;
    stroke: #d8cfc8;
    stroke-width: 1.5;
    stroke-linecap: round;
}

/* ── Each step column ── */
.hiw-step {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Icon circle ── */
.hiw-step-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff7f3;
    border: 2px solid #FD5812;
    color: #FD5812;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 18px rgba(253,88,18,0.12);
}
.hiw-step-icon--outline {
    background: #fff;
    box-shadow: 0 4px 14px rgba(253,88,18,0.07);
}

/* ── LOW steps (1, 3, 5) ── */
.hiw-step--low .hiw-step-icon {
    margin-top: 141px;
}

/* ── HIGH steps (2, 4) ── */
.hiw-step--high .hiw-step-icon {
    margin-top: 41px;
}

/* ── Text content — always below the icon ── */
.hiw-step-content {
    margin-top: 16px;
    text-align: center;
}
.hiw-step-content h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: #23272E;
    margin-bottom: 6px;
    line-height: 1.3;
}
.hiw-step-content p {
    font-size: 12.5px;
    line-height: 1.55;
    color: #7a8087;
    margin: 0;
}

/* ── Growth Chart Card ───────────────────────────────────────── */
.gcc-card {
    background: #fff;
    border: 1.5px solid #f0e8e3;
    border-radius: 18px;
    padding: 28px 28px 22px;
    box-shadow: 0 8px 40px rgba(253,88,18,0.07), 0 2px 8px rgba(0,0,0,0.04);
}
.gcc-legend {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}
.gcc-leg {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
}
.gcc-leg i {
    display: inline-block;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    flex-shrink: 0;
}
.gcc-leg--orange { color: #FD5812; }
.gcc-leg--orange i { background: #FD5812; }
.gcc-leg--teal   { color: #10a37f; }
.gcc-leg--teal i { background: #10a37f; }

.gcc-chart-wrap {
    position: relative;
    height: 260px;
}

/* ── Footer — reduce oversized bottom padding ────────────── */
.footer-area-marketing.with-marketing-footer {
    padding-bottom: 60px;
}

/* ── Info-list checkmark circles — always perfectly round ─── */
.dashboard-showcase-marketing-content .dashboard-showcase-wrap .info-list i {
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── What we do — mini feature grid ─────────────────────── */
.wwd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 28px;
}
.wwd-item {
    border-top: 2px solid #FD5812;
    padding-top: 14px;
}
.wwd-item i {
    font-size: 20px;
    color: #FD5812;
    display: block;
    margin-bottom: 9px;
}
.wwd-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #23272E;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}
.wwd-item p {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 575px) {
    .wwd-grid {
        grid-template-columns: 1fr;
        gap: 18px 0;
    }
}
