:root {
    --portfolio-bg: #070707;
    --portfolio-surface: #111214;
    --portfolio-surface-soft: #17191d;
    --portfolio-border: rgba(255, 255, 255, 0.11);
    --portfolio-text: rgba(255, 255, 255, 0.72);
    --portfolio-heading: #ffffff;
    --portfolio-accent: #ffbd39;
    --portfolio-cool-accent: #5bd6d0;
    --portfolio-nav-height: 76px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--portfolio-nav-height) + 14px);
}

body {
    padding-top: 0 !important;
    overflow-x: hidden;
    background: var(--portfolio-bg);
    color: var(--portfolio-text);
}

body,
button,
input,
select,
textarea {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

img {
    max-width: 100%;
}

p,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: anywhere;
}

section[id] {
    scroll-margin-top: calc(var(--portfolio-nav-height) + 14px);
}

::selection {
    background: var(--portfolio-accent);
    color: #111111;
}

.ftco-navbar-light,
.ftco-navbar-light.scrolled,
#ftco-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    min-height: var(--portfolio-nav-height);
    margin-top: 0;
    padding: 0 15px;
    background: rgba(5, 5, 5, 0.84) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ftco-navbar-light .container {
    width: 100%;
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
}

.ftco-navbar-light .navbar-brand,
.ftco-navbar-light.scrolled .navbar-brand {
    max-width: calc(100vw - 90px);
    padding: 19px 0;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.25;
}

.ftco-navbar-light .navbar-brand::after {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 7px;
    background: var(--portfolio-cool-accent);
    border-radius: 50%;
    content: "";
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link,
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link {
    padding: 25px 14px;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 14px;
    font-weight: 500;
}

.ftco-navbar-light .navbar-nav > .nav-item .nav-link.active,
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
    color: var(--portfolio-accent) !important;
}

.ftco-navbar-light .navbar-toggler,
.ftco-navbar-light.scrolled .navbar-toggler {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--portfolio-border);
    border-radius: 6px;
    color: #ffffff !important;
    font-size: 20px;
    letter-spacing: 0;
}

@media (min-width: 992px) {
    .ftco-navbar-light .navbar-toggler,
    .ftco-navbar-light.scrolled .navbar-toggler {
        display: none !important;
    }
}

.owl-carousel.home-slider,
.owl-carousel.home-slider .slider-item,
.owl-carousel.home-slider .slider-item .slider-text {
    height: calc(100svh - 28px);
    min-height: 650px;
    max-height: 800px;
}

.owl-carousel.home-slider {
    background: #080808;
}

.owl-carousel.home-slider .owl-stage-outer,
.owl-carousel.home-slider .owl-stage,
.owl-carousel.home-slider .owl-item {
    height: 100%;
}

.owl-carousel.home-slider .slider-item .slider-text .one-third {
    height: 100% !important;
    background-position: center top;
}

.owl-carousel.home-slider .slider-item .slider-text .one-forth .text {
    max-width: 560px;
}

.hero .one-forth.ftco-animate,
.hero .one-forth.ftco-animate.fadeInUp {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}

.hero .one-forth .text {
    opacity: 1 !important;
    visibility: visible !important;
}

.owl-carousel.home-slider .slider-item .slider-text h1 {
    max-width: 720px;
    margin-bottom: 18px !important;
    font-size: 58px;
    line-height: 1.12;
}

#typing-animation {
    display: block;
    width: auto;
    min-height: 46px;
    margin-bottom: 14px;
    overflow: visible;
    white-space: normal;
    animation: none;
    color: #ffffff;
    font-size: 27px;
    line-height: 1.45;
}

#typing-animation::before {
    display: none;
    animation: none;
}

.hero-title {
    max-width: 620px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 21px !important;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.hero-actions .btn {
    margin: 0;
}

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    letter-spacing: 1px;
    line-height: 1.25;
    white-space: normal;
}

.btn.btn-primary {
    box-shadow: 0 12px 28px rgba(255, 189, 57, 0.15);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(255, 189, 57, 0.22);
}

.btn.btn-white.btn-outline-white:hover {
    border-color: var(--portfolio-accent) !important;
    background: var(--portfolio-accent) !important;
    color: #111111 !important;
}

.ftco-section {
    padding: 96px 0;
}

.heading-section h1.big {
    top: -22px;
    font-size: 88px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.055);
}

.heading-section h2 {
    font-size: 44px;
    line-height: 1.2;
}

.heading-section > p {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    color: var(--portfolio-text);
}

.about-profile-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--portfolio-border);
    border-radius: 8px;
    background: var(--portfolio-surface);
}

.about-profile-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 78px;
    background: var(--portfolio-cool-accent);
    content: "";
}

.about-profile-card > .overlay {
    position: relative;
    width: 100%;
    padding: 30px;
}

.about-img {
    margin-bottom: 0 !important;
}

.about-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-left: 0 !important;
    border-radius: 6px;
    object-fit: cover;
}

.about-info p {
    margin-bottom: 12px;
    line-height: 1.55;
}

.about-info .title-s {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.about-info p > span:last-child {
    color: #ffffff;
}

.skill-mf {
    margin-top: 30px;
}

.skill-mf > .title-s {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.skill-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.skill-mf .progress {
    height: 7px;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 6px;
    background: #292b30;
}

.skill-mf .progress .progress-bar {
    height: 7px;
    border-radius: 6px;
    background: var(--portfolio-accent);
}

.about-content {
    padding-top: 10px;
}

.about-copy,
.about-copy p {
    color: var(--portfolio-text);
}

.ftco-about ul.about-info li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ftco-about ul.about-info li span:first-child {
    width: 120px;
    flex: 0 0 120px;
}

.ftco-about ul.about-info li span:last-child {
    width: auto;
    flex: 1;
}

.about-cta .text > p:first-child {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.resume-heading-row {
    position: relative;
    align-items: center;
    margin-bottom: 28px;
}

.big-4 {
    margin: 0;
    transform: none;
    font-size: 36px;
    line-height: 1.25;
}

.underline {
    width: 68px;
    height: 3px;
    margin-left: 18px;
    background: var(--portfolio-accent);
}

.resume-wrap {
    height: auto;
    min-height: 100%;
    padding: 30px;
    border: 1px solid var(--portfolio-border);
    border-radius: 8px;
    background: var(--portfolio-surface);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.resume-wrap:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 189, 57, 0.45);
}

.resume-wrap .date {
    font-size: 20px;
}

.resume-wrap h2 {
    margin-top: 8px;
    font-size: 24px;
    line-height: 1.35;
}

.resume-wrap .position {
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1px;
}

.resume-wrap p,
.resume-wrap li {
    color: var(--portfolio-text);
}

.portfolio-card {
    display: flex;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--portfolio-border);
    border-radius: 8px;
    background: var(--portfolio-surface);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 189, 57, 0.46);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
}

.portfolio-card-image {
    height: auto;
    aspect-ratio: 16 / 10;
    transform: none !important;
    transition: background-size 0.35s ease;
}

.portfolio-card-body {
    display: flex !important;
    min-height: 245px;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.portfolio-card-body .heading {
    font-size: 21px !important;
    line-height: 1.35;
}

.portfolio-card-body p {
    color: var(--portfolio-text);
}

.ftco-counter .counter-wrap {
    padding-right: 8px;
    padding-left: 8px;
}

.ftco-counter .block-18 {
    min-height: 130px;
    border: 1px solid var(--portfolio-border);
    border-radius: 8px;
    background: var(--portfolio-surface);
}

.ftco-hireme {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background-color: #0b0b0b;
    background-position: center;
}

.ftco-hireme::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.72);
    content: "";
}

.ftco-hireme h2 {
    margin-bottom: 14px;
    font-size: 40px;
    line-height: 1.25;
}

.ftco-hireme h4 {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    line-height: 1.7;
}

.contact-section .contact-info {
    row-gap: 24px;
}

.contact-section .contact-card {
    min-height: 100%;
    border: 1px solid var(--portfolio-border);
    border-radius: 8px;
    background: var(--portfolio-surface);
}

.contact-section .contact-card .icon {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
}

.contact-section .contact-card .icon span {
    font-size: 25px;
}

.contact-section .contact-card h3 {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    letter-spacing: 1px;
}

.contact-section .contact-card p,
.contact-section .contact-card p a {
    margin-bottom: 0;
    color: #ffffff;
    line-height: 1.55;
}

.contact-section .contact-card p a:hover {
    color: var(--portfolio-accent);
}

.contact-cta {
    padding: 72px 0 24px;
}

.contact-cta h2 {
    margin-bottom: 22px;
    font-size: 32px;
}

.contact-cta h2 span {
    color: var(--portfolio-accent);
}

.social-heading {
    margin: 52px 0 15px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.ftco-footer-social {
    flex-wrap: wrap;
    gap: 10px;
}

.ftco-footer-social li {
    margin: 0;
}

.ftco-footer-social li a {
    width: 46px;
    height: 46px;
    border: 1px solid var(--portfolio-border);
    background: var(--portfolio-surface);
}

.ftco-footer-social li a:hover {
    transform: translateY(-3px);
    border-color: var(--portfolio-accent);
}

.ftco-footer {
    padding: 52px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: #050505;
}

.ftco-footer p {
    margin-bottom: 0;
}

#scrollTopBtn {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

#contactMessageModal .modal-dialog {
    width: calc(100% - 30px);
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
}

#contactMessageModal .modal-content {
    overflow: hidden;
}

#contactMessageModal .modal-body {
    padding: 24px;
}

#contactMessageModal .modal-footer {
    flex-wrap: wrap;
}

@media (max-width: 1199.98px) {
    .owl-carousel.home-slider .slider-item .slider-text .one-forth .text {
        padding-left: 30px;
    }

    .owl-carousel.home-slider .slider-item .slider-text h1 {
        font-size: 50px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --portfolio-nav-height: 68px;
    }

    .ftco-navbar-light,
    .ftco-navbar-light.scrolled,
    #ftco-navbar {
        min-height: var(--portfolio-nav-height);
        padding: 0 8px;
        background: rgba(5, 5, 5, 0.96) !important;
    }

    .ftco-navbar-light .navbar-brand,
    .ftco-navbar-light.scrolled .navbar-brand {
        padding: 18px 0;
        font-size: 20px;
    }

    .ftco-navbar-light .navbar-toggler,
    .ftco-navbar-light.scrolled .navbar-toggler {
        display: inline-flex !important;
        position: absolute;
        top: 12px;
        right: 20px;
        z-index: 3;
        background: #151515;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .ftco-navbar-light .navbar-toggler .oi-menu {
        position: relative;
        display: block;
        width: 20px;
        height: 14px;
        border-top: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
    }

    .ftco-navbar-light .navbar-toggler .oi-menu::before {
        position: absolute;
        top: 4px;
        left: 0;
        width: 20px;
        border-top: 2px solid currentColor;
        content: "";
    }

    .ftco-navbar-light .navbar-collapse {
        width: 100%;
        max-height: calc(100vh - var(--portfolio-nav-height));
        overflow-y: auto;
        border-top: 1px solid var(--portfolio-border);
        background: #080808;
    }

    .ftco-navbar-light .navbar-nav {
        padding: 16px 0 18px;
    }

    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link,
    .ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link {
        padding: 11px 4px !important;
    }

    .owl-carousel.home-slider .slider-item .slider-text .one-third {
        width: 100%;
        background-position: center top;
    }

    .owl-carousel.home-slider .slider-item .slider-text .one-third .overlay {
        opacity: 0.58;
    }

    .owl-carousel.home-slider .slider-item .slider-text .one-forth {
        padding: calc(var(--portfolio-nav-height) + 28px) 24px 30px;
    }

    .owl-carousel.home-slider .slider-item .slider-text .one-forth .text {
        max-width: 720px;
        margin: 0 auto;
        padding: 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-profile-card > .overlay {
        padding: 24px;
    }

    .heading-section h1.big {
        font-size: 64px;
    }

    .ftco-hireme {
        margin-top: 40px !important;
        padding: 90px 0 !important;
    }
}

@media (max-width: 767.98px) {
    .owl-carousel.home-slider,
    .owl-carousel.home-slider .slider-item,
    .owl-carousel.home-slider .slider-item .slider-text {
        height: calc(100svh - 18px);
        min-height: 610px;
        max-height: 760px;
    }

    .owl-carousel.home-slider .slider-item .slider-text h1 {
        margin-top: 12px !important;
        font-size: 39px;
        line-height: 1.15;
    }

    #typing-animation {
        min-height: 39px;
        margin-bottom: 10px;
        font-size: 23px;
    }

    .hero-title {
        margin-bottom: 22px;
        font-size: 18px !important;
    }

    .ftco-section {
        padding: 72px 0;
    }

    .heading-section h1.big {
        top: -10px;
        font-size: 48px;
    }

    .heading-section h2 {
        font-size: 34px;
    }

    .about-profile-card {
        margin-bottom: 46px;
    }

    .about-content {
        padding-top: 0;
    }

    .big-4 {
        font-size: 30px;
    }

    .resume-wrap {
        padding: 24px;
    }

    .portfolio-card-body {
        min-height: 220px;
    }

    .ftco-counter .counter-wrap {
        margin-bottom: 16px;
    }

    .ftco-counter .block-18 {
        min-height: 118px;
        padding: 24px 12px;
    }

    .ftco-hireme h2 {
        font-size: 32px;
    }

    .contact-cta {
        padding-top: 56px;
    }

    .ftco-footer {
        padding: 40px 0;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ftco-navbar-light .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .owl-carousel.home-slider .slider-item .slider-text .one-forth {
        padding-right: 20px;
        padding-left: 20px;
    }

    .owl-carousel.home-slider .slider-item .slider-text h1 {
        font-size: 34px;
    }

    .owl-carousel.home-slider .slider-item .slider-text .subheading {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .about-profile-card > .overlay {
        padding: 22px;
    }

    .about-img {
        max-width: 180px;
        margin: 0 auto 24px !important;
    }

    .about-info {
        text-align: center;
    }

    .ftco-about ul.about-info li {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .ftco-about ul.about-info li span:first-child,
    .ftco-about ul.about-info li span:last-child {
        width: 100%;
        flex-basis: auto;
    }

    .resume-heading-row {
        padding-right: 15px;
        padding-left: 15px;
    }

    .underline {
        width: 44px;
        margin-left: 12px;
    }

    .contact-section .contact-card {
        padding: 24px 18px !important;
    }

    .contact-cta h2 {
        font-size: 27px;
    }

    #contactMessageModal .modal-footer .btn {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .resume-wrap:hover,
    .portfolio-card:hover,
    .btn.btn-primary:hover {
        transform: none;
    }
}
