/*Bleak - Personal Portfolio Template*/
/*Design refresh*/
:root {
    --bg-body: #111111;
    --bg-card: #181818;
    --accent-start: #ff8a00;
    --accent-end: #ff004c;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --radius-card: 18px;
    --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.5);
    --section-padding: 40px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg-body);
    color: var(--text-main);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--text-main);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

p {
    margin: 0 0 12px;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--accent-start);
    opacity: 0.9;
}

a:focus {
    outline: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.segments {
    padding: 10px 0;
}

.section-card,
.box-content {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--section-padding);
    margin: 40px auto;
    max-width: 1180px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.section-title {
    margin-bottom: 10px;
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--accent-start);
    font-weight: 600;
}

.section-title.section-title-left {
    text-align: left;
}

.section-title h3 {
    margin: 0;
    font: inherit;
    color: inherit;
}

.section-heading {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--text-main);
    line-height: 1.2;
}

.title-resume {
    text-align: left;
}

.title-resume h3 {
    color: var(--accent-start);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.title-resume h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}

.title-resume h2 span {
    color: var(--accent-start);
}

/*buttons*/
.btn-gradient,
.button {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 6px;
    border: none;
    background-image: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.btn-gradient:hover,
.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    opacity: 0.95;
}

/*navbar*/
.navbar {
    margin: 27px 0;
    background: var(--bg-card);
    color: var(--text-main);
    padding: 8px 40px;
    transition: all .5s ease;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.navbar .navbar-brand h2 {
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar .navbar-nav .nav-item .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    padding-left: 12px;
    padding-right: 12px;
    transition: all .4s ease;
}

.navbar .navbar-nav .nav-item .nav-link:hover {
    color: var(--text-main);
}

.navbar.fix {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(17, 17, 17, 0.94);
    margin-top: 0;
    box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.2);
    transition: all .5s ease;
}

/*home intro*/
.home-intro .intro-content {
    position: relative;
    padding: var(--section-padding);
    margin: 0 auto;
    max-width: 1180px;
    border-radius: var(--radius-card);
    background: radial-gradient(120% 140% at 70% 40%, rgba(255, 138, 0, 0.08), rgba(255, 0, 76, 0.05) 45%, rgba(17, 17, 17, 0.95) 100%), var(--bg-card);
    box-shadow: var(--shadow-card);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 420px;
}

.hero-left {
    flex: 1 1 60%;
    max-width: 60%;
    color: #f5f5f5;
    min-width: 0;
}

.hero-kicker {
    display: inline-block;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-title {
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.hero-actions .button,
.hero-actions .btn-gradient {
    margin-top: 0;
}

.hero-right {
    flex: 1 1 40%;
    max-width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 0;
}

.hero-right::before {
    content: '';
    position: absolute;
    width: min(320px, 80vw);
    height: min(320px, 80vw);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 138, 0, 0.12), rgba(17, 17, 17, 0.0) 65%);
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
}

.hero-right::after {
    content: '0101 { } < /> Laravel::artisan() { } 1010 <dev/> return true; \A 0101 { } < /> const code = []; \A 0101 0110 1010 <tag> 0101 { } < /> Laravel::artisan() { } 1010 <dev/> return true; \A 0101 { } < /> const code = []; \A 0101 0110 1010 <tag>0101 { } < /> Laravel::artisan() { } 1010 <dev/> return true; \A 0101 { } < /> const code = []; \A 0101 0110 1010 <tag>0101 { } < /> Laravel::artisan() { } 1010 <dev/> return true; \A 0101 { } < /> const code = []; \A 0101 0110 1010 <tag>0101 { } < /> Laravel::artisan() { } 1010 <dev/> return true; \A 0101 { } < /> const code = []; \A 0101 0110 1010 <tag>0101 { } < /> Laravel::artisan() { } 1010 <dev/> return true; \A 0101 { } < /> const code = []; \A 0101 0110 1010 <tag>0101 { } < /> Laravel::artisan() { } 1010 <dev/> return true; \A 0101 { } < /> const code = []; \A 0101 0110 1010 <tag>0101 { } < /> Laravel::artisan() { } 1010 <dev/> return true; \A 0101 { } < /> const code = []; \A 0101 0110 1010 <tag>';
    position: absolute;
    top: 50%;
    left: -50%;
    transform: translate(-50%, -50%);
    width: min(340px, 90vw);
    height: min(340px, 90vw);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 13px;
    letter-spacing: 1.6px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.06);
    opacity: 0.8;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    filter: blur(0.6px);
    z-index: 0;
    pointer-events: none;
    text-align: center;
    white-space: pre;
}

@media (max-width: 1366px) {
    .hero-right::after {
        display: none !important;
    }
}


.profile-wrapper {
    position: relative;
    z-index: 1;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #3a3a3a, #111111);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

/*about*/
.about .box-content {
    padding: var(--section-padding);
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.about .box-content p {
    margin: 0;
}

.about .content-left {
    padding-right: 24px;
}

.about .content-left .content h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-main);
}

.about-description {
    font-family: var(--font-sans, "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif) !important;
    font-size: 15px;
    line-height: 1.8;
    color: #808080;
}

.about-description * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background: transparent !important;
}

.about-description span,
.about-description p,
.about-description li,
.about-description strong,
.about-description em {
    font-weight: 400;
}

.about-description strong {
    font-weight: 600;
}

.about-description br {
    line-height: 1.2;
}

.about-description p,
.about-description li {
    margin-bottom: 0.5rem;
}

.about-description-wrapper {
    position: relative;
    margin-top: 8px;
}

.line-clamp-12 {
    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.line-clamp-12.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.about-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 42px;
    height: 80px;
    pointer-events: none;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.85)); */
}

.line-clamp-12.is-expanded + .about-fade {
    display: none;
}

.read-more-btn {
    margin-top: 12px;
    background: none;
    border: none;
    padding: 0;
    color: #f59e0b;
    font-weight: 600;
    cursor: pointer;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.about-layout {
    position: relative;
}

.about-layout::after {
    content: '';
    display: table;
    clear: both;
}

.about .content-right {
    float: right;
    width: min(420px, 42%);
    min-height: 320px;
    margin-left: 28px;
    margin-bottom: 16px;
    background: url(../images/about.jpg);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-card);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

@media (max-width: 991.98px) {
    .about .content-left {
        padding-right: 0;
    }

    .about .content-right {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
        min-height: 260px;
    }
}

/*resume*/
.resume .timeline {
    position: relative;
    list-style-type: none;
    padding-left: 26px;
}

.resume .timeline::before {
    content: '';
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 2px;
    height: 100%;
    z-index: 400;
    background: linear-gradient(180deg, var(--accent-start), var(--accent-end));
    opacity: 0.4;
}

.resume .timeline ul {
    list-style-type: none;
}

.resume .timeline ul li {
    margin-bottom: 20px;
}

.resume .timeline>li {
    margin-bottom: 26px;
    padding-left: 28px;
}

.resume .timeline>li:last-child {
    margin-bottom: 0;
}

.resume .timeline>li::before {
    content: '';
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    left: -1px;
    width: 14px;
    height: 14px;
    z-index: 400;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03);
}

.resume .timeline>li h4 {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--text-main);
}

.resume .timeline>li span {
    color: var(--text-muted);
    display: block;
    line-height: 1.5;
}

.resume .my-skill .content-right .card {
    background: transparent;
    border: 0;
}

.resume .my-skill .content-right .card .card-header {
    background: transparent;
    border: 0;
    padding: 0;
}

.resume .my-skill .content-right .card .card-header h2 .btn {
    padding: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.resume .my-skill .content-right .card .card-header h2 .btn:hover {
    text-decoration: none;
}

.resume .my-skill .content-right .card .card-header h2 .btn:focus {
    text-decoration: none;
}

.resume .my-skill .content-right .card .card-header h2 .btn i {
    color: #fff;
    margin-right: 15px;
    font-size: 16px;
    position: relative;
    top: -2px;
}

.resume .my-skill .content-right .card .card-body {
    padding-left: 32px;
}

.resume .my-skill .content-right .card .card-body ul li {
    margin-bottom: 20px;
}

.resume .my-skill .content-right .card .card-body ul li:last-child {
    margin-bottom: 0;
}

.resume .my-skill .content-right .skill-title span {
    font-size: 18px;
    margin-bottom: 10px;
    display: inline-block;
}

.resume .my-skill .content-right .progress {
    height: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}

.resume .my-skill .content-right .progress .progress-bar {
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    border-radius: 4px;
}

.resume .owl-theme .owl-dots .owl-dot span {
    margin: 5px 10px;
    background: rgba(255, 255, 255, 0.2);
}

.resume .owl-theme .owl-dots .owl-dot.active span {
    background: var(--accent-start);
}

.resume .owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 50px;
}

.resume-carousel .owl-stage-outer {
    transition: height 0.35s ease;
}

.resume-carousel .owl-item {
    height: auto !important;
}

.resume-carousel .content {
    height: auto !important;
}

.skill-grid {
    gap: 12px;
}

.skill-item {
    width: 96px;
}

.skill-circle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.skill-circle {
    --size: 82px;
    --thickness: 6px;
    --bg-track: rgba(255, 255, 255, 0.08);
    --progress-color: #ff8a00;

    position: relative;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background:
        conic-gradient(var(--progress-color) calc(var(--progress) * 1%),
            var(--bg-track) 0);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
}

.skill-circle-inner {
    width: calc(var(--size) - 2 * var(--thickness));
    height: calc(var(--size) - 2 * var(--thickness));
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.skill-circle-inner img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.skill-initials {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.skill-type-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-name {
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skill-type-title .btn-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.skill-type-title .btn-link:hover,
.skill-type-title .btn-link:focus {
    color: #ccc;
    text-decoration: none;
    box-shadow: none;
}

/*portfolio*/
.portfolio .row .col-md-4 {
    padding: 15px;
}

.portfolio .portfolio-filter-menu {
    margin-bottom: 30px;
    text-align: center;
}

.portfolio .portfolio-filter-menu ul li {
    display: inline-block;
    margin: 0 15px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    transition: .4s ease-in-out;
}

.portfolio .portfolio-filter-menu ul li span {
    z-index: 99;
    position: relative;
}

.portfolio .portfolio-filter-menu ul li span::after {
    content: "";
    height: 0;
    left: 0;
    bottom: -2px;
    width: 100%;
    position: absolute;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    z-index: -1000;
}

.portfolio .portfolio-filter-menu ul li span:hover {
    color: var(--accent-start);
}

.portfolio .portfolio-filter-menu ul li span:hover::after {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.portfolio .portfolio-filter-menu ul li.active {
    color: var(--accent-start);
}

.portfolio .content-image {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #0f0f0f;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.portfolio .content-image:hover .image-overlay {
    opacity: 1;
}

.portfolio .content-image:hover .portfolio-caption .title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
    animation: titles 600ms cubic-bezier(0.45, 0.81, 0.83, 0.18) forwards;
    transform: translateY(101%);
    animation-delay: .1s;
}

.portfolio .content-image:hover .portfolio-caption .title h4 {
    opacity: 1;
}

.portfolio .content-image:hover .portfolio-caption .subtitle::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
    animation: titles 500ms cubic-bezier(0.45, 0.81, 0.83, 0.18) forwards;
    transform: translateY(101%);
    animation-delay: .5s;
}

.portfolio .content-image:hover .portfolio-caption .subtitle span {
    opacity: 1;
}

.portfolio .content-image img {
    width: 100%;
    border-radius: var(--radius-card);
}

.portfolio .content-image .portfolio-caption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    right: 30px;
}

.portfolio .content-image .portfolio-caption .title {
    overflow: hidden;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition-duration: .4s;
    transition-delay: .4s;
}

.portfolio .content-image .portfolio-caption .title h4 {
    font-size: 20px;
    font-weight: 700;
    transition-duration: .1s;
    transition-delay: 750ms;
    opacity: 0;
    line-height: 24px;
    color: var(--text-main);
}

.portfolio .content-image .portfolio-caption .subtitle {
    overflow: hidden;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition-duration: .4s;
    transition-delay: .4s;
}

.portfolio .content-image .portfolio-caption .subtitle span {
    transition-duration: .1s;
    transition-delay: 700ms;
    opacity: 0;
    color: var(--text-muted);
}

.portfolio .content-image .image-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65));
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-card);
    opacity: 0;
    transition: all .5s ease;
}

.portfolio-grid {
    margin-top: 1.5rem;
}

.portfolio-grid-3d {
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.portfolio-card-anim {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform-origin: top left;
}

.portfolio-item-out {
    opacity: 0;
    transform: scale(0.5) translate3d(-30px, -30px, 0);
}

.portfolio-item-preenter {
    opacity: 0;
    transform: scale(0.5) translate3d(-30px, -30px, 0);
}

.portfolio-item-in {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
}

.portfolio-animating-out {
    opacity: 0;
    transform: scale(0.95) translate3d(0, 20px, 0);
    transition: 0.5s ease-out;
}

.portfolio-animating-in {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
    transition: 0.5s ease-out;
}

.portfolio-swiper .swiper-slide {
    height: auto;
}

.portfolio-swiper .swiper-pagination {
    position: static;
    margin-top: 0.75rem;
}

.portfolio-swiper {
    padding: 0 40px;
    box-sizing: border-box;
}

.portfolio-swiper .swiper-button-prev,
.portfolio-swiper .swiper-button-next {
    width: 42px;
    height: 42px;
    margin-top: 0;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.2s ease-out, border-color 0.2s ease-out;
}

.portfolio-swiper .swiper-button-prev {
    left: 8px;
}

.portfolio-swiper .swiper-button-next {
    right: 8px;
}

.portfolio-swiper .swiper-button-prev::after,
.portfolio-swiper .swiper-button-next::after {
    font-size: 18px;
    color: #F59E0B;
}

.portfolio-swiper .swiper-button-prev:hover,
.portfolio-swiper .swiper-button-next:hover {
    background: rgba(15, 15, 15, 0.85);
    border-color: rgba(245, 158, 11, 0.45);
}

.swiper-pagination-bullet-active {
    background: #ff8a00;
}

.portfolio-empty {
    margin-top: 1.5rem;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background-color: #121212;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    padding-top: 62.5%;
}

.portfolio-card-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.event-portfolio-card img {
    object-fit: contain;
}

.portfolio-caption-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 10px 14px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.2),
            transparent);
    color: #fff;
}

.portfolio-caption-overlay h4 {
    font-size: 0.9rem;
    margin: 0 0 2px;
}

.portfolio-caption-overlay .subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

.portfolio-pagination {
    margin-top: 1.75rem;
}

.portfolio-pagination .pagination {
    justify-content: center;
}

.portfolio-pagination .page-link {
    background-color: #161616;
    border-color: #333;
    color: #f4f4f4;
}

.portfolio-pagination .page-link:hover {
    background-color: #222;
    border-color: #444;
    color: var(--accent-start);
}

.portfolio-pagination .page-item.active .page-link {
    background-color: var(--accent-start);
    border-color: var(--accent-start);
    color: #000;
}

.portfolio-pagination .page-item.disabled .page-link {
    background-color: #0f0f0f;
    color: #555;
    border-color: #222;
}

@keyframes titles {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-101%);
    }
}

@keyframes subtitles {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-101%);
    }
}

/*blog*/
.blog .content {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.projects-masonry {
    column-count: 2;
    column-gap: 24px;
    margin-top: 20px;
}

.projects-masonry-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 24px;
}

.projects-masonry-item .content {
    display: block;
    width: 100%;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .projects-masonry {
        column-count: 1;
    }
}

.blog .content:hover img {
    -moz-transform: scale(1.03);
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
}

.blog .content .image {
    overflow: hidden;
}

.blog .content .image img {
    width: 100%;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.5s;
}

.blog .content .blog-title {
    padding: 20px 20px 24px;
}

.blog .content .btn-gradient,
.blog .content .button {
    margin: 12px 20px 0;
}

.blog .content .blog-title h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 30px;
}

.blog .content .blog-title h4 a {
    transition: all .2s ease;
}

.blog .content .blog-title h4 a:hover {
    color: var(--accent-start);
}

.blog .content .blog-title .date {
    font-weight: 500;
    color: var(--text-muted);
}

.blog .content .blog-title .date i {
    margin: 0 10px;
    font-size: 7px;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.35);
}

.blog .content .blog-title .date span {
    color: var(--accent-start);
    font-size: 14px;
    position: relative;
    z-index: 99;
}

.blog .content .blog-title .date span::after {
    content: "";
    height: 0;
    left: 0;
    bottom: -2px;
    width: 100%;
    position: absolute;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    z-index: -1000;
}

.blog .content .blog-title .date span:hover::after {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
}

/*contact*/
.contact .content-left h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 28px;
}

.contact .content-left ul li {
    display: inline-block;
    margin-right: 24px;
}

.contact .content-left ul li a i {
    font-size: 20px;
    transition: all .2s ease;
    color: var(--text-muted);
}

.contact .content-left ul li:hover a i {
    color: var(--accent-start);
}

.contact .content-left ul li:last-child {
    margin-right: 0;
}

.contact .content-right .row {
    margin-bottom: 30px;
}

.contact .content-right .row:last-child {
    margin-bottom: 0;
}

.contact .content-right .row .form-control {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    color: var(--text-main);
}

.contact .content-right .row .form-control:hover {
    border-color: var(--accent-start);
}

.contact .content-right .row .form-control:focus {
    outline: 0;
    box-shadow: none;
    border-color: var(--accent-start);
    background: rgba(255, 255, 255, 0.04);
}

.contact .content-right .button,
.contact .content-right .btn-gradient {
    margin-top: 30px;
}

/*footer*/
.footer {
    text-align: center;
}

.footer p {
    margin-bottom: 0;
}

.normal-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 14px;
}

.circular-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    margin: 14px;
}

.image-row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/*responsive*/
@media (max-width: 768px) {

    .section-card,
    .box-content {
        padding: 28px;
        margin: 28px auto;
    }

    .section-title {
        margin-bottom: 16px;
    }

    .section-title h3 {
        font-size: 12px;
    }

    .section-heading {
        font-size: 24px;
    }

    .btn-gradient,
    .button {
        width: auto;
    }

    .navbar {
        padding: 8px 30px;
    }

    .navbar.navbar-dark .navbar-toggler {
        border: 0;
        background: #333;
    }

    .navbar.navbar-dark .navbar-toggler:focus {
        outline: 0;
    }

    .navbar .navbar-nav .nav-item .nav-link {
        padding-left: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        min-height: auto;
    }

    .hero-left,
    .hero-right {
        max-width: 100%;
    }

    .hero-right::after {
        width: min(260px, 80vw);
        height: min(260px, 80vw);
        font-size: 12px;
        letter-spacing: 1.4px;
        opacity: 0.7;
        filter: blur(0.5px);
    }

    .hero-actions {
        justify-content: center;
    }

    .portfolio .content-image .portfolio-caption {
        position: absolute;
        left: 10px;
        bottom: 10px;
        right: 10px;
        text-align: center;
    }

    .blog .content .blog-title h4 {
        font-size: 22px;
    }

    .contact .content-right .button,
    .contact .content-right .btn-gradient {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .home-intro .intro-content {
        padding: 32px 24px;
    }

    .hero {
        gap: 28px;
    }

    .profile-wrapper {
        width: 220px;
        height: 220px;
    }

    .about .content-right {
        display: none;
    }

    .resume .timeline::before {
        position: absolute;
        left: 7px;
    }

    .resume .timeline li::before {
        position: absolute;
        left: 0;
    }

    .resume .content-left {
        margin-bottom: 30px;
    }

    .portfolio .content-image .portfolio-caption {
        display: inline-table;
        margin: 0 auto;
    }

    .portfolio .content-image .portfolio-caption .title {
        display: block;
        margin-bottom: 10px;
    }

    .blog .content {
        margin-bottom: 30px;
    }

    .contact .content-left {
        margin-bottom: 30px;
    }

    .contact .content-left h2 {
        margin-bottom: 40px;
    }
}

@media (max-width: 630px) {
    .profile-wrapper {
        width: 180px;
        height: 180px;
    }

    .section-heading {
        font-size: 22px;
    }

    .about .content-left {
        text-align: center;
    }

    .about .content-left .section-title-left {
        text-align: center;
    }

    .about .content-left .content h2 {
        font-size: 32px;
    }

    .resume .content-left .title-resume h2 {
        font-size: 32px;
    }

    .contact .content-left h2 {
        font-size: 32px;
    }
}
