/* ═══════════════════════════════════════════════════════════
   Asif Sacha WordPack — Base Layout Styles
   All colours, sizes, typography = Elementor Style controls.
   This file only provides structural / flex layout defaults.
═══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   CARD LAYOUT 1  (Icon + Title + Text + Link)
────────────────────────────────────────── */
.asw-card-1 {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 40px 36px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: all 300ms ease;
    height: 100%;
    box-sizing: border-box;
}
.asw-card-1__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 14px;
    background: #eef2ff;
    margin-bottom: 24px;
    flex-shrink: 0;
}
.asw-card-1__icon i,
.asw-card-1__icon svg {
    font-size: 28px; width: 28px; height: 28px;
    color: #4f46e5; fill: #4f46e5;
    display: block; line-height: 1;
}
.asw-card-1__title {
    margin: 0 0 12px; padding: 0;
    font-size: 1.25rem; font-weight: 700;
    color: #111827; line-height: 1.3;
}
.asw-card-1__text {
    margin: 0 0 24px; padding: 0;
    color: #6b7280; line-height: 1.7; flex: 1;
}
.asw-card-1__link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; color: #4f46e5;
    text-decoration: none;
    transition: color 250ms ease;
    margin-top: auto;
}
.asw-card-1__link .link-icon {
    display: inline-flex; align-items: center;
    transition: transform 250ms ease;
}
.asw-card-1__link:hover .link-icon { transform: translateX(4px); }

/* ──────────────────────────────────────────
   CARD LAYOUT 2  (Stat Card: Icon + Title + Detail)
────────────────────────────────────────── */
.asw-card-2 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #1a2235;
    padding: 28px 24px;
    border-radius: 12px;
    box-sizing: border-box;
    transition: all 300ms ease;
}
.asw-card-2__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 10px;
    background: transparent;
    border: 2px solid #c0392b;
}
.asw-card-2__icon-wrap i,
.asw-card-2__icon-wrap svg {
    font-size: 22px; width: 22px; height: 22px;
    color: #c0392b; fill: #c0392b;
    display: block; line-height: 1;
}
.asw-card-2__body { flex: 1; }
.asw-card-2__title {
    margin: 0 0 6px; padding: 0;
    font-size: 1.05rem; font-weight: 700;
    color: #f1f5f9; line-height: 1.3;
    white-space: nowrap;
}
.asw-card-2__detail {
    margin: 0; padding: 0;
    font-size: 0.9rem; color: #94a3b8; line-height: 1.6;
}

/* ──────────────────────────────────────────
   CARD LAYOUT 3  (Case Study: Image + Tags + Title + Desc + List + Link)
────────────────────────────────────────── */
.asw-card-3 {
    display: flex;
    flex-direction: column;
    background: #1a2235;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    transition: all 300ms ease;
    height: 100%;
    box-sizing: border-box;
}
.asw-card-3__image {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}
.asw-card-3__image img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 400ms ease;
}
.asw-card-3:hover .asw-card-3__image img { transform: scale(1.04); }

.asw-card-3__body {
    padding: 28px 28px 32px;
    display: flex; flex-direction: column; flex: 1;
}
.asw-card-3__tags {
    display: flex; flex-wrap: wrap;
    align-items: center; gap: 8px;
    margin-bottom: 16px;
}
.asw-card-3__tag {
    font-size: 0.78rem; font-weight: 600;
    padding: 4px 12px; border-radius: 20px;
    line-height: 1.4;
    text-decoration: none;
    display: inline-block;
}
/* Primary tag — red bordered */
.asw-card-3__tag--primary {
    color: #e74c3c;
    border: 1.5px solid #e74c3c;
    background: rgba(231,76,60,0.08);
}
/* Secondary tag — plain text */
.asw-card-3__tag--secondary {
    color: #94a3b8;
    border: none; background: none;
    padding-left: 0; padding-right: 0;
}
.asw-card-3__title {
    margin: 0 0 10px; padding: 0;
    font-size: 1.15rem; font-weight: 700;
    color: #f1f5f9; line-height: 1.35;
}
.asw-card-3__desc {
    margin: 0 0 18px; padding: 0;
    font-size: 0.9rem; color: #94a3b8; line-height: 1.7;
}
.asw-card-3__list {
    list-style: none; margin: 0 0 24px; padding: 0;
    display: flex; flex-direction: column; gap: 8px;
    flex: 1;
}
.asw-card-3__list-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.9rem; color: #94a3b8; line-height: 1.5;
}
.asw-card-3__list-item .list-check {
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 1px;
    color: #e74c3c; fill: #e74c3c;
    font-size: 14px; width: 16px; height: 16px;
}
.asw-card-3__link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 0.9rem;
    color: #e74c3c; text-decoration: none;
    transition: color 250ms ease, gap 250ms ease;
    margin-top: auto;
}
.asw-card-3__link .link-arrow {
    display: inline-flex; align-items: center;
    transition: transform 250ms ease;
}
.asw-card-3__link:hover .link-arrow { transform: translateX(4px); }

/* ──────────────────────────────────────────
   CARD LAYOUT 4  (Testimonial)
────────────────────────────────────────── */
.asw-card-4 {
    display: flex;
    flex-direction: column;
    background: #1a2235;
    padding: 40px 36px;
    border-radius: 16px;
    box-sizing: border-box;
    transition: all 300ms ease;
}
.asw-card-4__quote-icon {
    display: block;
    margin-bottom: 24px;
    color: #c0392b; fill: #c0392b;
    font-size: 48px; line-height: 1;
}
.asw-card-4__quote-icon i,
.asw-card-4__quote-icon svg {
    font-size: inherit; color: inherit; fill: inherit;
    width: 48px; height: 48px; display: block;
}
.asw-card-4__text {
    margin: 0 0 32px; padding: 0;
    font-size: 1rem; color: #e2e8f0;
    line-height: 1.8; font-style: italic;
}
.asw-card-4__author {
    display: flex; align-items: center; gap: 14px;
    margin-top: auto;
}
.asw-card-4__avatar {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%; overflow: hidden;
    background: #2d3a50;
}
.asw-card-4__avatar img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.asw-card-4__author-info { display: flex; flex-direction: column; gap: 2px; }
.asw-card-4__author-name {
    margin: 0; padding: 0;
    font-size: 0.95rem; font-weight: 700;
    color: #f1f5f9;
}
.asw-card-4__designation {
    margin: 0; padding: 0;
    font-size: 0.82rem; color: #94a3b8;
}
.asw-card-4__location {
    margin: 0; padding: 0;
    font-size: 0.82rem; color: #64748b;
}
