/* YASSY.TECH — HOME STYLES
   Бастапқы style.css ішінен бөлінген.
   Ескі style.css-ті сақтық көшірмесіз өшірмеңіз.
*/
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    border-radius:30px;
    padding:13px 23px;
    font-weight:750;
    font-size:13px;
    border:1px solid transparent;
    transition:.2s
}

.btn-primary {
    background:linear-gradient(135deg,#0B8F95,#087D84);
    color:#fff;
    box-shadow:0 6px 15px #079da51c
}

.btn-primary:hover {
    filter:brightness(.95);
    transform:translateY(-1px)
}

.btn-light {
    background:#fff;
    border-color:#dfe9ef;
    color:#13284d;
    padding:11px 19px
}

.hero {
    position:relative;
    min-height:510px;
    overflow:hidden;
    display:flex;
    align-items:center;
    background:linear-gradient(100deg,#f2fdff 0%,#e9faff 44%,#b9edf2 100%)
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/fon1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-shapes {
    position:absolute;
    right:36%;
    top:-15%;
    height:130%;
    width:17%;
    border:24px solid #69d9e155;
    border-radius:50%;
    transform:rotate(20deg);
    pointer-events:none
}

.hero-content {
    position:relative;
    z-index:2;
    width:min(590px,47%);
    margin-left:max(5.2%,calc((100% - 1450px)/2));
    padding:50px 0 42px
}

.eyebrow {
    display:inline-flex;
    align-items:center;
    background:#d7f5f6;
    color:#0B8F95;
    border-radius:30px;
    padding:6px 13px;
    font-size:11px;
    letter-spacing:.8px;
    font-weight:850
}

.hero h1 {
    font-size:clamp(43px,5vw,70px);
    line-height:1.02;
    letter-spacing:-2.2px;
    margin:22px 0 20px;
    max-width:560px;
    font-weight:850
}

.hero h1::first-line {
    color:#10244a
}

.hero-content>p {
    font-size:16px;
    line-height:1.65;
    color:#3f526e;
    max-width:540px;
    margin:0
}

.hero-buttons {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:24px
}

.hero-buttons .btn {
    min-width:190px
}

.btn-video {
    background:#ffffffdf;
    color:#13284d;
    border-color:#bfeef1
}

.hero-benefits {
    display:flex;
    flex-wrap:wrap;
    gap:25px;
    margin-top:28px;
    color:#435a74;
    font-size:12px
}

.hero-benefits span {
    display:flex;
    align-items:center;
    gap:9px
}

.hero-benefits b {
    font-size:22px;
    color:#0B8F95
}

.hero-note {
    position:absolute;
    z-index:3;
    right:5%;
    bottom:58px;
    display:flex;
    align-items:center;
    gap:16px;
    padding:19px 22px;
    background:#ffffffed;
    border:1px solid #e6f0f3;
    border-radius:20px;
    box-shadow:0 12px 40px #12324b1c;
    min-width:300px
}

.note-icon {
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    border-radius:16px;
    background:#e4f8f8;
    color:var(--teal);
    font-size:33px
}

.hero-note strong,.hero-note small {
    display:block
}

.hero-note strong {
    font-size:14px
}

.hero-note small {
    color:#60728a;
    margin-top:3px
}

.note-arrow {
    margin-left:auto;
    display:grid;
    place-items:center;
    background:#d6f7f8;
    color:#0B8F95;
    width:34px;
    height:34px;
    border-radius:50%;
    font-size:20px
}

.handwritten {
    position:absolute;
    right:10%;
    top:10%;
    z-index:2;
    font-family:"Segoe Script",cursive;
    font-size:25px;
    font-weight:700;
    color:#073c5d;
    transform:rotate(-9deg);
    line-height:1.35
}

.quick-links {
    width:min(1450px,92%);
    margin:26px auto 10px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px
}

.quick-card {
    display:flex;
    align-items:center;
    gap:13px;
    min-height:112px;
    padding:16px;
    border-radius:18px;
    background:linear-gradient(110deg,#e3f8f9,#f7fbfc);
    border:1px solid #edf6f7;
    transition:.2s
}

.quick-card:hover {
    transform:translateY(-3px);
    box-shadow:0 9px 25px #079da515
}

.quick-icon {
    display:grid;
    place-items:center;
    flex-shrink:0;
    width:60px;
    height:60px;
    border-radius:17px;
    background:#d4f3f4;
    color:#0B8F95;
    font-size:30px
}

.quick-card strong,.quick-card small {
    display:block
}

.quick-card strong {
    font-size:13px;
    margin-bottom:5px
}

.quick-card small {
    font-size:11px;
    color:#65758b;
    line-height:1.4
}

.quick-card i {
    display:grid;
    place-items:center;
    flex-shrink:0;
    margin-left:auto;
    width:30px;
    height:30px;
    border-radius:50%;
    background:#c9f3f4;
    color:#0B8F95;
    font-size:17px;
    font-style:normal
}

.section {
    width:min(1450px,92%);
    margin:auto;
    padding:43px 0 34px
}

.section-top {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:23px
}

.section-top .eyebrow {
    font-size:10px;
    padding:5px 11px
}

.section-top h2 {
    font-size:clamp(23px,2.5vw,32px);
    letter-spacing:-.8px;
    margin:8px 0 0
}

.course-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px
}

.course-card {
    border:1px solid #e5eef3;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 5px 18px #15324a08;
    transition:.2s
}

.course-card:hover {
    transform:translateY(-4px);
    box-shadow:0 12px 28px #15324a14
}

.course-image {
    height:145px;
    display:flex;
    align-items:end;
    padding:12px;
    background-size:cover;
    background-position:center;
    position:relative
}

.course-image:before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,#07172d85,transparent 65%)
}

.course-image span {
    position:relative;
    background:#fff;
    color:#20324e;
    padding:6px 9px;
    border-radius:7px;
    font-size:10px;
    font-weight:800
}

.course-web {
    background-image:url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=700&q=80')
}

.course-python {
    background-image:url('https://images.unsplash.com/photo-1526379095098-d400fd0bf935?auto=format&fit=crop&w=700&q=80')
}

.course-mysql {
    background-image:url('https://images.unsplash.com/photo-1544383835-bda2bc66a55d?auto=format&fit=crop&w=700&q=80')
}

.course-android {
    background-image:url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&w=700&q=80')
}

.course-info {
    padding:13px 14px 12px
}

.course-info h3 {
    font-size:13px;
    line-height:1.4;
    min-height:37px;
    margin:0 0 12px
}

.course-meta {
    display:flex;
    align-items:center;
    gap:12px;
    font-size:10px;
    color:#60738b
}

.course-meta a {
    margin-left:auto;
    display:grid;
    place-items:center;
    width:27px;
    height:27px;
    background:#d8f6f7;
    color:#0B8F95;
    border-radius:50%;
    font-size:17px
}

.cta-banner {
    position:relative;
    overflow:hidden;
    min-height:230px;
    margin:0 auto 34px;
    width:100%;
    padding:36px max(5.2%,calc((100% - 1450px)/2));
    display:flex;
    align-items:center;
    background:radial-gradient(ellipse at 85% 0%,#9debef,transparent 40%),linear-gradient(110deg,#079fa7,#28c2c5 60%,#d5f7f5);
    border-radius:20px;
    color:#fff
}

.cta-content {
    position:relative;
    z-index:2;
    max-width:600px
}

.cta-banner .eyebrow {
    background:#ffffff35;
    color:#fff
}

.cta-banner h2 {
    font-size:clamp(25px,3vw,38px);
    line-height:1.15;
    margin:12px 0
}

.cta-banner p {
    font-size:14px;
    margin:0 0 20px
}

.btn-white {
    background:#fff;
    color:#123052;
    padding:12px 22px
}

.cta-student {
    position:absolute;
    right:20%;
    bottom:-40px;
    width:250px;
    height:250px;
    border-radius:50%;
    display:grid;
    place-items:center;
    font-size:150px;
    background:radial-gradient(circle,#fff8,#ffffff05 70%);
    filter:drop-shadow(0 8px 12px #075b6b22)
}

.cta-script {
    position:absolute;
    right:8%;
    top:35px;
    font-family:"Segoe Script",cursive;
    font-size:21px;
    color:#e7ffff;
    transform:rotate(-8deg)
}

.advantages {
    padding-top:25px;
    padding-bottom:45px
}

.advantage-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px
}

.advantage-grid article {
    display:flex;
    gap:13px;
    align-items:center;
    padding:13px 12px;
    border-right:1px solid #e7eef2
}

.advantage-grid article>span {
    display:grid;
    place-items:center;
    flex-shrink:0;
    width:54px;
    height:54px;
    border-radius:15px;
    background:#e5f8f9;
    color:#0B8F95;
    font-size:26px
}

.advantage-grid strong,.advantage-grid small {
    display:block
}

.advantage-grid strong {
    font-size:12px;
    margin-bottom:5px
}

.advantage-grid small {
    font-size:11px;
    color:#64758a;
    line-height:1.4
}

.about-section {
    position:relative;
    width:min(1450px,92%);
    margin:0 auto 38px;
    display:grid;
    grid-template-columns:1.1fr 1fr .55fr;
    gap:28px;
    align-items:center
}

.about-photo {
    min-height:250px;
    position:relative;
    display:grid;
    place-items:center;
    border-radius:18px;
    overflow:hidden;
    background:linear-gradient(#0b2b4655,#0b2b4655),url('https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=1000&q=80') center/cover
}

.play-large {
    display:grid;
    place-items:center;
    width:64px;
    height:64px;
    border-radius:50%;
    border:2px solid #fff;
    color:#fff;
    background:#ffffff30;
    padding-left:4px
}

.photo-caption {
    position:absolute;
    bottom:14px;
    left:14px;
    background:#fff;
    color:#253a57;
    padding:8px 12px;
    border-radius:8px;
    font-size:11px;
    font-weight:700
}

.about-copy .eyebrow {
    font-size:10px
}

.about-copy h2 {
    font-size:clamp(24px,2.5vw,33px);
    line-height:1.18;
    margin:12px 0
}

.about-copy p {
    font-size:12px;
    line-height:1.7;
    color:#61738a;
    margin-bottom:18px
}

.about-copy .btn {
    padding:11px 20px
}

.about-section blockquote {
    margin:0;
    padding:24px 20px;
    border:1px solid #dff0f3;
    border-radius:22px;
    background:#fbfeff;
    position:relative
}

.about-section blockquote>span {
    font-size:50px;
    line-height:.8;
    color:#0B8F95;
    font-weight:900
}

.about-section blockquote p {
    font-size:13px;
    line-height:1.5
}

.about-section cite {
    display:block;
    text-align:right;
    font-size:11px;
    color:#64758a;
    font-style:normal
}

@media(max-width:1200px) {
.hero-note {
        right:3%;
        min-width:260px
    }
}

@media(max-width:1200px) {
.hero-content {
        width:49%
    }
}

@media(max-width:1200px) {
.quick-card {
        padding:12px;
        gap:9px
    }
}

@media(max-width:1200px) {
.quick-icon {
        width:48px;
        height:48px
    }
}

@media(max-width:1200px) {
.cta-student {
        right:17%
    }
}

@media(max-width:980px) {
.hero {
        min-height:560px
    }
}

@media(max-width:980px) {
.hero-photo {
        left:27%;
        opacity:.58;
        clip-path:none;
        background-image:linear-gradient(90deg,#e8f9fc 0%,#e8f9fcbb 35%,#e8f9fc10 100%),url('https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=1200&q=80')
    }
}

@media(max-width:980px) {
.hero-content {
        width:72%;
        margin-left:5%;
        padding:65px 0
    }
}

@media(max-width:980px) {
.hero-note,.handwritten {
        display:none
    }
}

@media(max-width:980px) {
.quick-links {
        grid-template-columns:repeat(2,1fr)
    }
}

@media(max-width:980px) {
.course-grid {
        grid-template-columns:repeat(2,1fr)
    }
}

@media(max-width:980px) {
.advantage-grid {
        grid-template-columns:repeat(2,1fr)
    }
}

@media(max-width:980px) {
.about-section {
        grid-template-columns:1fr 1fr
    }
}

@media(max-width:980px) {
.about-section blockquote {
        grid-column:1/-1
    }
}

@media(max-width:600px) {
.hero {
        min-height:600px;
        align-items:flex-start
    }
}

@media(max-width:600px) {
.hero-photo {
        inset:0;
        background-position:center;
        background-image:linear-gradient(90deg,#e8f9fcf5 0%,#e8f9fcd9 60%,#e8f9fc7a 100%),url('https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=900&q=80')
    }
}

@media(max-width:600px) {
.hero-content {
        width:90%;
        margin:0 auto;
        padding:60px 0
    }
}

@media(max-width:600px) {
.hero h1 {
        font-size:45px;
        letter-spacing:-1.4px
    }
}

@media(max-width:600px) {
.hero-content>p {
        font-size:14px
    }
}

@media(max-width:600px) {
.hero-benefits {
        gap:12px
    }
}

@media(max-width:600px) {
.hero-benefits span {
        font-size:10px
    }
}

@media(max-width:600px) {
.hero-buttons .btn {
        min-width:0;
        flex:1;
        padding:12px 13px;
        font-size:11px
    }
}

@media(max-width:600px) {
.quick-links {
        width:92%;
        gap:9px
    }
}

@media(max-width:600px) {
.quick-card {
        min-height:110px;
        align-items:flex-start;
        flex-wrap:wrap;
        padding:12px
    }
}

@media(max-width:600px) {
.quick-icon {
        width:40px;
        height:40px;
        font-size:23px;
        border-radius:12px
    }
}

@media(max-width:600px) {
.quick-card>span:nth-child(2) {
        flex:1;
        min-width:100px
    }
}

@media(max-width:600px) {
.quick-card strong {
        font-size:11px
    }
}

@media(max-width:600px) {
.quick-card small {
        font-size:10px
    }
}

@media(max-width:600px) {
.quick-card i {
        display:none
    }
}

@media(max-width:600px) {
.section {
        padding:35px 0 25px
    }
}

@media(max-width:600px) {
.section-top {
        align-items:flex-start
    }
}

@media(max-width:600px) {
.section-top h2 {
        font-size:23px
    }
}

@media(max-width:600px) {
.course-grid {
        gap:10px
    }
}

@media(max-width:600px) {
.course-image {
        height:110px
    }
}

@media(max-width:600px) {
.course-info {
        padding:11px
    }
}

@media(max-width:600px) {
.course-info h3 {
        font-size:11px
    }
}

@media(max-width:600px) {
.course-meta {
        gap:7px;
        font-size:9px;
        flex-wrap:wrap
    }
}

@media(max-width:600px) {
.course-meta a {
        width:24px;
        height:24px
    }
}

@media(max-width:600px) {
.cta-banner {
        min-height:250px;
        padding:30px 5%;
        border-radius:0
    }
}

@media(max-width:600px) {
.cta-content {
        max-width:85%
    }
}

@media(max-width:600px) {
.cta-banner h2 {
        font-size:27px
    }
}

@media(max-width:600px) {
.cta-banner p {
        font-size:12px
    }
}

@media(max-width:600px) {
.cta-student {
        right:-20px;
        bottom:-65px;
        font-size:100px;
        width:180px;
        height:180px;
        opacity:.5
    }
}

@media(max-width:600px) {
.cta-script {
        right:6%;
        top:auto;
        bottom:20px;
        font-size:14px
    }
}

@media(max-width:600px) {
.advantage-grid {
        gap:8px
    }
}

@media(max-width:600px) {
.advantage-grid article {
        padding:8px 3px;
        gap:8px;
        border:0
    }
}

@media(max-width:600px) {
.advantage-grid article>span {
        width:40px;
        height:40px;
        font-size:20px
    }
}

@media(max-width:600px) {
.advantage-grid strong {
        font-size:10px
    }
}

@media(max-width:600px) {
.advantage-grid small {
        font-size:9px
    }
}

@media(max-width:600px) {
.about-section {
        grid-template-columns:1fr;
        gap:20px
    }
}

@media(max-width:600px) {
.about-photo {
        min-height:210px
    }
}

@media(max-width:600px) {
.about-section blockquote {
        grid-column:auto
    }
}

/* Arrow icons */
.icon-arrow {
    width: 18px;
    height: 18px;
}

/* Hero benefits */
.hero-benefits .benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    font-weight: 400;
}

.hero-benefits .benefit-icon svg,
.hero-benefits .benefit-icon .icon-svg {
    width: 23px;
    height: 23px;
    min-width: 23px;
    min-height: 23px;
    flex: 0 0 23px;
}

/* Hero floating book card */
.note-icon svg,
.note-icon .icon-svg {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    flex: 0 0 34px;
}

/* Quick links */
.quick-icon svg,
.quick-icon .icon-svg {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    flex: 0 0 34px;
}

.quick-card i svg,
.quick-card i .icon-svg {
    width: 17px;
    height: 17px;
    min-width: 17px;
    min-height: 17px;
    flex: 0 0 17px;
}

.course-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Course metadata and photo caption */
.course-meta svg,
.course-meta .icon-svg,
.photo-caption svg,
.photo-caption .icon-svg {
    width: 13px;
    height: 13px;
    min-width: 13px;
    min-height: 13px;
    flex: 0 0 13px;
}

/* Advantages */
.advantage-grid article > span {
    display: grid;
    place-items: center;
}

.advantage-grid article > span svg,
.advantage-grid article > span .icon-svg {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex: 0 0 28px;
}

/* Video play icon */
.play-large svg,
.play-large .icon-svg {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex: 0 0 28px;
}

/* Quote */
.about-section blockquote > span,
.about-section blockquote .quote-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-section blockquote .quote-mark svg,
.about-section blockquote .quote-mark .icon-svg {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    flex: 0 0 34px;
}

/* =========================================
   YASSY.TECH — QUICK LINKS
   ========================================= */

.quick-links {
    width: min(100% - 48px, 1620px);
    margin: 30px auto 42px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.quick-card {
    --accent: #0B8F95;
    --soft: #edf5ff;
    --border: #cfe5ff;

    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 140px;
    padding: 27px 24px;
    display: flex;
    align-items: flex-start;
    gap: 19px;
    overflow: hidden;

    color: #10264d;
    text-decoration: none;
    background: linear-gradient(120deg, var(--soft), #fff 100%);
    border: 1px solid var(--border);
    border-radius: 21px;
    box-shadow: 0 9px 25px color-mix(in srgb, var(--accent) 13%, transparent);

    transition: transform .25s ease, box-shadow .25s ease;
}

.quick-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 190px;
    height: 125px;
    right: -35px;
    bottom: -70px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .08;
    transform: rotate(-20deg);
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 32px color-mix(in srgb, var(--accent) 20%, transparent);
}

.quick-card:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

/* Карточкалардың түстері */

.quick-card--blue {
    --accent: #0B8F95;
    --soft: #edf5ff;
    --border: #cfe5ff;
}

.quick-card--purple {
    --accent: #8b70ff;
    --soft: #f4efff;
    --border: #e0d5ff;
}

.quick-card--green {
    --accent: #24cda7;
    --soft: #eafff7;
    --border: #c7f6e8;
}

.quick-card--orange {
    --accent: #ffab4c;
    --soft: #fff4e8;
    --border: #ffe2c3;
}

/* Негізгі белгішелер */

.quick-icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--accent) 55%, white),
        var(--accent)
    );
    border-radius: 16px;
    box-shadow: 0 6px 15px color-mix(in srgb, var(--accent) 22%, transparent);
}

.quick-icon svg {
    width: 31px;
    height: 31px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Мәтін */

.quick-content {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
    padding: 1px 26px 0 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.quick-content strong {
    display: block;
    color: #10264d;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 750;
}

.quick-content small {
    display: block;
    max-width: 220px;
    color: #60738f;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
}

/* Дөңгелек жебе */

.quick-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);
    background: rgba(255, 255, 255, .96);
    border-radius: 50%;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 12%, transparent);

    font-size: 25px;
    line-height: 1;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.quick-card:hover .quick-arrow {
    transform: translate(3px, -50%);
    color: white;
    background: var(--accent);
}

/* Сәндік иллюстрациялар */

.quick-art {
    position: absolute;
    z-index: -1;
    right: -2px;
    bottom: -15px;
    width: 112px;
    height: 105px;
    color: var(--accent);
    opacity: .24;
    pointer-events: none;
    transition: transform .3s ease;
}

.quick-card:hover .quick-art {
    transform: translateY(-4px) rotate(-3deg);
}

.quick-art--test {
    width: 115px;
    height: 110px;
    right: -2px;
}

.quick-art--certificate {
    width: 115px;
    height: 110px;
    right: -2px;
}

.quick-art--laptop {
    width: 120px;
    height: 110px;
    right: -1px;
}

@media (prefers-reduced-motion: reduce) {
.quick-card,
    .quick-arrow,
    .quick-art {
        transition: none;
    }
}

/* Quick-links соңғы стильдері: ескі қайталанған ережелерді басады */
.quick-links {
    width: min(100% - 48px, 1620px);
    margin: 30px auto 42px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.quick-card {
    min-width: 0;
    min-height: 140px;
    align-items: flex-start;
    flex-wrap: nowrap;
    padding: 25px 22px;
    overflow: hidden;
}

.quick-card .quick-content {
    flex: 1 1 auto;
    min-width: 0;
}

.quick-card .quick-arrow {
    display: flex;
}

.quick-card .quick-art {
    pointer-events: none;
}

@media (max-width: 1100px) {
.quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100% - 36px);
        gap: 16px;
    }
}

@media (max-width: 600px) {
.quick-links {
        width: calc(100% - 28px);
        grid-template-columns: 1fr;
        gap: 13px;
        margin: 22px auto 30px;
    }
}

@media (max-width: 600px) {
.quick-card {
        min-height: 120px;
        flex-wrap: nowrap;
        padding: 18px 16px;
        gap: 13px;
    }
}

@media (max-width: 600px) {
.quick-card .quick-icon {
        flex: 0 0 54px;
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 600px) {
.quick-card .quick-content {
        min-width: 0;
        padding-right: 26px;
    }
}

@media (max-width: 600px) {
.quick-card .quick-arrow {
        display: flex;
        width: 34px;
        height: 34px;
        right: 12px;
    }
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.course-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5edf3;
    border-radius: 18px;
    box-shadow: 0 5px 22px rgba(16, 36, 74, .045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(16, 36, 74, .11);
}

.course-card .course-image {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 185px;
    height: 185px;
    padding: 18px;
    overflow: hidden;
    background-color: #e7f4fa;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.course-card .course-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(9, 28, 57, .02) 15%,
        rgba(9, 28, 57, .65) 100%
    );
    transition: opacity .25s ease;
}

.course-card:hover .course-image::before {
    opacity: .85;
}

.course-web {
    background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=800&q=85");
}

.course-python {
    background-image: url("https://images.unsplash.com/photo-1526379095098-d400fd0bf935?auto=format&fit=crop&w=800&q=85");
}

.course-mysql {
    background-image: url("https://images.unsplash.com/photo-1544383835-bda2bc66a55d?auto=format&fit=crop&w=800&q=85");
}

.course-android {
    background-image: url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&w=800&q=85");
}

.course-category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 7px 10px;
    color: #fff;
    background: rgba(255, 255, 255, .17);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .6px;
}

.course-card .course-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 19px 18px 16px;
}

.course-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
    color: #708098;
    font-size: 10px;
}

.course-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #0B8F95;
}

.course-card .course-info h3 {
    min-height: 0;
    margin: 0 0 9px;
    color: #10244a;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
}

.course-description {
    flex: 1;
    margin: 0 0 20px;
    color: #667991;
    font-size: 12px;
    line-height: 1.75;
}

.course-lessons {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64758b;
    font-size: 11px;
}

.course-lessons svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #0B8F95;
}

.course-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    color: #0B8F95;
    background: #e8f9fa;
    border-radius: 11px;
    font-size: 19px;
    transition: .2s ease;
}

.course-open:hover {
    color: #fff;
    background: #0B8F95;
}

@media (max-width: 1150px) {
.course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 1150px) {
.course-card .course-image {
        height: 210px;
    }
}

@media (max-width: 600px) {
.course-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }
}

@media (max-width: 600px) {
.course-card .course-image {
        height: 200px;
        min-height: 200px;
    }
}

@media (max-width: 600px) {
.course-card .course-info {
        padding: 17px;
    }
}

@media (max-width: 600px) {
.course-card .course-info h3 {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
.course-card,
    .course-open,
    .courses-all {
        transition: none;
    }
}

.courses-heading .eyebrow {
    display: inline-flex;
    padding: 9px 17px;
    border-radius: 30px;
    background: #d8f6f8;
    color: #009ba8;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .7px;
}

.course-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.course-card-premium {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0ebf4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(27, 64, 103, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.course-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(27, 64, 103, .13);
}

.course-card-premium .course-image {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 195px;
    min-height: 195px;
    padding: 19px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.course-card-premium .course-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(9, 28, 55, .02) 20%,
        rgba(9, 28, 55, .48) 100%
    );
    transition: .25s ease;
}

.course-card-premium:hover .course-image::before {
    background: linear-gradient(
        180deg,
        rgba(9, 28, 55, .05),
        rgba(9, 28, 55, .60)
    );
}

.course-category {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .25px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .12);
}

.course-category-teal {
    background: #04b3bb;
}

.course-category-purple {
    background: #7550ec;
}

.course-category-green {
    background: #08b86b;
}

.course-category-blue {
    background: #168ff0;
}

.course-info-premium {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 19px 19px 17px !important;
}

.course-teacher-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-bottom: 23px;
}

.course-stat {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-left: 9px;
    border-left: 1px solid #edf2f6;
}

.course-stat strong {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #245487;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.course-stat strong span {
    color: #078eae;
    font-size: 15px;
}

.course-stat small {
    color: #8b9bb0;
    font-size: 9px;
    white-space: nowrap;
}

.course-card-premium .course-info h3 {
    min-height: 0;
    margin: 0 0 12px;
    color: #10264d;
    font-size: clamp(16px, 1.1vw, 21px);
    font-weight: 850;
    line-height: 1.4;
}

.course-card-premium .course-description {
    flex: 1;
    margin: 0 0 23px;
    color: #7186a3;
    font-size: 13px;
    line-height: 1.75;
}

.course-meta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.course-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #e8f9fb;
    color: #3d6587;
    font-size: 11px;
    white-space: nowrap;
}

.course-meta-pill span {
    color: #00a5b1;
    font-size: 17px;
}

.course-level {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7186a3;
    font-size: 10px;
    white-space: nowrap;
}

.course-open {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 5px solid rgba(255, 255, 255, .8);
    outline: 1px solid rgba(7, 157, 165, .15);
    border-radius: 50%;
    color: #fff;
    font-size: 21px;
    box-shadow: 0 0 0 6px rgba(7, 157, 165, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.course-open:hover {
    transform: translateX(3px) scale(1.06);
    box-shadow: 0 0 0 9px rgba(7, 157, 165, .13);
}

.course-open-teal {
    background: linear-gradient(135deg, #13c7ca, #009da9);
}

.course-open-purple {
    background: linear-gradient(135deg, #9471ff, #5930d9);
    box-shadow: 0 0 0 6px rgba(117, 80, 236, .09);
}

.course-open-green {
    background: linear-gradient(135deg, #1bdc9b, #00a66a);
    box-shadow: 0 0 0 6px rgba(8, 184, 107, .09);
}

.course-open-blue {
    background: linear-gradient(135deg, #39b5ff, #087ee6);
    box-shadow: 0 0 0 6px rgba(22, 143, 240, .09);
}

@media (max-width: 1400px) {
.course-grid-premium {
        gap: 17px;
    }
}

@media (max-width: 1400px) {
.course-info-premium {
        padding: 16px !important;
    }
}

@media (max-width: 1400px) {
.course-teacher-row {
        gap: 7px;
    }
}

@media (max-width: 1400px) {
.course-stat {
        padding-left: 6px;
    }
}

@media (max-width: 1400px) {
.course-date {
        display: none;
    }
}

@media (max-width: 1000px) {
.course-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 1000px) {
.course-card-premium .course-image {
        height: 210px;
    }
}

@media (max-width: 1000px) {
.course-date {
        display: flex;
    }
}

@media (max-width: 1000px) {
.course-card-premium .course-info h3 {
        font-size: 19px;
    }
}

@media (max-width: 600px) {
.course-grid-premium {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
.course-card-premium .course-image {
        height: 210px;
        min-height: 210px;
    }
}

@media (max-width: 600px) {
.course-teacher-row {
        gap: 10px;
    }
}

@media (max-width: 600px) {
.course-date {
        display: flex;
    }
}

@media (max-width: 600px) {
.course-card-premium .course-info h3 {
        font-size: 19px;
    }
}

@media (max-width: 600px) {
.course-card-premium .course-description {
        font-size: 13px;
    }
}

.courses-heading .eyebrow {
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: .65px;
}

/* Карточкалар */
.course-grid-premium {
    gap: 22px;
}

.course-card-premium {
    border: 1px solid #e4edf5;
    border-radius: 21px;
    box-shadow: 0 7px 24px rgba(28, 63, 100, .055);
}

.course-card-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(28, 63, 100, .09);
}

/* Сурет */
.course-card-premium .course-image {
    height: 195px;
    min-height: 195px;
    padding: 17px;
    background-position: center;
}

.course-card-premium .course-image::before {
    background: linear-gradient(
        180deg,
        rgba(10, 32, 60, .02) 35%,
        rgba(10, 32, 60, .34) 100%
    );
}

/* Категория жапсырмасы — бастапқы үлгідегідей */
.course-category {
    gap: 8px;
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .2px;
    box-shadow: none;
}

.course-category-teal {
    background: #08b4bc;
}

.course-category-purple {
    background: #7650e9;
}

.course-category-green {
    background: #0bb96e;
}

.course-category-blue {
    background: #168cf0;
}

/* Оқытушы және статистика */
.course-info-premium {
    padding: 17px 17px 15px !important;
}

.course-teacher-row {
    gap: 9px;
    margin-bottom: 20px;
    min-height: 42px;
}

.course-stat {
    padding-left: 8px;
    border-left: 1px solid #edf2f6;
}

.course-stat strong {
    font-size: 10px;
    gap: 4px;
}

.course-stat strong span {
    font-size: 13px;
}

.course-stat small {
    font-size: 9px;
}

/* Курс атауы мен сипаттамасы */
.course-card-premium .course-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -.2px;
    font-weight: 800;
}

.course-card-premium .course-description {
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.8;
    color: #7488a2;
}

.course-meta-group {
    gap: 9px;
}

.course-meta-pill {
    gap: 7px;
    padding: 9px 11px;
    border-radius: 11px;
    background: #e9f9fb;
    font-size: 11px;
}

.course-meta-pill span {
    font-size: 15px;
}

.course-level {
    gap: 6px;
    font-size: 10px;
}

/* Көрсеткі — кішірек және нәзік */
.course-open {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    border: 3px solid #fff;
    outline: 1px solid rgba(7, 157, 165, .12);
    font-size: 18px;
    box-shadow: 0 0 0 4px rgba(7, 157, 165, .07);
}

.course-open:hover {
    transform: translateX(2px);
    box-shadow: 0 0 0 6px rgba(7, 157, 165, .10);
}

/* =========================================================
   COURSE CARDS — FINAL ICON AND DETAIL FIXES
   ========================================================= */
.course-card-premium .course-image .course-category {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: max-content;
    max-width: 100%;
    padding: 9px 13px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    box-shadow: none;
}

.course-card-premium .course-image .course-category-teal { background: #08b4bc; }

.course-card-premium .course-image .course-category-purple { background: #7650e9; }

.course-card-premium .course-image .course-category-green { background: #0bb96e; }

.course-card-premium .course-image .course-category-blue { background: #168cf0; }

.course-card-premium .course-image .course-category svg {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.course-card-premium .course-image .course-category svg circle { fill: currentColor; stroke: none; }

.course-card-premium .course-teacher-row { min-width: 0; }

.course-card-premium .course-stat strong { display: flex; align-items: center; gap: 5px; }

.course-card-premium .course-small-icon {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: #087caf;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.course-card-premium .course-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.course-card-premium .course-meta-pill svg,
.course-card-premium .course-level svg {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: #0B8F95;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.course-card-premium .course-level { display: inline-flex; align-items: center; gap: 6px; }

.course-card-premium .course-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.course-card-premium .course-open svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.course-card-premium .course-open:hover svg { transform: translateX(2px); }

@media (max-width: 1400px) {
.course-card-premium .course-teacher-row { gap: 7px; }
}

@media (max-width: 1400px) {
.course-card-premium .course-date { display: flex; }
}

@media (max-width: 1400px) {
.course-card-premium .teacher-details { flex: 1 1 90px; }
}

@media (max-width: 1400px) {
.course-card-premium .teacher-details strong { font-size: 10px; }
}

@media (max-width: 1400px) {
.course-card-premium .course-stat { padding-left: 7px; }
}

@media (max-width: 600px) {
.course-card-premium .course-image .course-category { font-size: 11px; }
}

@media (max-width: 600px) {
.course-card-premium .course-teacher-row { gap: 9px; }
}

@media (max-width: 600px) {
.course-card-premium .teacher-details strong { font-size: 11px; }
}

/* =========================================
   YASSY.TECH — PREMIUM EDUCATION CTA
   ========================================= */

.cta-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;

    width: calc(100% - 36px);
    max-width: 1840px;
    min-height: 510px;
    margin: 32px auto 48px;
    padding: 52px 5.2%;

    overflow: hidden;
    border-radius: 30px;
    box-sizing: border-box;

    color: #fff;
    background:
        radial-gradient(ellipse at 78% 48%,
            rgba(255,255,255,.23), transparent 27%),
        linear-gradient(112deg,
            #009fa9 0%,
            #09b8c0 48%,
            #75e9ed 100%);
}

/* Фондағы сәндік элементтер */

.cta-decoration {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.cta-decoration-one {
    width: 440px;
    height: 440px;
    top: -300px;
    left: -180px;
    box-shadow:
        0 0 0 35px rgba(255,255,255,.035),
        0 0 0 70px rgba(255,255,255,.025);
}

.cta-decoration-two {
    width: 500px;
    height: 500px;
    right: -330px;
    bottom: -330px;
    background: rgba(255,255,255,.09);
    box-shadow: 0 0 0 45px rgba(255,255,255,.045);
}

/* Сол жақ мәтін бөлігі */

.cta-banner .cta-content {
    position: relative;
    z-index: 5;
    width: 53%;
    max-width: 700px;
}

.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 10px 18px;

    color: #fff;
    background: rgba(255,255,255,.19);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 40px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .55px;
}

.cta-label svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    flex: 0 0 auto;
}

.cta-banner .cta-content h2 {
    max-width: 680px;
    margin: 0 0 16px;

    color: #fff;
    font-size: clamp(36px, 3.5vw, 58px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.cta-banner .cta-content p {
    max-width: 600px;
    margin: 0 0 28px;

    color: rgba(255,255,255,.95);
    font-size: 17px;
    line-height: 1.7;
}

/* Батырма */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 60px;
    padding: 7px 9px 7px 27px;

    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50px;
    background: #fff;
    color: #17385f;

    font-size: 15px;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 12px 28px rgba(0,65,88,.13);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 32px rgba(0,65,88,.2);
}

.cta-button-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg,#15c9cf,#009da9);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    transition: transform .25s ease;
}

.cta-button:hover .cta-button-icon {
    transform: translateX(3px);
}

/* Төменгі үш артықшылық */

.cta-benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

.cta-benefit {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.cta-benefit-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 50%;
    background: rgba(255,255,255,.17);
}

.cta-benefit-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-benefit-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,.30);
}

/* Оң жақ көрнекі бөлік */

.cta-visual {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    width: 49%;
    pointer-events: none;
}

.cta-visual-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    top: 50%;
    left: 45%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    filter: blur(35px);
}

.cta-orbit {
    position: absolute;
    left: 43%;
    top: 52%;
    width: 340px;
    height: 180px;
    border: 8px solid rgba(255,255,255,.23);
    border-radius: 50%;
    transform: translate(-50%,-50%) rotate(-25deg);
}

.cta-orbit-two {
    width: 390px;
    height: 210px;
    border-width: 3px;
    border-color: rgba(255,255,255,.42);
    transform: translate(-50%,-50%) rotate(27deg);
}

/* Кітаптар */

.cta-books {
    position: absolute;
    z-index: 2;
    width: 260px;
    height: 105px;
    left: 15%;
    bottom: 15%;
    transform: rotate(-3deg);
}

.cta-book {
    position: absolute;
    left: 0;
    width: 250px;
    height: 42px;
    border-radius: 8px 12px 12px 8px;
    box-shadow: 0 10px 18px rgba(0,55,100,.16);
}

.cta-book-top {
    top: 12px;
    background: linear-gradient(180deg,#42c8fa,#078cdb);
    border-bottom: 6px solid #e9f7ff;
}

.cta-book-bottom {
    top: 57px;
    background: linear-gradient(180deg,#168fe0,#075bb5);
    border-bottom: 7px solid #f1f7ff;
}

/* Диплом */

.cta-diploma {
    position: absolute;
    z-index: 4;
    left: 48%;
    bottom: 15%;
    width: 130px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg,#fffaf0,#e8d4b7);
    box-shadow: 0 12px 17px rgba(0,49,82,.15);
    transform: rotate(-13deg);
}

.cta-diploma span {
    position: absolute;
    top: 0;
    left: 43%;
    width: 21px;
    height: 44px;
    background: #ed4352;
    border-radius: 3px;
}

/* Бітіру қалпағы */

.cta-cap {
    position: absolute;
    z-index: 5;
    width: 240px;
    height: 190px;
    top: 19%;
    left: 27%;
    filter: drop-shadow(0 18px 18px rgba(0,56,93,.20));
    transform: rotate(-5deg);
    animation: cta-cap-hover 5s ease-in-out infinite;
}

.cta-cap-base {
    position: absolute;
    left: 19%;
    top: 40%;
    width: 62%;
    height: 47%;
    border-radius: 12% 12% 45% 45%;
    background: linear-gradient(130deg,#18244e,#303e83 65%,#101a3b);
    clip-path: polygon(0 0,100% 0,88% 76%,50% 100%,12% 76%);
}

.cta-cap-board {
    position: absolute;
    z-index: 3;
    top: 14%;
    left: 0;
    width: 100%;
    height: 48%;
    background: linear-gradient(145deg,#334b91 0%,#17234f 55%,#080f2c 100%);
    clip-path: polygon(50% 0,100% 39%,50% 78%,0 39%);
    border-radius: 8px;
}

.cta-cap-button {
    position: absolute;
    z-index: 4;
    top: 32%;
    left: 48%;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #f7c34f;
    box-shadow: 0 0 0 4px rgba(255,207,95,.12);
}

.cta-cap-tassel {
    position: absolute;
    z-index: 4;
    top: 36%;
    left: 54%;
    width: 7px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(90deg,#f2a72c,#ffe18a,#d68b1e);
    transform: rotate(-12deg);
    transform-origin: top center;
}

.cta-cap-tassel::after {
    content: "";
    position: absolute;
    bottom: -11px;
    left: -5px;
    width: 17px;
    height: 24px;
    border-radius: 45% 45% 60% 60%;
    background: linear-gradient(90deg,#d98a1e,#ffdb67,#ef9f26);
}

/* Сәндік жазу */

.cta-handwriting {
    position: absolute;
    z-index: 5;
    top: 12%;
    right: 9%;

    color: rgba(255,255,255,.96);
    font-family: "Segoe Script","Brush Script MT",cursive;
    font-size: clamp(22px,2vw,34px);
    font-weight: 700;
    line-height: 1.4;
    transform: rotate(-8deg);
}

.cta-handwriting span {
    display: block;
    width: 130px;
    height: 9px;
    margin-top: 8px;
    border-bottom: 3px solid rgba(255,255,255,.85);
    border-radius: 50%;
    transform: rotate(-5deg);
}

/* Қолмен салынған ашық кітап */

.cta-doodle-book {
    position: absolute;
    top: 8%;
    right: 23%;
    width: 62px;
    opacity: .75;
    transform: rotate(9deg);
}

.cta-doodle-book svg {
    width: 100%;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-spark {
    position: absolute;
    z-index: 4;
    color: #fff;
    font-size: 36px;
    opacity: .8;
}

.cta-spark-one {
    top: 17%;
    left: 17%;
}

.cta-spark-two {
    right: 40%;
    bottom: 19%;
    font-size: 25px;
}

@media (prefers-reduced-motion: reduce) {
.cta-cap {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
.cta-button,
    .cta-button-icon {
        transition: none;
    }
}

/* YASSY.TECH — CTA illustration refinement */

.cta-banner {
    min-height: 510px;
    background:
        radial-gradient(ellipse at 76% 45%,
            rgba(255,255,255,.22), transparent 30%),
        linear-gradient(110deg, #009fa9 0%, #08b9c1 53%, #70e8ed 100%);
}

.cta-banner .cta-content {
    width: 51%;
    max-width: 700px;
}

.cta-visual {
    position: absolute;
    inset: 0 0 0 auto;
    width: 53%;
    overflow: hidden;
    pointer-events: none;
}

.cta-visual-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    left: 45%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255,255,255,.24);
    filter: blur(45px);
}

.cta-hero-image {
    position: absolute;
    z-index: 2;
    width: min(88%, 660px);
    height: auto;
    max-height: 94%;
    object-fit: contain;
    object-position: center;

    left: 43%;
    top: 52%;
    transform: translate(-50%, -50%);

    mix-blend-mode: screen;
    filter: drop-shadow(0 18px 22px rgba(0, 57, 85, .15));
}

.cta-banner .cta-handwriting {
    z-index: 4;
    top: 12%;
    right: 6%;
    font-size: clamp(22px, 2vw, 34px);
    line-height: 1.4;
}

.cta-banner .cta-handwriting span {
    width: 125px;
    margin-top: 8px;
    border-bottom: 3px solid rgba(255,255,255,.85);
    border-radius: 50%;
    transform: rotate(-7deg);
}

@media (max-width: 1000px) {
.cta-banner {
        min-height: 440px;
    }
}

@media (max-width: 1000px) {
.cta-banner .cta-content {
        width: 55%;
    }
}

@media (max-width: 1000px) {
.cta-visual {
        width: 47%;
    }
}

@media (max-width: 1000px) {
.cta-hero-image {
        width: 105%;
        max-height: 82%;
        left: 42%;
    }
}

@media (max-width: 1000px) {
.cta-banner .cta-handwriting {
        top: 9%;
        right: 3%;
        font-size: 20px;
    }
}

@media (max-width: 650px) {
.cta-banner {
        min-height: 620px;
        padding-bottom: 270px;
    }
}

@media (max-width: 650px) {
.cta-banner .cta-content {
        width: 100%;
    }
}

@media (max-width: 650px) {
.cta-visual {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 270px;
    }
}

@media (max-width: 650px) {
.cta-hero-image {
        width: 78%;
        max-height: 100%;
        left: 42%;
        top: 58%;
    }
}

@media (max-width: 650px) {
.cta-banner .cta-handwriting {
        top: 5%;
        right: 5%;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
.cta-hero-image {
        animation: none;
    }
}

/* CTA — соңғы композициялық түзету */

.cta-banner {
    position: relative;
    min-height: 510px;
    height: 510px;
    padding: 42px 5.2%;
    box-sizing: border-box;
    overflow: hidden;
}

.cta-banner .cta-content {
    width: 51%;
    max-width: 650px;
    flex-shrink: 0;
}

.cta-banner .cta-content h2 {
    max-width: 620px;
    font-size: clamp(38px, 3.25vw, 54px);
    line-height: 1.1;
    letter-spacing: -1.3px;
    margin-bottom: 15px;
}

.cta-banner .cta-content p {
    max-width: 540px;
    margin-bottom: 23px;
}

.cta-banner .cta-benefits {
    gap: 13px;
    margin-top: 26px;
}

.cta-banner .cta-benefit {
    gap: 9px;
    font-size: 12px;
}

.cta-banner .cta-visual {
    width: 48%;
    height: 100%;
    right: 1%;
    top: 0;
    bottom: auto;
}

.cta-banner .cta-hero-image {
    width: 76%;
    max-width: 570px;
    max-height: 82%;
    left: 43%;
    top: 54%;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.cta-banner .cta-handwriting {
    top: 13%;
    right: 4%;
    font-size: clamp(21px, 1.8vw, 30px);
    line-height: 1.35;
    transform: rotate(-7deg);
}

.cta-banner .cta-handwriting span {
    width: 105px;
}

/* YASSY.TECH — CTA final image positioning */

.cta-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cta-banner .cta-content {
    position: relative;
    z-index: 5;
    width: 52%;
}

.cta-banner .cta-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 49%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.cta-banner .cta-hero-image {
    position: absolute;
    display: block;

    width: 68%;
    max-width: 570px;
    max-height: 84%;
    height: auto;

    left: 37%;
    top: 55%;
    transform: translate(-50%, -50%);

    object-fit: contain;
    object-position: center;

    /* PNG-дің мөлдір фоны сақталады */
    mix-blend-mode: normal;
    filter: drop-shadow(0 14px 20px rgba(0, 50, 80, .12));
}

/* Жазуды суреттен бөлек орналастыру */

.cta-banner .cta-handwriting {
    position: absolute;
    z-index: 6;
    top: 13%;
    right: 4%;

    font-size: clamp(20px, 1.65vw, 29px);
    line-height: 1.4;
    transform: rotate(-7deg);
}

/* =========================================
   YASSY.TECH — IT және білім CTA баннері
   ========================================= */

.cta-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: calc(100% - 32px);
    max-width: 1800px;
    min-height: 480px;

    margin: 48px auto;
    padding: 60px clamp(28px, 5.2vw, 100px);

    display: flex;
    align-items: center;

    border: 1px solid #e3f1fc;
    border-radius: 30px;

    background-color: #f3faff;
    background-image: url("/assets/images/it-education-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    color: #16345b;
    box-shadow: 0 18px 55px rgba(49, 110, 164, 0.08);
}

/* Сол жақтағы мәтінге арналған ақшыл қабат */
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.94) 27%,
        rgba(255, 255, 255, 0.77) 43%,
        rgba(255, 255, 255, 0.12) 65%,
        rgba(255, 255, 255, 0.02) 100%
    );
}

.cta-banner .cta-decoration {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.cta-decoration-one {
    width: 280px;
    height: 280px;
    top: -190px;
    left: -90px;
    border: 1px solid rgba(65, 161, 225, 0.15);
}

.cta-decoration-two {
    width: 360px;
    height: 360px;
    right: -220px;
    bottom: -250px;
    border: 1px solid rgba(65, 161, 225, 0.2);
}

.cta-content {
    position: relative;
    z-index: 2;
    width: min(600px, 53%);
}

.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 15px;
    margin-bottom: 18px;

    color: #0B8F95;
    background: rgba(224, 245, 255, 0.94);
    border: 1px solid #cceafb;
    border-radius: 30px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.cta-label svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.2;
}

.cta-banner .cta-content h2 {
    max-width: 570px;
    margin: 0 0 18px;

    color: #142f55;
    font-size: clamp(34px, 3.5vw, 54px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -1.8px;
}

.cta-banner .cta-content p {
    max-width: 490px;
    margin: 0;

    color: #526b87;
    font-size: 16px;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    min-height: 58px;
    margin-top: 27px;
    padding: 7px 8px 7px 25px;

    color: #18375e;
    background: #ffffff;
    border: 1px solid #e0edf8;
    border-radius: 40px;

    font-size: 14px;
    font-weight: 800;

    box-shadow: 0 8px 24px rgba(34, 98, 148, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(34, 98, 148, 0.16);
}

.cta-button-icon {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;
    border-radius: 50%;

    color: #ffffff;
    background: linear-gradient(135deg, #38b9ee, #1688d7);
    font-size: 22px;
    transition: transform 0.25s ease;
}

.cta-button:hover .cta-button-icon {
    transform: translateX(2px);
}

.cta-benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: 30px;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #365775;
    font-size: 12px;
    font-weight: 750;
}

.cta-benefit-icon {
    display: grid;
    place-items: center;

    flex-shrink: 0;
    width: 36px;
    height: 36px;

    color: #168ecb;
    background: rgba(223, 244, 255, 0.94);
    border: 1px solid #d4edfc;
    border-radius: 12px;
}

.cta-benefit-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-benefit-divider {
    width: 1px;
    height: 25px;
    background: #d5e7f3;
}

/* =========================================================
   YASSY.TECH — CTA БАННЕРІНІҢ СОҢҒЫ ТҮЗЕТУЛЕРІ
   Фон: /assets/images/it-education-bg.png
   Бұл блок файлдың ең соңында тұруы керек.
   ========================================================= */

#news.cta-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;

    width: calc(100% - 32px);
    max-width: 1800px;
    min-height: 480px;
    height: auto;
    margin: 48px auto;
    padding: 60px clamp(28px, 5.2vw, 100px);

    color: #16345b;
    background-color: #f4faff;
    background-image: url("/assets/images/it-education-bg2.png");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;

    border: 1px solid #e3f1fc;
    border-radius: 30px;
    box-shadow: 0 18px 55px rgba(49, 110, 164, .08);
}

#news.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.96) 27%,
        rgba(255,255,255,.88) 42%,
        rgba(255,255,255,.42) 57%,
        rgba(255,255,255,.04) 78%,
        rgba(255,255,255,0) 100%
    );
}

#news.cta-banner > .cta-content {
    position: relative;
    z-index: 2;
    width: min(600px, 53%);
    max-width: 600px;
    flex: 0 1 600px;
}

#news.cta-banner > .cta-visual {
    display: none !important;
}

#news.cta-banner > .cta-decoration {
    z-index: 1;
    pointer-events: none;
}

#news.cta-banner .cta-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 9px 15px;
    color: #0B8F95;
    background: rgba(224,245,255,.94);
    border: 1px solid #cceafb;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
}

#news.cta-banner .cta-label svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

#news.cta-banner .cta-content h2 {
    max-width: 570px;
    margin: 0 0 18px;
    color: #142f55;
    font-size: clamp(34px, 3.5vw, 54px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -1.8px;
}

#news.cta-banner .cta-content p {
    max-width: 490px;
    margin: 0;
    color: #526b87;
    font-size: 16px;
    line-height: 1.8;
}

#news.cta-banner .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 58px;
    margin-top: 27px;
    padding: 7px 8px 7px 25px;
    color: #18375e;
    background: #fff;
    border: 1px solid #e0edf8;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(34,98,148,.1);
    transition: transform .25s ease, box-shadow .25s ease;
}

#news.cta-banner .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(34,98,148,.16);
}

#news.cta-banner .cta-button-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg,#38b9ee,#1688d7);
    font-size: 22px;
}

#news.cta-banner .cta-benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

#news.cta-banner .cta-benefit {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #365775;
    font-size: 12px;
    font-weight: 750;
}

#news.cta-banner .cta-benefit-icon {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    color: #168ecb;
    background: rgba(223,244,255,.94);
    border: 1px solid #d4edfc;
    border-radius: 12px;
}

#news.cta-banner .cta-benefit-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#news.cta-banner .cta-benefit-divider {
    width: 1px;
    height: 25px;
    background: #d5e7f3;
}

@media (max-width: 1000px) {
#news.cta-banner {
        min-height: 430px;
        padding: 45px 35px;
        background-position: 58% center;
    }
}

@media (max-width: 1000px) {
#news.cta-banner > .cta-content {
        width: 58%;
        flex-basis: 58%;
    }
}

@media (max-width: 1000px) {
#news.cta-banner .cta-content h2 {
        font-size: clamp(32px, 4.2vw, 44px);
    }
}

@media (max-width: 1000px) {
#news.cta-banner .cta-content p {
        font-size: 14px;
    }
}

@media (max-width: 1000px) {
#news.cta-banner .cta-benefits {
        gap: 10px;
    }
}

@media (max-width: 1000px) {
#news.cta-banner .cta-benefit {
        font-size: 11px;
    }
}

@media (max-width: 600px) {
#news.cta-banner {
        width: calc(100% - 24px);
        min-height: 590px;
        margin: 28px auto;
        padding: 32px 23px 230px;
        align-items: flex-start;
        border-radius: 22px;
        background-size: auto 350px;
        background-position: right bottom;
        background-color: #f8fcff;
    }
}

@media (max-width: 600px) {
#news.cta-banner::before {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,.99) 0%,
            rgba(255,255,255,.97) 43%,
            rgba(255,255,255,.72) 64%,
            rgba(255,255,255,.02) 100%
        );
    }
}

@media (max-width: 600px) {
#news.cta-banner > .cta-content {
        width: 100%;
        flex-basis: 100%;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-label {
        margin-bottom: 15px;
        font-size: 10px;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-content h2 {
        font-size: clamp(29px, 8vw, 38px);
        line-height: 1.15;
        letter-spacing: -1px;
        margin-bottom: 13px;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-content p {
        font-size: 13px;
        line-height: 1.65;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-button {
        min-height: 52px;
        margin-top: 20px;
        padding-left: 18px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-button-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-benefits {
        gap: 9px;
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-benefit {
        gap: 6px;
        font-size: 10px;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-benefit-icon {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
        border-radius: 9px;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-benefit-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 600px) {
#news.cta-banner .cta-benefit-divider {
        height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
#news.cta-banner .cta-button {
        transition: none;
    }
}

/* ==========================================
   YASSY.TECH — ADVANTAGES / АРТЫҚШЫЛЫҚТАР
   ========================================== */

.advantages.section {
    width: min(1450px, 92%);
    margin: 0 auto;
    padding: 42px 0 48px;
}

.advantages .section-top {
    margin-bottom: 26px;
}

.advantages .section-top h2 {
    margin: 10px 0 0;
    color: #142b50;
    font-size: clamp(25px, 2.4vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.8px;
    font-weight: 800;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
    border: 1px solid #e5eef5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(25, 66, 105, 0.055);
    overflow: hidden;
}

.advantage-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    min-height: 112px;
    padding: 22px 20px;
    border-right: 1px solid #e7eef5;
    background: #fff;
    transition: background .2s ease, transform .2s ease;
}

.advantage-card:last-child {
    border-right: 0;
}

.advantage-card:hover {
    background: #f8fcff;
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    color: #0B8F95;
    background: linear-gradient(145deg, #e9fbfc, #dff6fa);
    border: 1px solid #d3f0f5;
    border-radius: 16px;
}

.advantage-icon svg {
    display: block;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    stroke: currentColor;
}

.advantage-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.advantage-content strong {
    display: block;
    color: #142b50;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
}

.advantage-content small {
    display: block;
    color: #70819a;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
.advantage-card {
        transition: none;
    }
}

/* =========================================
   YASSY.TECH — ADVANTAGES SECTION
   ========================================= */

.advantages.section {
    width: min(1450px, calc(100% - 80px));
    margin: 0 auto;
    padding: 52px 0 42px;
    box-sizing: border-box;
}

.advantages .section-top {
    margin: 0 0 24px;
}

.advantages .section-top h2 {
    margin: 12px 0 0;
    color: #142b50;
    font-size: clamp(27px, 2.4vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.8px;
}

/* Артықшылықтар контейнері */
.advantages .advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid #e1edf6;
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(32, 76, 120, 0.065);
}

/* Әр артықшылық */
.advantages .advantage-card,
.advantages .advantage-grid article {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    min-height: 130px;
    padding: 22px 20px;
    box-sizing: border-box;

    background: #ffffff;
    border: 0;
    border-right: 1px solid #e6eef5;
    border-radius: 0;
    box-shadow: none;

    transition: background-color 0.2s ease;
}

.advantages .advantage-card:last-child,
.advantages .advantage-grid article:last-child {
    border-right: 0;
}

.advantages .advantage-card:hover,
.advantages .advantage-grid article:hover {
    background: #f8fcff;
}

/* Иконка */
.advantages .advantage-icon,
.advantages .advantage-grid article > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    padding: 0;
    box-sizing: border-box;

    color: #0B8F95;
    background: linear-gradient(145deg, #e8f9fb, #ddf5f8);
    border: 1px solid #d1eff3;
    border-radius: 16px;
}

.advantages .advantage-icon svg,
.advantages .advantage-grid article > span:first-child svg {
    display: block;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

/* Мәтін */
.advantages .advantage-content,
.advantages .advantage-grid article > div {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-width: 0;
}

.advantages .advantage-content strong,
.advantages .advantage-grid article strong {
    display: block;
    margin: 0;
    color: #142b50;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 750;
}

.advantages .advantage-content small,
.advantages .advantage-grid article small {
    display: block;
    margin: 0;
    color: #71839e;
    font-size: 11px;
    line-height: 1.7;
    font-weight: 400;
}

/* =========================================
   YASSY.TECH — ADVANTAGES MODERN DESIGN
   ========================================= */

.advantages.section {
    position: relative;
    isolation: isolate;
    width: min(1450px, calc(100% - 80px));
    margin: 0 auto;
    padding: 54px 0 58px;
    box-sizing: border-box;
}

/* Жұмсақ фондық декор */
.advantages.section::before,
.advantages.section::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(1px);
}

.advantages.section::before {
    width: 220px;
    height: 220px;
    top: 100px;
    right: 7%;
    background: radial-gradient(
        circle,
        rgba(217, 238, 255, 0.38),
        rgba(217, 238, 255, 0)
    );
}

.advantages.section::after {
    width: 180px;
    height: 180px;
    bottom: 0;
    left: 32%;
    background: radial-gradient(
        circle,
        rgba(220, 250, 246, 0.35),
        rgba(220, 250, 246, 0)
    );
}

/* Тақырып */
.advantages-heading {
    margin-bottom: 27px;
}

.advantages-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 9px 17px;
    border-radius: 999px;
    background: #def7f8;
    color: #0B8F95;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.45px;
}

.advantages-heading h2 {
    margin: 16px 0 0;
    color: #142b50;
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Карточкалар торы */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* Негізгі карточка */
.advantage-card {
    --card-accent: #159fc7;
    --card-tint: #eff8ff;
    --card-border: #cfe7ff;

    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    min-height: 194px;
    padding: 25px 22px;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        var(--card-tint) 100%
    );
    border: 1px solid var(--card-border);
    border-radius: 25px;
    box-shadow: 0 12px 30px rgba(40, 80, 125, 0.055);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

/* Карточка ішіндегі жұмсақ дөңгелек */
.advantage-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 155px;
    height: 155px;
    right: -72px;
    bottom: -88px;
    border-radius: 50%;
    background: var(--card-accent);
    opacity: 0.055;
    transition: transform 0.25s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(40, 80, 125, 0.10);
    border-color: var(--card-accent);
}

.advantage-card:hover::before {
    transform: scale(1.3);
}

/* Түстер */
.advantage-card--blue {
    --card-accent: #249bd6;
    --card-tint: #f0f8ff;
    --card-border: #d4e8ff;
}

.advantage-card--mint {
    --card-accent: #08a99c;
    --card-tint: #effdfa;
    --card-border: #d2f3eb;
}

.advantage-card--purple {
    --card-accent: #7766e8;
    --card-tint: #f5f3ff;
    --card-border: #e2dcff;
}

.advantage-card--orange {
    --card-accent: #ed9c48;
    --card-tint: #fff8ef;
    --card-border: #ffe6c9;
}

/* Иконка контейнері */
.advantage-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    box-sizing: border-box;
    color: var(--card-accent);
    background: linear-gradient(
        145deg,
        #ffffff 0%,
        var(--card-tint) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 21px;
    box-shadow:
        0 7px 18px rgba(37, 81, 119, 0.08),
        inset 0 0 0 1px rgba(190, 221, 244, 0.24);
}

.advantage-icon svg {
    display: block;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    stroke: currentColor;
}

/* Мәтін */
.advantage-text {
    flex: 1 1 auto;
    min-width: 0;
}

.advantage-text h3 {
    margin: 0 0 10px;
    color: #142b50;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.advantage-text p {
    margin: 0;
    color: #6e819e;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 400;
}

/* Жебе */
.advantage-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    margin-left: auto;
    align-self: center;
    color: var(--card-accent);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(221, 235, 247, 0.9);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(35, 77, 116, 0.06);
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.advantage-arrow svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
}

.advantage-card:hover .advantage-arrow {
    color: #ffffff;
    background: var(--card-accent);
    transform: translateX(3px);
}

/* ==========================================
   YASSY.TECH — MODERN ABOUT SECTION
   ========================================== */

.about-section {
    --about-teal: #0B8F95;
    --about-navy: #142b50;
    --about-muted: #687e9b;

    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(250px, 0.72fr);
    align-items: center;
    gap: 34px;

    width: min(1450px, calc(100% - 80px));
    margin: 20px auto 70px;
    padding: 34px;

    background: #ffffff;
    border: 1px solid #e7eff7;
    border-radius: 30px;
    box-shadow: 0 18px 55px rgba(30, 64, 105, 0.055);
    box-sizing: border-box;
}

/* Сурет */
.about-section .about-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 330px;
    height: 100%;
    overflow: hidden;

    background-color: #e8f4fa;
    background-image:
        linear-gradient(
            180deg,
            rgba(12, 35, 63, 0.05) 20%,
            rgba(12, 35, 63, 0.52) 100%
        ),
        url("/assets/images/fon1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    border: 1px solid rgba(221, 235, 247, 0.9);
    border-radius: 23px;
    isolation: isolate;
}

.about-section .about-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        145deg,
        rgba(8, 34, 63, 0.02),
        rgba(8, 34, 63, 0.18)
    );
    pointer-events: none;
}

/* Суреттің жоғарғы белгісі */
.about-photo-top {
    position: absolute;
    top: 20px;
    left: 20px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-live-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #77f0d4;
    box-shadow: 0 0 12px rgba(119, 240, 212, 0.8);
}

/* Ойнату батырмасы */
.about-section .play-large {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;
    padding: 0;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.19);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;

    box-shadow: 0 8px 28px rgba(8, 35, 70, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.about-section .play-large svg {
    display: block;
    width: 27px;
    height: 27px;
    margin-left: 4px;
}

.about-section .play-large:hover {
    transform: scale(1.09);
    background: var(--about-teal);
    box-shadow: 0 10px 32px rgba(7, 157, 165, 0.28);
}

/* Суреттің төменгі жазуы */
.about-section .photo-caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;

    display: flex;
    align-items: center;
    gap: 11px;

    min-height: 52px;
    padding: 10px 14px;
    box-sizing: border-box;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;

    font-size: 13px;
    font-weight: 700;

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.photo-caption-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
}

.photo-caption-icon svg {
    width: 18px;
    height: 18px;
}

.about-photo:hover .caption-arrow {
    transform: translate(3px, -3px);
}

/* Ақпарат мәтіні */
.about-section .about-copy {
    min-width: 0;
    padding: 12px 0;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 17px;
    color: var(--about-teal);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-eyebrow-line {
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: var(--about-teal);
}

.about-section .about-copy h2 {
    margin: 0 0 17px;
    color: var(--about-navy);

    font-size: clamp(26px, 2.1vw, 35px);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.about-section .about-copy > p {
    margin: 0;
    color: var(--about-muted);

    font-size: 14px;
    line-height: 1.9;
}

/* Артықшылық белгілері */
.about-highlights {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #3c5575;
    font-size: 12px;
    font-weight: 600;
}

.about-highlight-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;
    flex: 0 0 23px;

    color: var(--about-teal);
    background: #e6f8f8;
    border-radius: 50%;

    font-size: 13px;
    font-weight: 800;
}

/* Толығырақ батырмасы */
.about-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 49px;
    margin-top: 24px;
    padding: 6px 7px 6px 22px;
    box-sizing: border-box;

    color: #ffffff;
    background: linear-gradient(135deg, #0aa9b0, #0B8F95);
    border: 1px solid rgba(7, 157, 165, 0.15);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(7, 157, 165, 0.15);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(7, 157, 165, 0.24);
}

.about-more-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;
    flex: 0 0 35px;

    color: var(--about-teal);
    background: #ffffff;
    border-radius: 50%;
    font-size: 19px;

    transition: transform 0.2s ease;
}

.about-more-button:hover .about-more-arrow {
    transform: translateX(3px);
}

/* Дәйексөз карточкасы */
.about-section .about-quote {
    position: relative;
    align-self: center;
    min-width: 0;
    margin: 0;
    padding: 25px 23px;
    overflow: hidden;
    box-sizing: border-box;

    background: linear-gradient(145deg, #f8fcff, #ffffff);
    border: 1px solid #dcecf6;
    border-radius: 23px;

    box-shadow: 0 10px 28px rgba(38, 79, 120, 0.045);
}

.about-quote-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 23px;
}

.about-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--about-teal);
}

.about-quote-icon svg {
    display: block;
    width: 34px;
    height: 34px;
}

.about-quote-label {
    color: #8a9bb0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.about-section .about-quote > p {
    position: relative;
    z-index: 1;

    margin: 0;
    color: #253d5d;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.about-quote-author {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 24px;
    color: #71849d;
    font-size: 12px;
    line-height: 1.6;
}

.about-author-line {
    width: 24px;
    height: 2px;
    flex: 0 0 24px;
    border-radius: 2px;
    background: var(--about-teal);
}

.about-section .about-quote cite {
    font-style: normal;
}

.about-quote-decoration {
    position: absolute;
    right: 9px;
    bottom: -49px;

    color: rgba(7, 157, 165, 0.055);
    font-family: Georgia, serif;
    font-size: 190px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

/* Видео терезесі */
.college-video-modal[hidden] {
    display: none !important;
}

.college-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    background: rgba(10, 27, 49, 0.68);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.college-video-dialog {
    position: relative;
    width: min(680px, 100%);
    min-height: 300px;
    padding: 24px;
    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #e1edf6;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.22);
}

.college-video-close {
    position: absolute;
    top: 12px;
    right: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    padding: 0;

    color: #304866;
    background: #f0f6fb;
    border: 0;
    border-radius: 50%;
    font-size: 27px;
    cursor: pointer;
}

.college-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    text-align: center;
}

.college-video-placeholder h3 {
    margin: 0 0 10px;
    color: #142b50;
    font-size: 21px;
}

.college-video-placeholder p {
    max-width: 390px;
    margin: 0;
    color: #687e9b;
    font-size: 14px;
    line-height: 1.7;
}

/* =================================
   YASSY.TECH — PLATFORM ABOUT
   ================================= */

.about-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(32px, 5vw, 76px);

    width: min(1450px, calc(100% - 80px));
    margin: 70px auto;
    padding: 42px;

    background: #fff;
    border: 1px solid #e4edf6;
    border-radius: 30px;
    box-shadow: 0 18px 55px rgba(28, 63, 105, 0.06);
    box-sizing: border-box;
}

/* Графикалық IT блогы */
.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 410px;
    overflow: hidden;

    background:
        radial-gradient(ellipse at 70% 25%, rgba(91, 204, 244, .28), transparent 38%),
        linear-gradient(145deg, #f7fcff 0%, #e9f7ff 52%, #e3fafa 100%);

    border: 1px solid #e1f0fb;
    border-radius: 25px;
    isolation: isolate;
}

.about-visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 270px;
    height: 270px;
    transform: translate(-50%, -50%);

    background: rgba(57, 177, 233, .14);
    border-radius: 50%;
    filter: blur(30px);
}

.about-visual-label {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 14px;
    color: #0B8F95;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(194, 229, 247, .9);
    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.about-status-dot {
    width: 7px;
    height: 7px;
    background: #10b7ad;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 183, 173, .12);
}

.about-visual-center {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 190px;
    height: 190px;

    background: linear-gradient(145deg, #ffffff, #e9f7ff);
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 42px;

    box-shadow:
        0 25px 65px rgba(48, 124, 184, .15),
        inset 0 1px 0 #ffffff;

    transform: rotate(-5deg);
}

.about-visual-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 105px;
    height: 105px;

    color: #fff;
    background: linear-gradient(145deg, #39b6f0, #087ec7);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 29px;

    box-shadow: 0 16px 32px rgba(15, 133, 204, .25);
}

.about-visual-icon svg {
    width: 57px;
    height: 57px;
}

.about-code-symbol {
    position: absolute;
    right: -25px;
    bottom: -19px;

    padding: 10px 15px;
    color: #0B8F95;
    background: #ffffff;
    border: 1px solid #dceefa;
    border-radius: 13px;

    font-family: Consolas, monospace;
    font-size: 20px;
    font-weight: 800;

    box-shadow: 0 9px 24px rgba(35, 97, 147, .12);
}

/* Қалқымалы карточкалар */
.about-floating-card {
    position: absolute;
    z-index: 3;

    display: flex;
    align-items: center;
    gap: 11px;

    max-width: calc(100% - 36px);
    padding: 13px 15px;
    box-sizing: border-box;

    background: rgba(255, 255, 255, .93);
    border: 1px solid #e0edf7;
    border-radius: 16px;

    box-shadow: 0 12px 32px rgba(28, 68, 110, .09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-floating-card--top {
    top: 105px;
    left: 20px;
}

.about-floating-card--bottom {
    right: 18px;
    bottom: 35px;
}

.about-floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
}

.about-floating-icon--blue {
    color: #168fda;
    background: #e5f5ff;
}

.about-floating-icon--teal {
    color: #009e9f;
    background: #def9f5;
    font-size: 20px;
}

.about-floating-card strong,
.about-floating-card small {
    display: block;
}

.about-floating-card strong {
    color: #183457;
    font-size: 12px;
    font-weight: 800;
}

.about-floating-card small {
    margin-top: 5px;
    color: #788da7;
    font-size: 10px;
    line-height: 1.5;
}

/* Жұмсақ шеңберлер */
.about-orbit {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(65, 177, 223, .18);
    border-radius: 50%;
    pointer-events: none;
}

.about-orbit--one {
    top: -100px;
    right: -80px;
    width: 310px;
    height: 310px;
}

.about-orbit--two {
    bottom: -180px;
    left: -90px;
    width: 350px;
    height: 350px;
}

/* Мәтін */
.about-section .about-copy {
    min-width: 0;
    padding: 10px 0;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;

    color: #0B8F95;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.about-eyebrow-line {
    width: 24px;
    height: 2px;
    background: #0B8F95;
    border-radius: 2px;
}

.about-section .about-copy h2 {
    max-width: 600px;
    margin: 0 0 18px;

    color: #142b50;
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.about-section .about-copy h2 span {
    display: block;
    color: #0B8F95;
}

.about-section .about-copy > p {
    max-width: 580px;
    margin: 0;

    color: #6a809b;
    font-size: 14px;
    line-height: 1.95;
}

/* Платформа мүмкіндіктері */
.about-feature-list {
    display: grid;
    gap: 17px;
    margin-top: 26px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;
    flex: 0 0 43px;

    color: #0B8F95;
    background: #e8f9fa;
    border: 1px solid #d6f1f3;
    border-radius: 14px;
}

.about-feature-icon svg {
    width: 22px;
    height: 22px;
}

.about-feature strong,
.about-feature small {
    display: block;
}

.about-feature strong {
    color: #1c3658;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.about-feature small {
    margin-top: 4px;
    color: #7b8fa8;
    font-size: 11px;
    line-height: 1.6;
}

/* Курстар батырмасы */
.about-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    min-height: 52px;
    margin-top: 28px;
    padding: 6px 7px 6px 22px;
    box-sizing: border-box;

    color: #ffffff;
    background: linear-gradient(135deg, #0aaab0, #0B8F95);
    border: 1px solid #0B8F95;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 10px 24px rgba(7, 157, 165, .16);
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(7, 157, 165, .23);
}

.about-more-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    color: #0B8F95;
    background: #ffffff;
    border-radius: 50%;
    font-size: 19px;
    transition: transform .2s ease;
}

@media (prefers-reduced-motion: reduce) {
.about-section *,
    .about-section *::before,
    .about-section *::after {
        transition: none !important;
    }
}

/* Hero image: use the local fon1.png on desktop and mobile */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-image: url("../images/fon1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-note,
.handwritten,
.hero-shapes {
    z-index: 2;
}

/* Advantages: consistent cards and icons */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid #e1edf5;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(25, 58, 91, .055);
}

.advantage-grid article {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    min-height: 130px;
    padding: 22px 24px;
    border-right: 1px solid #e5eef5;
    border-bottom: 0;
}

.advantage-grid article:last-child {
    border-right: 0;
}

.advantage-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    color: #0B8F95;
    background: #e4f8fa;
    border: 1px solid #d1f0f3;
    border-radius: 17px;
}

.advantage-grid article > span svg {
    display: block;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
}

.advantage-grid article > div {
    min-width: 0;
}

.advantage-grid strong {
    display: block;
    margin-bottom: 7px;
    color: #172f53;
    font-size: 13px;
    line-height: 1.45;
}

.advantage-grid small {
    display: block;
    color: #71839c;
    font-size: 11px;
    line-height: 1.65;
}

@media (max-width: 980px) {
.advantage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
.advantage-grid article:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 980px) {
.advantage-grid article:nth-child(-n+2) {
        border-bottom: 1px solid #e5eef5;
    }
}

@media (max-width: 600px) {
.advantage-grid {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 18px;
    }
}

@media (max-width: 600px) {
.advantage-grid article {
        min-height: 100px;
        padding: 18px;
        border-right: 0;
        border-bottom: 1px solid #e5eef5;
    }
}

@media (max-width: 600px) {
.advantage-grid article:nth-child(2) {
        border-bottom: 1px solid #e5eef5;
    }
}

@media (max-width: 600px) {
.advantage-grid article:last-child {
        border-bottom: 0;
    }
}

/* Түсті нұсқалары әртүрлі карточкалар бір палитраға келтірілді. */
.quick-card--blue,
.quick-card--purple,
.quick-card--green,
.quick-card--orange,
.advantage-card--blue,
.advantage-card--mint,
.advantage-card--purple,
.advantage-card--orange {
    --card-accent: var(--brand-primary);
    --card-soft: var(--brand-soft);
}

.quick-card--blue .quick-icon,
.quick-card--purple .quick-icon,
.quick-card--green .quick-icon,
.quick-card--orange .quick-icon,
.advantage-card--blue .advantage-icon,
.advantage-card--mint .advantage-icon,
.advantage-card--purple .advantage-icon,
.advantage-card--orange .advantage-icon {
    color: var(--brand-primary);
    background: var(--brand-soft);
}

.course-category-teal,
.course-category-purple,
.course-category-green,
.course-category-blue,
.course-open-teal,
.course-open-purple,
.course-open-green,
.course-open-blue {
    --course-accent: var(--brand-primary);
}

.course-open-teal,
.course-open-purple,
.course-open-green,
.course-open-blue {
    color: var(--brand-primary);
    background: var(--brand-soft);
}

/* ===== YASSY LEARN — QUICK LINKS ===== */

.quick-links {
    width: calc(100% - 40px);
    max-width: 1700px;
    margin: 28px auto 40px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.quick-card {
    --accent: #169eaa;
    --soft: #f2faff;
    --border: #cceaff;

    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 21px;
    min-width: 0;
    min-height: 163px;
    padding: 24px;
    overflow: hidden;

    color: #10264d;
    text-decoration: none;
    background: linear-gradient(115deg, var(--soft), #fff);
    border: 1px solid var(--border);
    border-radius: 21px;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 12%, transparent);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Карточка түстері */

.quick-card--blue {
    --accent: #159eaa;
    --soft: #f1f9ff;
    --border: #c8e7ff;
}

.quick-card--purple {
    --accent: #8960f5;
    --soft: #f7f2ff;
    --border: #e1d2ff;
}

.quick-card--green {
    --accent: #16b99d;
    --soft: #effff9;
    --border: #c4f4e6;
}

.quick-card--orange {
    --accent: #ff9829;
    --soft: #fff8f0;
    --border: #ffdfbd;
}

/* Төменгі оң жақтағы жұмсақ фон */

.quick-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 175px;
    height: 100px;
    right: -18px;
    bottom: -53px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .08;
}

/* Иконка */

.quick-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--accent) 78%, white),
        var(--accent)
    );
    border-radius: 19px;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 22%, transparent);
}

.quick-icon svg {
    display: block;
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Мәтін */

.quick-content {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-content strong {
    display: block;
    color: #10264d;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 750;
}

.quick-content small {
    display: block;
    max-width: 245px;
    color: #657894;
    font-size: 13px;
    line-height: 1.65;
}

/* Жебе */

.quick-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 5px 14px color-mix(in srgb, var(--accent) 22%, transparent);
    font-size: 25px;
    line-height: 1;
    transition: transform .25s ease, background .25s ease;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px color-mix(in srgb, var(--accent) 19%, transparent);
}

.quick-card:hover .quick-arrow {
    transform: translate(3px, -50%);
    background: color-mix(in srgb, var(--accent) 82%, #10264d);
}

/* Арт-суреттер */

.quick-art {
    position: absolute;
    z-index: -1;
    right: -2px;
    bottom: -10px;
    width: 112px;
    height: 100px;
    color: var(--accent);
    opacity: .25;
    pointer-events: none;
    transition: transform .3s ease;
}

.quick-art--test,
.quick-art--certificate {
    width: 112px;
    height: 105px;
}

.quick-art--laptop {
    width: 120px;
    height: 105px;
}

/* YASSY LEARN — QUICK LINKS FINAL FIX */

.quick-links .quick-card {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: 170px !important;
    padding: 26px 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    border-radius: 24px !important;
    background: linear-gradient(115deg, var(--soft), #fff) !important;
    border: 1px solid var(--border) !important;
}

.quick-links .quick-card--blue {
    --accent: #159eaa;
    --soft: #f1f9ff;
    --border: #c8e7ff;
}

.quick-links .quick-card--purple {
    --accent: #8960f5;
    --soft: #f7f2ff;
    --border: #e1d2ff;
}

.quick-links .quick-card--green {
    --accent: #16b99d;
    --soft: #effff9;
    --border: #c4f4e6;
}

.quick-links .quick-card--orange {
    --accent: #ff9829;
    --soft: #fff8f0;
    --border: #ffdfbd;
}

/* Иконканың фоны карточка түсіне сәйкес келеді */
.quick-links .quick-card .quick-icon {
    flex: 0 0 70px !important;
    width: 70px !important;
    height: 70px !important;
    display: grid !important;
    place-items: center !important;
    color: var(--accent) !important;
    background: color-mix(in srgb, var(--accent) 11%, white) !important;
    border: 1px solid color-mix(in srgb, var(--accent) 10%, white) !important;
    border-radius: 21px !important;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 16%, transparent) !important;
}

.quick-links .quick-icon svg {
    width: 34px !important;
    height: 34px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* Мәтін */
.quick-links .quick-content {
    position: relative !important;
    z-index: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-right: 24px !important;
}

.quick-links .quick-content strong {
    color: #10264d !important;
    font-size: 18px !important;
    font-weight: 750 !important;
}

.quick-links .quick-content small {
    color: #657894 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

/* Жебе */
.quick-links .quick-arrow {
    position: absolute !important;
    top: 50% !important;
    right: 17px !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
    height: 46px !important;
    display: grid !important;
    place-items: center !important;
    color: white !important;
    background: var(--accent) !important;
    border-radius: 50% !important;
    font-size: 25px !important;
    line-height: 1 !important;
}

/* Артқы суреттер */
.quick-links .quick-art {
    position: absolute !important;
    z-index: -1 !important;
    right: -2px !important;
    bottom: -12px !important;
    width: 115px !important;
    height: 105px !important;
    color: var(--accent) !important;
    opacity: .23 !important;
    pointer-events: none !important;
}

.quick-links .quick-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 30px color-mix(in srgb, var(--accent) 18%, transparent) !important;
}

@media (max-width: 1100px) {
.quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
.quick-links {
        grid-template-columns: 1fr !important;
        width: calc(100% - 28px) !important;
    }
}

@media (max-width: 600px) {
.quick-links .quick-card {
        min-height: 120px !important;
        padding: 17px 14px !important;
    }
}

@media (max-width: 600px) {
.quick-links .quick-card .quick-icon {
        flex-basis: 52px !important;
        width: 52px !important;
        height: 52px !important;
    }
}

@media (max-width: 600px) {
.quick-links .quick-content strong {
        font-size: 15px !important;
    }
}

@media (max-width: 600px) {
.quick-links .quick-content small {
        font-size: 12px !important;
    }
}

@media (max-width: 600px) {
.quick-links .quick-arrow {
        width: 34px !important;
        height: 34px !important;
        right: 10px !important;
    }
}

/* Басты экран тақырыбы */
.hero h1 {
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.8px;
}

/* Бөлім тақырыптары */
.section-top h2,
.about-copy h2,
.cta-banner h2 {
    font-family: var(--font-heading) !important;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.25;
}

/* Карточкалар */
.quick-content strong,
.course-info h3,
.advantage-grid strong {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    letter-spacing: -0.35px;
}

.quick-content strong {
    font-size: 17px;
    line-height: 1.45;
}

.quick-content small {
    font-family: var(--font-body) !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
}

/* Батырмалар */
.btn,
button,
.quick-arrow {
    font-family: var(--font-body) !important;
    font-weight: 600;
}

.hero .eyebrow,
.section .eyebrow,
.advantages-eyebrow,
.advantages .eyebrow {
    font-family: var(--font-body) !important;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .65px;
}

.hero h1 {
    font-family: var(--font-heading) !important;
    font-size: clamp(44px, 4.7vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2.1px;
}

.hero-content > p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: -.2px;
}

.hero-buttons .btn,
.btn,
.text-link {
    font-family: var(--font-body) !important;
    font-weight: 650;
    letter-spacing: -.15px;
}

.hero-benefits {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -.1px;
}

.hero-note strong {
    font-family: var(--font-heading) !important;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: -.25px;
}

.hero-note small {
    font-size: 12px;
    line-height: 1.6;
}

.quick-content strong {
    font-size: 17px !important;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: -.35px;
}

.quick-content small {
    font-size: 13px !important;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -.08px;
}

.section-top h2,
.advantages-heading h2,
.advantages .section-title,
.about-copy h2 {
    font-family: var(--font-heading) !important;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -1.05px;
}

.section-top > p,
.section-description,
.about-copy p {
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: -.12px;
}

.course-image span,
.course-category,
.course-badge,
.course-tag {
    font-family: var(--font-body) !important;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .35px;
}

.course-info h3 {
    font-size: 16px !important;
    line-height: 1.45;
    font-weight: 750;
    letter-spacing: -.4px;
}

.course-info p,
.course-description {
    font-size: 13px;
    line-height: 1.75;
    color: #687f9e;
}

.course-meta {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.advantage-grid strong,
.advantages .advantage-content strong {
    font-family: var(--font-heading) !important;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -.3px;
}

.advantage-grid small,
.advantages .advantage-content small {
    font-size: 12px;
    line-height: 1.7;
    font-weight: 400;
}

.cta-banner h2 {
    font-family: var(--font-heading) !important;
    font-weight: 800;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.cta-banner p {
    font-size: 14px;
    line-height: 1.8;
}

.about-copy h2 {
    font-size: clamp(27px, 2.5vw, 36px);
}

.about-copy p {
    font-size: 14px;
    line-height: 1.9;
}

.about-section blockquote p {
    font-family: var(--font-heading) !important;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.7;
    letter-spacing: -.25px;
}

.about-section cite {
    font-family: var(--font-body) !important;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 980px) {
.hero h1 {
        font-size: clamp(40px, 6vw, 56px);
        letter-spacing: -1.5px;
    }
}

@media (max-width: 980px) {
.hero-content > p {
        font-size: 15px;
    }
}

@media (max-width: 980px) {
.course-info h3 {
        font-size: 15px !important;
    }
}

@media (max-width: 600px) {
.hero h1 {
        font-size: clamp(36px, 10vw, 45px);
        line-height: 1.12;
        letter-spacing: -1.2px;
    }
}

@media (max-width: 600px) {
.hero-content > p {
        font-size: 14px;
        line-height: 1.8;
    }
}

@media (max-width: 600px) {
.section-top h2,
    .advantages-heading h2,
    .advantages .section-title,
    .about-copy h2 {
        font-size: 25px;
        letter-spacing: -.65px;
        line-height: 1.25;
    }
}

@media (max-width: 600px) {
.quick-content strong {
        font-size: 15px !important;
    }
}

@media (max-width: 600px) {
.quick-content small {
        font-size: 12px !important;
    }
}

@media (max-width: 600px) {
.course-info h3 {
        font-size: 13px !important;
        letter-spacing: -.2px;
    }
}

@media (max-width: 600px) {
.course-info p,
    .course-description {
        font-size: 12px;
    }
}

/* Main heading hierarchy */
h1, h2, h3, h4, h5, h6,
.hero h1,
.section-top h2,
.advantages-heading h2,
.advantages .section-title,
.about-copy h2,
.cta-banner h2,
.course-info h3 {
    font-family: var(--font-heading) !important;
    color: var(--it-ink);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.65px;
    text-wrap: balance;
}

.hero h1 {
    font-size: clamp(44px, 4.5vw, 66px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1.9px;
}

.section-top h2,
.advantages-heading h2,
.advantages .section-title,
.about-copy h2 {
    font-size: clamp(29px, 3vw, 43px);
    letter-spacing: -1.15px;
}

.course-info h3 {
    font-size: 18px !important;
    line-height: 1.38;
    letter-spacing: -0.45px;
}

.hero .eyebrow,
.section .eyebrow,
.advantages-eyebrow,
.advantages .eyebrow,
.course-category,
.course-badge,
.course-tag {
    font-family: var(--font-body) !important;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .55px;
}

p,
li,
label,
.section-top > p,
.section-description,
.about-copy p,
.course-info p,
.course-description {
    font-family: var(--font-body) !important;
    line-height: 1.8;
}

.hero-content > p {
    font-size: clamp(15px, 1.12vw, 17px);
    line-height: 1.85;
    letter-spacing: -0.2px;
    color: #496482;
}

.quick-content small {
    font-size: 13px !important;
    line-height: 1.7;
}

.course-info p,
.course-description {
    color: #6a819f;
    font-size: 13px;
}

@media (max-width: 980px) {
.hero h1 {
        font-size: clamp(40px, 6vw, 56px);
        letter-spacing: -1.45px;
    }
}

@media (max-width: 980px) {
.section-top h2,
    .advantages-heading h2,
    .advantages .section-title,
    .about-copy h2 {
        font-size: clamp(27px, 4vw, 36px);
        letter-spacing: -.8px;
    }
}

@media (max-width: 600px) {
.hero h1 {
        font-size: clamp(35px, 9.5vw, 45px);
        line-height: 1.12;
        letter-spacing: -1.05px;
    }
}

@media (max-width: 600px) {
.section-top h2,
    .advantages-heading h2,
    .advantages .section-title,
    .about-copy h2 {
        font-size: 26px;
        letter-spacing: -.55px;
    }
}

@media (max-width: 600px) {
.course-info h3 {
        font-size: 15px !important;
        letter-spacing: -.25px;
    }
}


/* =========================================================
   YASSY.TECH — ДИЗАЙНДЫ ҚАЛПЫНА КЕЛТІРУ
   Бөлімдер: курстар карточкалары және колледж туралы блок
   Бұл блокты home.css файлының ЕҢ СОҢЫНА қосыңыз.
   ========================================================= */

/* Курстар бөлімі — тақырып пен карточкалар */
.courses-section {
    width: min(100% - 48px, 1620px);
    margin-inline: auto;
    padding: 48px 0 56px;
}

.courses-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.courses-heading-text {
    min-width: 0;
}

.courses-heading h2 {
    margin: 18px 0 12px;
    color: #10264d;
    font-size: clamp(25px, 2.3vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.courses-intro {
    margin: 0;
    max-width: 760px;
    color: #667b96;
    font-size: 14px;
    line-height: 1.7;
}

.courses-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: #087f8b;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.course-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.course-card-premium {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2ebf4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(24, 55, 91, .06);
}

.course-card-premium .course-image {
    display: flex;
    align-items: flex-end;
    min-width: 0;
    height: 195px;
    min-height: 195px;
    padding: 18px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.course-card-premium .course-info-premium {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 18px !important;
}

.course-card-premium .course-teacher-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
    min-width: 0;
    margin-bottom: 20px;
}

.course-card-premium .teacher-avatar {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: cover;
    grid-row: 1 / span 2;
}

.course-card-premium .teacher-details {
    min-width: 0;
    overflow-wrap: anywhere;
}

.course-card-premium .teacher-details strong {
    display: block;
    color: #10264d;
    font-size: 13px;
    line-height: 1.4;
}

.course-card-premium .teacher-details small {
    display: block;
    margin-top: 5px;
    color: #61758f;
    font-size: 11px;
    line-height: 1.5;
}

.course-card-premium .course-stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0;
    border: 0;
}

.course-card-premium .course-stat strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #087caf;
    font-size: 10px;
    white-space: nowrap;
}

.course-card-premium .course-stat small {
    color: #8292a8;
    font-size: 9px;
    white-space: nowrap;
}

.course-card-premium .course-stat .course-small-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
}

.course-card-premium .course-date {
    display: none;
}

.course-card-premium .course-info h3 {
    min-height: 0;
    margin: 0 0 12px;
    color: #10264d;
    font-size: clamp(16px, 1.1vw, 20px);
    font-weight: 850;
    line-height: 1.4;
}

.course-card-premium .course-description {
    flex: 1;
    margin: 0 0 22px;
    color: #7186a3;
    font-size: 13px;
    line-height: 1.75;
}

.course-card-premium .course-footer-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eaf0f6;
}

.course-card-premium .course-meta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.course-card-premium .course-meta-pill,
.course-card-premium .course-level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #657c98;
    font-size: 10px;
    line-height: 1.4;
}

.course-card-premium .course-meta-pill {
    padding: 10px 12px;
    border-radius: 12px;
    background: #e9f9fb;
    color: #087f8b;
    white-space: nowrap;
}

.course-card-premium .course-meta-pill svg,
.course-card-premium .course-level svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.course-card-premium .course-open {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid #d9f1f3;
    border-radius: 50%;
    color: #087f8b;
    text-decoration: none;
}

.course-card-premium .course-open svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

/* Колледж туралы — екі баған, дәйексөз суреттің астында */
.about-section {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: 28px 44px;
    width: min(100% - 48px, 1480px);
    margin: 36px auto 48px;
    padding: 42px;
    border: 1px solid #e1edf7;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 12px 45px rgba(30, 72, 112, .045);
}

.about-section .about-photo {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-height: 340px;
    border-radius: 22px;
}

.about-section .about-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    min-width: 0;
    padding: 12px 0;
}

.about-section blockquote {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 26px 24px;
    border: 1px solid #dcecf8;
    border-radius: 24px;
    background: linear-gradient(135deg, #f7fcff, #fff);
}

.about-section blockquote p {
    color: #17365e;
    font-size: 15px;
    line-height: 1.7;
}

.about-section cite {
    text-align: left;
}

@media (max-width: 1250px) {
    .course-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .course-card-premium .course-teacher-row {
        grid-template-columns: 68px minmax(0, 1fr) auto;
    }

    .course-card-premium .teacher-avatar {
        width: 68px;
        height: 68px;
        grid-row: 1 / span 2;
    }

    .course-card-premium .course-stat {
        grid-column: 2;
    }

    .course-card-premium .course-date {
        display: flex;
        grid-column: 3;
        grid-row: 1 / span 2;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 9px;
        border-left: 1px solid #edf2f6;
    }
}

@media (max-width: 800px) {
    .about-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 24px;
        border-radius: 24px;
    }

    .about-section .about-photo,
    .about-section .about-copy,
    .about-section blockquote {
        grid-column: 1;
        grid-row: auto;
    }

    .about-section .about-photo {
        min-height: 280px;
    }

    .about-section .about-copy {
        padding: 0;
    }

    .about-section blockquote {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .courses-section {
        width: min(100% - 32px, 1620px);
        padding: 34px 0 40px;
    }

    .courses-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .courses-heading h2 {
        font-size: 26px;
    }

    .course-grid-premium {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .course-card-premium .course-image {
        height: 200px;
        min-height: 200px;
    }

    .course-card-premium .course-teacher-row {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .course-card-premium .teacher-avatar {
        width: 64px;
        height: 64px;
    }

    .course-card-premium .course-date {
        display: none;
    }

    .course-card-premium .course-stat {
        grid-column: 2 / 4;
        flex-direction: row;
    }

    .about-section {
        width: calc(100% - 32px);
        margin: 24px auto 32px;
        padding: 18px;
        gap: 20px;
    }

    .about-section .about-photo {
        min-height: 220px;
    }
}



/* === HOME DESIGN POLISH — calmer typography, refined cards === */
:root {
    --home-ink: #17345b;
    --home-muted: #71839a;
    --home-teal: #078b98;
    --home-line: #e7eef5;
}

/* Keep the page airy without making every element oversized */
.courses-section {
    width: min(100% - 60px, 1740px);
    margin-inline: auto;
    padding: 38px 0 48px;
}

.courses-heading {
    margin-bottom: 24px;
}

.courses-heading h2 {
    color: var(--home-ink);
    font-size: clamp(27px, 2.1vw, 36px);
    font-weight: 760;
    letter-spacing: -.8px;
    line-height: 1.2;
}

.courses-heading p {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* Refined course cards */
.course-grid-premium {
    gap: 22px;
    align-items: stretch;
}

.course-card-premium {
    border: 1px solid #e5edf4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(24, 56, 91, .045);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.course-card-premium:hover {
    transform: translateY(-3px);
    border-color: #d6e8f0;
    box-shadow: 0 14px 34px rgba(24, 56, 91, .085);
}

.course-card-premium .course-image {
    height: 205px;
    min-height: 205px;
    background-position: center;
    background-size: cover;
}

.course-card-premium .course-image::before {
    background: linear-gradient(0deg, rgba(12, 32, 54, .42), rgba(12, 32, 54, .02) 62%);
}

.course-card-premium .course-image > span,
.course-card-premium .course-category,
.course-card-premium .course-tag {
    border-radius: 10px;
    padding: 9px 13px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .35px;
    box-shadow: 0 3px 10px rgba(14, 38, 62, .12);
}

.course-card-premium .course-info {
    padding: 22px 22px 20px;
}

.course-card-premium .course-teacher-row {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 13px;
    margin-bottom: 20px;
}

.course-card-premium .teacher-avatar {
    width: 66px;
    height: 66px;
    border: 1px solid #e7edf3;
    border-radius: 2px;
    object-fit: cover;
}

.course-card-premium .teacher-details strong {
    color: #18375f;
    font-size: 13px;
    font-weight: 720;
    line-height: 1.45;
}

.course-card-premium .teacher-details small {
    color: #8291a5;
    font-size: 11px;
    line-height: 1.5;
}

.course-card-premium .course-stat strong {
    color: #1687aa;
    font-size: 11px;
    font-weight: 700;
}

.course-card-premium .course-stat small {
    color: #8795a8;
    font-size: 10px;
}

.course-card-premium .course-info h3 {
    color: #18375f;
    font-size: clamp(17px, 1.02vw, 20px);
    font-weight: 730;
    letter-spacing: -.25px;
    line-height: 1.42;
    margin: 0 0 11px;
}

.course-card-premium .course-description {
    color: #74869d;
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.course-card-premium .course-footer-premium {
    padding-top: 15px;
    border-top-color: #edf2f7;
    gap: 9px;
}

.course-card-premium .course-meta-pill {
    background: #eef9fa;
    color: #287e8a;
    border: 1px solid #e4f4f5;
    border-radius: 11px;
    padding: 9px 11px;
    font-size: 10px;
    font-weight: 600;
}

.course-card-premium .course-level {
    color: #8190a4;
    font-size: 10px;
}

.course-card-premium .course-open {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #dceef1;
    box-shadow: 0 0 0 4px #f5fbfc;
    color: #138b99;
    background: #fff;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.course-card-premium .course-open:hover {
    color: #fff;
    background: #138b99;
    transform: translateX(2px);
}

@media (min-width: 1500px) {
    .course-card-premium .course-image {
        height: 215px;
        min-height: 215px;
    }
}

@media (max-width: 1250px) {
    .courses-section {
        width: min(100% - 44px, 1100px);
    }

    .course-grid-premium {
        gap: 18px;
    }

    .course-card-premium .course-info {
        padding: 19px;
    }
}

@media (max-width: 800px) {
    .courses-section {
        width: calc(100% - 36px);
        padding: 30px 0 38px;
    }

    .course-card-premium {
        border-radius: 20px;
    }

    .course-card-premium .course-image {
        height: 195px;
        min-height: 195px;
    }
}

@media (max-width: 600px) {
    .courses-section {
        width: calc(100% - 28px);
    }

    .courses-heading h2 {
        font-size: 26px;
        line-height: 1.25;
    }

    .course-card-premium .course-info {
        padding: 18px;
    }

    .course-card-premium .course-image {
        height: 185px;
        min-height: 185px;
    }
}
