/*Bleak - Personal Portfolio Template*/
/*Table of content
---------
font
general
button
navbar
home intro
about resume
portfolio
blog
contact
footer
comment
---------*/
/*general*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #0b1220;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-2: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.12);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.70);
    --primary: #6d5efc;
    --primary-2: #22d3ee;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background:
        radial-gradient(1000px 500px at 10% -20%, rgba(109, 94, 252, 0.35), transparent 65%),
        radial-gradient(900px 450px at 90% 0%, rgba(34, 211, 238, 0.25), transparent 60%),
        var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 110%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: var(--text);
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

a {
    color: var(--text);
}
a:hover {
    color: var(--text);
    text-decoration: none;
}
a:focus {
    outline: 0;
}

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

.segments {
    padding: 56px 0;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}
.section-title h3 {
    font-weight: 700;
    color: var(--primary-2);
}
.section-title.section-title-left {
    text-align: left;
}

.title-resume {
    text-align: left;
}
.title-resume h3 {
    color: #ff8c05;
    font-size: 22px;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.title-resume h2 {
    font-size: 50px;
    font-weight: 900;
}
.title-resume h2 span {
    color: #ff8c05;
}

.box-content {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border);
    padding: 44px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

/*button default*/
.button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: #07101a;
    border: 0;
    margin-top: 24px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.2px;
    position: relative;
    display: inline-block;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(109, 94, 252, 0.25);
    transition: transform .15s ease, filter .15s ease;
}
.button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    color: #07101a;
}
.button:active {
    transform: translateY(0);
}
.button:hover::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: opacity .15s ease;
    z-index: -1;
}
 .button:hover::after { opacity: 1; }

/*navbar*/
.navbar {
    margin: 18px 0;
    background: transparent;
    color: var(--text);
    padding: 10px 16px;
    transition: all .5s ease;
    border-radius: 999px;
}
.navbar .navbar-brand h2 {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.8px;
    color: var(--text);
}
.navbar .navbar-nav .nav-item .nav-link {
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.4px;
    padding-left: 12px;
    padding-right: 12px;
    transition: all .4s ease;
}
.navbar .navbar-nav .nav-item .nav-link:hover {
    color: var(--text);
}
.navbar.fix {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(11, 18, 32, 0.72);
    margin-top: 0;
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    transition: all .5s ease;
}

/*home intro*/
.home-intro .intro-content {
    position: relative;
}
.home-intro .intro-content .intro-caption {
    position: relative;
    top: auto;
    transform: none;
    padding-right: 10px;
}
.hero-title {
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 8px;
    color: var(--text);
    text-wrap: balance;
}
.hero .box-content {
    overflow: hidden;
}
.hero .box-content::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(700px 260px at 10% 10%, rgba(109, 94, 252, 0.22), transparent 60%),
                radial-gradient(600px 260px at 90% 30%, rgba(34, 211, 238, 0.16), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.hero .intro-content.box-content {
    position: relative;
}
.hero .intro-caption,
.hero .intro-image {
    position: relative;
    z-index: 1;
}
.home-intro .intro-content .intro-image {
    filter: drop-shadow(0px 18px 20px rgba(0, 0, 0, 0.35));
}
.home-intro .intro-content .intro-image img {
    width: 100%;
    border-radius: calc(var(--radius) + 8px);
    filter: saturate(1.05) contrast(1.02);
}

/*about*/
.about .box-content {
    padding: 0;
}
.about .box-content p {
    margin: 0;
}
.about .content-left {
    padding: 40px;
}
.about .content-left .content h2 {
    font-size: clamp(26px, 3.6vw, 44px);
    font-weight: 900;
    margin-bottom: 30px;
}
.about .content-right {
    background: url(../images/about.jpeg);
    background-size: cover;
    background-position: 100% 100%;
    height: 100%;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/*resume*/
.resume .timeline {
    position: relative;
    list-style-type: none;
}
.resume .timeline::before {
    content: '';
    display: inline-block;
    position: absolute;
    left: 0;
    width: 2px;
    height: 100%;
    z-index: 400;
    background: #fff;
}
.resume .timeline ul {
    list-style-type: none;
}
.resume .timeline ul li {
    margin-bottom: 20px;
}
.resume .timeline > li {
    margin-bottom: 30px;
    padding-left: 30px;
}
.resume .timeline > li:last-child {
    margin-bottom: 0;
}
.resume .timeline > li::before {
    content: '';
    background: #fff;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    left: -7px;
    width: 16px;
    height: 16px;
    z-index: 400;
}
.resume .timeline > li h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 22px;
}
.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: 0;
    background: #414141;
}
.resume .my-skill .content-right .progress .progress-bar {
    background: #d61a5e;
    background: -moz-linear-gradient(left, #d61a5e 0%, #ff8c05 100%);
    background: -webkit-linear-gradient(left, #d61a5e 0%, #ff8c05 100%);
    background: linear-gradient(to right, #d61a5e 0%, #ff8c05 100%);
}
.resume .owl-theme .owl-dots .owl-dot span {
    margin: 5px 10px;
    background: #515151;
}
.resume .owl-theme .owl-dots .owl-dot.active span {
    background: #ff8c05;
}
.resume .owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 50px;
}

/*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(--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(--text);
}
.portfolio .portfolio-filter-menu ul li span:hover::after {
    height: 10px;
    background: #525252;
}
.portfolio .portfolio-filter-menu ul li.active {
    color: var(--primary-2);
}
.portfolio .content-image {
    position: relative;
}
.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: #ff8c05;
    background: -moz-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: -webkit-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: linear-gradient(135deg, #ff8c05 0%, #d61a5e 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: #ff8c05;
    background: -moz-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: -webkit-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: linear-gradient(135deg, #ff8c05 0%, #d61a5e 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);
    border: 1px solid rgba(255, 255, 255, 0.10);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.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;
}
.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;
}
.portfolio .content-image .image-overlay {
    background: linear-gradient(rgba(11, 18, 32, 0.15), rgba(11, 18, 32, 0.65));
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius);
    opacity: 0;
    transition: all .5s ease;
}

@keyframes titles {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-101%);
    }
}
@keyframes subtitles {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-101%);
    }
}
/*blog*/
.blog .content {
    background: #262626;
    border-radius: 3px;
}
.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: 3px 3px 0 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.5s;
}
.blog .content .blog-title {
    padding: 20px;
}
.blog .content .blog-title h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 35px;
}
.blog .content .blog-title h4 a {
    transition: all .2s ease;
}
.blog .content .blog-title h4 a:hover {
    color: #ff8c05;
}
.blog .content .blog-title .date {
    font-weight: 500;
}
.blog .content .blog-title .date i {
    margin: 0 10px;
    font-size: 7px;
    vertical-align: middle;
    color: #525252;
}
.blog .content .blog-title .date span {
    color: #ff8c05;
    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: #525252;
}

/*contact*/
.contact .content-left h2 {
    font-size: clamp(26px, 3.6vw, 44px);
    font-weight: 900;
    margin-bottom: 50px;
}
.contact .content-left ul li {
    display: inline-block;
    margin-right: 40px;
}
.contact .content-left ul li a i {
    font-size: 20px;
    transition: all .2s ease;
}
.contact .content-left ul li:hover a i {
    color: var(--primary-2);
}
.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.18);
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: var(--text);
}
.contact .content-right .row .form-control:hover {
    border-color: rgba(34, 211, 238, 0.70);
}
.contact .content-right .row .form-control:focus {
    outline: 0;
    box-shadow: none;
    border-color: rgba(34, 211, 238, 1);
}
.contact .content-right .button {
    margin-top: 30px;
}

/*footer*/
.footer {
    text-align: center;
}
.footer p {
    margin-bottom: 0;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #25D366;
    color: #ffffff;
    display: grid;
    place-items: center;
    z-index: 1200;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform .15s ease, filter .15s ease;
}
.whatsapp-float:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    color: #ffffff;
}
.whatsapp-float i {
    font-size: 28px;
    line-height: 1;
}

/*responsive*/
@media (max-width: 768px) {
    .box-content {
        padding: 28px;
    }

    .section-title {
        margin-bottom: 30px;
    }
    .section-title h3 {
        font-size: 22px;
    }

    .button {
        margin-top: 18px;
    }

    .navbar {
        padding: 10px 14px;
    }
    .navbar.navbar-dark .navbar-toggler {
        border: 0;
        background: rgba(255, 255, 255, 0.10);
    }
    .navbar.navbar-dark .navbar-toggler:focus {
        outline: 0;
    }
    .navbar .navbar-nav .nav-item .nav-link {
        padding-left: 0;
    }

    .home-intro .intro-content .intro-caption { padding-right: 0; }

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

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

    .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-left h2 {
        font-size: 34px;
    }
    .contact .content-right .button {
        margin-top: 0;
    }
}
@media (max-width: 640px) {
    .home-intro .intro-content .intro-image {
        display: none;
    }

    .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;
    }
    .blog .content.no-mb {
        margin-bottom: 0;
    }

    .contact .content-left {
        margin-bottom: 30px;
    }
    .contact .content-left h2 {
        margin-bottom: 40px;
    }
}
@media (max-width: 630px) {
    .home-intro .intro-content .row {
        text-align: center;
    }
    .home-intro .intro-content .row .intro-caption h2 {
        font-size: 32px;
    }

    .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;
    }
}