/* Local compatibility fixes for the downloaded static copy. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

/* Remove the theme's dotted separators from section titles and the profile intro. */
.theme-style-grid .content .title::after,
.theme-style-grid .card-started .profile .r-description {
    border-top: 0 !important;
    margin-top: 16px !important;
    padding-top: 0 !important;
}

/* The downloaded theme omits its icon font files. Keep the common UI icons visible. */
.icon.far::before,
.fas::before,
.fab::before {
    font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1;
}

.fa-folder-open::before { content: "▣" !important; }
.fa-user::before { content: "♙" !important; }
.fa-list-alt::before { content: "☷" !important; }
.fa-newspaper::before { content: "▤" !important; }
.fa-envelope::before { content: "✉" !important; }
.fa-play-circle::before { content: "▶" !important; }
.fa-angle-right::before,
.fa-chevron-right::before { content: "›" !important; }
.fa-check::before { content: "✓" !important; }
.fa-exclamation-triangle::before { content: "⚠" !important; }
.fa-star::before { content: "★" !important; }
.fa-dribbble::before { content: "◉" !important; }
.fa-behance::before { content: "Bē" !important; font-weight: 700 !important; }
.fa-facebook-f::before { content: "f" !important; font-family: Arial, sans-serif !important; font-weight: 700 !important; }
.fa-twitter::before { content: "𝕏" !important; }
.fa-linkedin-in::before { content: "in" !important; font-weight: 700 !important; }

.ion-android-attach::before { content: "📎" !important; }
.ion-at::before { content: "@" !important; }
.ion-ios-eye-outline::before { content: "◉" !important; }
.ion-ios-plus-empty::before { content: "+" !important; }
.ion-ios-videocam-outline::before { content: "▣" !important; }
.ion::before {
    font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif !important;
    font-style: normal !important;
}

.elementor-element-b37d1a7 .skill-group-title {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.elementor-element-256e533 .skills-list.list ul li .name::before {
    content: "\2713" !important;
    color: #4eaee5 !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 700 !important;
}

.body-style-dark #card-resume .resume-items .resume-item .name,
.body-style-dark #card-resume .skills-list .skill-group-title {
    color: #e0e0e0 !important;
}
.body-style-dark #card-resume .skills-style-2 .skills-list .progress-value {
    color: #323232 !important;
}

@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
}

.portfolio-contact-form {
    width: min(100%, 760px);
    margin: 32px auto 0;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 16px;
    background: #171717;
}

.contact-form-heading { margin-bottom: 24px; }
.contact-form-heading h2 { margin: 8px 0; color: #fff; font-size: 25px; }
.contact-form-heading p { margin: 0; color: #aaa; }
.portfolio-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.portfolio-message-form label { display: grid; gap: 8px; color: #e7e7e7; font-size: 13px; font-weight: 600; }
.portfolio-message-form label span { display: inline; color: #999; font-weight: 400; }
.portfolio-form-wide { grid-column: 1 / -1; }
.portfolio-message-form input,
.portfolio-message-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #393939;
    border-radius: 8px;
    outline: none;
    background: #101010;
    color: #fff;
    font: inherit;
}
.portfolio-message-form textarea { resize: vertical; min-height: 145px; }
.portfolio-message-form input:focus,
.portfolio-message-form textarea:focus { border-color: #4eaee5; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.portfolio-submit { display: inline-flex; align-items: center; gap: 18px; margin-top: 20px; padding: 12px 17px; border: 0; border-radius: 8px; background: #4eaee5; color: #101010; font: inherit; font-weight: 700; cursor: pointer; }
.portfolio-submit:disabled { opacity: .6; cursor: wait; }
.portfolio-contact-form .portfolio-message-form button.portfolio-submit,
.portfolio-contact-form .portfolio-message-form button.portfolio-submit span {
    color: #000 !important;
}
.portfolio-form-status { min-height: 20px; margin: 14px 0 0; color: #bfc3c7; font-size: 13px; }
.portfolio-form-status.success { color: #75d49a; }
.portfolio-form-status.error { color: #ff8e8e; }
@media (max-width: 600px) { .portfolio-form-grid { grid-template-columns: 1fr; } .portfolio-form-wide { grid-column: auto; } }
body:not(.body-style-dark) .portfolio-contact-form {
    border-color: #d5e0e4;
    background: #fff;
}
body:not(.body-style-dark) .portfolio-contact-form .contact-form-heading h2,
body:not(.body-style-dark) .portfolio-contact-form .portfolio-message-form label {
    color: #323232;
}
body:not(.body-style-dark) .portfolio-contact-form .contact-form-heading p,
body:not(.body-style-dark) .portfolio-contact-form .portfolio-message-form label span,
body:not(.body-style-dark) .portfolio-contact-form .portfolio-form-status {
    color: #646464;
}
body:not(.body-style-dark) .portfolio-contact-form .portfolio-message-form input,
body:not(.body-style-dark) .portfolio-contact-form .portfolio-message-form textarea {
    border-color: #cbd7db !important;
    background: #fff !important;
    color: #323232 !important;
}
body:not(.body-style-dark) .portfolio-contact-form .portfolio-message-form input::placeholder,
body:not(.body-style-dark) .portfolio-contact-form .portfolio-message-form textarea::placeholder {
    color: #777;
}
body:not(.body-style-dark) .portfolio-contact-form .portfolio-form-status.success { color: #18743a; }
body:not(.body-style-dark) .portfolio-contact-form .portfolio-form-status.error { color: #b42318; }

/* Remove Elementor's 40px container margins between Resume headings and content. */
#card-resume .elementor-element-27c41105,
#card-resume .elementor-element-de7287e,
#card-resume .elementor-element-eeffe68,
#card-resume .elementor-element-8626b50,
#card-resume .elementor-element-c24dd80 {
    --margin-bottom: 0px !important;
    --margin-block-end: 0px !important;
    margin-block-end: 0px !important;
}
#card-resume .elementor-element-174ddb01,
#card-resume .elementor-element-a2ef1e1,
#card-resume .elementor-element-53fbd3b,
#card-resume .elementor-element-18d0c1e,
#card-resume .elementor-element-377d724 {
    --margin-top: 0px !important;
    --margin-block-start: 0px !important;
    margin-block-start: 0px !important;
}
#card-resume .elementor-widget-ryancv-heading .content .title {
    margin-bottom: 0 !important;
}
.managed-project-gallery{width:min(900px,calc(100% - 30px));max-width:none;max-height:92vh;padding:54px 55px 25px;background:#111317;border-color:#42464c;color:#f3f2ef}.managed-project-gallery figure{margin:0;text-align:center}.managed-project-gallery figure img{display:block;max-width:100%;max-height:72vh;margin:auto;object-fit:contain}.managed-project-gallery figcaption{padding-top:12px;color:#d5d7dc;font-size:13px}.managed-project-gallery>button{position:absolute;border:0;background:#242830;color:white;border-radius:8px;font-size:28px;line-height:1;cursor:pointer}.managed-project-gallery .managed-gallery-close{top:12px;right:12px;width:36px;height:36px}.managed-project-gallery .managed-gallery-prev,.managed-project-gallery .managed-gallery-next{top:50%;width:38px;height:48px;transform:translateY(-50%)}.managed-project-gallery .managed-gallery-prev{left:9px}.managed-project-gallery .managed-gallery-next{right:9px}@media(max-width:570px){.managed-project-gallery{padding:52px 45px 20px}}
body.body-style-dark .theme-style-grid .card-started .profile .slide .slide-overlay {
    background: linear-gradient(0deg, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0.5) 50%, rgb(67 165 221 / 48%) 100%) !important;
}
/* Apply the blue overlay tint to profile and all inner page banners. */
.mil-banner .mil-banner-overlay,
.theme-style-grid .card-started .profile .slide .slide-overlay {
    background: linear-gradient(0deg, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0.5) 50%, rgb(67 165 221 / 48%) 100%) !important;
}
.cursor {
    background-color: rgba(78, 174, 229, 0.25) !important;
}
.cursor.cursor-zoom {
    border-color: #4eaee5 !important;
}
body:not(.body-style-dark) .theme-style-grid .card-started .profile .slide .slide-overlay,
body:not(.body-style-dark) .theme-style-grid .mil-banner .mil-banner-overlay {
    background: linear-gradient(0deg, rgb(233 241 244 / 88%) 0%, rgb(233 241 244 / 42%) 50%, rgb(67 165 221 / 28%) 100%) !important;
}
body:not(.body-style-dark) .theme-style-grid .card-started .profile .slide .slide-overlay {
    background: linear-gradient(to top, #e9f1f4 0%, #e9f1f4 8%, rgb(233 241 244 / 90%) 28%, rgb(233 241 244 / 55%) 55%, rgb(67 165 221 / 22%) 100%) !important;
}
body:not(.body-style-dark) .theme-style-grid .card-started .profile .r-description,
body:not(.body-style-dark) .theme-style-grid .card-inner p {
    color: #474747 !important;
}
/* Let the Resume hero banner span the full page content width like About and Contact. */
#card-resume .elementor-element-7ac4816,
#card-resume .elementor-element-49c77393 {
    --content-width: 100%;
    width: 100% !important;
    max-width: 100% !important;
}
#card-resume .elementor-element-7ac4816 > .e-con-inner,
#card-resume .elementor-element-49c77393 > .e-con-inner,
#card-resume .elementor-element-9384f62,
#card-resume .elementor-element-9384f62 > .elementor-widget-container,
#card-resume .elementor-element-9384f62 .mil-banner {
    width: 100% !important;
    max-width: 100% !important;
}
#card-resume .elementor-element-9384f62 .mil-banner-overlay {
    inset: 0;
    width: 100%;
}
/* Extend the Resume hero through the card's 24px inner gutter. */
#card-resume .elementor-element-9384f62 .mil-banner {
    width: calc(100% + 48px) !important;
    max-width: none !important;
    margin-left: -24px !important;
    margin-right: -24px !important;
}
/* Final edge alignment: the rendered banner still had a 10px inset on the left. */
#card-resume .elementor-element-9384f62 .mil-banner {
    width: calc(100% + 62px) !important;
    margin-left: -34px !important;
    margin-right: -24px !important;
}
/* Align the Resume hero's top edge with the card. */
#card-resume .elementor-element-9384f62 > .elementor-widget-container {
    margin-top: -43px !important;
}
#card-resume .elementor-element-9384f62 > .elementor-widget-container {
    margin-top: -55px !important;
}
/* Reliable sidebar icons without external icon-font files. */
.header .top-menu ul li a .icon {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.header .top-menu ul li:nth-child(1) a .icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='14' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='14' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E");
}
.header .top-menu ul li:nth-child(2) a .icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2z'/%3E%3C/svg%3E");
}
.header .top-menu ul li:nth-child(3) a .icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13'/%3E%3Ccircle cx='3' cy='6' r='1'/%3E%3Ccircle cx='3' cy='12' r='1'/%3E%3Ccircle cx='3' cy='18' r='1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13'/%3E%3Ccircle cx='3' cy='6' r='1'/%3E%3Ccircle cx='3' cy='12' r='1'/%3E%3Ccircle cx='3' cy='18' r='1'/%3E%3C/svg%3E");
}
.header .top-menu ul li:nth-child(4) a .icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}
/* The visible one-page navigation is .top-menu; enlarge and mask its icons. */
.header .top-menu ul li a .icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    background-color: #9da3aa !important;
}
.header .top-menu ul li a .icon::before {
    content: none !important;
}
.header .top-menu ul li a:hover .icon,
.header .top-menu ul li.current-menu-item a .icon {
    background-color: #4eaee5 !important;
}
.content-sidebar,
.s_overlay {
    display: none !important;
}
.body-style-dark .theme-style-grid .ar-service-item .ar-serv-lnk {
    color: #e0e0e0;
}
.body-style-dark .theme-style-grid .ar-service-item .ar-serv-title {
    color: #e0e0e0 !important;
}
@media (max-width: 680px) {
    .body-style-dark .header .profile .title {
        color: #e0e0e0 !important;
    }
    .theme-style-grid .card-started .profile .r-description {
        width: min(100%, 420px) !important;
        max-width: calc(100% - 20px) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: center !important;
    }
    .theme-style-grid .card-started .profile .social {
        display: flex;
        justify-content: center;
        gap: 20px;
        width: fit-content !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .theme-style-grid .card-started .profile .social a {
        margin: 0 !important;
    }
}
.homepage-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: #121212;
    opacity: 1;
    visibility: visible;
    transition: opacity 350ms ease, visibility 350ms ease;
}
.homepage-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.homepage-preloader__portrait {
    position: relative;
    display: grid;
    width: 148px;
    height: 148px;
    place-items: center;
}
.homepage-preloader__portrait::before {
    position: absolute;
    inset: 0;
    border: 3px solid rgb(78 174 229 / 20%);
    border-top-color: #4eaee5;
    border-right-color: #4eaee5;
    border-radius: 50%;
    content: "";
    animation: homepage-preloader-spin 1.15s linear infinite;
}
.homepage-preloader__portrait img {
    width: 124px;
    height: 124px;
    border: 3px solid #4eaee5;
    border-radius: 50%;
    object-fit: cover;
}
@keyframes homepage-preloader-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .homepage-preloader,
    .homepage-preloader__portrait::before {
        transition: none;
    }
    .homepage-preloader__portrait::before { animation: none; }
}

#card-portfolio .managed-project-card .box-item .desc {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 7px;
    width: 100%;
    padding: 17px 18px 19px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    text-align: left;
}
#card-portfolio .managed-project-card .box-item {
    overflow: hidden;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgb(25 35 45 / 8%);
    text-align: left;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
#card-portfolio .managed-project-card .box-item:hover {
    box-shadow: 0 9px 24px rgb(25 35 45 / 13%);
    transform: translateY(-2px);
}
#card-portfolio .managed-project-card .image {
    border-radius: 0;
}
#card-portfolio .managed-project-card .image a img {
    display: block;
}
#card-portfolio .managed-project-card .desc .name {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    overflow-wrap: anywhere;
    text-align: left;
    line-height: 1.4;
}
#card-portfolio .managed-project-card .desc .name::before,
#card-portfolio .managed-project-card .desc .name::after {
    display: none !important;
    content: none !important;
}
#card-portfolio .managed-project-card .desc .category,
#card-portfolio .managed-project-card .managed-project-description {
    display: block;
    width: 100%;
    margin: 0;
    overflow-wrap: anywhere;
    text-align: left;
}
#card-portfolio .managed-project-card .managed-project-description {
    line-height: 1.55;
}
.body-style-dark #card-portfolio .managed-project-card .desc .name {
    color: #e0e0e0;
}
.body-style-dark #card-portfolio .managed-project-card .desc .category,
.body-style-dark #card-portfolio .managed-project-card .managed-project-description {
    color: #aaa;
}
.body-style-dark #card-portfolio .managed-project-card .box-item {
    border-color: #34383d;
    background: #1b1d20;
    box-shadow: 0 5px 18px rgb(0 0 0 / 22%);
}
.body-style-dark #card-portfolio .managed-project-card .box-item:hover {
    box-shadow: 0 9px 24px rgb(0 0 0 / 34%);
}
body:not(.body-style-dark) #card-portfolio .managed-project-card .desc .name {
    color: #323232;
}
body:not(.body-style-dark) #card-portfolio .managed-project-card .desc .category,
body:not(.body-style-dark) #card-portfolio .managed-project-card .managed-project-description {
    color: #646464;
}
#metform-wrap-0f9234d-3501 .metform-btn,
#metform-wrap-0f9234d-3501 .metform-btn span {
    color: #000 !important;
}
