.hero-h1 .h1-teal {
    background: linear-gradient(95deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trusted-by {
    background-color: #031124;
    background-image: repeating-radial-gradient(circle at 50% 50%, transparent, transparent 15px, rgba(255, 255, 255, 0.03) 16px, rgba(255, 255, 255, 0.03) 17px);
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid #111e32;
    border-bottom: 1px solid #111e32;
}

.trusted-by__content {
    text-align: center;
}

.trusted-by__heading {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
    margin: 0 0 5px;
    font-family: inherit;
}

.trusted-by__subheading {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.trusted-swiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trusted-swiper .swiper-wrapper {
    align-items: center;
}

.trusted-swiper .swiper-slide {
    width: auto;
}

.trusted-company {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.trusted-by__logo {
    height: 55px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.25);
    transition: all 0.3s ease;
}

.company-name {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.trusted-company:hover .trusted-by__logo {
    filter: brightness(0) invert(1) opacity(1);
}

.trusted-company:hover .company-name {
    color: #fff;
}

@media (max-width: 991px) {
    .trusted-by__logo {
        height: 40px;
    }

    .company-name {
        font-size: 1.1rem;
    }
}

.figmark-bussiness-features {
    background: linear-gradient(rgba(20, 20, 24, 0.9), rgba(20, 20, 24, 0.9)), url('./images/contact-bg.png') center / cover no-repeat;
    padding: 100px 5%;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.fbf-tag {
    color: #1871c9;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.fbf-tag::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #1871c9;
    border-radius: 50%;
}

.fbf-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 70px;
    letter-spacing: -0.5px;
}

.fbf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.fbf-card {
    background: #fff;
    color: #111;
    padding: 45px 25px 65px;
    border-bottom: 5px solid #1871c9;
    position: relative;
    border-radius: 6px 6px 0 0;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.fbf-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.fbf-card p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

.fbf-icon {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: #111;
    border: 6px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    z-index: 2;
}

@media (max-width: 1024px) {
    .fbf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 20px;
    }

    .fbf-title {
        margin-bottom: 50px;
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .fbf-grid {
        grid-template-columns: 1fr;
        gap: 60px 20px;
    }
}

:root {
    --teal: #2d8fe8;
    --teal-dark: #1a6fc4;
    --ink: #0d1117;
    --paper: #f5f3ee;
    --white: #ffffff;
    --muted: #8a9aaa;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.portfolio-section {
    padding: 100px 48px 120px;
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(10, 191, 188, 0.11) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 64px;
    gap: 40px;
}

.header-left {
    flex: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--teal);
    border-radius: 1px;
}

.section-header h2 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 900;
    line-height: 0.95;
    color: var(--ink);
    letter-spacing: -2px;
}

.section-header h2 em {
    font-style: normal;
    color: var(--teal);
    position: relative;
    display: inline-block;
}

.section-header h2 em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 4px;
    background: var(--teal);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineGrow 0.8s 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes underlineGrow {
    to {
        transform: scaleX(1);
    }
}

.header-right {
    flex-shrink: 0;
    text-align: right;
}

.header-right p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 280px;
    margin-left: auto;
    margin-bottom: 24px;
}

.btn-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: var(--ink);
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.3s;
}

.btn-all::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--teal);
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 50px;
}

.btn-all:hover::before {
    transform: translateX(0);
}

.btn-all:hover {
    box-shadow: 0 8px 28px rgba(10, 191, 188, 0.35);
    transform: translateY(-2px);
}

.btn-all span,
.btn-all i {
    position: relative;
    z-index: 1;
}

.btn-all i {
    transition: transform 0.3s;
}

.btn-all:hover i {
    transform: translateX(5px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 22px;
}

.p-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(44px);
    animation: cardReveal 0.75s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.p-card:nth-child(1) {
    animation-delay: 0.08s;
}

.p-card:nth-child(2) {
    animation-delay: 0.22s;
}

.p-card:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.p-card:hover {
    transform: translateY(-8px) scale(1.012);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.13);
}

.p-card--top {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    flex-direction: row;
}

.p-card--top .p-card__img {
    width: 58%;
    flex-shrink: 0;
    height: auto;
    min-height: 360px;
}

.p-card--top .p-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 44px 44px 40px;
}

.p-card--top .big-stat-wrap {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(10, 191, 188, 0.15);
    display: flex;
    align-items: baseline;
    gap: 8px;
    overflow: hidden;
}

.big-stat {
    font-family: 'Raleway', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
    letter-spacing: -3px;
    transform: translateY(60px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.p-card--top:hover .big-stat {
    transform: translateY(0);
}

.big-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.5px;
    transform: translateY(60px);
    transition: transform 0.5s 0.06s cubic-bezier(0.23, 1, 0.32, 1);
}

.p-card--top:hover .big-stat-label {
    transform: translateY(0);
}

.p-card--bot {
    grid-row: 2 / 3;
}

.p-card--bot-left {
    grid-column: 1 / 2;
}

.p-card--bot-right {
    grid-column: 2 / 3;
}

.p-card--bot .p-card__img {
    height: 240px;
}

.p-card__img {
    position: relative;
    overflow: hidden;
}

.p-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    filter: brightness(0.9) saturate(1.05);
}

.p-card:hover .p-card__img img {
    transform: scale(1.08);
    filter: brightness(0.82) saturate(1.2);
}

.p-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(13, 17, 23, 0.65) 100%);
    z-index: 1;
}

.p-card--top .p-card__img::after {
    background: linear-gradient(90deg, transparent 60%, rgba(13, 17, 23, 0.08) 100%);
}

.p-card__num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    z-index: 3;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.p-card:hover .p-card__num {
    color: var(--teal);
}

.p-card__cat {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s;
}

.p-card--top .p-card__cat {
    bottom: 22px;
    left: 22px;
}

.p-card__cat::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(10, 191, 188, 0.7);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(10, 191, 188, 0);
    }
}

.p-card:hover .p-card__cat {
    color: #fff;
}

.p-card__body {
    padding: 24px 26px 28px;
    position: relative;
}

.p-card__body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: var(--teal);
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.p-card:hover .p-card__body::before {
    transform: scaleY(1);
}

.p-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6fafa;
    color: var(--teal-dark);
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 11px;
}

.p-card__stat i {
    font-size: 10px;
}

.p-card__body h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    transition: color 0.3s;
}

.p-card--bot .p-card__body h3 {
    font-size: 18px;
}

.p-card:hover .p-card__body h3 {
    color: var(--teal-dark);
}

.p-card__body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.78;
    margin-bottom: 20px;
}

.p-card--bot .p-card__body p {
    font-size: 13.5px;
}

.p-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: gap 0.3s, color 0.3s;
}

.arrow-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s, transform 0.35s;
}

.p-card:hover .p-card__cta {
    gap: 12px;
    color: var(--teal-dark);
}

.p-card:hover .arrow-circle {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    transform: rotate(-45deg);
}

@media (max-width: 900px) {
    .p-card--top {
        flex-direction: column;
        grid-column: 1 / 3;
    }

    .p-card--top .p-card__img {
        width: 100%;
        min-height: 260px;
    }

    .p-card--top .p-card__body {
        padding: 28px 28px 32px;
    }

    .p-card--top .p-card__img::after {
        background: linear-gradient(180deg, transparent 30%, rgba(13, 17, 23, 0.65) 100%);
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right p {
        margin-left: 0;
    }
}

@media (max-width: 580px) {
    .portfolio-section {
        padding: 60px 20px 80px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .p-card--top,
    .p-card--bot-left,
    .p-card--bot-right {
        grid-column: auto;
        grid-row: auto;
    }

    .section-header h2 {
        font-size: 38px;
    }
}

.enroll-banner {
    padding: 40px 20px;
}

.enroll-banner .eb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.enroll-banner .eb-inner > div {
    min-width: 0;
}

.enroll-banner img {
    display: block;
    max-width: 120px;
    width: 100%;
    height: auto;
}

.enroll-banner .eb-content {
    flex: 1 1 420px;
    min-width: 240px;
}

.enroll-banner .eb-cta {
    flex: 0 0 auto;
}

.enroll-banner .apply-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    background: #2d8fe8;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 780px) {
    .enroll-banner .eb-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .enroll-banner .eb-cta {
        width: 100%;
        margin-top: 20px;
    }

    .enroll-banner .apply-now-btn {
        width: 100%;
    }
}

.testimonial-left {
    background: linear-gradient(rgba(12, 26, 46, 0.85), rgba(12, 26, 46, 0.85)), url('./images/robotic-bg.jpeg') center/cover no-repeat;
    padding: 50px;
    border-radius: 15px;
}

.testimonial-left .testimonial-title,
.testimonial-left .testimonial-desc,
.testimonial-left .testimonial-tag {
    color: #fff !important;
}

@media (max-width: 991px) {
    .testimonial-left {
        padding: 30px;
    }
}

.glass-form {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-form .form-group input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.glass-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.contact-section {
    background: url('./images/contact-bg.png') center top / cover no-repeat;
    position: relative;
}

.contact-form__title {
    font-size: 2.2rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
}

.contact-form__subtitle {
    color: #e2e8f0;
    font-size: 1.05rem;
    margin: 0 0 28px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form__submit {
    margin-top: 10px;
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px;
    justify-content: center;
}

.section-actions {
    text-align: center;
    margin-top: 40px;
}

.course-header--center {
    text-align: center;
    margin-bottom: 40px;
}

.course-header--center .course-header__text {
    max-width: 600px;
    margin: 0 auto;
}

.course-badge--new {
    background: var(--secondary, #7c3aed);
}
