/* ==========================================================================
   Sabbir Ahmed — Frontend polish layer
   Loaded after the theme CSS so it refines the look without editing it.
   Accent stays the theme blue (#1696e7); everything else is a gradient partner.
   ========================================================================== */

:root {
    --sf-accent: #1696e7;
    --sf-accent-2: #5b6cff;
    --sf-gradient: linear-gradient(135deg, #1696e7 0%, #5b6cff 100%);
    --sf-gradient-soft: linear-gradient(135deg, rgba(22, 150, 231, .18), rgba(91, 108, 255, .18));
    --sf-glow: 0 10px 28px rgba(22, 150, 231, .32);
    --sf-radius: 18px;
    --sf-ease: cubic-bezier(.2, .8, .2, 1);
}

/* --------------------------------------------------------------------------
   1. Base polish — depth, smooth scrolling, selection, scrollbar
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background:
        radial-gradient(1100px 520px at 85% -12%, rgba(22, 150, 231, .14), transparent 62%),
        radial-gradient(900px 460px at -5% 104%, rgba(91, 108, 255, .12), transparent 62%),
        #212529;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: rgba(22, 150, 231, .38);
    color: #fff;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}
::-webkit-scrollbar-track {
    background: #16181d;
}
::-webkit-scrollbar-thumb {
    background: var(--sf-gradient);
    border-radius: 11px;
    border: 3px solid #16181d;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #35a8ef, #6f7dff);
}

/* --------------------------------------------------------------------------
   2. Section headings — unified Oswald look + gradient underline
   -------------------------------------------------------------------------- */
.resume-head-title h1,
.service-head-title h1,
.portfolio-head-title h1,
.contact-head-title h1,
.skills-head-type h1,
.subscriber-content h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 24px;
    margin-bottom: 18px;
}

/* centred bar under every section title */
.resume-head-title h1::after,
.service-head-title h1::after,
.portfolio-head-title h1::after,
.contact-head-title h1::after,
.skills-head-type h1::after,
.subscriber-content h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 78px;
    height: 3px;
    border-radius: 3px;
    background: var(--sf-gradient);
    box-shadow: 0 0 14px rgba(22, 150, 231, .55);
}

/* the about section already draws its own bar — give it the gradient too */
.section-head .span {
    background: var(--sf-gradient);
    box-shadow: 0 0 14px rgba(22, 150, 231, .55);
    height: 3px;
    border-radius: 3px;
}

.section-head h1,
.skills-head-type h1,
.subscriber-content h1 {
    letter-spacing: 1px;
}

/* section descriptions read better with a little more colour contrast */
.resume-head-title p,
.service-head-title p,
.portfolio-head-title p,
.contact-head-title p,
.skills-head-type p,
.subscriber-content p {
    color: #b9c0cb;
    font-size: 17px;
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   3. Buttons — gradient, rounded, lift on hover
   -------------------------------------------------------------------------- */
.btn {
    background: var(--sf-gradient);
    border: 0;
    border-radius: 9px;
    padding: 14px 30px;
    letter-spacing: .8px;
    box-shadow: 0 8px 20px rgba(22, 150, 231, .26);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .22), transparent 55%);
    opacity: 0;
    transition: opacity .3s var(--sf-ease);
}

.btn:hover,
.btn:focus {
    background: var(--sf-gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(22, 150, 231, .42);
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: translateY(-1px);
}

.header-btn .btn {
    padding: 12px 26px;
    border-radius: 9px;
}

.header-area,
.header-area .logo {
    display: flex;
    align-items: center;
}

.header-area .logo {
    min-height: 50px;
}

.header-area .logo a {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
}

.header-area .logo img {
    display: block;
    width: auto;
    height: 40px;
    max-width: 240px;
    margin-top: 0;
    object-fit: contain;
    object-position: left center;
}

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero-loading-content h1 {
    letter-spacing: 1px;
}

/* gradient headline, only where the browser can clip background to text */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-loading-content h1 .cd-words-wrapper b {
        background: linear-gradient(120deg, #ffffff 0%, #a9d2ff 45%, #1696e7 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.hero-social-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 7px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
    transition: transform .3s var(--sf-ease), box-shadow .3s var(--sf-ease),
                background .3s var(--sf-ease), border-color .3s var(--sf-ease);
}

.hero-social-link a i {
    height: auto;
    width: auto;
    line-height: 1;
}

.hero-social-link a:hover {
    background: var(--sf-gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: var(--sf-glow);
}

/* --------------------------------------------------------------------------
   5. Cards — softer depth + accent glow on hover
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   5. Experience — clean horizontal cards
   Keeps the dark background and the same font sizes; the side line and
   timeline dot were removed and the icon is shown with the date instead.
   -------------------------------------------------------------------------- */
.resume-area {
    position: relative;
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.experience-timeline-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 26px 28px;
    margin: 0 0 22px;
    color: #fff;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--sf-radius);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
    transition: transform .35s var(--sf-ease), box-shadow .35s var(--sf-ease),
        border-color .35s var(--sf-ease), background .35s var(--sf-ease);
}

.experience-timeline-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .055);
    border-color: rgba(22, 150, 231, .45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .36), 0 0 0 1px rgba(22, 150, 231, .18);
}

.experience-timeline-content {
    min-width: 0;
}

.experience-timeline-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 8px;
}

.single-resume-card h3,
.experience-timeline-topline h3 {
    margin: 0;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.experience-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    margin-top: 4px;
    padding: 7px 10px;
    color: #fff;
    background: var(--sf-gradient-soft);
    border: 1px solid rgba(22, 150, 231, .3);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.experience-date i {
    color: var(--sf-accent);
    font-size: 13px;
}

.experience-timeline-content p {
    margin: 0;
    color: #bcbcbc;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
}

.single-service {
    border: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
    box-shadow: 0 10px 26px rgba(0, 0, 0, .26);
    transition: transform .35s var(--sf-ease), box-shadow .35s var(--sf-ease),
                border-color .35s var(--sf-ease);
}

.single-service:hover {
    transform: translateY(-8px);
    border-color: rgba(22, 150, 231, .45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .36), 0 0 0 1px rgba(22, 150, 231, .18);
}

.single-service .service-border {
    box-shadow: none;
}

.service-img img {
    transition: transform .4s var(--sf-ease);
}

.single-service:hover .service-img img {
    transform: scale(1.08);
}

.service-content h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: .6px;
}

/* info cards in the about block */
.info-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 16px 18px;
    height: 100%;
    transition: border-color .3s var(--sf-ease), transform .3s var(--sf-ease);
}

.info-card:hover {
    border-color: rgba(22, 150, 231, .45);
    transform: translateY(-4px);
}

.info-card-title {
    color: var(--sf-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.download-resume-btn {
    border-radius: 9px;
}

/* --------------------------------------------------------------------------
   6. Portfolio filter pills + item hover
   -------------------------------------------------------------------------- */
.portfolio-category ul li a {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    transition: all .3s var(--sf-ease);
}

.portfolio-category ul li a:hover {
    background: rgba(22, 150, 231, .16);
    border-color: rgba(22, 150, 231, .5);
    color: #fff;
    box-shadow: none;
    transform: translateY(-2px);
}

.portfolio-category ul li.active a {
    background: var(--sf-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(22, 150, 231, .34);
}

.portfolio .portfolio-img {
    border-radius: var(--sf-radius);
    overflow: hidden;
}

.portfolio .portfolio-img img {
    transition: transform .5s var(--sf-ease);
}

.portfolio:hover .portfolio-img img {
    transform: scale(1.06);
}

.overlay .hover-content h1 a,
.overlay .hover-content h1 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.portfolio-desc {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   7. Contact
   -------------------------------------------------------------------------- */
.single-contact-info {
    padding: 26px 18px;
    border-radius: var(--sf-radius);
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .03);
    height: 100%;
    transition: transform .3s var(--sf-ease), border-color .3s var(--sf-ease),
                box-shadow .3s var(--sf-ease);
}

.single-contact-info:hover {
    transform: translateY(-6px);
    border-color: rgba(22, 150, 231, .45);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
}

.single-contact-info > i {
    color: var(--sf-accent);
    font-size: 30px;
}

.single-contact-info .info h5 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    color: #fff;
}

.single-contact-info .info p a {
    color: #b9c0cb;
    transition: color .25s var(--sf-ease);
}

.single-contact-info .info p a:hover {
    color: var(--sf-accent);
}

.contact-form .form-control {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .07);
    transition: border-color .25s var(--sf-ease), box-shadow .25s var(--sf-ease);
}

.contact-form .form-control:focus {
    border-color: rgba(22, 150, 231, .65);
    box-shadow: 0 0 0 4px rgba(22, 150, 231, .16),
                -5px -5px 10px rgba(255, 255, 255, .04),
                5px 5px 15px rgba(0, 0, 0, .5);
    color: #fff;
}

.contact-form .form-control::placeholder {
    color: #7c8592;
}

/* --------------------------------------------------------------------------
   8. Subscribe + footer + back to top
   -------------------------------------------------------------------------- */
.subscriber-area {
    position: relative;
    overflow: hidden;
}

.subscriber-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(560px 320px at 50% 38%, rgba(22, 150, 231, .12), transparent 68%),
        linear-gradient(180deg, transparent, rgba(20, 22, 27, .55));
    pointer-events: none;
}

.subscriber-area .container {
    position: relative;
    z-index: 1;
}

.subscriber-logo {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-bottom: 4px;
}

.subscriber-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--sf-gradient-soft);
    border: 1px solid rgba(22, 150, 231, .35);
    color: var(--sf-accent);
    font-size: 32px;
    line-height: 1;
    margin: 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.subscriber-logo span i {
    display: block;
    width: auto;
    height: auto;
    line-height: 1;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    font-size: inherit;
    text-align: center;
}

.subscriber-form .input-form {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color .3s var(--sf-ease), box-shadow .3s var(--sf-ease);
}

.subscriber-form .input-form:focus-within {
    border-color: rgba(22, 150, 231, .6);
    box-shadow: 0 0 0 4px rgba(22, 150, 231, .14);
}

.subscriber-form input[type="text"],
.subscriber-form input[type="email"] {
    background: transparent;
    border: 0;
    color: #fff;
    height: 46px;
    padding: 0 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.subscriber-form input[type="text"]:focus,
.subscriber-form input[type="email"]:focus {
    outline: none;
    box-shadow: none;
}

.subscriber-form .input-group-append {
    position: static;
    flex: 0 0 auto;
}

.subscriber-form .btn {
    border-radius: 999px;
    white-space: nowrap;
    padding: 12px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#response {
    min-height: 24px;
    margin-top: 14px;
}

footer .footer-area {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 62px 0 54px;
}

footer .social-link {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

footer .social-link nav,
footer .social-link ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}

footer .social-link ul li {
    display: inline-flex;
    margin: 0;
}

footer .social-link ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
    color: #d9e4f2;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: background .3s var(--sf-ease), border-color .3s var(--sf-ease),
        color .3s var(--sf-ease), transform .3s var(--sf-ease), box-shadow .3s var(--sf-ease);
}

footer .social-link ul li a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-size: inherit;
}

footer .social-link ul li a:hover,
footer .social-link ul li a:focus-visible {
    background: var(--sf-gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--sf-glow);
    outline: none;
}

footer .footer-copyright {
    display: flex;
    justify-content: center;
    text-align: center;
}

footer .footer-copyright p {
    margin: 0;
    line-height: 1.6;
}

.back_top {
    background: var(--sf-gradient);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(22, 150, 231, .34);
    transition: transform .3s var(--sf-ease), box-shadow .3s var(--sf-ease);
}

.back_top:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(22, 150, 231, .45);
}

/* --------------------------------------------------------------------------
   9. Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
    transition: opacity .8s var(--sf-ease), transform .8s var(--sf-ease);
    will-change: opacity, transform;
}

.reveal.pre-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

/* staggered delay is applied per element by the reveal script */
.reveal {
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view {
    transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal,
    .reveal.pre-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --------------------------------------------------------------------------
   10. Responsive layout, spacing, touch targets and alignment
   -------------------------------------------------------------------------- */
html,
body {
    overflow-x: hidden;
}

img,
iframe,
video {
    max-width: 100%;
}

.portfolio-category ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.about-content-wrapper {
    min-width: 0;
}

.contact-info-grid .single-contact-info {
    overflow: hidden;
}

@media (max-width: 1199.98px) {
    .about-content-wrapper {
        margin-top: 24px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .contact-info-grid > .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .single-contact-info {
        padding: 22px 12px;
    }
}

@media (max-width: 991.98px) {
    .header-area .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-area .main-menu,
    .header-area .header-btn {
        display: none;
    }

    .header-area .header-row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        margin: 0;
        width: 100%;
    }

    .header-area .header-row > .col-lg-2 {
        flex: 0 0 auto;
        width: auto;
        max-width: calc(100% - 56px);
        padding: 0;
        z-index: 1;
    }

    .header-area .header-row > .col-lg-10 {
        flex: 0 0 44px;
        max-width: 44px;
        padding: 0;
        margin-left: auto;
    }

    .header-area .mean-container {
        position: static;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin-left: 12px;
        transform: none;
        z-index: 101;
    }

    .header-area .mean-container .mean-bar {
        width: 44px;
        height: 44px;
        float: none;
        position: relative;
    }

    .header-area .mean-container a.meanmenu-reveal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        position: absolute;
        inset: 0;
        width: 44px;
        height: 44px;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .35);
        border-radius: 8px;
        background: rgba(255, 255, 255, .04);
        box-shadow: none;
        font-size: 0;
        line-height: 1;
    }

    .header-area .mean-container a.meanmenu-reveal span {
        background: #fff;
        width: 22px;
        height: 2px;
        margin: 0;
        border-radius: 2px;
    }

    .header-area .mean-container .mean-nav {
        position: absolute;
        left: auto;
        right: 0;
        top: calc(100% + 12px);
        width: min(350px, calc(100vw - 30px));
        max-width: 350px;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 16px;
        background:
            radial-gradient(280px 160px at 85% 0%, rgba(22, 150, 231, .16), transparent 68%),
            linear-gradient(180deg, rgba(28, 33, 42, .98), rgba(13, 16, 22, .98));
        box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .07);
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px) scale(.985);
        transform-origin: calc(100% - 22px) 0;
        transition: opacity .22s var(--sf-ease), transform .22s var(--sf-ease), visibility .22s;
    }

    .header-area .mean-container .mean-nav::before {
        content: '';
        position: absolute;
        top: 0;
        right: 12px;
        left: 12px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(91, 108, 255, .7), rgba(22, 150, 231, .7), transparent);
        pointer-events: none;
    }

    .header-area .mean-container .mean-nav:not(.mean-nav-hidden) {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .header-area .mean-container .mean-nav ul {
        display: none;
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .header-area .mean-container .mean-nav:not(.mean-nav-hidden) ul {
        display: block;
    }

    .header-area .mean-container .mean-nav ul li {
        border-top: 0;
    }

    .header-area .mean-container .mean-nav ul li + li {
        border-top: 1px solid rgba(255, 255, 255, .07);
    }

    .header-area .mean-container .mean-nav ul li a {
        width: 100%;
        border-top: 0;
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: .5px;
        line-height: 1.25;
        box-sizing: border-box;
        color: #d7dee9;
        transition: color .2s var(--sf-ease), background .2s var(--sf-ease), padding-left .2s var(--sf-ease);
    }

    .header-area .mean-container .mean-nav ul li a:hover,
    .header-area .mean-container .mean-nav ul li a:focus {
        background: rgba(255, 255, 255, .045);
        color: #fff;
        padding-left: 20px;
    }

    .header-area .mean-container .mean-nav ul li a::after {
        content: '›';
        float: right;
        color: var(--sf-accent);
        font-size: 19px;
        font-weight: 700;
        line-height: 1;
    }

    .header-area .mean-container .mean-nav ul li a:hover::after,
    .header-area .mean-container .mean-nav ul li a:focus::after {
        transform: translateX(3px);
    }

    .header-area .mean-container .mean-nav ul li a::after {
        transition: transform .2s var(--sf-ease);
    }

    .header-area .mean-container a.meanmenu-reveal.meanclose {
        border-color: rgba(255, 255, 255, .35);
        background: rgba(255, 255, 255, .04);
        box-shadow: none;
        font-size: 21px;
        line-height: 1;
        flex-direction: row;
        gap: 0;
    }

    .header-area .mean-container .mean-nav ul {
        width: 100%;
        padding: 8px;
        margin: 0;
        box-sizing: border-box;
    }

    .header-area .mean-container .mean-nav ul li a {
        width: 100%;
        border-top: 0;
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: .5px;
        line-height: 1.25;
        box-sizing: border-box;
        color: #d7dee9;
        transition: color .2s var(--sf-ease), background .2s var(--sf-ease), padding-left .2s var(--sf-ease);
    }

    .header-area .header-row > .col-lg-10 {
        max-width: 44px;
    }
}

@media (max-width: 767px) {
    .resume-head-title h1,
    .service-head-title h1,
    .portfolio-head-title h1,
    .contact-head-title h1,
    .skills-head-type h1,
    .subscriber-content h1 {
        font-size: 30px;
        padding-bottom: 18px;
    }

    .hero-loading-content h1 {
        font-size: 40px;
    }

    .btn {
        padding: 13px 26px;
    }

    .contact-info-grid {
        margin-top: 1.5rem;
    }

    .contact-info-grid > .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.25rem;
    }

    .contact-info-grid > .col-12:last-child {
        margin-bottom: 0;
    }

    .single-contact-info {
        width: 100%;
        height: 100%;
    }

    .subscriber-form .input-form {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding: 6px;
    }

    .subscriber-form input[type="text"] {
        text-align: center;
        min-height: 44px;
    }

    .subscriber-form .btn,
    .subscriber-form .input-group-append .btn {
        min-height: 44px;
        width: auto;
    }

    .portfolio-category ul {
        align-items: center;
        gap: 12px;
        row-gap: 12px;
    }

    .portfolio-category ul li {
        flex: 0 0 auto;
        margin: 0;
        display: inline-flex;
    }

    .portfolio-category ul li a,
    .portfolio-category ul li a:focus {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 18px;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .single-contact-info p a,
    .single-contact-info p a:focus {
        display: inline-block;
        width: 100%;
        max-width: 100%;
        padding: 8px 4px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-info-grid .text-center {
        width: 100%;
    }

    .contact-head-title,
    .contact-info-grid {
        overflow: hidden;
    }

    .back_top {
        width: 44px;
        height: 44px;
        right: 16px;
        bottom: 16px;
        line-height: 44px;
    }

    .back_top i {
        line-height: 44px;
        font-size: 20px;
    }

    .meanmenu-reveal {
        min-height: 44px;
        min-width: 44px;
    }

    .header-area .logo {
        min-height: 44px;
    }

    .header-area .logo a {
        min-height: 44px;
    }

    .header-area .logo img {
        height: 36px;
        max-width: min(200px, 48vw);
    }

    .header-area .mean-container a.meanmenu-reveal {
        width: 44px;
        height: 44px;
    }

    .single-service,
    .info-card,
    .single-contact-info {
        border-radius: 14px;
    }

    .experience-timeline-item {
        padding: 22px 18px;
    }

    .experience-timeline-topline {
        flex-direction: column;
        gap: 10px;
    }

    .experience-date {
        align-self: flex-start;
    }

    .experience-timeline-content p {
        font-size: 16px;
    }
}

@media (max-width: 479.98px) {
    .contact-info-grid > .col-12 {
        margin-bottom: 1rem;
    }

    .contact-info-grid > .col-12:last-child {
        margin-bottom: 0;
    }

    .contact-form {
        padding: 0 4px;
    }

    footer .social-link ul {
        gap: 10px;
    }

    footer .social-link ul li a {
        width: 44px;
        height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Proficiencies — premium polish only (keeps the same two-column layout,
   no new boxes / no cards wrapping the section)
   -------------------------------------------------------------------------- */
.skills-section-new {
    position: relative;
}

.skills-head-type h1 {
    letter-spacing: 2px;
    font-size: clamp(32px, 4.5vw, 44px);
    text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}

.skills-head-type p {
    max-width: 620px;
    margin: 6px auto 0;
    color: #aeb8c6;
    font-size: 16px;
}

/* Left: floating icon marquee — softer tiles, top glow line, edge fade */
.animated-skills-container {
    padding: 36px 0 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.skill-icon-box {
    min-width: 84px;
    width: 84px;
    height: 84px;
    background:
        radial-gradient(70px 40px at 50% -10%, rgba(22, 150, 231, .16), transparent 70%),
        linear-gradient(160deg, #2e343c, #262c33);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
    transition: transform .35s var(--sf-ease), box-shadow .35s var(--sf-ease),
                border-color .35s var(--sf-ease), background .35s var(--sf-ease);
}

.skill-icon-box:hover {
    transform: translateY(-5px);
    background:
        radial-gradient(70px 40px at 50% -10%, rgba(22, 150, 231, .28), transparent 70%),
        linear-gradient(160deg, #35404c, #2a323d);
    border-color: rgba(22, 150, 231, .45);
    box-shadow: 0 18px 34px rgba(22, 150, 231, .28), 0 10px 24px rgba(0, 0, 0, .4),
                inset 0 1px 0 rgba(255, 255, 255, .08);
}

.skill-icon-img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
}

.skill-icon-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

/* Tooltip — pill with gradient border */
.skill-icon-box::before {
    top: -44px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(22, 150, 231, .35);
    background: rgba(20, 24, 31, .96);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
}

.skill-icon-box::after {
    border-color: rgba(22, 150, 231, .35) transparent transparent transparent;
}

/* Centre divider — glowing gradient seam */
.vertical-divider {
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, rgba(22, 150, 231, .85) 18%, rgba(91, 108, 255, .85) 82%, transparent 100%);
    box-shadow: 0 0 16px rgba(22, 150, 231, .55);
    min-height: 280px;
}

/* Right: categories — editorial hierarchy, no boxes */
.skill-categories-text {
    padding: 8px 0 0 8px;
}

.skill-categories-text .category-item {
    margin-bottom: 26px;
    align-items: baseline;
    padding-left: 18px;
    position: relative;
}

.skill-categories-text .category-item:last-child {
    margin-bottom: 0;
}

/* small gradient tick before each label */
.skill-categories-text .category-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sf-gradient);
    box-shadow: 0 0 10px rgba(22, 150, 231, .6);
}

.skill-categories-text .category-label {
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    margin-right: 10px;
    margin-bottom: 2px;
}

.skill-categories-text .skills-list {
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.9;
    color: #aeb8c6;
    letter-spacing: .2px;
}

@media (max-width: 991.98px) {
    .skill-categories-text {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .skills-head-type h1 {
        font-size: 30px;
        letter-spacing: 1.6px;
    }

    .skills-head-type p {
        font-size: 15px;
        padding: 0 10px;
    }

    .animated-skills-container {
        padding-top: 26px;
    }

    .skill-icon-box {
        min-width: 72px;
        width: 72px;
        height: 72px;
        border-radius: 15px;
    }

    .skill-icon-img,
    .skill-icon-placeholder {
        width: 42px;
        height: 42px;
    }

    .skill-categories-text .category-item {
        margin-bottom: 22px;
        padding-left: 16px;
    }

    .skill-categories-text .category-label {
        font-size: 15.5px;
    }

    .skill-categories-text .skills-list {
        font-size: 14.5px;
        line-height: 1.85;
    }
}
