/* =====================================================================
   Home page blocks (page builder "Default" layout) + fixed sections.
   Everything is scoped under .ady-home so other pages are untouched.
   ===================================================================== */
.ady-home {
    --ady-primary: #2f57ef;
    --ady-accent: #c664ff;
    --ady-ink: #192335;
    --ady-muted: #6b7385;
    --ady-line: #e9ecf5;
    --ady-soft: #f6f7fc;
    --ady-tint: #eef2ff;
    --ady-green: #12b76a;
    --ady-orange: #f97316;
    --ady-radius: 18px;
    --ady-shadow: 0 1px 2px rgba(25, 35, 53, .04), 0 8px 24px rgba(25, 35, 53, .06);
    --ady-shadow-hover: 0 4px 8px rgba(25, 35, 53, .05), 0 22px 44px rgba(47, 87, 239, .14);
    --ady-gradient: linear-gradient(120deg, #2f57ef 0%, #7b5cff 50%, #c664ff 100%);
    overflow-x: clip;
}

/* ---------- Shared section rhythm & headings ---------- */
.ady-home .section-padding {
    padding-top: 88px;
    padding-bottom: 8px;
}
.ady-home .section-title {
    margin-bottom: 44px;
}
.ady-home .title-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--ady-tint);
    color: var(--ady-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.ady-home .title-head::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ady-gradient);
}
.ady-home .title,
.ady-home .banner-content h1,
.ady-home .single-category h4,
.ady-cta-text h2 {
    font-family: var(--font-family);
}
.ady-home .title {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--ady-ink);
    letter-spacing: -.01em;
}
.ady-home .res-control {
    gap: 16px;
    align-items: flex-end !important;
}
.ady-home .eBtn {
    border-radius: 999px;
    padding: 12px 26px;
    transition: transform .25s ease, box-shadow .25s ease, background-position .5s ease;
}
.ady-home .eBtn.gradient {
    box-shadow: 0 8px 20px rgba(47, 87, 239, .25);
}
.ady-home .eBtn.gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(47, 87, 239, .32);
}
.ady-home .mt-50 {
    margin-top: 40px;
}

/* ---------- Hero (dark, code window) ---------- */
.ady-hero {
    position: relative;
    margin-top: 0 !important;
    padding: 84px 0 132px;
    background: #0b1024;
    color: #c9d1e8;
    isolation: isolate;
    overflow: hidden;
}
.ady-hero::before,
.ady-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.ady-hero::before {
    width: 560px;
    height: 560px;
    top: -220px;
    left: -160px;
    background: rgba(47, 87, 239, .45);
}
.ady-hero::after {
    width: 520px;
    height: 520px;
    right: -120px;
    bottom: -200px;
    background: rgba(198, 100, 255, .35);
}
.ady-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.ady-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #e6eaf7;
    font-size: 14px;
    font-weight: 500;
}
.ady-hero-eyebrow i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ady-gradient);
    color: #fff;
    font-size: 12px;
}
.ady-hero h1 {
    margin: 24px 0 20px;
    font-family: var(--font-family);
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.025em;
    color: #fff;
}
.ady-hero-highlight {
    display: block;
    background: linear-gradient(100deg, #6f8cff 0%, #a98bff 45%, #e08bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ady-hero-content > p {
    max-width: 540px;
    font-size: 17px;
    line-height: 1.7;
    color: #aab3cc;
}
.ady-hero-search {
    display: flex;
    align-items: center;
    max-width: 560px;
    margin-top: 32px;
    padding: 6px 6px 6px 20px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.ady-hero-search > i {
    color: var(--ady-muted);
}
.ady-hero-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ady-ink);
    font-size: 15px;
}
.ady-hero-search button {
    flex-shrink: 0;
    height: 48px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--ady-gradient);
    color: #fff;
    font-weight: 600;
    transition: filter .2s ease;
}
.ady-hero-search button:hover {
    filter: brightness(1.1);
}
.ady-hero-tracks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 13px;
}
.ady-hero-tracks > span {
    margin-right: 4px;
    color: #8d97b3;
}
.ady-hero-tracks a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    color: #d6dcef;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.ady-hero-tracks a:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}
.ady-hero-tracks a i {
    color: #8fa4ff;
}
.ady-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}
.ady-btn-primary {
    background: var(--ady-gradient);
    color: #fff;
    box-shadow: 0 12px 28px rgba(47, 87, 239, .4);
}
.ady-btn-primary:hover {
    color: #fff;
    box-shadow: 0 16px 34px rgba(47, 87, 239, .5);
}
.ady-hero-play {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
}
.ady-hero-play:hover {
    color: #fff;
}
.ady-hero-play i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding-left: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .05);
    transition: box-shadow .3s ease, background .3s ease;
}
.ady-hero-play:hover i {
    background: rgba(255, 255, 255, .18);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .07);
}

/* Code window + floating cards */
.ady-hero-visual {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 36px 0 72px 28px;
}
.ady-code {
    position: relative;
    border-radius: 18px;
    background: rgba(17, 24, 48, .92);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.ady-code-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .03);
}
.ady-code-bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ff5f57;
}
.ady-code-bar span:nth-child(2) { background: #febc2e; }
.ady-code-bar span:nth-child(3) { background: #28c840; }
.ady-code-bar em {
    margin-left: 12px;
    font-style: normal;
    font-size: 12px;
    color: #7f89a6;
}
.ady-code-body {
    margin: 0;
    padding: 22px 24px 26px;
    font-family: "JetBrains Mono", "Fira Code", Consolas, Menlo, monospace;
    font-size: 14px;
    line-height: 1.85;
    color: #d6deff;
    white-space: pre-wrap;
    word-break: break-word;
    overflow: hidden;
}
.ady-code-body code {
    color: inherit;
    font: inherit;
}
.ady-code-body .c { color: #6c7796; }
.ady-code-body .k { color: #c792ea; }
.ady-code-body .f { color: #82aaff; }
.ady-code-body .s { color: #c3e88d; }
.ady-code-body .n { color: #f78c6c; }
.ady-code-cursor {
    display: inline-block;
    width: 8px;
    height: 17px;
    margin-left: 4px;
    vertical-align: -3px;
    background: #82aaff;
    animation: ady-blink 1.1s steps(1) infinite;
}
.ady-hero-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    animation: ady-float 5s ease-in-out infinite;
}
.ady-hero-float strong {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    color: var(--ady-ink);
}
.ady-hero-float small {
    font-size: 12px;
    color: var(--ady-muted);
}
.ady-hero-float-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ady-gradient);
    color: #fff;
}
.ady-hero-float-students {
    left: -8px;
    bottom: 0;
}
.ady-hero-float-done {
    top: 0;
    right: -12px;
    animation-delay: -1.6s;
}
.ady-hero-float-done .ady-hero-float-icon {
    background: var(--ady-green);
}
.ady-hero-float-cert {
    right: -24px;
    bottom: 64px;
    animation-delay: -3.2s;
}
.ady-hero-float-cert .ady-hero-float-icon {
    background: var(--ady-orange);
}
@keyframes ady-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes ady-blink {
    50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ady-hero-float,
    .ady-code-cursor { animation: none; }
}

/* ---------- Fixed: stats strip ---------- */
.ady-stats {
    position: relative;
    z-index: 2;
    margin-top: -64px;
}
.ady-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--ady-line);
    border-radius: 22px;
    box-shadow: var(--ady-shadow);
    overflow: hidden;
}
.ady-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 28px;
}
.ady-stat + .ady-stat {
    border-left: 1px solid var(--ady-line);
}
.ady-stat-icon {
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--ady-tint);
    color: var(--ady-primary);
    font-size: 20px;
}
.ady-stat:nth-child(2) .ady-stat-icon { background: #f6edff; color: #9b4dff; }
.ady-stat:nth-child(3) .ady-stat-icon { background: #e7f8ef; color: var(--ady-green); }
.ady-stat:nth-child(4) .ady-stat-icon { background: #fff2e8; color: var(--ady-orange); }
.ady-stat strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--ady-ink);
}
.ady-stat div > span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--ady-muted);
}

/* ---------- Features ---------- */
.ady-home .performance-wrapper .pr-wrap {
    background: none;
    box-shadow: none;
    border-radius: 0;
}
.ady-home .performance-wrapper .pr-wrap > .row {
    row-gap: 24px;
}
.ady-home .performance-wrapper .ps-border::before {
    display: none;
}
.ady-home .ps-single-wrap {
    position: relative;
    height: 100%;
    padding: 30px 26px;
    border-radius: var(--ady-radius);
    background: #fff;
    border: 1px solid var(--ady-line);
    box-shadow: var(--ady-shadow);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.ady-home .ps-single-wrap::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--ady-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.ady-home .ps-single-wrap:hover {
    margin-top: 0;
    background: #fff;
    transform: translateY(-6px);
    box-shadow: var(--ady-shadow-hover);
}
.ady-home .ps-single-wrap:hover::before {
    transform: scaleX(1);
}
.ady-home .ps-single-wrap img,
.ady-feature-icon {
    width: 60px;
    height: 60px;
    padding: 12px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--ady-gradient);
    object-fit: contain;
}
.ady-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 22px rgba(47, 87, 239, .25);
}
.ady-home .ps-border:nth-child(2) .ady-feature-icon { background: linear-gradient(135deg, #12b76a, #0ea5a4); box-shadow: 0 10px 22px rgba(18, 183, 106, .25); }
.ady-home .ps-border:nth-child(3) .ady-feature-icon { background: linear-gradient(135deg, #f97316, #f43f5e); box-shadow: 0 10px 22px rgba(249, 115, 22, .25); }
.ady-home .ps-border:nth-child(4) .ady-feature-icon { background: linear-gradient(135deg, #9b4dff, #c664ff); box-shadow: 0 10px 22px rgba(155, 77, 255, .25); }
.ady-home .ps-single-wrap h4 {
    color: var(--ady-ink);
    font-size: 18px;
    font-weight: 700;
}
.ady-home .ps-single-wrap p {
    color: var(--ady-muted);
    line-height: 1.65;
}

/* ---------- Categories ---------- */
.ady-home .category-wrapper .single-category {
    gap: 14px;
    height: 100%;
    padding: 14px 18px 14px 14px;
    border-radius: 16px;
    border: 1px solid var(--ady-line);
    box-shadow: none;
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.ady-home .category-wrapper .single-category:hover {
    background: #fff;
    border-color: rgba(47, 87, 239, .35);
    box-shadow: var(--ady-shadow-hover);
    transform: translateY(-3px);
}
.ady-home .category-wrapper .single-category:hover h4 {
    color: var(--ady-primary);
}
.ady-home .category-wrapper .single-category:hover p {
    color: var(--ady-muted);
}
.ady-home .single-category .single-category-logo {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 6px;
    border-radius: 14px;
    background: var(--ady-soft);
}
.ady-home .single-category-logo > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: var(--ady-tint);
    color: var(--ady-primary);
    font-size: 20px;
    transition: background .25s ease, color .25s ease;
}
.ady-home .col-lg-3:nth-child(4n+2) .single-category-logo > i { background: #e7f8ef; color: var(--ady-green); }
.ady-home .col-lg-3:nth-child(4n+3) .single-category-logo > i { background: #fff2e8; color: var(--ady-orange); }
.ady-home .col-lg-3:nth-child(4n+4) .single-category-logo > i { background: #f6edff; color: #9b4dff; }
.ady-home .single-category:hover .single-category-logo > i {
    background: var(--ady-gradient);
    color: #fff;
}
.ady-home .single-category .single-category-name {
    flex: 1;
    min-width: 0;
    padding: 0;
}
.ady-home .single-category h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ady-home .single-category p {
    font-family: var(--font-family);
    font-size: 13px;
}
.ady-home .single-category-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ady-soft);
    color: var(--ady-muted);
    font-size: 13px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.ady-home .single-category:hover .single-category-arrow {
    background: var(--ady-primary);
    color: #fff;
    transform: translateX(3px);
}

/* ---------- Course cards (featured + fixed free courses) ---------- */
.ady-course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--ady-radius);
    background: #fff;
    border: 1px solid var(--ady-line);
    box-shadow: var(--ady-shadow);
    overflow: hidden;
    color: var(--ady-muted);
    transition: transform .3s ease, box-shadow .3s ease;
}
.ady-course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ady-shadow-hover);
    color: var(--ady-muted);
}
.ady-course-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ady-soft);
}
.ady-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.ady-course-card:hover .ady-course-thumb img {
    transform: scale(1.06);
}
.ady-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}
.ady-badge-free { background: var(--ady-green); }
.ady-badge-sale { background: var(--ady-orange); }
.ady-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--ady-ink);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.ady-heart.inList i {
    color: #f81163;
    font-weight: 900;
}
.ady-course-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
}
.ady-course-body h3 {
    min-height: 44px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    color: var(--ady-ink);
    transition: color .2s ease;
}
.ady-course-card:hover h3 {
    color: var(--ady-primary);
}
.ady-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 10px;
    font-size: 13px;
}
.ady-course-meta i {
    margin-right: 4px;
    color: var(--ady-primary);
}
.ady-course-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--ady-line);
}
.ady-course-body .ady-course-meta + .ady-course-foot {
    margin-top: 14px;
}
.ady-course-author {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 13px;
}
.ady-course-author img {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}
.ady-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ady-course-price {
    flex-shrink: 0;
    text-align: right;
    line-height: 1.2;
}
.ady-course-price strong {
    display: block;
    font-size: 15px;
    color: var(--ady-primary);
}
.ady-course-price del {
    display: block;
    font-size: 12px;
}

/* ---------- Fixed: free courses ---------- */
.ady-home .ady-free {
    padding-bottom: 8px;
}

/* ---------- About us ---------- */
.ady-home .testimonials-wrapper:not(:has(.user-slider)) {
    background: transparent;
    overflow: visible;
}
.ady-home .skill-image img {
    height: 500px;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(25, 35, 53, .16);
}
.ady-home .skill-image .over-text {
    left: -24px;
    width: auto;
    padding: 12px 18px 12px 12px;
    border-radius: 16px;
    animation: ady-float 5s ease-in-out infinite;
}
.ady-home .skill-image .over-text img {
    height: auto;
    box-shadow: none;
}
.ady-home .skil-content {
    padding-left: 24px;
}
.ady-home .skil-content ul {
    margin-top: 32px;
}
.ady-home .skil-content ul li {
    gap: 16px;
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ady-line);
    transition: box-shadow .25s ease;
}
.ady-home .skil-content ul li:hover {
    box-shadow: var(--ady-shadow);
}
.ady-home .skil-content ul li .svg {
    flex: 0 0 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0;
    border-radius: 14px;
}
.ady-home .skill-text {
    width: auto;
}
.ady-home .skill-text span {
    font-size: 17px;
    font-weight: 700;
}
.ady-home .skil-content .description {
    font-size: 16px;
    line-height: 1.7;
}
.ady-home .skill-text p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 400;
}
.ady-home .skil-content .eBtn {
    margin-top: 32px;
}
.ady-home .skill-image .over-text > span {
    color: #fff;
    font-size: 20px;
}
.ady-steps {
    position: relative;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}
.ady-steps::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 21px;
    width: 2px;
    background: linear-gradient(var(--ady-primary), var(--ady-accent));
    opacity: .25;
}
.ady-steps li {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 12px 0;
}
.ady-step-no {
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ady-primary);
    color: var(--ady-primary);
    font-weight: 700;
    transition: background .25s ease, color .25s ease;
}
.ady-steps li:hover .ady-step-no {
    background: var(--ady-gradient);
    border-color: transparent;
    color: #fff;
}
.ady-steps h4 {
    margin: 2px 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ady-ink);
}
.ady-steps p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ady-muted);
}

/* ---------- Collections ---------- */
.ady-home .collection-wrapper {
    margin-top: 88px;
    padding: 80px 0 56px;
    background: var(--ady-soft);
}
.ady-home .collection-card {
    border: 1px solid var(--ady-line);
    border-radius: var(--ady-radius);
    background: #fff;
    box-shadow: var(--ady-shadow);
    overflow: hidden;
    color: var(--ady-muted);
    transition: transform .3s ease, box-shadow .3s ease;
}
.ady-home .collection-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ady-shadow-hover);
}
.ady-home .collection-img {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: var(--ady-soft);
}
.ady-home .collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.ady-home .collection-card:hover .collection-img img {
    transform: scale(1.06);
}
.ady-home .collection-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 36px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(25, 35, 53, .82));
}
.ady-home .collection-overlay h5 {
    font-size: 17px;
    font-weight: 700;
}
.ady-home .course-count {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--ady-ink);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.ady-home .course-count i {
    margin-right: 4px;
    color: var(--ady-primary);
}
.ady-home .mini-thumb {
    object-fit: cover;
    border-radius: 8px !important;
}

/* ---------- Testimonials ---------- */
.ady-home .testimonials-wrapper:has(.user-slider) {
    margin-top: 0;
    padding-bottom: 88px;
    background: linear-gradient(180deg, var(--ady-soft) 0%, #fff 100%);
}
.ady-home .collection-wrapper + .testimonials-wrapper:has(.user-slider) {
    background: linear-gradient(180deg, #fff 0%, var(--ady-soft) 100%);
}
.ady-home .user-image img {
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(25, 35, 53, .14);
}
.ady-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 24px;
    background: var(--ady-gradient);
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    box-shadow: 0 24px 48px rgba(25, 35, 53, .14);
}
.ady-home .testimonial-border {
    border-radius: 22px;
    box-shadow: 0 24px 48px rgba(25, 35, 53, .12);
}
.ady-home .testimonial-des {
    border-radius: 22px;
}
.ady-home .testimonial-des::before {
    background: var(--ady-gradient);
}

/* ---------- Blog ---------- */
.ady-home .blog-wrapper .row.mt-50 {
    row-gap: 8px;
}
.ady-home .b-card {
    height: 100%;
    border: 1px solid var(--ady-line);
    border-radius: var(--ady-radius);
    box-shadow: var(--ady-shadow);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.ady-home .b-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ady-shadow-hover);
}
.ady-home .b-card .card-head,
.ady-home .b-card .card-head img {
    border-radius: 0;
}
.ady-home .b-card .card-head img {
    height: auto;
    aspect-ratio: 16 / 9;
}
.ady-home .b-card .card-head span {
    z-index: 2;
    border-radius: 999px;
    background: rgba(25, 35, 53, .75);
    backdrop-filter: blur(6px);
}
.ady-home .b-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 20px 22px;
}
.ady-home .b-card .card-body h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
}
.ady-home .b_bottom {
    margin-top: auto;
    padding-top: 16px;
    padding-bottom: 0;
    border-top: 1px dashed var(--ady-line);
}
.ady-home .b-card:hover .read-text {
    color: var(--ady-primary);
}

/* ---------- Fixed: CTA ---------- */
.ady-cta {
    padding: 88px 0 0;
}
.ady-cta-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 52px 56px;
    border-radius: 28px;
    background: var(--ady-gradient);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.ady-cta-box::before,
.ady-cta-box::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, .08);
}
.ady-cta-box::before {
    width: 320px;
    height: 320px;
    right: -80px;
    top: -140px;
}
.ady-cta-box::after {
    width: 220px;
    height: 220px;
    left: 30%;
    bottom: -150px;
}
.ady-cta-text h2 {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}
.ady-cta-text p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
}
.ady-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}
.ady-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: transform .25s ease, background .25s ease;
}
.ady-btn:hover {
    transform: translateY(-2px);
}
.ady-btn-light {
    background: #fff;
    color: var(--ady-primary);
}
.ady-btn-light:hover {
    color: var(--ady-primary);
}
.ady-btn-ghost {
    border: 1.5px solid rgba(255, 255, 255, .6);
    color: #fff;
}
.ady-btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ady-hero { padding: 56px 0 112px; }
    .ady-hero h1 { font-size: 44px; }
    .ady-hero-visual { max-width: 520px; padding-left: 0; }
    .ady-code { transform: none; }
    .ady-home .title { font-size: 32px; }
    .ady-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ady-stat:nth-child(3) { border-left: 0; }
    .ady-stat:nth-child(n+3) { border-top: 1px solid var(--ady-line); }
    .ady-home .skil-content { padding-left: 0; margin-top: 40px; }
    .ady-cta-box { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 767px) {
    .ady-home .section-padding { padding-top: 64px; }
    .ady-hero { padding: 40px 0 96px; }
    .ady-hero h1 { font-size: 34px; }
    .ady-hero-content > p { font-size: 15px; }
    .ady-hero-search { padding-left: 16px; }
    .ady-hero-search input { height: 44px; padding: 0 10px; font-size: 14px; }
    .ady-hero-search button { height: 44px; padding: 0 18px; }
    .ady-hero-actions { gap: 18px; }
    .ady-hero-visual { padding: 28px 0 44px; }
    .ady-code-body { padding: 16px; font-size: 12px; }
    .ady-hero-float { padding: 8px 12px 8px 8px; gap: 8px; }
    .ady-hero-float-icon { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }
    .ady-hero-float strong { font-size: 13px; }
    .ady-hero-float-students { left: 0; }
    .ady-hero-float-done { right: 0; }
    .ady-hero-float-cert { display: none; }
    .ady-home .title { font-size: 26px; }
    .ady-home .res-control { flex-direction: column; align-items: flex-start !important; }
    .ady-home .res-control .section-title { text-align: left; }
    .ady-home .ps-single-wrap {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 16px;
        padding: 20px;
    }
    .ady-home .ps-single-wrap img,
    .ady-feature-icon { grid-row: span 2; width: 52px; height: 52px; margin: 0; font-size: 20px; }
    .ady-home .ps-single-wrap h4 { margin-bottom: 4px; }
    .ady-stats { margin-top: -56px; }
    .ady-stat { padding: 18px 16px; gap: 12px; }
    .ady-stat-icon { flex-basis: 42px; width: 42px; height: 42px; font-size: 16px; }
    .ady-stat strong { font-size: 22px; }
    .ady-home .skill-image img { height: 340px; }
    .ady-home .skill-image .over-text { left: 8px; }
    .ady-home .collection-wrapper { margin-top: 64px; padding: 56px 0 32px; }
    .ady-course-body { padding: 12px 12px 14px; }
    .ady-course-body h3 { font-size: 14px; line-height: 20px; min-height: 40px; }
    .ady-course-foot { flex-direction: column; align-items: flex-start; }
    .ady-course-price { text-align: left; }
    .ady-course-author { max-width: 100%; }
    .ady-cta { padding: 64px 0 0; }
    .ady-cta-box { padding: 32px 22px; border-radius: 22px; }
    .ady-cta-text h2 { font-size: 26px; }
}
