/**
* Template Name: MyResume
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-resume/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors */
:root {
    --background-color: #ffffff;
    --default-color: #000000;
    --heading-color: #000000;
    --accent-color: #0563bb;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
    --nav-color: #000000;
    --nav-hover-color: #0563bb;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #000000;
    --nav-dropdown-hover-color: #0563bb;
}

.light-background {
    --background-color: #f9f9f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #000000;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #000000;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: rgba(5, 99, 187, 0.75);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages */
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--accent-color);
        border-top-color: var(--surface-color);
        animation: php-email-form-loading 1s linear infinite;
    }

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 0 15px;
    transition: all ease-in-out 0.3s;
    overflow-y: auto;
    z-index: 997;
    min-width: 200px;
}

@media (max-width: 1199px) {
    .header {
        background-color: var(--background-color);
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        width: 300px;
        left: -100%;
    }
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .header ~ main {
        margin-left: 160px;
    }

        .header ~ main .hero {
            margin-left: -160px;
            width: 100vw;
        }
}

.header.header-show {
    left: 0;
}

.header .header-toggle {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 9999;
    transition: background-color 0.3s;
}

    .header .header-toggle:hover {
        color: var(--contrast-color);
        background-color: rgba(5, 99, 187, 0.85);
    }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu {
    padding: 0;
    z-index: 9997;
}

    .navmenu ul {
        list-style: none;
        padding: 0 0 20px 0;
        margin: 0;
        width: 140px;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        font-family: var(--nav-font);
        display: flex;
        align-items: center;
        padding: 10px 18px;
        margin-bottom: 8px;
        font-size: 15px;
        border-radius: 50px;
        background: rgba(0, 0, 0, 0.08);
        height: 56px;
        width: 100%;
        overflow: hidden;
        transition: 0.3s;
    }

        .navmenu a i,
        .navmenu a:focus i {
            font-size: 20px;
        }

        .navmenu a span,
        .navmenu a:focus span {
            padding: 0 5px 0 7px;
        }

@media (min-width: 992px) {

    .navmenu a,
    .navmenu a:focus {
        max-width: 56px;
    }

        .navmenu a span,
        .navmenu a:focus span {
            display: none;
        }
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus,
.navmenu li:hover > a {
    color: var(--contrast-color);
    background: var(--nav-hover-color);
}

.navmenu a:hover,
.navmenu li:hover > a {
    max-width: 100%;
    color: var(--contrast-color);
}

    .navmenu a:hover span,
    .navmenu li:hover > a span {
        display: block;
    }

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
    position: relative;
}

    .footer h3 {
        font-size: 36px;
        font-weight: 700;
        position: relative;
        padding: 0;
        margin: 0 0 15px 0;
    }

    .footer p {
        font-size: 15px;
        font-style: italic;
        padding: 0;
        margin: 0 0 30px 0;
    }

    .footer .social-links {
        margin: 0 0 30px 0;
    }

        .footer .social-links a {
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent-color);
            color: var(--contrast-color);
            line-height: 1;
            margin: 0 4px;
            border-radius: 50%;
            text-align: center;
            width: 36px;
            height: 36px;
            transition: 0.3s;
        }

            .footer .social-links a:hover {
                background: rgba(5, 99, 187, 0.8);
                text-decoration: none;
            }

    .footer .copyright {
        padding-top: 25px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .footer .credits {
        font-size: 13px;
        padding-top: 5px;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #ffffff;
        border-color: var(--accent-color) transparent var(--accent-color) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1.5s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: rgba(5, 99, 187, 0.8);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 90px;
    }

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --background-color: rgba(0, 0, 0, 0.04);
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    position: relative;
}

    .page-title h1 {
        font-size: 28px;
        font-weight: 700;
        margin: 0;
    }

    .page-title .breadcrumbs ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0 0 10px 0;
        margin: 0;
        font-size: 14px;
        font-weight: 400;
    }

        .page-title .breadcrumbs ol li + li {
            padding-left: 10px;
        }

            .page-title .breadcrumbs ol li + li::before {
                content: "/";
                display: inline-block;
                padding-right: 10px;
                color: var(--default-color);
                opacity: 0.3;
            }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    overflow: clip;
}

    section#hero,
    section#hero.section {
        background-color: transparent !important;
        padding: 0;
    }

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

        .section-title h2:before {
            content: "";
            position: absolute;
            display: block;
            width: 160px;
            height: 1px;
            background: rgba(0, 0, 0, 0.2);
            left: 0;
            right: 0;
            bottom: 1px;
            margin: auto;
        }

        .section-title h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 60px;
            height: 3px;
            background: var(--accent-color);
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
        }

    .section-title p {
        margin-bottom: 0;
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff !important;
    transition: background 0.35s ease;
}

body.dark-mode .hero {
    background: #060a12 !important;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.28) saturate(0.8);
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    transition: background 0.35s ease;
}

body.dark-mode .hero:before {
    background: linear-gradient(135deg, rgba(6, 10, 18, 0.75) 0%, rgba(5, 99, 187, 0.08) 100%);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
}

body.dark-mode .hero-blob {
    opacity: 1;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(5, 99, 187, 0.18) 0%, transparent 70%);
    top: -120px;
    left: -100px;
    animation: heroFloat1 9s ease-in-out infinite;
}

.hero-blob-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(26, 143, 227, 0.12) 0%, transparent 70%);
    bottom: -60px;
    right: -80px;
    animation: heroFloat2 11s ease-in-out infinite;
}

@keyframes heroFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -40px) scale(1.05);
    }
}

@keyframes heroFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-25px, 30px) scale(1.08);
    }
}

.hero .container {
    position: relative;
    z-index: 3;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 99, 187, 0.08);
    border: 1px solid rgba(5, 99, 187, 0.3);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 0.72rem;
    color: #0563bb;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: heroBadgeFade 0.8s ease both;
}

body.dark-mode .hero-badge {
    background: rgba(5, 99, 187, 0.15);
    border-color: rgba(5, 99, 187, 0.4);
    color: #4faee8;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0563bb;
    box-shadow: 0 0 8px #0563bb;
    animation: heroDotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes heroBadgeFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

.hero-name {
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin: 0 0 20px 0;
    font-family: var(--heading-font);
    color: #1a1d1f;
    animation: heroFadeUp 0.9s 0.1s ease both;
}

body.dark-mode .hero-name {
    color: #ffffff;
}

.hero-name-first {
    display: block !important;
    color: inherit;
}

.hero-name .hero-name-last,
.hero-name-last {
    display: block !important;
    color: #1a8fe3;
    background: linear-gradient(135deg, #1a8fe3, #4faee8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: rgba(30, 45, 61, 0.7);
    margin-bottom: 14px;
    font-weight: 300;
    animation: heroFadeUp 0.9s 0.2s ease both;
}

body.dark-mode .hero-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.hero-subtitle .typed {
    color: #0563bb;
    border-bottom: 2px solid #0563bb;
    padding-bottom: 2px;
}

body.dark-mode .hero-subtitle .typed {
    color: #4faee8;
}

.hero-desc {
    font-size: 0.95rem;
    color: rgba(30, 45, 61, 0.6);
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: 36px;
    animation: heroFadeUp 0.9s 0.3s ease both;
}

body.dark-mode .hero-desc {
    color: rgba(255, 255, 255, 0.45);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: heroFadeUp 0.9s 0.4s ease both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a8fe3, #0563bb);
    color: #fff !important;
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 0 0 rgba(5, 99, 187, 0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .btn-hero-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #4faee8, #1a8fe3);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .btn-hero-primary span {
        position: relative;
        z-index: 1;
    }

    .btn-hero-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 30px rgba(5, 99, 187, 0.5), 0 0 60px rgba(5, 99, 187, 0.2);
        color: #fff !important;
    }

        .btn-hero-primary:hover::before {
            opacity: 1;
        }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: rgba(30, 45, 61, 0.8) !important;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid rgba(30, 45, 61, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

    .btn-hero-secondary:hover {
        border-color: #0563bb;
        background: rgba(5, 99, 187, 0.08);
        color: #0563bb !important;
        transform: translateY(-2px);
    }

body.dark-mode .btn-hero-secondary {
    color: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.2);
}

    body.dark-mode .btn-hero-secondary:hover {
        background: rgba(5, 99, 187, 0.12);
        color: #fff !important;
        box-shadow: 0 0 20px rgba(5, 99, 187, 0.2);
    }

.hero-social {
    margin-top: 0 !important;
    animation: heroFadeUp 0.9s 0.5s ease both;
}

    .hero-social a {
        font-size: 18px !important;
        color: rgba(30, 45, 61, 0.4) !important;
        margin-right: 18px !important;
        transition: color 0.3s ease !important;
    }

        .hero-social a:hover {
            color: #0563bb !important;
        }

body.dark-mode .hero-social a {
    color: rgba(255, 255, 255, 0.35) !important;
}

    body.dark-mode .hero-social a:hover {
        color: #1a8fe3 !important;
    }

.hero-photo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: heroFadeUp 1s 0.3s ease both;
}

.hero-photo-ring {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0563bb, #1a8fe3, #4faee8);
    padding: 3px;
    position: relative;
    box-shadow: 0 0 60px rgba(5, 99, 187, 0.3);
}

.hero-photo-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #060a12;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-photo-inner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-glow-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1a8fe3;
    bottom: 18px;
    right: 8px;
    box-shadow: 0 0 20px #0563bb, 0 0 40px #0563bb;
    border: 3px solid #060a12;
    animation: heroDotPulse 2s infinite;
    z-index: 2;
}

body:not(.dark-mode) .hero-photo-inner {
    background: #f0f4f8;
}

body:not(.dark-mode) .hero-glow-dot {
    border-color: #f0f4f8;
}

body:not(.dark-mode) .hero {
    background: #0a0e1a;
}

@media (max-width: 991px) {
    .hero-left {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-social {
        display: flex;
        justify-content: center;
    }

    .hero-photo-ring {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-name {
        font-size: 44px;
    }

    .hero-photo-ring {
        width: 240px;
        height: 240px;
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
    font-weight: 700;
    font-size: 24px;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }

    .about .content ul strong {
        margin-right: 10px;
    }

    .about .content ul i {
        font-size: 16px;
        margin-right: 5px;
        color: var(--accent-color);
        line-height: 0;
    }

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    width: 54px;
    height: 54px;
    font-size: 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.stats .stats-item {
    margin-top: 10px;
    width: 100%;
    position: relative;
    text-align: center;
    z-index: 0;
}

    .stats .stats-item span {
        font-size: 36px;
        display: block;
        font-weight: 700;
        color: var(--heading-color);
    }

    .stats .stats-item p {
        padding: 0;
        margin: 0;
        color: var(--default-color);
        opacity: 0.6;
        font-size: 16px;
    }

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
    height: 60px;
    display: block;
    background: none;
    border-radius: 0;
}

    .skills .progress .skill {
        color: var(--heading-color);
        padding: 0;
        margin: 0 0 6px 0;
        text-transform: uppercase;
        display: block;
        font-weight: 600;
        font-family: var(--heading-font);
    }

        .skills .progress .skill .val {
            float: right;
            font-style: normal;
        }

.skills .progress-bar-wrap {
    background: rgba(0, 0, 0, 0.1);
    height: 10px;
}

.skills .progress-bar {
    width: 1px;
    height: 10px;
    transition: 0.9s;
    background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
    color: var(--heading-color);
    font-size: 26px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

.resume .resume-item {
    padding: 0 0 20px 20px;
    margin-top: -2px;
    border-left: 2px solid var(--accent-color);
    position: relative;
}

    .resume .resume-item h4 {
        line-height: 18px;
        font-size: 18px;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--heading-color);
        margin-bottom: 10px;
    }

    .resume .resume-item h5 {
        font-size: 16px;
        padding: 5px 15px;
        display: inline-block;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .resume .resume-item ul {
        padding-left: 20px;
    }

        .resume .resume-item ul li {
            padding-bottom: 10px;
        }

    .resume .resume-item:last-child {
        padding-bottom: 0;
    }

    .resume .resume-item::before {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        border-radius: 50px;
        left: -9px;
        top: 0;
        background: var(--background-color);
        border: 2px solid var(--accent-color);
    }

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

    .portfolio .portfolio-filters li {
        cursor: pointer;
        display: inline-block;
        padding: 8px 20px 10px 20px;
        margin: 0;
        font-size: 15px;
        font-weight: 500;
        line-height: 1;
        margin-bottom: 5px;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        font-family: var(--heading-font);
    }

        .portfolio .portfolio-filters li:hover,
        .portfolio .portfolio-filters li.filter-active {
            color: var(--contrast-color);
            background-color: var(--accent-color);
        }

        .portfolio .portfolio-filters li:first-child {
            margin-left: 0;
        }

        .portfolio .portfolio-filters li:last-child {
            margin-right: 0;
        }

@media (max-width: 575px) {
    .portfolio .portfolio-filters li {
        font-size: 14px;
        margin: 0 0 10px 0;
    }
}

.portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
}

    .portfolio .portfolio-item .portfolio-info {
        opacity: 0;
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: -100%;
        z-index: 3;
        transition: all ease-in-out 0.5s;
        background: rgba(255, 255, 255, 0.9);
        padding: 15px;
    }

        .portfolio .portfolio-item .portfolio-info h4 {
            font-size: 18px;
            font-weight: 600;
            padding-right: 50px;
        }

        .portfolio .portfolio-item .portfolio-info p {
            color: var(--default-color);
            opacity: 0.7;
            font-size: 14px;
            margin-bottom: 0;
            padding-right: 50px;
        }

        .portfolio .portfolio-item .portfolio-info .preview-link,
        .portfolio .portfolio-item .portfolio-info .details-link {
            position: absolute;
            right: 50px;
            font-size: 24px;
            top: calc(50% - 14px);
            color: var(--default-color);
            opacity: 0.7;
            transition: 0.3s;
            line-height: 0;
        }

            .portfolio .portfolio-item .portfolio-info .preview-link:hover,
            .portfolio .portfolio-item .portfolio-info .details-link:hover {
                color: var(--accent-color);
            }

        .portfolio .portfolio-item .portfolio-info .details-link {
            right: 14px;
            font-size: 28px;
        }

    .portfolio .portfolio-item:hover .portfolio-info {
        opacity: 1;
        bottom: 0;
    }

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    background-color: var(--surface-color);
    box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
    height: 100%;
    padding: 60px 30px;
    text-align: center;
    transition: 0.3s;
    border-radius: 5px;
}

    .services .service-item .icon {
        margin: 0 auto;
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: ease-in-out 0.3s;
        position: relative;
    }

        .services .service-item .icon i {
            font-size: 36px;
            transition: 0.5s;
            position: relative;
        }

        .services .service-item .icon svg {
            position: absolute;
            top: 0;
            left: 0;
        }

            .services .service-item .icon svg path {
                transition: 0.5s;
                fill: rgba(0, 0, 0, 0.05);
            }

    .services .service-item h3 {
        font-weight: 700;
        margin: 10px 0 15px 0;
        font-size: 22px;
    }

    .services .service-item p {
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .services .service-item:hover {
        box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
    }

    .services .service-item.item-cyan i {
        color: #0dcaf0;
    }

    .services .service-item.item-cyan:hover .icon i {
        color: #fff;
    }

    .services .service-item.item-cyan:hover .icon path {
        fill: #0dcaf0;
    }

    .services .service-item.item-orange i {
        color: #fd7e14;
    }

    .services .service-item.item-orange:hover .icon i {
        color: #fff;
    }

    .services .service-item.item-orange:hover .icon path {
        fill: #fd7e14;
    }

    .services .service-item.item-teal i {
        color: #20c997;
    }

    .services .service-item.item-teal:hover .icon i {
        color: #fff;
    }

    .services .service-item.item-teal:hover .icon path {
        fill: #20c997;
    }

    .services .service-item.item-red i {
        color: #df1529;
    }

    .services .service-item.item-red:hover .icon i {
        color: #fff;
    }

    .services .service-item.item-red:hover .icon path {
        fill: #df1529;
    }

    .services .service-item.item-indigo i {
        color: #6610f2;
    }

    .services .service-item.item-indigo:hover .icon i {
        color: #fff;
    }

    .services .service-item.item-indigo:hover .icon path {
        fill: #6610f2;
    }

    .services .service-item.item-pink i {
        color: #f3268c;
    }

    .services .service-item.item-pink:hover .icon i {
        color: #fff;
    }

    .services .service-item.item-pink:hover .icon path {
        fill: #f3268c;
    }

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
    border-left: 3px solid var(--accent-color);
    padding-left: 30px;
}

.testimonials .testimonial-item .testimonial-img {
    border-radius: 50%;
    border: 4px solid var(--background-color);
    margin: 0 auto;
}

.testimonials .testimonial-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: var(--default-color);
    opacity: 0.6;
    margin: 0 0 10px 0;
}

.testimonials .testimonial-item .stars i {
    color: #ffc107;
    margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: rgba(5, 99, 187, 0.5);
    font-size: 26px;
    line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
    font-style: italic;
}

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 30px;
    position: relative;
}

    .testimonials .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: rgba(0, 0, 0, 0.15);
        opacity: 1;
    }

    .testimonials .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item + .info-item {
    margin-top: 40px;
}

.contact .info-item i {
    color: var(--accent-color);
    background: rgba(5, 99, 187, 0.08);
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item:hover i {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.contact .php-email-form {
    height: 100%;
}

    .contact .php-email-form input[type=text],
    .contact .php-email-form input[type=email],
    .contact .php-email-form textarea {
        font-size: 14px;
        padding: 10px 15px;
        box-shadow: none;
        border-radius: 6px;
        color: var(--default-color);
        background-color: #f0f2f5;
        border: 1px solid #d0d5dd;
        transition: border-color 0.3s ease, background-color 0.3s ease;
    }

        .contact .php-email-form input[type=text]:focus,
        .contact .php-email-form input[type=email]:focus,
        .contact .php-email-form textarea:focus {
            border-color: var(--accent-color);
            background-color: #f8f9fb;
            outline: none;
        }

        .contact .php-email-form input[type=text]::placeholder,
        .contact .php-email-form input[type=email]::placeholder,
        .contact .php-email-form textarea::placeholder {
            color: #8a92a0;
        }

body.dark-mode .contact .php-email-form input[type=text],
body.dark-mode .contact .php-email-form input[type=email],
body.dark-mode .contact .php-email-form textarea {
    background-color: #1e2433;
    border-color: #2e3a50;
    color: #e0e6f0;
}

    body.dark-mode .contact .php-email-form input[type=text]:focus,
    body.dark-mode .contact .php-email-form input[type=email]:focus,
    body.dark-mode .contact .php-email-form textarea:focus {
        border-color: var(--accent-color);
        background-color: #232b3e;
    }

    body.dark-mode .contact .php-email-form input[type=text]::placeholder,
    body.dark-mode .contact .php-email-form input[type=email]::placeholder,
    body.dark-mode .contact .php-email-form textarea::placeholder {
        color: #5a6a80;
    }

.contact .php-email-form button[type=submit] {
    color: #ffffff;
    background: linear-gradient(135deg, #1a8fe3 0%, #0563bb 50%, #044d9a 100%);
    border: 0;
    padding: 10px 30px;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(5, 99, 187, 0.4);
    position: relative;
    overflow: hidden;
}

    .contact .php-email-form button[type=submit]::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .contact .php-email-form button[type=submit]:hover {
        background: linear-gradient(135deg, #4faee8 0%, #1a8fe3 50%, #0563bb 100%);
        box-shadow: 0 6px 25px rgba(5, 99, 187, 0.65), 0 0 40px rgba(5, 99, 187, 0.3);
        transform: translateY(-2px);
    }

        .contact .php-email-form button[type=submit]:hover::before {
            left: 100%;
        }

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .swiper-wrapper {
    height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
    width: 48px;
    height: 48px;
}

    .portfolio-details .swiper-button-prev:after,
    .portfolio-details .swiper-button-next:after {
        color: rgba(255, 255, 255, 0.8);
        background-color: rgba(0, 0, 0, 0.15);
        font-size: 24px;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

    .portfolio-details .swiper-button-prev:hover:after,
    .portfolio-details .swiper-button-next:hover:after {
        background-color: var(--default-color);
        opacity: 0.3;
    }

@media (max-width: 575px) {

    .portfolio-details .swiper-button-prev,
    .portfolio-details .swiper-button-next {
        display: none;
    }
}

.portfolio-details .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .portfolio-details .swiper-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background-color: rgba(0, 0, 0, 0.15);
        opacity: 1;
    }

    .portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

    .portfolio-details .portfolio-info h3:after {
        content: "";
        position: absolute;
        display: block;
        width: 50px;
        height: 3px;
        background: var(--accent-color);
        left: 0;
        bottom: 0;
    }

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

    .portfolio-details .portfolio-info ul li {
        display: flex;
        flex-direction: column;
        padding-bottom: 15px;
    }

    .portfolio-details .portfolio-info ul strong {
        text-transform: uppercase;
        font-weight: 400;
        color: var(--default-color);
        opacity: 0.6;
        font-size: 14px;
    }

.portfolio-details .portfolio-info .btn-visit {
    padding: 8px 40px;
    background: linear-gradient(135deg, #1a8fe3 0%, #0563bb 50%, #044d9a 100%);
    color: #ffffff;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 99, 187, 0.4);
    position: relative;
    overflow: hidden;
}

    .portfolio-details .portfolio-info .btn-visit::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .portfolio-details .portfolio-info .btn-visit:hover {
        background: linear-gradient(135deg, #4faee8 0%, #1a8fe3 50%, #0563bb 100%);
        box-shadow: 0 6px 25px rgba(5, 99, 187, 0.65), 0 0 40px rgba(5, 99, 187, 0.3);
        transform: translateY(-2px);
        color: #ffffff;
    }

        .portfolio-details .portfolio-info .btn-visit:hover::before {
            left: 100%;
        }

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
    padding: 30px 30px 0 30px;
    position: relative;
    background: rgba(0, 0, 0, 0.03);
    margin-bottom: 50px;
}

    .portfolio-details .portfolio-description .testimonial-item .testimonial-img {
        width: 90px;
        border-radius: 50px;
        border: 6px solid var(--background-color);
        float: left;
        margin: 0 10px 0 0;
    }

    .portfolio-details .portfolio-description .testimonial-item h3 {
        font-size: 18px;
        font-weight: bold;
        margin: 15px 0 5px 0;
        padding-top: 20px;
    }

    .portfolio-details .portfolio-description .testimonial-item h4 {
        font-size: 14px;
        color: #6c757d;
        margin: 0;
    }

    .portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
    .portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
        color: rgba(5, 99, 187, 0.5);
        font-size: 26px;
        line-height: 0;
    }

    .portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
        display: inline-block;
        left: -5px;
        position: relative;
    }

    .portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
        display: inline-block;
        right: -5px;
        position: relative;
        top: 10px;
        transform: scale(-1, -1);
    }

    .portfolio-details .portfolio-description .testimonial-item p {
        font-style: italic;
        margin: 0 0 15px 0;
        padding: 0;
    }

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
    padding: 20px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

    .service-details .service-box + .service-box {
        margin-top: 30px;
    }

    .service-details .service-box h4 {
        font-size: 20px;
        font-weight: 700;
        border-bottom: 2px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

.service-details .services-list a {
    color: var(--heading-color);
    background-color: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-top: 15px;
    transition: 0.3s;
}

    .service-details .services-list a:first-child {
        margin-top: 0;
    }

    .service-details .services-list a i {
        font-size: 16px;
        margin-right: 8px;
        color: var(--accent-color);
    }

    .service-details .services-list a.active {
        color: var(--contrast-color);
        background-color: var(--accent-color);
    }

        .service-details .services-list a.active i {
            color: var(--contrast-color);
        }

    .service-details .services-list a:hover {
        background-color: rgba(5, 99, 187, 0.05);
        color: var(--accent-color);
    }

.service-details .download-catalog a {
    color: var(--default-color);
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: 0.3s;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

    .service-details .download-catalog a:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .service-details .download-catalog a:last-child {
        padding-bottom: 0;
    }

    .service-details .download-catalog a i {
        font-size: 24px;
        margin-right: 8px;
        color: var(--accent-color);
    }

    .service-details .download-catalog a:hover {
        color: var(--accent-color);
    }

.service-details .help-box {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    margin-top: 30px;
    padding: 30px 15px;
}

    .service-details .help-box .help-icon {
        font-size: 48px;
    }

    .service-details .help-box h4,
    .service-details .help-box a {
        color: var(--contrast-color);
    }

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 26px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

    .service-details ul li {
        padding: 5px 0;
        display: flex;
        align-items: center;
    }

    .service-details ul i {
        font-size: 20px;
        margin-right: 8px;
        color: var(--accent-color);
    }

/*--------------------------------------------------------------
# Dark Mode Toggle Button
--------------------------------------------------------------*/
.theme-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #1a8fe3 0%, #0563bb 100%);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(5, 99, 187, 0.45);
    transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
    padding: 0;
}

    .theme-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(5, 99, 187, 0.7), 0 0 40px rgba(5, 99, 187, 0.35);
    }

    .theme-toggle:active {
        transform: scale(0.95);
    }

@media (max-width: 1199px) {
    .theme-toggle {
        right: auto;
        left: 18px;
    }
}

body.dark-mode .theme-toggle {
    background: linear-gradient(135deg, #1a8fe3 0%, #0563bb 100%);
    box-shadow: 0 4px 15px rgba(5, 99, 187, 0.45);
}

    body.dark-mode .theme-toggle:hover {
        box-shadow: 0 6px 25px rgba(5, 99, 187, 0.7), 0 0 40px rgba(5, 99, 187, 0.35);
    }

.theme-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #ffffff;
}

.theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
    opacity: 0;
    transform: rotate(60deg) scale(0.6);
}

body.dark-mode .theme-icon-sun {
    opacity: 0;
    transform: rotate(-60deg) scale(0.6);
}

body.dark-mode .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/*--------------------------------------------------------------
# Dark Mode Global Overrides
--------------------------------------------------------------*/
body.dark-mode {
    --background-color: #0f1117;
    --default-color: #e0e6f0;
    --heading-color: #eaf0fb;
    --surface-color: #1a1f2e;
    --contrast-color: #ffffff;
    --accent-color: #0563bb;
    --nav-color: #c8d6e8;
    --nav-hover-color: #0563bb;
    --nav-mobile-background-color: #1a1f2e;
    --nav-dropdown-background-color: #1a1f2e;
    --nav-dropdown-color: #c8d6e8;
    --nav-dropdown-hover-color: #0563bb;
}

    body.dark-mode .light-background {
        --background-color: #151b27;
        --surface-color: #1f2535;
    }

    body.dark-mode .hero img {
        filter: brightness(0.75);
    }

    body.dark-mode .hero:before {
        background: rgba(15, 17, 23, 0.2);
    }

    body.dark-mode img {
        filter: brightness(0.88);
    }

    body.dark-mode .progress-bar {
        background-color: var(--accent-color);
    }

    body.dark-mode .skills-animation .progress {
        background-color: #2a3245;
    }

    body.dark-mode .resume-item::before {
        border-color: var(--accent-color);
    }

    body.dark-mode .skill-box {
        background-color: #1a1f2e !important;
        background: #1a1f2e !important;
        border-color: #2a3245 !important;
    }

        body.dark-mode .skill-box h4,
        body.dark-mode .skill-box h4 * {
            color: #eaf0fb !important;
        }

        body.dark-mode .skill-box p {
            color: #b0bcd0 !important;
        }

        body.dark-mode .skill-box:hover {
            background-color: #212736 !important;
            background: #212736 !important;
            border-left-color: #4faee8 !important;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
        }

            body.dark-mode .skill-box:hover h4 {
                color: #4faee8 !important;
            }

            body.dark-mode .skill-box:hover p {
                color: #d0d8e8 !important;
            }

/* Smooth transition for all color changes */
body,
body * {
    transition: background-color 0.35s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/*--------------------------------------------------------------
# Global Blue Gradient Buttons
--------------------------------------------------------------*/
.contact .php-email-form button[type=submit],
.portfolio-details .portfolio-info .btn-visit,
.footer .social-links a {
    background: linear-gradient(135deg, #1a8fe3 0%, #0563bb 50%, #044d9a 100%) !important;
    box-shadow: 0 4px 15px rgba(5, 99, 187, 0.4) !important;
    border: none !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

.header .header-toggle {
    background: linear-gradient(135deg, #1a8fe3 0%, #0563bb 50%, #044d9a 100%) !important;
    box-shadow: 0 4px 15px rgba(5, 99, 187, 0.4) !important;
    border: none !important;
    color: #ffffff !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

.contact .php-email-form button[type=submit]::after,
.portfolio-details .portfolio-info .btn-visit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.contact .php-email-form button[type=submit]:hover,
.portfolio-details .portfolio-info .btn-visit:hover,
.header .header-toggle:hover {
    background: linear-gradient(135deg, #4faee8 0%, #1a8fe3 50%, #0563bb 100%) !important;
    box-shadow: 0 6px 28px rgba(5, 99, 187, 0.65), 0 0 40px rgba(5, 99, 187, 0.28) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

    .contact .php-email-form button[type=submit]:hover::after,
    .portfolio-details .portfolio-info .btn-visit:hover::after {
        left: 100%;
    }

.header .header-toggle:hover {
    transform: scale(1.05) !important;
}

.scroll-top {
    background: linear-gradient(135deg, #1a8fe3 0%, #0563bb 100%) !important;
    box-shadow: 0 4px 15px rgba(5, 99, 187, 0.4) !important;
}

    .scroll-top:hover {
        background: linear-gradient(135deg, #4faee8 0%, #1a8fe3 100%) !important;
        box-shadow: 0 6px 25px rgba(5, 99, 187, 0.6) !important;
        transform: scale(1.05) !important;
    }

/*--------------------------------------------------------------
# Portfolio Detail Page — Dark Mode Fixes
--------------------------------------------------------------*/
body.dark-mode .portfolio-details p,
body.dark-mode .portfolio-details .portfolio-description p {
    color: #d0d8e8 !important;
}

body.dark-mode .portfolio-details h2,
body.dark-mode .portfolio-details h3,
body.dark-mode .portfolio-details h4,
body.dark-mode .portfolio-details h5 {
    color: #eaf0fb !important;
}

body.dark-mode .portfolio-details .portfolio-info,
body.dark-mode .portfolio-info {
    background-color: #1a1f2e !important;
    background: #1a1f2e !important;
    border: 1px solid #2a3245 !important;
    border-radius: 8px !important;
}

    body.dark-mode .portfolio-details .portfolio-info h3,
    body.dark-mode .portfolio-info h3 {
        color: #eaf0fb !important;
    }

    body.dark-mode .portfolio-details .portfolio-info ul li,
    body.dark-mode .portfolio-info ul li {
        color: #d0d8e8 !important;
        border-color: #2a3245 !important;
    }

    body.dark-mode .portfolio-details .portfolio-info ul strong,
    body.dark-mode .portfolio-info ul strong {
        color: #8a9ab8 !important;
    }

    body.dark-mode .portfolio-details .portfolio-info ul li span,
    body.dark-mode .portfolio-info ul li span,
    body.dark-mode .portfolio-info p {
        color: #d0d8e8 !important;
    }

body.dark-mode .portfolio-details,
body.dark-mode .portfolio-details * {
    color: #d0d8e8;
}

    body.dark-mode .portfolio-details h1,
    body.dark-mode .portfolio-details h2,
    body.dark-mode .portfolio-details h3,
    body.dark-mode .portfolio-details h4 {
        color: #eaf0fb !important;
    }

    body.dark-mode .portfolio-details .portfolio-info {
        background-color: #1a1f2e !important;
    }

/*--------------------------------------------------------------
# Scroll Hint
--------------------------------------------------------------*/
@keyframes scrollFill {
    0% {
        top: -50%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    60% {
        top: 50%;
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translateX(-50%) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes scrollFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 4;
    animation: scrollFadeIn 1s 1.5s ease both;
    pointer-events: none;
}

    .scroll-hint span {
        font-size: 0.65rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: rgb(0, 0, 0);
        font-family: var(--nav-font);
    }

.scroll-line-wrap {
    position: relative;
    width: 16px;
    height: 48px;
    display: flex;
    justify-content: center;
}

.scroll-line {
    width: 1px;
    height: 100%;
    background: rgba(5, 99, 187, 0.25);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

    .scroll-line::after {
        content: '';
        position: absolute;
        top: -50%;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to bottom, #4faee8, #0563bb);
        border-radius: 1px;
        animation: scrollFill 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        box-shadow: 0 0 6px rgba(5, 99, 187, 0.8);
    }

.scroll-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1a8fe3;
    box-shadow: 0 0 8px rgba(5, 99, 187, 0.9);
    animation: scrollPulse 2s ease-in-out infinite;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

body.dark-mode .scroll-hint span {
    color: rgb(255, 255, 255);
}

body.dark-mode .scroll-line {
    background: rgba(26, 143, 227, 0.2);
}

    body.dark-mode .scroll-line::after {
        background: linear-gradient(to bottom, #4faee8, #1a8fe3);
        box-shadow: 0 0 8px rgba(26, 143, 227, 0.9);
    }

body.dark-mode .scroll-dot {
    background: #4faee8;
    box-shadow: 0 0 10px rgba(79, 174, 232, 1);
}

body.dark-mode .skill-box:hover {
    background-color: #212736 !important;
    background: #212736 !important;
    border-left-color: #4faee8 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}

    body.dark-mode .skill-box:hover h4 {
        color: #4faee8 !important;
    }

    body.dark-mode .skill-box:hover p {
        color: #d0d8e8 !important;
    }

/*--------------------------------------------------------------
# Dark Mode — Skill Box H4 & Light Mode Fix
--------------------------------------------------------------*/
/* Light mode: siyah */
.skill-box h4 {
    color: #1a1d1f;
}

/* Dark mode: beyaz */
body.dark-mode .skill-box h4 {
    color: #eaf0fb !important;
}

body.dark-mode .skill-box:hover h4 {
    color: #4faee8 !important;
}

/*--------------------------------------------------------------
# Bootstrap Variable Overrides for Dark Mode
--------------------------------------------------------------*/
body.dark-mode {
    --bs-heading-color: #eaf0fb;
    --bs-body-color: #e0e6f0;
    --bs-secondary-color: #b0bcd0;
}
